Symptom
Issue with Journal Entry Post API:
- Posting Key 21 = Credit Memo is generated instead of Posting Key 25 = Outgoing Payments.
- Posting Key 11 instead of 15 is used when posting a Customer Payment
Environment
SAP S/4HANA Cloud Public Edition
Cause
Posting key 15 & 25 is currently not supported in API Journal Entry - Post.
Resolution
See details in SAP Help Portal: APIs for General Ledger Accounting -> Journal Entry
For the generated journal entry, the posting keys are restricted as follows:
Item node, ProductTaxItem node, WithholdingTaxItem node Debit entry 40 Debit entry Credit entry 50 Credit entry DebtorItem node Debit entry 01 Invoice Credit entry 11 Credit memo CreditorItem node Debit entry 21 Credit memo Credit entry 31 Invoice
Keywords
Posting Key 15, Posting Key 11, Customer Payment, API, Posting Key , KBA , AC-INT-2CL , Accounting Interface (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public