We currently have a problem with booking returns on an invoice.
This is our workflow on a purchase:
- Create an invoice
- Add a position on the invoice
- Add a payment with “addManualPayment”
If a return occurs we do the following:
- Find the invoice
- Add a negative position on the invoice
- Add a negative payment with “addManualPayment”
We are able to add the negative position but the payment fails with the following error:
Failed to invoke method addManualPayment in class com.infusionsoft.api.xmlrpc.XmlRpcInvoiceService: Pay plan must contain pay plan items.
Can someone help us on this error?
Best Regards,
Gerd