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. Furthermore, the service enables you to read, release, reverse, and delete existing supplier invoices from the SAP S/4HANA system. The service is based on the OData protocol and can be consumed in apps and other user interfaces. This service allows you to create multiple supplier invoices. The service supports a deep create of an invoice only, this means, all nodes can only be created as part of a deep create. Executing multiple deep creates as part of one changeset is not supported..
Reference: SAP API Business Hub
OData Service: | OP_API_SUPPLIERINVOICE_PROCESS_SRV |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Supplier Invoice |
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
- Indicator for Withholding Tax Type
Constraints: Not nullable, Maximum length: 2
supplierInvoice
- Document Number of an Invoice Document
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal Year
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
- Document Item in Invoice Document
Constraints: Not nullable, Maximum length: 6
supplierInvoice
- Accounting Document Number
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal Year
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 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
- Document Item in Invoice Document
Constraints: Not nullable, Maximum length: 6
supplierInvoice
- Accounting Document Number
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal Year
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 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
- Document Number of an Invoice Document
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal Year
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 SupplierInvoiceDeleteFluentHelper deleteSupplierInvoice(@Nonnull SupplierInvoice supplierInvoice)
SupplierInvoice
entity in the S/4HANA system.supplierInvoice
- SupplierInvoice
entity object that will be deleted 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
- Accounting Document Number
Constraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal Year
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
- Document Number of an Invoice Document
Constraints: Not nullable, Maximum length: 10
taxCode
- Tax code
Constraints: Not nullable, Maximum length: 2
fiscalYear
- Fiscal Year
Constraints: Not nullable, Maximum length: 4
supplierInvoiceTaxCounter
- Document Item in Invoice Document
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(Boolean discountDaysHaveToBeShifted, String fiscalYear, String supplierInvoice)
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
- 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(String supplierInvoice, String fiscalYear, String reversalReason, LocalDateTime postingDate)
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
- 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 © 2021 SAP SE. All rights reserved.