You might encounter some error messages when publishing to Xero.
Find details below on common error messages and how to fix them:
- Account code ‘###’ has been archived or has been deleted. Each line item must reference a valid account.
- Unknown response error code: 301 or 302
- Too many requests to Xero: please wait before retrying the Xero API
- The tax amount cannot be greater than the line amount!
- You have reached the limit of invoices you can approve!
- The TaxType code ### cannot be used with this account code
- Account code "###" is not a valid code for this document
- To send to Bank Accounts you will need to set a linked bank account.
- The item already exists in Xero with status different from 'DRAFT'!
- Spend money transactions cannot be updated
- An existing invoice with the specified ID could not be found
- A valid user should be identified using the UserID