on 2024 Jul 08 2:48 AM
Hello experts,
With the api, I want to create incoming payments as from "Post Incoming Payments" app. In that "Post Incoming Payments" app, we have to add the JE we want to clear and the GL account and the amount.
I found Journal Entry - Clearing (Asynchronous) API can create data in Post Incoming Payments. But that api does not have field for debit amount and credit amount. How can I create the Post Incoming Payments adding debit amount or credit amount.
API #S4 hana #Post Incoming payments
Request clarification before answering.
Hi @Pyae_Phyo_Thwe , I am not 100% sure about this, but you may want to try to first find the appropriate journal entry to match with using a different API, like "Accounting Document - Read or "Line Item of Treasury Posting Journal Entry – Read" to find matching entries in the line items with the proper posting key for debit or credit, 40 or 50:
"AccountingDocumentItemRef": "0000000001",
"TreasuryPostingCategory": 1,
"TreasuryPostingCategoryName": "Position Posting (Book Value) in Position Currency",
"TreasuryGLAccountSymbol": "1",
"TreasuryGLAccountSymbolName": "Position (book value)",
"PostingKey": "40",
"PostingKeyName": "Debit entry",
"GLAccount": "12041000",
"CompanyCodeCurrency": "USD",
"AmountInCompanyCodeCurrency": "211621.88",
"TreasuryTransactionFlow": 2,
"AccountingDocument": "7000010027",
"JournalEntryType": "SA",Once you obtained the matching item you would simply reference the Accounting Document and item Reference ID of the matching items when using the clearing API. As long as there are no amount discrepancies between the payment and the reference document no credit or debit amount would be needed. only for exceptions to this default you may want to add details in segment APARItems of API Journal Entry - Clearing (Asynchronous).
If this answers your question please mark as solved, accordingly. Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 26 | |
| 13 | |
| 13 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.