public interface SupplierInvoiceIntegrationService extends BatchService<SupplierInvoiceIntegrationServiceBatch>
This service enables you to create supplier invoices through an API call from a source system outside SAP S/4HANA Cloud. Furthermore the service enables you to read, release and reverse existing supplier invoices from the SAP S/4HANA Cloud system. The service is based on the OData protocol.
Reference: SAP API Business Hub
OData Service: | API_SUPPLIERINVOICE_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Supplier Invoice Integration (SAP_COM_0057) |
Scope Items: | Consumable Purchasing (BNX), Service and Material Procurement - Project-Based Services (J13), Procurement of Direct Materials (J45), Procurement of Direct Materials (O45) |
Authentication Methods: | Basic, x509 |
Business Object: | SupplierInvoice |
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 SupplierInvoiceIntegrationService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull SuplrInvcHeaderWhldgTaxFluentHelper getAllSuplrInvcHeaderWhldgTax()
SuplrInvcHeaderWhldgTax
entities.SuplrInvcHeaderWhldgTax
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 SuplrInvcHeaderWhldgTaxByKeyFluentHelper getSuplrInvcHeaderWhldgTaxByKey(String supplierInvoice, String fiscalYear, String withholdingTaxType)
SuplrInvcHeaderWhldgTax
entity using key fields.withholdingTaxType
- This indicator is used to classify the different types of withholding tax.
Constraints: Not nullable, Maximum length: 2
supplierInvoice
- Number which uniquely identifies an invoice document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
SuplrInvcHeaderWhldgTax
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 SuplrInvcItemAcctAssgmtFluentHelper getAllSuplrInvcItemAcctAssgmt()
SuplrInvcItemAcctAssgmt
entities.SuplrInvcItemAcctAssgmt
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 SuplrInvcItemAcctAssgmtByKeyFluentHelper getSuplrInvcItemAcctAssgmtByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem, String ordinalNumber)
SuplrInvcItemAcctAssgmt
entity using key fields.ordinalNumber
- Four Character Sequential Number for Coding Block
Constraints: Not nullable, Maximum length: 4
supplierInvoiceItem
- By entering the number of an item in an invoice document, you can go straight to the line that you
want to process.
Constraints: Not nullable, Maximum length: 6
supplierInvoice
- The document number is the key the system uses to access the accounting document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
SuplrInvcItemAcctAssgmt
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 SuplrInvcItemAcctAssgmtCreateFluentHelper createSuplrInvcItemAcctAssgmt(@Nonnull SuplrInvcItemAcctAssgmt suplrInvcItemAcctAssgmt)
SuplrInvcItemAcctAssgmt
entity and save it to the S/4HANA system.suplrInvcItemAcctAssgmt
- SuplrInvcItemAcctAssgmt
entity object that will be created in the S/4HANA system.SuplrInvcItemAcctAssgmt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SuplrInvcItemPurOrdRefFluentHelper getAllSuplrInvcItemPurOrdRef()
SuplrInvcItemPurOrdRef
entities.SuplrInvcItemPurOrdRef
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 SuplrInvcItemPurOrdRefByKeyFluentHelper getSuplrInvcItemPurOrdRefByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SuplrInvcItemPurOrdRef
entity using key fields.supplierInvoiceItem
- By entering the number of an item in an invoice document, you can go straight to the line that you
want to process.
Constraints: Not nullable, Maximum length: 6
supplierInvoice
- The document number is the key the system uses to access the accounting document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
SuplrInvcItemPurOrdRef
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 SuplrInvcItemPurOrdRefCreateFluentHelper createSuplrInvcItemPurOrdRef(@Nonnull SuplrInvcItemPurOrdRef suplrInvcItemPurOrdRef)
SuplrInvcItemPurOrdRef
entity and save it to the S/4HANA system.suplrInvcItemPurOrdRef
- SuplrInvcItemPurOrdRef
entity object that will be created in the S/4HANA system.SuplrInvcItemPurOrdRef
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SupplierInvoiceFluentHelper getAllSupplierInvoice()
SupplierInvoice
entities.SupplierInvoice
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 SupplierInvoiceByKeyFluentHelper getSupplierInvoiceByKey(String supplierInvoice, String fiscalYear)
SupplierInvoice
entity using key fields.supplierInvoice
- Number which uniquely identifies an invoice document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
SupplierInvoice
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 SupplierInvoiceCreateFluentHelper createSupplierInvoice(@Nonnull SupplierInvoice supplierInvoice)
SupplierInvoice
entity and save it to the S/4HANA system.supplierInvoice
- SupplierInvoice
entity object that will be created in the S/4HANA system.SupplierInvoice
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull SupplierInvoiceItemGLAcctFluentHelper getAllSupplierInvoiceItemGLAcct()
SupplierInvoiceItemGLAcct
entities.SupplierInvoiceItemGLAcct
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 SupplierInvoiceItemGLAcctByKeyFluentHelper getSupplierInvoiceItemGLAcctByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceItemGLAcct
entity using key fields.supplierInvoiceItem
- Four Character Sequential Number for Coding Block
Constraints: Not nullable, Maximum length: 4
supplierInvoice
- The document number is the key the system uses to access the accounting document.
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
SupplierInvoiceItemGLAcct
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 SupplierInvoiceTaxFluentHelper getAllSupplierInvoiceTax()
SupplierInvoiceTax
entities.SupplierInvoiceTax
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 SupplierInvoiceTaxByKeyFluentHelper getSupplierInvoiceTaxByKey(String supplierInvoice, String fiscalYear, String taxCode, String supplierInvoiceTaxCounter)
SupplierInvoiceTax
entity using key fields.supplierInvoice
- Number which uniquely identifies an invoice document.
Constraints: Not nullable, Maximum length: 10
taxCode
- Tax code
Constraints: Not nullable, Maximum length: 2
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
supplierInvoiceTaxCounter
- By entering the number of an item in an invoice document, you can go straight to the line that you
want to process.
Constraints: Not nullable, Maximum length: 6
SupplierInvoiceTax
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 ReleaseFluentHelper release(String supplierInvoice, String fiscalYear, Boolean discountDaysHaveToBeShifted)
Creates a fluent helper for the Release OData function import.
supplierInvoice
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierInvoice
discountDaysHaveToBeShifted
- Indicator
Constraints: none
Original parameter name from the Odata EDM: DiscountDaysHaveToBeShifted
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
execute
method on the fluent helper object.@Nonnull CancelFluentHelper cancel(LocalDateTime postingDate, String reversalReason, String fiscalYear, String supplierInvoice)
Creates a fluent helper for the Cancel OData function import.
reversalReason
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ReversalReason
supplierInvoice
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierInvoice
postingDate
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.