public interface IncomingVATInvoiceChinaService extends BatchService<IncomingVATInvoiceChinaServiceBatch>
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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull IncomingVATInvoiceChinaService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CN_TaxInputInvoiceFluentHelper getAllCN_TaxInputInvoice()
CN_TaxInputInvoice
entities.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 CN_TaxInputInvoiceByKeyFluentHelper getCN_TaxInputInvoiceByKey(UUID cN_TaxInvcUUID)
CN_TaxInputInvoice
entity using key fields.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 CN_TaxInputInvoiceCreateFluentHelper createCN_TaxInputInvoice(@Nonnull CN_TaxInputInvoice cN_TaxInputInvoice)
CN_TaxInputInvoice
entity and save it to the S/4HANA system.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 CN_TaxInputInvoiceItemFluentHelper getAllCN_TaxInputInvoiceItem()
CN_TaxInputInvoiceItem
entities.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 CN_TaxInputInvoiceItemByKeyFluentHelper getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID)
CN_TaxInputInvoiceItem
entity using key fields.cN_TaxInvcUUID
- China Tax Invoice UUID
Constraints: Not nullable
taxInvoiceItemUUID
- Invoice Item 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 CN_TaxInputInvoiceItemCreateFluentHelper createCN_TaxInputInvoiceItem(@Nonnull CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem)
CN_TaxInputInvoiceItem
entity and save it to the S/4HANA system.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 CN_TaxInvoiceBindingRecordFluentHelper getAllCN_TaxInvoiceBindingRecord()
CN_TaxInvoiceBindingRecord
entities.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 CN_TaxInvoiceBindingRecordByKeyFluentHelper getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID)
CN_TaxInvoiceBindingRecord
entity using key fields.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 CN_TaxInvoiceBindingRecordCreateFluentHelper createCN_TaxInvoiceBindingRecord(@Nonnull CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord)
CN_TaxInvoiceBindingRecord
entity and save it to the S/4HANA system.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 ReceiveInvoiceFluentHelper receiveInvoice(@Nonnull UUID cN_TaxInvcUUID)
Creates a fluent helper for the receiveInvoice OData function import.
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
execute
method on the fluent helper object.@Nonnull SignoffInvoiceFluentHelper signoffInvoice(@Nonnull UUID cN_TaxInvcUUID)
Creates a fluent helper for the signoffInvoice OData function import.
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
execute
method on the fluent helper object.@Nonnull DeclareInvoiceFluentHelper declareInvoice(@Nonnull UUID cN_TaxInvcUUID, @Nonnull String declnMonth, @Nonnull String declnYear)
Creates a fluent helper for the declareInvoice OData function import.
declnMonth
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: DeclnMonth
cN_TaxInvcUUID
- UUID
Constraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
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.