SAP Knowledge Base Article - Public

2973633 - Currency in item 0001 differs from document currency

Symptom

When creating an IV invoice via the Odata API API_SUPPLIERINVOICE_PROCESS_SRV the system is raising error: 'Currency in item 0001 differs from document currency'  (MM_IV_SI_API 002)

Environment

SAP S/4HANA Cloud Public Edition All versions

Reproducing the Issue

Transfer a payload with a different header and item currency via Odata API API_SUPPLIERINVOICE_PROCESS_SRV

Cause

The critical currency is the header document currency.
The API will always check that the item currency is maintained in the payload and that the item currency matches the document currency.

** Note: In some localization scenarios a special amount field is present, these fields are not supported by the API.

Resolution

Make sure the "DocumentCurrency" in the item level of the payload is the same as header "DocumentCurrency".

See Also

Documentation  

Keywords

MM_IV_SI_API 002, API_SUPPLIERINVOICE_PROCESS_SRV, CL_MMIV_SI_API_CREATE, FIELD_CHECKS, Document currency. , KBA , MM-IV-GF-ES , Enterprise Services in Invoice Verification , MM-FIO-IV , Fiori UI for Invoice Verification , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions