Interface IncomingVATInvoiceChinaService

All Superinterfaces:
BatchService<IncomingVATInvoiceChinaServiceBatch>
All Known Implementing Classes:
DefaultIncomingVATInvoiceChinaService

@Deprecated public interface IncomingVATInvoiceChinaService extends BatchService<IncomingVATInvoiceChinaServiceBatch>
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

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. .

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull IncomingVATInvoiceChinaService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull CN_TaxInputInvoiceFluentHelper getAllCN_TaxInputInvoice()
      Deprecated.
      Fetch multiple CN_TaxInputInvoice entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getCN_TaxInputInvoiceByKey

      @Nonnull CN_TaxInputInvoiceByKeyFluentHelper getCN_TaxInputInvoiceByKey(UUID cN_TaxInvcUUID)
      Deprecated.
      Fetch a single CN_TaxInputInvoice entity using key fields.
      Parameters:
      cN_TaxInvcUUID - China Tax Invoice UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single 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.
    • createCN_TaxInputInvoice

      @Nonnull CN_TaxInputInvoiceCreateFluentHelper createCN_TaxInputInvoice(@Nonnull CN_TaxInputInvoice cN_TaxInputInvoice)
      Deprecated.
      Create a new CN_TaxInputInvoice entity and save it to the S/4HANA system.
      Parameters:
      cN_TaxInputInvoice - CN_TaxInputInvoice entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CN_TaxInputInvoice entity. To perform execution, call the execute method on the fluent helper object.
    • getAllCN_TaxInputInvoiceItem

      @Nonnull CN_TaxInputInvoiceItemFluentHelper getAllCN_TaxInputInvoiceItem()
      Deprecated.
      Fetch multiple CN_TaxInputInvoiceItem entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getCN_TaxInputInvoiceItemByKey

      @Nonnull CN_TaxInputInvoiceItemByKeyFluentHelper getCN_TaxInputInvoiceItemByKey(UUID taxInvoiceItemUUID, UUID cN_TaxInvcUUID)
      Deprecated.
      Fetch a single CN_TaxInputInvoiceItem entity using key fields.
      Parameters:
      cN_TaxInvcUUID - China Tax Invoice UUID

      Constraints: Not nullable

      taxInvoiceItemUUID - Invoice Item UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single 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.
    • createCN_TaxInputInvoiceItem

      @Nonnull CN_TaxInputInvoiceItemCreateFluentHelper createCN_TaxInputInvoiceItem(@Nonnull CN_TaxInputInvoiceItem cN_TaxInputInvoiceItem)
      Deprecated.
      Create a new CN_TaxInputInvoiceItem entity and save it to the S/4HANA system.
      Parameters:
      cN_TaxInputInvoiceItem - CN_TaxInputInvoiceItem entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CN_TaxInputInvoiceItem entity. To perform execution, call the execute method on the fluent helper object.
    • getAllCN_TaxInvoiceBindingRecord

      @Nonnull CN_TaxInvoiceBindingRecordFluentHelper getAllCN_TaxInvoiceBindingRecord()
      Deprecated.
      Fetch multiple CN_TaxInvoiceBindingRecord entities.
      Returns:
      A fluent helper to fetch multiple 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.
    • getCN_TaxInvoiceBindingRecordByKey

      @Nonnull CN_TaxInvoiceBindingRecordByKeyFluentHelper getCN_TaxInvoiceBindingRecordByKey(UUID cN_TaxInvcBindgUUID, UUID cN_TaxInvcBindgItmUUID)
      Deprecated.
      Fetch a single CN_TaxInvoiceBindingRecord entity using key fields.
      Parameters:
      cN_TaxInvcBindgUUID - China Tax Invoice Binding UUID

      Constraints: Not nullable

      cN_TaxInvcBindgItmUUID - China Tax Invoice Binding Item UUID

      Constraints: Not nullable

      Returns:
      A fluent helper to fetch a single 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.
    • createCN_TaxInvoiceBindingRecord

      @Nonnull CN_TaxInvoiceBindingRecordCreateFluentHelper createCN_TaxInvoiceBindingRecord(@Nonnull CN_TaxInvoiceBindingRecord cN_TaxInvoiceBindingRecord)
      Deprecated.
      Create a new CN_TaxInvoiceBindingRecord entity and save it to the S/4HANA system.
      Parameters:
      cN_TaxInvoiceBindingRecord - CN_TaxInvoiceBindingRecord entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new CN_TaxInvoiceBindingRecord entity. To perform execution, call the execute method on the fluent helper object.
    • receiveInvoice

      @Nonnull ReceiveInvoiceFluentHelper receiveInvoice(@Nonnull UUID cN_TaxInvcUUID)
      Deprecated.

      Creates a fluent helper for the receiveInvoice OData function import.

      Parameters:
      cN_TaxInvcUUID - UUID

      Constraints: 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 execute method on the fluent helper object.
    • signoffInvoice

      @Nonnull SignoffInvoiceFluentHelper signoffInvoice(@Nonnull UUID cN_TaxInvcUUID)
      Deprecated.

      Creates a fluent helper for the signoffInvoice OData function import.

      Parameters:
      cN_TaxInvcUUID - UUID

      Constraints: 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 execute method 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: 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

      Returns:
      A fluent helper object that will execute the declareInvoice OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.