Symptom
There is no Duplicate Invoice Check for API Synchronous or Asynchronous.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The duplicate invoice check is a online functionality. This check is not available in API's or Idocs. It is the expected system behaviour.
Resolution
The system is functioning as intended.
The duplicate invoice check is not designed for automatic transactions, such as those involving APIs or IDocs. It is specifically intended to prevent users from unintentionally entering the same invoice more than once.
To ensure proper handling, implement the duplicate check logic prior to invoking the SAP API. Leverage CDS views or OData services to query existing invoices before proceeding with the transaction.
Keywords
F5117, M8108, M8462, M8804, M8805, duplicate, SSCUI, 102091, BAPI, JournalEntryCreateRequestConfirmation_In, JournalEntryBulkCreationRequest_In, Journal Entry Post API, Synchronous, Asynchronous, BAPI_ACC_DOCUMENT_POST, double, duplicate, MRM_FI_DOCUMENT_CHECK, FI_DUPLICATE_INVOICE_CHECK, MRM_DUPLICATE_INVOICE_CHECK, JE, multiple, CLOUD , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
SAP Knowledge Base Article - Public