SAP Knowledge Base Article - Public

3486067 - How to post multiple debtor line items in API Journal Entry Post - SAP S/4HANA Cloud Public Edition?

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.
 

Environment

SAP S/4HANA Cloud Public Edition

Cause

The issue could be caused by debtor 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.

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 , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem

Product

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