@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultIncomingVATInvoiceChinaService") public class DefaultIncomingVATInvoiceChinaService extends Object implements IncomingVATInvoiceChinaService
The service is based on the *OData* protocol, and can be consumed by external systems and user interfaces to integrate with incoming VAT invoice management in SAP S/4HANA Cloud. You can create a complete China VAT invoice record including invoice header, item and binding record in one single call. You can also perform the following operations: declare, receive, and sign off the invoice. .
Reference: SAP API Business Hub
OData Service: | API_CN_VAT_INVOICE_SRV |
API Version: | 1 |
Communication Scenario: | Incoming China VAT Invoice Integration (SAP_COM_0546) |
Scope Items: | Accounting and Financial Close (J58) |
Authentication Methods: | Basic, x509 |
Business Object: | CN_ValueAddedTaxInvoice |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultIncomingVATInvoiceChinaService()
Creates a service using
IncomingVATInvoiceChinaService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultIncomingVATInvoiceChinaService()
IncomingVATInvoiceChinaService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultIncomingVATInvoiceChinaService withServicePath(@Nonnull String servicePath)
IncomingVATInvoiceChinaService
withServicePath
in interface IncomingVATInvoiceChinaService
servicePath
- Service path that will override the default.@Nonnull public DefaultIncomingVATInvoiceChinaServiceBatch batch()
batch
in interface BatchService<IncomingVATInvoiceChinaServiceBatch>
@Nonnull public CN_TaxInputInvoiceFluentHelper getAllCN_TaxInputInvoice()
IncomingVATInvoiceChinaService
CN_TaxInputInvoice
entities.getAllCN_TaxInputInvoice
in interface IncomingVATInvoiceChinaService
CN_TaxInputInvoice
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInputInvoiceByKeyFluentHelper getCN_TaxInputInvoiceByKey(UUID cN_TaxInvcUUID)
IncomingVATInvoiceChinaService
CN_TaxInputInvoice
entity using key fields.getCN_TaxInputInvoiceByKey
in interface IncomingVATInvoiceChinaService
cN_TaxInvcUUID
- China Tax Invoice UUID
Constraints: Not nullable
CN_TaxInputInvoice
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInputInvoiceCreateFluentHelper createCN_TaxInputInvoice(@Nonnull CN_TaxInputInvoice cN_TaxInputInvoice)
IncomingVATInvoiceChinaService
CN_TaxInputInvoice
entity and save it to the S/4HANA system.createCN_TaxInputInvoice
in interface IncomingVATInvoiceChinaService
cN_TaxInputInvoice
- CN_TaxInputInvoice
entity object that will be created in the S/4HANA system.CN_TaxInputInvoice
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInputInvoiceItemFluentHelper getAllCN_TaxInputInvoiceItem()
IncomingVATInvoiceChinaService
CN_TaxInputInvoiceItem
entities.getAllCN_TaxInputInvoiceItem
in interface IncomingVATInvoiceChinaService
CN_TaxInputInvoiceItem
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInputInvoiceItemByKeyFluentHelper getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID)
IncomingVATInvoiceChinaService
CN_TaxInputInvoiceItem
entity using key fields.getCN_TaxInputInvoiceItemByKey
in interface IncomingVATInvoiceChinaService
taxInvoiceItemUUID
- Invoice Item UUID
Constraints: Not nullable
cN_TaxInvcUUID
- China Tax Invoice UUID
Constraints: Not nullable
CN_TaxInputInvoiceItem
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInputInvoiceItemCreateFluentHelper createCN_TaxInputInvoiceItem(@Nonnull CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem)
IncomingVATInvoiceChinaService
CN_TaxInputInvoiceItem
entity and save it to the S/4HANA system.createCN_TaxInputInvoiceItem
in interface IncomingVATInvoiceChinaService
cN_TaxInputInvoiceItem
- CN_TaxInputInvoiceItem
entity object that will be created in the S/4HANA system.CN_TaxInputInvoiceItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInvoiceBindingRecordFluentHelper getAllCN_TaxInvoiceBindingRecord()
IncomingVATInvoiceChinaService
CN_TaxInvoiceBindingRecord
entities.getAllCN_TaxInvoiceBindingRecord
in interface IncomingVATInvoiceChinaService
CN_TaxInvoiceBindingRecord
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInvoiceBindingRecordByKeyFluentHelper getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID)
IncomingVATInvoiceChinaService
CN_TaxInvoiceBindingRecord
entity using key fields.getCN_TaxInvoiceBindingRecordByKey
in interface IncomingVATInvoiceChinaService
cN_TaxInvcBindgUUID
- China Tax Invoice Binding UUID
Constraints: Not nullable
cN_TaxInvcBindgItmUUID
- China Tax Invoice Binding Item UUID
Constraints: Not nullable
CN_TaxInvoiceBindingRecord
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public CN_TaxInvoiceBindingRecordCreateFluentHelper createCN_TaxInvoiceBindingRecord(@Nonnull CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord)
IncomingVATInvoiceChinaService
CN_TaxInvoiceBindingRecord
entity and save it to the S/4HANA system.createCN_TaxInvoiceBindingRecord
in interface IncomingVATInvoiceChinaService
cN_TaxInvoiceBindingRecord
- CN_TaxInvoiceBindingRecord
entity object that will be created in the S/4HANA system.CN_TaxInvoiceBindingRecord
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReceiveInvoiceFluentHelper receiveInvoice(@Nonnull UUID cN_TaxInvcUUID)
IncomingVATInvoiceChinaService
Creates a fluent helper for the receiveInvoice OData function import.
receiveInvoice
in interface IncomingVATInvoiceChinaService
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
execute
method on the fluent helper object.@Nonnull public SignoffInvoiceFluentHelper signoffInvoice(@Nonnull UUID cN_TaxInvcUUID)
IncomingVATInvoiceChinaService
Creates a fluent helper for the signoffInvoice OData function import.
signoffInvoice
in interface IncomingVATInvoiceChinaService
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
execute
method on the fluent helper object.@Nonnull public DeclareInvoiceFluentHelper declareInvoice(@Nonnull UUID cN_TaxInvcUUID, @Nonnull String declnMonth, @Nonnull String declnYear)
IncomingVATInvoiceChinaService
Creates a fluent helper for the declareInvoice OData function import.
declareInvoice
in interface IncomingVATInvoiceChinaService
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
declnMonth
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: DeclnMonth
declnYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: DeclnYear
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.