The TaxType code ‘X' cannot be used with account code 'Y'

Modified on: Fri, 11 Aug, 2023 at 9:05 PM

Scope

I am getting an error as "The TaxType code ‘X' cannot be used with account code 'Y'?

Xero is throwing error as The TaxType code ‘X' cannot be used with account code 'Y'?


Summary


This error message is usually thrown by Xero when the type of GL account provided to the item in the invoice and type of Tax applied to the invoice item do not match.


Examples are

  • The account code 200 is a revenue type while TaxType GSTONIMPORTS is a liability type.

  • EXPENSE account code against a REVENUE tax type


Xero has certain Standard rates based on the Xero version being used. This can be found here https://developer.xero.com/documentation/api/accounting/taxrates


Example: Let’s say I have configured  Sales Tax on  Imports for exempted invoice which is a standard tax rate for US version of Xero



My exempted invoice is associated to an item that has a revenue account




On sync I would receive and error  "The TaxType code GSTONIMPORTS cannot be used with account code 33"





Solution:

Make sure to choose the correct tax code based on the account applicability in Xero.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
×