@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSupplierInvoiceIntegrationService") public class DefaultSupplierInvoiceIntegrationService extends Object implements 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 reverse existing supplier invoices from the SAP S/4HANA Cloud system.
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) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSupplierInvoiceIntegrationService()
Creates a service using
SupplierInvoiceIntegrationService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultSupplierInvoiceIntegrationService()
SupplierInvoiceIntegrationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSupplierInvoiceIntegrationService withServicePath(@Nonnull String servicePath)
SupplierInvoiceIntegrationService
withServicePath
in interface SupplierInvoiceIntegrationService
servicePath
- Service path that will override the default.@Nonnull public DefaultSupplierInvoiceIntegrationServiceBatch batch()
batch
in interface BatchService<SupplierInvoiceIntegrationServiceBatch>
@Nonnull public SuplrInvcHeaderWhldgTaxFluentHelper getAllSuplrInvcHeaderWhldgTax()
SupplierInvoiceIntegrationService
SuplrInvcHeaderWhldgTax
entities.getAllSuplrInvcHeaderWhldgTax
in interface SupplierInvoiceIntegrationService
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 public SuplrInvcHeaderWhldgTaxByKeyFluentHelper getSuplrInvcHeaderWhldgTaxByKey(String supplierInvoice, String fiscalYear, String withholdingTaxType)
SupplierInvoiceIntegrationService
SuplrInvcHeaderWhldgTax
entity using key fields.getSuplrInvcHeaderWhldgTaxByKey
in interface SupplierInvoiceIntegrationService
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
withholdingTaxType
- This indicator is used to classify the different types of withholding tax.
Constraints: Not nullable, Maximum length: 2
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 public SuplrInvcHeaderWhldgTaxCreateFluentHelper createSuplrInvcHeaderWhldgTax(@Nonnull SuplrInvcHeaderWhldgTax suplrInvcHeaderWhldgTax)
SupplierInvoiceIntegrationService
SuplrInvcHeaderWhldgTax
entity and save it to the S/4HANA system.createSuplrInvcHeaderWhldgTax
in interface SupplierInvoiceIntegrationService
suplrInvcHeaderWhldgTax
- SuplrInvcHeaderWhldgTax
entity object that will be created in the S/4HANA system.SuplrInvcHeaderWhldgTax
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SuplrInvcItemPurOrdRefFluentHelper getAllSuplrInvcItemPurOrdRef()
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entities.getAllSuplrInvcItemPurOrdRef
in interface SupplierInvoiceIntegrationService
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 public SuplrInvcItemPurOrdRefByKeyFluentHelper getSuplrInvcItemPurOrdRefByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entity using key fields.getSuplrInvcItemPurOrdRefByKey
in interface SupplierInvoiceIntegrationService
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
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
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 public SuplrInvcItemPurOrdRefCreateFluentHelper createSuplrInvcItemPurOrdRef(@Nonnull SuplrInvcItemPurOrdRef suplrInvcItemPurOrdRef)
SupplierInvoiceIntegrationService
SuplrInvcItemPurOrdRef
entity and save it to the S/4HANA system.createSuplrInvcItemPurOrdRef
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceFluentHelper getAllSupplierInvoice()
SupplierInvoiceIntegrationService
SupplierInvoice
entities.getAllSupplierInvoice
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceByKeyFluentHelper getSupplierInvoiceByKey(String supplierInvoice, String fiscalYear)
SupplierInvoiceIntegrationService
SupplierInvoice
entity using key fields.getSupplierInvoiceByKey
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceCreateFluentHelper createSupplierInvoice(@Nonnull SupplierInvoice supplierInvoice)
SupplierInvoiceIntegrationService
SupplierInvoice
entity and save it to the S/4HANA system.createSupplierInvoice
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceItemGLAcctFluentHelper getAllSupplierInvoiceItemGLAcct()
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entities.getAllSupplierInvoiceItemGLAcct
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceItemGLAcctByKeyFluentHelper getSupplierInvoiceItemGLAcctByKey(String supplierInvoice, String fiscalYear, String supplierInvoiceItem)
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entity using key fields.getSupplierInvoiceItemGLAcctByKey
in interface SupplierInvoiceIntegrationService
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
supplierInvoiceItem
- Four Character Sequential Number for Coding Block
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 public SupplierInvoiceItemGLAcctCreateFluentHelper createSupplierInvoiceItemGLAcct(@Nonnull SupplierInvoiceItemGLAcct supplierInvoiceItemGLAcct)
SupplierInvoiceIntegrationService
SupplierInvoiceItemGLAcct
entity and save it to the S/4HANA system.createSupplierInvoiceItemGLAcct
in interface SupplierInvoiceIntegrationService
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.@Nonnull public SupplierInvoiceTaxFluentHelper getAllSupplierInvoiceTax()
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entities.getAllSupplierInvoiceTax
in interface SupplierInvoiceIntegrationService
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 public SupplierInvoiceTaxByKeyFluentHelper getSupplierInvoiceTaxByKey(String supplierInvoice, String fiscalYear, String taxCode, String supplierInvoiceTaxCounter)
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entity using key fields.getSupplierInvoiceTaxByKey
in interface SupplierInvoiceIntegrationService
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
taxCode
- Tax code
Constraints: Not nullable, Maximum length: 2
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 public SupplierInvoiceTaxCreateFluentHelper createSupplierInvoiceTax(@Nonnull SupplierInvoiceTax supplierInvoiceTax)
SupplierInvoiceIntegrationService
SupplierInvoiceTax
entity and save it to the S/4HANA system.createSupplierInvoiceTax
in interface SupplierInvoiceIntegrationService
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.@Nonnull public ReleaseFluentHelper release(String supplierInvoice, String fiscalYear, Boolean discountDaysHaveToBeShifted)
SupplierInvoiceIntegrationService
Creates a fluent helper for the Release OData function import.
release
in interface SupplierInvoiceIntegrationService
supplierInvoice
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierInvoice
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
discountDaysHaveToBeShifted
- Indicator
Constraints: none
Original parameter name from the Odata EDM: DiscountDaysHaveToBeShifted
execute
method on the fluent helper object.@Nonnull public CancelFluentHelper cancel(LocalDateTime postingDate, String reversalReason, String fiscalYear, String supplierInvoice)
SupplierInvoiceIntegrationService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface SupplierInvoiceIntegrationService
postingDate
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
reversalReason
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ReversalReason
fiscalYear
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: FiscalYear
supplierInvoice
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierInvoice
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.