Dear experts,
I am trying to clear incoming payments using Journal Entry - Clearing (Asynchronous) API
as Clear Incoming Payments Apps.
Though, I get errors. Is there a way to post clearing data?
Input Line Items
Press simulate button. This is how I want to post.
My payload is as below.
<JournalEntry>
<CompanyCode>10</CompanyCode>
<AccountingDocumentType>DZ</AccountingDocumentType>
<DocumentDate>2021-08-31</DocumentDate>
<PostingDate>2021-08-31</PostingDate>
<CurrencyCode>JPY</CurrencyCode>
<!--Optional:-->
<CurrencyTranslationDate>2021-08-31</CurrencyTranslationDate>
<CreatedByUser>CB9980000052</CreatedByUser>
<!--Zero or more repetitions:-->
<APARItems>
<ReferenceDocumentItem>1</ReferenceDocumentItem>
<CompanyCode>10</CompanyCode>
<AccountType>D</AccountType>
<APARAccount>ZCSSMPL61</APARAccount>
<FiscalYear>2020</FiscalYear>
<AccountingDocument>1800000061</AccountingDocument>
<AccountingDocumentItem>1</AccountingDocumentItem>
<PartialPaymentAmtInDspCrcy currencyCode="JPY">10000</PartialPaymentAmtInDspCrcy>
</APARItems>
<APARItems>
<ReferenceDocumentItem>2</ReferenceDocumentItem>
<CompanyCode>10</CompanyCode>
<AccountType>D</AccountType>
<APARAccount>ZCSSMPL61</APARAccount>
<FiscalYear>2020</FiscalYear>
<AccountingDocument>1800000061</AccountingDocument>
<AccountingDocumentItem>2</AccountingDocumentItem>
<PartialPaymentAmtInDspCrcy currencyCode="JPY">10000</PartialPaymentAmtInDspCrcy>
</APARItems>
</JournalEntry>
I got error messages below.
Item 10 2020 1800000061 002 cleared in the meantime 1 item(s) could not be selected Balance in transaction currency JPY 1,000,000 is too large for automatic correction
I went through the page below. It seems that there are no field for debit amount and credit amount.