Skip to Content
Mar 17, 2021 at 12:58 PM

How to park a supplier invoice with API_SUPPLIERINVOICE_PROCESS_SRV with only header data?

388 Views Last edit May 21, 2021 at 02:01 PM 4 rev


I am trying to park a supplier invoice for which only header data is available, no item data is added, using odata API API_SUPPLIERINVOICE_PROCESS_SRV.

Below an example:

{ "CompanyCode": "BE10",

"DocumentDate": "2021-03-12T00:00",

"PostingDate": "2021-03-12T00:00",

"SupplierInvoiceIDByInvcgParty": "Test SDW 2",

"InvoicingParty": "1001242",

"DocumentCurrency": "EUR",

"InvoiceGrossAmount": "112.00",

"SupplierInvoiceStatus": "A",

"SupplierInvoiceIsCreditMemo": "",

"TaxDeterminationDate": "2021-03-12T00:00",

"AccountingDocumentType": "RE",

"TaxIsCalculatedAutomatically": true }

However, when posting, I get the error: The requested service is not supported by entity CDS~A_SUPPLIERINVOICE

How to park this invoice in S4 HANA Cloud?