SAP Knowledge Base Article - Public

3808561 - Post with Clearing API — SAP S/4HANA Cloud Public Edition

Symptom

You want to use an API to generate payment journal entries, like the "Post Outgoing Payments" or "Post Incoming Payments" apps do.

Environment

SAP S/4HANA Cloud Public Edition

Cause

There is no direct API that posts payment and clears open items in a single payload.

Resolution

  1. Use the "Journal Entry – Post (Asynchronous)" API to post the journal entry with a balance transfer from the bank account to the supplier or customer account.
  2. After successful posting, use the "Journal Entry – Clearing (Asynchronous)" API to clear the newly posted document against existing open items.

See Also

Keywords

Post with Clearing, Clear Incoming Payments, Manual Clear, API, Balance Transfer, Open Items, Journal Entry – Post, Payment, Journal Entry – Clearing, Post Outgoing Payments, Post Incoming Payments , KBA , FI-FIO-AP-TRA-2CL , Transaction Apps: Public Cloud , FI-AR-AR-A-2CL , Posting/Clearing/Special General Ledger (Public Cloud) , FI-FIO-AR-TRA-2CL , Transaction Apps: Public Cloud , FI-AP-AP-A-2CL , Posting/Clearing/Special General Ledger (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions