All Collections
Synchronisation Issues
Xero Errors
A Xero Account Code has been archived
A Xero Account Code has been archived

How to fix a syncing problem when an account code has been archived

Updated over a week ago

Error: Account code '###' has been archived, or has been deleted. Each line item must reference a valid account.
โ€‹
When this error occurs it means that one of the Xero accounts that an Expense Category has been mapped to in your integration settings has now been archived in Xero.
โ€‹
To fix this problem you can either:

  • Update the Expense Category mappings on your Xero Integration page so that the archived account is no longer used

  • Unarchive the account in Xero

Once the problem is resolved you can resync the expense and it should flow in Xero correctly.

Did this answer your question?