Symptom
How to use the web service interface Manage Incoming Cheque In (operation Maintain incoming checks) to create incoming checks with reference to invoices and therefore enable automatic clearing of both.
Environment
SAP Business ByDesign
Resolution
The invoice(s) to be cleared should be specified on tag <Note languageCode="EN"><Note> in the XML request, which represents the Memo Line for the Incoming Check.
Either the Invoice ID(s) or the External Reference ID(s) can be specified, in case they differ.
For example:
<n0:IncomingChequeBundleMaintain xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
<BasicMessageHeader>
<UUID>12345678-90AB-CDEF-0123-456789ABCDEF</UUID>
</BasicMessageHeader>
<IncomingCheque ActionCode="01">
<PayerChequeID>12345</PayerChequeID>
<PayerBusinessPartnerInternalID>CP345678 </PayerBusinessPartnerInternalID>
<PayeeCompanyID>1000</PayeeCompanyID>
<PaymentAmount currencyCode="USD">200</PaymentAmount>
<Note languageCode="EN">1FC-500, 1FC-501</Note>
</IncomingCheque>
</n0:IncomingChequeBundleMaintain>
In the above example, an incoming check of 200.00 USD is being created to clear invoices 1FC-500 and 1FC-501 (for example, each invoice is for 100.00 USD).
Remark: the automatic clearing of the open items (invoices) will only happen if you define a Rule for Analyzing Memo Line, in Global Settings for Payment Business Configuration activity.
Considering the example above, a rule of type Open Receivable Document ID should be created, with Rule Definition Mode Search Term and Prefix for ID Completion "1FC-". The Search Term Suffix Maximum Length should be 3.
In this way, 1FC-500 and 1FC-501 will be read as open receivable items.
See Also
For further information, please refer to:
- Manage Incoming Checks Web Service Documentation.
- Creation of Memo Line Analysis Rules for Common Use Cases help document, available in the Help Center.
Keywords
Manage Incoming Checks; Maintain incoming checks; automatic clearing; PaymentProcessingIncomingChequeProcessingInBasic; Manage Incoming Cheque In; Global Settings for Payment; Rules for Analyzing Memo Lines; Open Receivable Document ID; , KBA , manage incoming checks , automatic clearing , maintain incoming checks , paymentprocessingincomingchequeprocessin , manage incoming cheque in , global settings for payment , rules for analyzing memo lines , open receivable document id , AP-PAY-IC , Incoming Cheque , How To