Account code is archived or does not exist in Xero
What this Means
A product in your error order is using an Account Code, but Xero can't find it in the active Chart of Accounts. This could be because the account was never set up, has been archived, or the wrong account was set in the products and services.
Resolution Steps
Log in to Xero
Sign in to the organisation where you post your invoices.
- Verify the Account in Chart of Accounts
Navigate to Accounting → Chart of Accounts
(or visit Xero's Help Article - Chart of Accounts)
- Search for Account Code.
- If the account doesn’t exist:
- Click Add Account, choose the appropriate Type, enter the missing Account code, fill in the required fields, and Save.
- If the account is archived:
- Click Archived, locate the account, then click Options → Unarchive.
- If the account doesn’t exist:
- Update Product Sales Settings
- Go to Business → Products and Services
- For each product linked to that Account Code, click Edit.
- In the Sales section, select an active account code (the newly created or unarchived one).
- Save your changes.
Re-post the order
Return to your order dashboard, select the order that had the error, and click the Post to Xero button. The error should now be resolved.