Symptom
Unable to post multiple debtor line items in API Journal Entry Post. Additional debtor items are ignored, and the API responds with a balance error.
Unable to post multiple creditor line items in API Journal Entry Post. Additional creditor items are ignored, and the API responds with a balance error.
Environment
SAP S/4HANA Cloud Public Edition
Cause
The issue could be caused by debtor or creditor line items are separated by other Items in between in payload.
Resolution
To post multiple debtor line items, group nodes <DebtorItem> together, without any other items (such as nodes <Item>) in between.
Similarly, ensure that identical items (Item, DebtorItem, CreditorItem) are grouped together and not mixed with different types of items in between.
See Also
SAP Community: Double debtor line item in journal entries API S/4HANA Cloud
Keywords
Multiple, Double, DebtorItem, CreditorItem, Item, API, Balance error, Journal entries- POST, balance, transaction currency, accounting interface , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
SAP Knowledge Base Article - Public