Date: 24/01/2014 2:34:53 p.m.
A problem occurred syncing invoices with Xero.
Whoops, sorry we had trouble syncing your invoices with Xero...
InvoiceID: <INVOICE>, Customer: <CUSTOMER>, InvoiceId: <INVOICE>.
Issue: Xero has rejected this approve request with the following message: Account code '<CODE>' has been archived, or has been deleted. Each line item must reference a valid account.
→ This invoice was reset to DRAFT status.
→ Resolution Advice: Please sign into Xero to resolve this issue.
Cause of the error
This error is the result of an Invoice being sent to Xero with an Account Code that is not valid.
The Account Code may have been archived in Xero after an Invoice was created in Re-Leased that used the Account. The Invoice is now being synced with Xero and Xero will not accept it with the invalid account code.
The invoice will be reset back to Draft where it can be edited. You must either:
- Update the Invoice in Re-Leased: Update the invoice in Re-Leased so that it uses a valid Account in Xero.
- Void the invoice in Re-Leased: Void the invoice in Re-Leased.
- Add the Account to Xero: Add the Account to Xero, and allow it to be synced with Re-Leased. This will then allow the Invoice to be updated with the account code, which is now valid. Once the invoice is Approved it will then sync successfully with Xero.