Plugin Author
Diego
(@daigo75)
The EU VAT Assistant doesn’t calculate VAT (see https://wordpress.org/support/topic/faq-taxes-are-not-calculated-correctly/) and doesn’t offer features to change the tax applied to products.
If you wish to keep prices fixed, regardless of the applicable tax, you could use two approaches:
* By using a custom filter (see https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce#prices-including-tax—experimental-behavior).
* Use a plugin like our Tax Display by Country. It includes an option to keep prices fixed, no matter what tax applies to them. For example, a price of 100 EUR would remain the same, whether it includes 20% VAT, 0% VAT or 7.5% VAT.
Please be aware that we haven’t tested the specific condition in which the price should be fixed only in some cases. For example, the result you would be looking for should be the following:
1. With 20% VAT: 100 EUR
2. Without 20% VAT (B2B): 80 EUR
3. Without 20% VAT (anyone extra-EU): 100 EUR
This might work right away, or it might require some customisation.
Thank you Diego. I realize that it doesn’t calculate VAT, it just takes it away if a valid VAT is entered. That works great! (thanks so much for this functionality). It’s just that for outside EU customers (B2B and B2C) we want to keep the full price as shown (which includes VAT), but NOT give them the VAT discount that is now applied. So it’s indeed in line with what you are saying. I will ask my developer to have a look at the custom filter. I hope they can work it out.
Plugin Author
Diego
(@daigo75)
Technically, the EU VAT Assistant doesn’t remove the VAT, either. It just tells WooCommerce that a customer should be treated as “VAT exempt” when a valid EU VAT number is entered, then WooCommerce decides what to do.
Customers from outside the EU are a different case. Most likely, depending on VAT settings, they don’t get VAT added to their orders to begin with, and there isn’t any “VAT discount”. The EU VAT Assistant has no role, in that scenario.
Hi Diego. I understood the removing VAT part too, that’s it’s not the plugin itself that removes it (I’m sure the tax authorities wouldn’t be too happy with that idea). Also the second part I understand. When you enter US, Japan or South Africa, it’s all outside the EU and that’s 0% VAT. Still, we want to charge the full price as if it were the nett price + 21% VAT. So they see €100 like everyone else, and except if you are EU-VAT holder you don’t pay for the VAT. We’ll try it with the earlier suggestion and a developer 🙂
I believe this will solve your problems. I had a similar issue, and because I wanted all the prices to be the same (with tax or not), I found this line to add to your functions.php:
add_filter( ‘woocommerce_adjust_non_base_location_prices’, ‘__return_false’ );
Thanks Dragoscristian. WE’ll see if that works!
Plugin Author
Diego
(@daigo75)
@dragoscristian indeed, that’s one of the solutions we suggested in our reply: https://wordpress.org/support/topic/deduct-vat-for-eu-vat-holders-but-not-for-outside-eu/#post-14030464
If you wish to keep prices fixed, regardless of the applicable tax, you could use two approaches:
* By using a custom filter (see https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce#prices-including-tax—experimental-behavior).
The link to Github brings to the same code snippet you use. 👍