SAP Knowledge Base Article - Public

3194665 - Amount of invoice item is not updated when creating invoice via SOAP API Supplier Invoice - Create (B2B, Inbound, Asynchronous)


When using SOAP API INVOICEREQUEST_IN "Supplier Invoice - Create (B2B, Inbound, Asynchronous)"  to create supplier invoice, the log shows the invoice was created successfully. But if you check the created invoice you can see the invoice item amount is zero, even though NetAmount and InvoicedQuantity are filled in the payload. The invoice status is "With errors" (RBKP-RBSTAT = 3).


SAP S/4HANA Cloud System All version


Goods Receipt has not been done for the purchase order item.

The NetAmount and InvoicedQuantity which are filled in the payload, will be saved for Amount (WRBTR) & AmountAccordingToInvoicingParty (RBWWR) and Quantity(MENGE) & QuantityAsPerInvoicingParty (RBMNG). When you create invoice via this API, the system tries to derive a suggestion value according to the posted Goods Receipt. If no Goods Receipt exists for that item, the suggested value will be provided as 0.00. However, the entered NetAmount will still be saved for "AmountAccordingToInvoicingParty", which then triggers an amount variance and thus leads the invoice to be saved as "With errors".


You need to post Goods Receipt for that item, when providing a NetAmount via payload in order to process a valid invoice via SOAP API.

See Also

Supplier Invoice - Create (B2B, Inbound, Asynchronous)


INVOICEREQUEST_IN, invoice with errors, NetAmount, Amount, WRBTR, AmountAccordingToInvoicingParty, RBWWR , KBA , MM-IV-GF-ES , Enterprise Services in Invoice Verification , Problem


SAP S/4HANA Cloud all versions