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


Latest update: - Lucia Palozzi

Setup

  • Vend for Mac or PC
  • Xero integration

Cause

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

Solution

  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.