Symptom
You are using the web service ManageCashPaymentOrderIn to create a payment and you expect the system to automatically clear the Invoice with this payment, however, the invoice and the payment are still open.
Environment
SAP Business ByDesign
Reproducing the Issue
- Customer invoice is created in the system
- Payment is created using the Web Service ManageCashPaymentOrderIn
- Then, when checking the Customer Accounts, you notice that the Invoice and the payment are still open
- Go to the Receivables work center.
- Go to the Customer Accounts view
- Open the relevant Customer Account.
- Search for the relevant Invoice
- The Invoice is still Open, but you can find a Clearing ID in the Clearing ID column.
- The status of the clearing is Proposed
Cause
System behavior
Resolution
Different clearing scenarios can happen when using the web service ManageCashPaymentOrderIn, below, it is explained how the system works in each scenario.
- If the payment amount is equal to invoice amount, then, the system will clear the invoice successfully.
- If the payment amount is less than invoice amount, then, the system will Partially clear the invoice.
- If the payment amount is greater than invoice amount, then, during the clearing, system checks whether the net amount is greater than the gross amount or not, if yes then it gives an error. So, clearing goes in proposed status and both payment and invoice documents remains in 'Open' status.
This is the standard system behavior.
See Also
Keywords
webservice, ManageCashPaymentOrderIn, Absolute value of assigned amount too high, Posting not possible; clearing inconsistent, manual payments , KBA , AP-PAY , Payment Processing , Problem