Error text
Date: 24/01/2022 2:34:53 p.m.
Company
<COMPANY>
Message
A problem occurred syncing invoices with Xero.
Detail
Whoops, sorry we had trouble syncing your invoices with Xero...
Invoice Number: <INVOICE>, Customer: <CUSTOMER>, InvoiceId: <INVOICE>.
Issue: Xero has rejected this approve request with the following message: The TaxType code '<TAX CODE>' cannot be used with account code '<ACCOUNT CODE>'.
→ 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 a Tax Rate that is not valid for the chosen Account Code. The Account Code/Tax Rate combination may have been archived in Re-Leased during Integration with Xero.
How to resolve
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 Tax Rate and Account combination in Xero
- Void the Invoice in Re-Leased: Void the invoice in Re-Leased so that it will no longer be Synced
- Add the Account/Tax Rate combination to Xero: Update the Account in Xero, and allow it to be synced with Re-Leased. This will allow the Invoice to be edited with the Account Code and Tax Rate combination which is now valid. Once the Invoice is Approved it will then sync successfully with Xero.