cancel
Showing results for 
Search instead for 
Did you mean: 

Journal Entry - Clearing (Asynchronous) API has BUG

Abu_Monk
Explorer
0 Kudos

We have customer receivables Document that were billing for last year's sales. This year the customer paid back. We performed a clearance by API, but there was a serious bug. Please see my screenshot.

Customer payback:

We performed a clearance by API:

Journal Entry - Clearing (Asynchronous)

The effect after clearance: (BUG)

The postman body is as follows:

<APARItems> <ReferenceDocumentItem>1</ReferenceDocumentItem> <AccountType>D</AccountType> <APARAccount>Z262</APARAccount> <FiscalYear>2022</FiscalYear> <AccountingDocument>100000001</AccountingDocument> <AccountingDocumentItem>001</AccountingDocumentItem> <OtherDeductionAmountInDspCrcy currencyCode="USD">0.00</OtherDeductionAmountInDspCrcy> <PaymentDifferenceDistribution> <PaymentDifferenceReason>010</PaymentDifferenceReason> <OtherDeductionAmountInDspCrcy currencyCode="?">0.00</OtherDeductionAmountInDspCrcy> <Reference1IDByBusinessPartner>AB1234567890</Reference1IDByBusinessPartner> <Reference2IDByBusinessPartner>BA1234567890</Reference2IDByBusinessPartner> </PaymentDifferenceDistribution> </APARItems> <APARItems> <ReferenceDocumentItem>2</ReferenceDocumentItem> <AccountType>D</AccountType> <APARAccount>Z262</APARAccount> <FiscalYear>2023</FiscalYear> <AccountingDocument>9400000032</AccountingDocument> <AccountingDocumentItem>001</AccountingDocumentItem> <OtherDeductionAmountInDspCrcy currencyCode="USD">0.00</OtherDeductionAmountInDspCrcy> <PaymentDifferenceDistribution> <PaymentDifferenceReason>010</PaymentDifferenceReason> <OtherDeductionAmountInDspCrcy currencyCode="?">0.00</OtherDeductionAmountInDspCrcy> <Reference1IDByBusinessPartner>AB1234567890</Reference1IDByBusinessPartner> <Reference2IDByBusinessPartner>BA1234567890</Reference2IDByBusinessPartner> </PaymentDifferenceDistribution> </APARItems> <APARItems> <ReferenceDocumentItem>3</ReferenceDocumentItem> <AccountType>D</AccountType> <APARAccount>Z262</APARAccount> <FiscalYear>2023</FiscalYear> <AccountingDocument>1400000093</AccountingDocument> <AccountingDocumentItem>001</AccountingDocumentItem> </APARItems>

View Entire Topic
MansoorCPI
Explorer
0 Kudos

Hi Abu_Monk,

I hope you are doing well,

Requesting you to please tell us the process in step-by-step to overcome, kindly share sample request payload to post for clearing payment.

Thanks in Advance.