...
I get the following error message:
Code Block |
---|
Error: Failed posting invoice to Xero: XERO API Exception Detected #1: Invoice not of valid status for modification #2: This document cannot be edited as it has a payment or credit note allocated to it. |
I get the following error message:
Code Block |
---|
Xero API Exception detected: #1 Payments can only be made against Authorised documents. #2 Payment amount exceeds the amount outstanding on this document |
This is caused by one of two things, both of which are a result of a user updating the corresponding invoice that is in Xero to the invoice you are trying to pay in Actionstep. A user has either:
Made a payment to the invoice in Xero, or
- Voided the invoice in Xero
You will have to log into Xero and review the invoice to see which of the two is the cause of the issue. If it is caused by the first option then simply Remove and redo the payment in Xero to remove it. Now you will be able to process the payment from Actionstep.
...
If it is the second option then in Actionstep you will have to remove the link from that Invoice. Move the invoice to draft in Actionstep and then save it again to create a new copy of the invoice in Xero. For more details on how to unlink an invoice from Xero see Correcting Errors with a Xero configured system.