I have a question about setting up a tax enforcement under a particular condition.
Now my ecommerce is set up to calculate taxes based on billing address.
Therefore:
- If the customer is European, the taxes are calculated based on the percentage of his country.
- If the customer is from outside Europe, the tax is zero.
However, it is happening that some customers set the non-European billing address and the billing address in Europe, so the taxes are not calculated.
According to a recent court ruling, in these cases the taxation of the country in which the selling company is based, in my case Italy, should be applied, therefore taxation at 22%.
How can I set this rule with a function?
Thank you!