Hi. How can we help?

Xero Error: Account code is not a valid code for this document


  • Retail POS for Mac or PC
  • Xero integration


A product is mapped to an account that is archived/does not exist in Xero.  


  1. Click Products
  2. Click on the product(s) mapped to the account code cited in the error message
  3. Click Edit Product
  4. Change the Sales account code field to an account that is active and exists in Xero

Additional Information

You can export your product list to find all of the products using this account code. 

Was this article helpful?