cancel
Showing results for 
Search instead for 
Did you mean: 

TaxType Code Tax005 Exception - Xero Accounting Integration

TaxType Code Tax005 Exception - Xero Accounting Integration

Hi

 

I have installed the Fooman Xero/Magento Integration into Magento and it seems to have integrated ok.

 

However, whenever an order attempts to be sent to Xero (our accounting package) from Magento, we get an error message saying the following:

 

A validation exception occurred
The TaxType code 'TAX005' cannot be used with account code '200'

 

This suggests that there is a tax mismatch between what the tax rates are in Magento and what can be sent to Xero.  However, thee is no error in the way that the tac details are entered into Magento - everything seems to be fine. 

 

Therefore, does anyone know why Magento is using this "TAX005" code and more importantly, how do we force it to use the Tax Zones, Rates and Rules that we have entered?

 

Thank you

Richard

1 REPLY 1

Re: TaxType Code Tax005 Exception - Xero Accounting Integration

Thanks for using our integration - just stumbled across this post while browsing the forums  (support for our commercial extension will always be quicker via our support email address and I believe we have already solved it).

 

For posterity - in this case TAX005 is an internal code Xero uses for a custom tax rate that was set up. Additionally Fooman Connect: Xero was configured to use this tax rate either when mapping the invidual tax rates in Magento to Xero rates or as one of the default tax rates (also see our manual here). The error message "The TaxType code 'TAX005' cannot be used with account code '200'" is coming directly from Xero and indicates a mismatch (likely a tax rate used for tax paid on an income account - which should use a tax received rate). Again as this is a custom tax rate, which differs between Xero accounts, it is best to get in touch with us via email for personalised support.