Class DefaultIncomingVATInvoiceChinaService
- All Implemented Interfaces:
BatchService<IncomingVATInvoiceChinaServiceBatch>,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 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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.IncomingVATInvoiceChinaService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingIncomingVATInvoiceChinaService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createCN_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.
-
Constructor Details
-
DefaultIncomingVATInvoiceChinaService
public DefaultIncomingVATInvoiceChinaService()Deprecated.Creates a service usingIncomingVATInvoiceChinaService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceIncomingVATInvoiceChinaService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<IncomingVATInvoiceChinaServiceBatch>
-
getAllCN_TaxInputInvoice
Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceFetch multipleCN_TaxInputInvoiceentities.- Specified by:
getAllCN_TaxInputInvoicein interfaceIncomingVATInvoiceChinaService- 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.Description copied from interface:IncomingVATInvoiceChinaServiceFetch a singleCN_TaxInputInvoiceentity using key fields.- Specified by:
getCN_TaxInputInvoiceByKeyin interfaceIncomingVATInvoiceChinaService- 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 public CN_TaxInputInvoiceCreateFluentHelper createCN_TaxInputInvoice(@Nonnull CN_TaxInputInvoice cN_TaxInputInvoice) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceCreate a newCN_TaxInputInvoiceentity and save it to the S/4HANA system.- Specified by:
createCN_TaxInputInvoicein interfaceIncomingVATInvoiceChinaService- 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.Description copied from interface:IncomingVATInvoiceChinaServiceFetch multipleCN_TaxInputInvoiceItementities.- Specified by:
getAllCN_TaxInputInvoiceItemin interfaceIncomingVATInvoiceChinaService- 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 public CN_TaxInputInvoiceItemByKeyFluentHelper getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceFetch a singleCN_TaxInputInvoiceItementity using key fields.- Specified by:
getCN_TaxInputInvoiceItemByKeyin interfaceIncomingVATInvoiceChinaService- Parameters:
taxInvoiceItemUUID- Invoice Item UUIDConstraints: Not nullable
cN_TaxInvcUUID- China Tax Invoice 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 public CN_TaxInputInvoiceItemCreateFluentHelper createCN_TaxInputInvoiceItem(@Nonnull CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceCreate a newCN_TaxInputInvoiceItementity and save it to the S/4HANA system.- Specified by:
createCN_TaxInputInvoiceItemin interfaceIncomingVATInvoiceChinaService- 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.Description copied from interface:IncomingVATInvoiceChinaServiceFetch multipleCN_TaxInvoiceBindingRecordentities.- Specified by:
getAllCN_TaxInvoiceBindingRecordin interfaceIncomingVATInvoiceChinaService- 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 public CN_TaxInvoiceBindingRecordByKeyFluentHelper getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceFetch a singleCN_TaxInvoiceBindingRecordentity using key fields.- Specified by:
getCN_TaxInvoiceBindingRecordByKeyin interfaceIncomingVATInvoiceChinaService- 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 public CN_TaxInvoiceBindingRecordCreateFluentHelper createCN_TaxInvoiceBindingRecord(@Nonnull CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceCreate a newCN_TaxInvoiceBindingRecordentity and save it to the S/4HANA system.- Specified by:
createCN_TaxInvoiceBindingRecordin interfaceIncomingVATInvoiceChinaService- 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.Description copied from interface:IncomingVATInvoiceChinaServiceCreates a fluent helper for the receiveInvoice OData function import.
- Specified by:
receiveInvoicein interfaceIncomingVATInvoiceChinaService- 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.Description copied from interface:IncomingVATInvoiceChinaServiceCreates a fluent helper for the signoffInvoice OData function import.
- Specified by:
signoffInvoicein interfaceIncomingVATInvoiceChinaService- 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 public DeclareInvoiceFluentHelper declareInvoice(@Nonnull UUID cN_TaxInvcUUID, @Nonnull String declnMonth, @Nonnull String declnYear) Deprecated.Description copied from interface:IncomingVATInvoiceChinaServiceCreates a fluent helper for the declareInvoice OData function import.
- Specified by:
declareInvoicein interfaceIncomingVATInvoiceChinaService- Parameters:
cN_TaxInvcUUID- UUIDConstraints: none
Original parameter name from the Odata EDM: CN_TaxInvcUUID
declnMonth- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: DeclnMonth
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.
-