Docs
Xero returns "The TaxType code 'X' cannot be used with account code 'Y'" when syncing invoices from Chargebee.
Xero throws this error when the type of the GL account on the invoice item does not match the type of the tax applied. For example: a revenue account (e.g. 200) with a liability tax type (e.g. GSTONIMPORTS), or an EXPENSE account with a REVENUE tax type. Xero’s standard rates and types are documented here.
Example: If you configure "Sales Tax on Imports" (a standard US Xero rate) for an exempt invoice, and the invoice item uses a revenue account, the combination can trigger "The TaxType code GSTONIMPORTS cannot be used with account code 33."
Was this article helpful?