public class SupplierInvoiceIntegrationService extends Object
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 |
Constructor and Description |
---|
SupplierInvoiceIntegrationService() |
public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.public static SupplierInvoiceIntegrationNamespace.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.