I have a B2B webshop with Wordpress and WooCommerce using WooCommerce Subscriptions.
As I am selling digital goods I need to do add special VAT rules to my orders for companies within the EU.
My store is based in the Netherlands.
I am using this plugin to validate VAT numbers: https://woocommerce.com/products/eu-vat-number/
All is going well for companies from my own country and companies outside the EU.
But when the company is inside the EU the plugin removes all VAT lines from the order. I have contacted WooCommerce but they do not deliver custom support.
It is required for the accountants that the orders in the EU have a tax line saying: VAT REVERSE CHARGE.
My Question: I want to write a custom action which adds a VAT line to my order on checkout for EU countries only. Can someone help me get started?