Tryton already provides the possibility of defining several tax identifiers per company (party) because in europe a company located in country A exceding a certain amount of sales to country B must have a VAT for the country B. Also invoices to that country must use the taxes of country B.
Recent releases also include a many2one to the tax identifier in invoices.
The problem is that configuring taxes per country is complex.
Ideally one could say that for product P, we define its tax for country A and then have a Tax Rule that converts it to country’s B Tax when required.
Unfortunately it can happen that for a product P1, country A may require to use a Reduced VAT Rate, whereas country B may require to use a Normal VAT Rate. For another product both countries may apply a Reduced VAT Rate.
Managing that with categories would require to have as many “source” taxes to be supplied to the tax rule as combinations of VAT Rates the company manages.
So I’m searching for alternatives to solve this issue.
It seems to me that one possibility would be to use an “account_categories” o2m field in products (instead of the account_category m2o that exists nowadays) with the following fields:
- Product Category
- Tax Identifier
The latter could be optional, so it could behave as a MatchMixin. Alternatively we could use the Country instead ot the Tax Identifier.
Another possibility would be to add the “Product Category” field to Tax Rules, although I’m afraid we would, again, be in the situation of creating as many categories as combinations of taxes and countries there exist.