SAP Knowledge Base Article - Public

2903648 - Payment Created Through Web Service ManageCashPaymentOrderIn Cannot Automatically Clear Invoice


You create a cash payment ABC(ABC represents the ID of the payment) with reference to invoice DEF(DEF represents the ID of the invoice) through web service ManageCashPaymentOrderIn. Error 'Posting not possbile; clearing inconsistent' occurs when requesting.

You check the relevant clearing in the system and no inconsistency was found. You think that the system should automatically clear the invoice DEF without manually clearing it.


SAP Business ByDesign

Reproducing the Issue

  1. You request through web service ManageCashPaymentOrderIn in SOAPUI to create a cash payment with reference to invoice DEF.
  2. After requesting, a cash payment ABC is cretaed. At the same time, error 'Posting not possbile; clearing inconsistent' occurs.
  3. Go to Payment Management work center.
  4. Go to Payment Monitor view.
  5. Show All Payments and search ABC.
  6. Click on Document ID ABC.
  7. Click on View All.
  8. View Document Flow tab.
  9. Open Clearing document.
  10. Click on View All.
  11. You cannot find any inconsistency and clearing balance is zero.


You pass the invoice internal ID in both PaymentTransactionInitiatorInvoiceReference ID and PaymentTransactionDestinatedInvoiceReference ID, then the clearing document may lead to create in proposed status.


You have to pass the invoice External Reference ID in the PaymentTransactionInitiatorInvoiceReference ID field and the Invoice (Document) ID in the PaymentTransactionDestinatedInvoiceReference ID field.


ManageCashPaymentOrderIn, Clearing , KBA , SRD-FIN-MOP , Payment Management , Problem


SAP Business ByDesign all versions