You are creating bank credit advices via web service ManageBankAdviceIn with reference to existing invoice in the system, however the automatic clearing between invoice and bank advice does not happen. Instead, the advice becomes an open item in the customer account monitor.
Reproducing the Issue
- Go to Receivables work center
- Go to Customer Accounts view.
- Open the concerned customer account monitor.
You'll see that the advice created via web service remains as an open item.
One of the reasons why the automatic clearing does not happen in that the request XML has been made with the Initiator Invoice Request tag (<PaymentTransactionInitiatorInvoiceReference>) for the invoice, which refers to Invoice ID field in the bank advice OIF, being an external ID. Hence, the automatic clearing does not happen.
The Invoice ID field can be seen in the References section in the bank advice.
In order for the automatic clearing to be possible, you need to create the bank advice with the Document ID filled as reference. In the XML request, please change the tag <PaymentTransactionInitiatorInvoiceReference> to <PaymentTransactionDestinatedInvoiceReference> being the internal reference for the invoice you wish to clear.
You can check if the Document ID is filled in the References section of the bank advice. Please, note that this fields is hidden by default. You can make is visible via Personalize settings.
KBA , LOD-CRM , Cloud for Customer , How To