Interface IncomingVATInvoiceChinaService
- All Superinterfaces:
BatchService<IncomingVATInvoiceChinaServiceBatch>
- All Known Implementing Classes:
DefaultIncomingVATInvoiceChinaService
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 Business Accelerator Hub
Details:
| OData Service: | API_CN_VAT_INVOICE_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Incoming China VAT Invoice Integration(SAP_COM_0546) |
| Scope Items: | Accounting and Financial Close(J58) |
| Authentication Methods: | x509 |
| Business Object: | China VAT Invoice |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncreateCN_TaxInputInvoice(CN_TaxInputInvoice cN_TaxInputInvoice) Deprecated.Create a newCN_TaxInputInvoiceentity and save it to the S/4HANA system.createCN_TaxInputInvoiceItem(CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem) Deprecated.Create a newCN_TaxInputInvoiceItementity and save it to the S/4HANA system.createCN_TaxInvoiceBindingRecord(CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord) Deprecated.Create a newCN_TaxInvoiceBindingRecordentity and save it to the S/4HANA system.declareInvoice(UUID cN_TaxInvcUUID, String declnMonth, String declnYear) Deprecated.Creates a fluent helper for the declareInvoice OData function import.Deprecated.Fetch multipleCN_TaxInputInvoiceentities.Deprecated.Fetch multipleCN_TaxInputInvoiceItementities.Deprecated.Fetch multipleCN_TaxInvoiceBindingRecordentities.getCN_TaxInputInvoiceByKey(UUID cN_TaxInvcUUID) Deprecated.Fetch a singleCN_TaxInputInvoiceentity using key fields.getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID) Deprecated.Fetch a singleCN_TaxInputInvoiceItementity using key fields.getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID) Deprecated.Fetch a singleCN_TaxInvoiceBindingRecordentity using key fields.receiveInvoice(UUID cN_TaxInvcUUID) Deprecated.Creates a fluent helper for the receiveInvoice OData function import.signoffInvoice(UUID cN_TaxInvcUUID) Deprecated.Creates a fluent helper for the signoffInvoice OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllCN_TaxInputInvoice
Deprecated.Fetch multipleCN_TaxInputInvoiceentities.- Returns:
- A fluent helper to fetch multiple
CN_TaxInputInvoiceentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCN_TaxInputInvoiceByKey
Deprecated.Fetch a singleCN_TaxInputInvoiceentity using key fields.- Parameters:
cN_TaxInvcUUID- China Tax Invoice UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
CN_TaxInputInvoiceentity 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 theexecutemethod on the fluent helper object.
-
createCN_TaxInputInvoice
@Nonnull CN_TaxInputInvoiceCreateFluentHelper createCN_TaxInputInvoice(@Nonnull CN_TaxInputInvoice cN_TaxInputInvoice) Deprecated.Create a newCN_TaxInputInvoiceentity and save it to the S/4HANA system.- Parameters:
cN_TaxInputInvoice-CN_TaxInputInvoiceentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CN_TaxInputInvoiceentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllCN_TaxInputInvoiceItem
Deprecated.Fetch multipleCN_TaxInputInvoiceItementities.- Returns:
- A fluent helper to fetch multiple
CN_TaxInputInvoiceItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCN_TaxInputInvoiceItemByKey
@Nonnull CN_TaxInputInvoiceItemByKeyFluentHelper getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID) Deprecated.Fetch a singleCN_TaxInputInvoiceItementity using key fields.- Parameters:
cN_TaxInvcUUID- China Tax Invoice UUIDConstraints: Not nullable
taxInvoiceItemUUID- Invoice Item UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
CN_TaxInputInvoiceItementity 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 theexecutemethod on the fluent helper object.
-
createCN_TaxInputInvoiceItem
@Nonnull CN_TaxInputInvoiceItemCreateFluentHelper createCN_TaxInputInvoiceItem(@Nonnull CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem) Deprecated.Create a newCN_TaxInputInvoiceItementity and save it to the S/4HANA system.- Parameters:
cN_TaxInputInvoiceItem-CN_TaxInputInvoiceItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CN_TaxInputInvoiceItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllCN_TaxInvoiceBindingRecord
Deprecated.Fetch multipleCN_TaxInvoiceBindingRecordentities.- Returns:
- A fluent helper to fetch multiple
CN_TaxInvoiceBindingRecordentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getCN_TaxInvoiceBindingRecordByKey
@Nonnull CN_TaxInvoiceBindingRecordByKeyFluentHelper getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID) Deprecated.Fetch a singleCN_TaxInvoiceBindingRecordentity using key fields.- Parameters:
cN_TaxInvcBindgUUID- China Tax Invoice Binding UUIDConstraints: Not nullable
cN_TaxInvcBindgItmUUID- China Tax Invoice Binding Item UUIDConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
CN_TaxInvoiceBindingRecordentity 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 theexecutemethod on the fluent helper object.
-
createCN_TaxInvoiceBindingRecord
@Nonnull CN_TaxInvoiceBindingRecordCreateFluentHelper createCN_TaxInvoiceBindingRecord(@Nonnull CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord) Deprecated.Create a newCN_TaxInvoiceBindingRecordentity and save it to the S/4HANA system.- Parameters:
cN_TaxInvoiceBindingRecord-CN_TaxInvoiceBindingRecordentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
CN_TaxInvoiceBindingRecordentity. To perform execution, call theexecutemethod on the fluent helper object.
-
receiveInvoice
Deprecated.Creates a fluent helper for the receiveInvoice OData function import.
- Parameters:
cN_TaxInvcUUID- UUIDConstraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
- Returns:
- A fluent helper object that will execute the receiveInvoice OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
signoffInvoice
Deprecated.Creates a fluent helper for the signoffInvoice OData function import.
- Parameters:
cN_TaxInvcUUID- UUIDConstraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
- Returns:
- A fluent helper object that will execute the signoffInvoice OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
declareInvoice
@Nonnull DeclareInvoiceFluentHelper declareInvoice(@Nonnull UUID cN_TaxInvcUUID, @Nonnull String declnMonth, @Nonnull String declnYear) Deprecated.Creates a fluent helper for the declareInvoice OData function import.
- Parameters:
declnMonth- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: DeclnMonth
cN_TaxInvcUUID- UUIDConstraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
declnYear- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: DeclnYear
- Returns:
- A fluent helper object that will execute the declareInvoice OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-