public interface SupplierInvoiceIntegrationService
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 cancel existing supplier invoices from the SAP S/4HANA Cloud system.
Reference: SAP API Business Hub
OData Service: | API_SUPPLIERINVOICE_PROCESS_SRV |
API Version: | 1 |
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.SupplierInvoiceByKeyFluentHelper getSupplierInvoiceByKey(String supplierInvoice, String fiscalYear)
SupplierInvoice
entity using key fields.supplierInvoice
- Document Number of an Invoice DocumentConstraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal YearConstraints: 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.SupplierInvoiceCreateFluentHelper createSupplierInvoice(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.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.SupplierInvoiceItemGLAcctByKeyFluentHelper getSupplierInvoiceItemGLAcctByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceItemGLAcct
entity using key fields.supplierInvoiceItem
- Four Character Sequential Number for Coding BlockConstraints: Not nullable, Maximum length: 4
supplierInvoice
- Accounting Document NumberConstraints: Not nullable, Maximum length: 10
fiscalYear
- Fiscal YearConstraints: 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.SupplierInvoiceItemGLAcctCreateFluentHelper createSupplierInvoiceItemGLAcct(SupplierInvoiceItemGLAcct supplierInvoiceItemGLAcct)
SupplierInvoiceItemGLAcct
entity and save it to the S/4HANA system.supplierInvoiceItemGLAcct
- SupplierInvoiceItemGLAcct
entity object that will be created in the S/4HANA system.SupplierInvoiceItemGLAcct
entity. To perform execution, call the execute
method on the fluent helper object.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.SupplierInvoiceTaxByKeyFluentHelper getSupplierInvoiceTaxByKey(String supplierInvoice, String fiscalYear, String taxCode, String supplierInvoiceTaxCounter)
SupplierInvoiceTax
entity using key fields.supplierInvoice
- Document Number of an Invoice DocumentConstraints: Not nullable, Maximum length: 10
taxCode
- Tax CodeConstraints: Not nullable, Maximum length: 2
fiscalYear
- Fiscal YearConstraints: Not nullable, Maximum length: 4
supplierInvoiceTaxCounter
- Document Item in Invoice DocumentConstraints: 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.SupplierInvoiceTaxCreateFluentHelper createSupplierInvoiceTax(SupplierInvoiceTax supplierInvoiceTax)
SupplierInvoiceTax
entity and save it to the S/4HANA system.supplierInvoiceTax
- SupplierInvoiceTax
entity object that will be created in the S/4HANA system.SupplierInvoiceTax
entity. To perform execution, call the execute
method on the fluent helper object.ReleaseFluentHelper release(Boolean discountDaysHaveToBeShifted, String fiscalYear, String supplierInvoice)
Creates a fluent helper for the Release OData function import.
supplierInvoice
- Constraints: Not nullable, Maximum length: 10discountDaysHaveToBeShifted
- Constraints: nonefiscalYear
- Constraints: Not nullable, Maximum length: 4execute
method on the fluent helper object.CancelFluentHelper cancel(String supplierInvoice, String fiscalYear, String reversalReason, Calendar postingDate)
Creates a fluent helper for the Cancel OData function import.
reversalReason
- Constraints: Not nullable, Maximum length: 2supplierInvoice
- Constraints: Not nullable, Maximum length: 10postingDate
- Constraints: Not nullable, Precision: 0fiscalYear
- Constraints: Not nullable, Maximum length: 4execute
method on the fluent helper object.Copyright © 2017 SAP SE. All rights reserved.