WooCommerce EU/UK VAT Compliance – Frequently Asked Questions

As well as the documentation below, note that if you go to the VAT Compliance control centre in your dashboard (WooCommerce -> VAT Compliance), then all of the plugin’s features and capabilities are collected there in a single handy place, and there is substantial in-line help available with each function. Consequently, if you go through the various things you can find there, you will usually find what you are looking for. The FAQs below do not generally repeat information that is already there.

N.B. The FAQs here are for the Premium version of the plugin, as well as the free. If you are running the free version and the below references a feature you do not have, then that is the likely reason.

WooCommerce EU/UK VAT Compliance – Documentation index

Questions applying to all our commercial WordPress plugins

How long do you provide access to new plugin releases and support for?

All plugin purchases come with included access to support and access to downloads for 12 months. After 12 months, you can renew access if you want to.

If you do not want to renew, then your existing plugin will not be de-installed or de-activated or changed in any other way. Of course, we cannot guarantee what level of compatibility it will have with future releases of WordPress or (if relevant) WooCommerce.

Do you have a trial version of your plugins available / what is your refund policy?

We do not have trial versions of our plugins available, or refund trial purchases. However, we are committed to providing support for any technical issues you have with any of our plugins, and all plugins include 12 months of support. If the plugin does not do what the product description says it does, then you can have a refund (this should be requested within 10 days of purchase), subject to allowing us to investigate the problem.

This policy specifically excludes third-party failures; for example, if a plugin depends upon a third-party service which malfunctions or closes down, you will not be eligible for any refund for the plugin purchase. It also explicitly excludes failed attempts by the customer to implement PHP code customisations to the plugin, and faults in third-party code. Refunds are not offered for “speculative” purchases where the customer is hoping that the software can do something which is not advertised; plugins are priced cheaply and you should check your requirements before purchase.

For EU customers, your right to a refund of digital goods that you have not requested a download of remain intact. You can request a refund of goods that have not yet been downloaded for up to 14 days after purchase. These requests will be verified using our download logs.

How can I download a PDF invoice/receipt for my purchase?

You can download a PDF invoice/receipt for plugins purchases from your account page, here.

How many licences should I buy?

You will need a separate licence for each WordPress installation which you wish to receive plugin updates (i.e. future releases), or to request support for.

A WordPress Network is a single installation of WordPress, so only requires one licence, regardless of how many blogs you have on the network.

What is your support and updates policy?

All customers will have access to future releases of the plugin, and for support to help with trouble-shooting, for 12 months.

Whilst we are happy to give general advice as part of support, support has reasonable limits. For example, hiring a developer (if one is available) to extend or customise the plugin for you, or trouble-shooting problems in other plugins on your site (or other things beyond scope – e.g. problems in your printer, or other third-party products), is not included in the purchase price.

Note that this does not affect your ability to continue using an installed plugin. Your installed plugins will remain installed forever. What is limited to 12 months is access to our future work on the plugin and support.

Can you write some code for me, to customise the plugin?

Plugin purchase prices do not include hand-written code, even if it is only a few lines.

At commodity prices, and including 12 months of updates to new versions (including compatibility with future releases of WordPress and (where relevant) WooCommerce), and personal support, the margins when selling plugins are small. As a result, plugin sellers rely upon selling to many customers – and personal customisations are not economic (even if potentially useful for other customers).

You are, of course, welcome to send in ideas for new features. If you need a developer to customise for you, though, then we suggest Codeable – https://codeable.io – where there is a large marketplace of WordPress and WooCommerce experts offering their services.

Where can I download my plugin purchase?

After purchasing one of our WordPress plugins, you can download from any of three or four places:

  1. The “thank you” page in your web browser, that appears immediately after completing payment.
  2. From your Simba account, here.
  3. Using the link in your order confirmation email.
  4. If you have already installed and begun using the plugin, you can obtain updates (when available) from the “Plugins” page in your WordPress dashboard.

How do I install my plugin?

If you’ve purchased one of our WordPress plugins, then thank you! Here’s how to install…

1. Go to the “Plugins” page in your WordPress dashboard, and press “Add New”

Add a new plugin

2. Press the “Upload Plugin” button

Upload a plugin

3. Press the button to select a zip file. Select the zip file for your plugin. Then press “Install Now”.

Uploading the zip file

4. When the plugin has uploaded, press the “Activate” button.
Activate

N.B. If you have the free version of any of our plugins (e.g. WooCommerce EU VAT Compliance, or Two Factor Authentication), then you should also de-activate and de-install the free version. Your settings will be retained by the paid version. It does not matter whether you de-activate and de-install before, or after, installing the paid version.

When buying a plugin, what is the difference between manual or automatic renewal?

All our plugins come with included access to personal support and updates (new versions of the software) for 12 months (more information). After this 12 months, you can keep on using the software, without any restrictions. However, if you want to renew, you can either do so manually (i.e. come back to the shop and make a fresh purchase) or automatically (i.e. an order will automatically be created and emailed to you, and payment taken if you have a payment method on your account). We offer a discount to those who choose automatic renewal. You can cancel a subscription at any time (yes, even 5 minutes after you purchased it).

Where can I see the plugin changelog?

For a plugin that you have purchased, the changelog is in the file “readme.txt” in the plugin zip.

For our current on-sale version (i.e. the latest version), you can see the changelog by going to the shop, and then going to the product page, and then clicking the link “Plugin changelog” from the left-hand side of the page.

How do I change which site is using a licence?

If you wish to stop using one of your plugin licences on one site, and instead use it on another, then do this:

1. Disconnect the “old” site.

Go to the “Plugins” page in the WordPress dashboard, and find the plugin’s entry. Press the “Disconnect” button.

Disconnecting

2. Connect the “new” site.

Go to the “Plugins” page in the WordPress dashboard on the new site, and connect.

Connecting

I have found a problem in the plugin, or a question not answered here. Where do I get personal support?

Please go here and open a support ticket. (Or, if you forgot your login details for your account with us, then please go here).

Is this plugin still supported and maintained?

Yes. If it ever stops being, then we would withdraw it from sale.


WooCommerce EU/UK VAT Compliance

How can I have multiple countries treated as my base country?

In the VAT plugin settings, there are several settings which make your “base country” differ from other countries. The “base country” is set within your WooCommerce core settings.

Occasionally, a business wants another country to also be subject to the “base country” rules which the VAT compliance extension applies.

This can be done with a few lines of code placed in an mu-plugin, or in your functions.php. The filter to use is wc_eu_vat_get_base_countries. You should use the two-letter country codes used internally by WooCommerce.

add_filter('wc_eu_vat_get_base_countries', 'my_wc_eu_vat_get_base_countries');
function my_wc_eu_vat_get_base_countries($countries) {
// Add Germany to the existing array of countries;
$countries[] = 'DE';
return $countries;
}

How can I change the position of the VAT number box on the WooCommerce checkout page?

You can do this using the wc_eu_vat_number_position and wc_eu_vat_number_priority filters. You should set the first filter value to be any position which your WooCommerce template supports, using WordPress’s standard filtering mechanism. The second is a priority, for when there are multiple items using the same position. In this context, a “position” means an WordPress action which your template calls.

The default position is woocommerce_checkout_billing (this corresponds to the WordPress action of that name; it is the default because all templates will somewhere call that action) and the default priority is 40. Here is an example of changing the position to woocommerce_checkout_after_customer_details:

add_filter('wc_eu_vat_number_position', function () { return 'woocommerce_checkout_after_customer_details'; }

To know what positions (actions) exist in your template, you need to either read its code (if you know how to do that), or to speak to a competent developer, or the theme author. Unfortunately it is not easy to automatically get such a list, and beyond the scope of the VAT plugin.

Note that not every template position is a technical possibility – you need to keep it within the main body of address selection. This is because of assumptions (which may not stay the same over time) that WooCommerce makes about the internal structure of the checkout page.

Concerning customisation of the above code, if you do not have your own PHP developer working on the project: this FAQ may also be relevant: Can you write some code for me, to customise the plugin?

A customer is not being charged the correct VAT rate – how do I resolve this?

1. Cases in which the problem is to do with VAT exemption or lack of VAT exemption

This means, that you expected the customer to be VAT-exempt – but VAT was charged on the order; or, you expected the customer to not be VAT exempt, but no VAT was charged, and the order details (please look in the WooCommerce order details to confirm that) state that the customer was exempted.

Whether VAT exemption applies depends upon several of your settings, and the customer’s taxable address. It can also depend upon other plugins – for example, there are some “wholesale” plugins that will automatically set all customers with a “business” role to be VAT-exempt. Firstly, you should look for such plugins, de-activate them, and run through the same purchase procedure, and see if the problem still exists or not. Unfortunately, there is no mechanism to indicate automatically which plugin informed WooCommerce that a customer should be VAT-exempt, or not – it’s only possible to record (which the plugin does) the fact itself.

The next thing to do is to work systematically through the order details, together with your settings. Firstly, check the taxable country on the order (in the WooCommerce order details). Note which VAT zone (e.g. EU, UK) this country is in. Check what your WooCommerce base country is. Check the settings in the plugin for VAT exemption, and include in your checks those settings which result in a different result for the base country.

Note also that the delivery method can be involved. For example, for a “local pick-up” delivery method, the taxable country will be the country where the order is collected, not the country where the customer was ordering from, or their billing country.

If comparing your settings with the results does not reveal where the issue lies, then for testing purposes you should temporarily de-activate all other plugins (you may wish to do this on the staging version of your site, or create one with a tool like UpdraftClone), except for WooCommerce, and attempt to reproduce the issue. If the issue no longer exists, then re-enable them all, and then attempt to reproduce.

If this procedure does not reveal the cause of the problems, then please contact support. When you do so, please provide a list of relevant settings, a copy of all the VAT audit information for the affected order, plus the steps to reproduce the problem (e.g. 1) Visit this product page, http://example.com/product/something, and put a quantity of 2 in your cart. 2) Follow the link to the checkout page, and set your billing country as X, and your shipping country as Y, ….. 3) Enter this VAT number, Z, …., etc.) If you do not supply this information then our first response will likely be to request this information from you – the number of combinations of things that can happen (settings, billing country, shipping country, taxation country, business/consumer/etc.) is so high that without it, it is hard to give any useful practical help, so please be as detailed (but relevant) as possible.

2. Other VAT calculation issues (not when the problem is VAT exemption or lack of VAT exemption)

All tax calculations in WooCommerce are carried out by WooCommerce core, according to the tax rate tables you have configured in the WooCommerce settings. They are not altered by this plugin – because it does not need to (WooCommerce core already has complete features in this area). The only way that this plugin gets involved is by setting a flag for an order to be exempted from tax, if a valid VAT number has been entered. Otherwise, all taxes are calculated according to your tax rate tables, which you can find in your dashboard in WooCommerce -> Settings -> Taxes -> (Tax Rate Tables). For official documentation on taxes in WooCommerce, go here.

You should make sure that you keep your tax rates up to date; so, you should make sure that you are aware of changes to VAT rates across the EU and/or UK (e.g. by following news on a website like VAT Live). To help you keep your rates up to date, the plugin provides two facilities which you can use:

1) In your dashboard, in WooCommerce -> VAT Compliance -> Readiness Report, the plugin will report on whether it believes your VAT rates are up to date.

2) In WooCommerce -> Settings -> Taxes -> (Tax Rate Tables), there is a button to press that can update your current tax rate table entries to match a full set of current VAT rates (at either standard, or reduced rate).

How can I display a widget allowing a visitor to pre-select their country, when viewing products (and thus set VAT accordingly)?

There is a widget for this; so, look in your dashboard, in Appearance -> Widgets. You can also display it anywhere in page content, using a shortcode, optionally including an option for displaying prices without taxes. The shortcode is euvat_country_selector, and optionally takes parameters:

  • “include_notaxes” which you can set to “true” or “false”.
  • “include_which_countries” which can take the values “all” (default), “shipping” or “selling”, depending upon whether you want to display all countries, or just those that WooCommerce is configured to ship to, or sell to.

I want to make everyone pay the same prices, regardless of VAT

This is not strictly a VAT compliance issue, and so does not come under the remit of this plugin (suggestions that can be found on the Internet that charging different prices in difference countries breaks non-discrimination law have no basis in fact). Nevertheless, WooCommerce has an experimental feature which is not exposed in its settings to enable you to do this. You can activate it from the VAT compliance settings (in the ‘Settings’ tab). Note that the only effect of the setting is to turn on the feature in WooCommerce core; if that feature does not work, we cannot provide further support for it.

Can customers be shown the correct VAT rate as soon as a visitor comes to the site?

Yes, this happens by default when the plugin is active. You should go to WooCommerce -> VAT Compliance -> Readiness Report in your dashboard to verify that it is working.

If you wish to turn off this behaviour, then add this in your wp-config.php file, after the opening <?php line:

define('WC_VAT_NO_COUNTRY_PRESELECT', true);

How do I deal with the EU’s (import) one-stop shop regulations?

This question refers to the EU’s IOSS (import one-stop shop) and OSS (one-stop shop) regulations, in effect from July 2021 onwards.

Scope of this FAQ (please read this first)

Firstly, here are a couple of important and overlapping points to understand:

  • Our software documentation focuses on aspects to do with setting up our software. Software documentation complements, but does not remove the need for, reading tax documentation and understanding your own local tax rules. That is to say, to learn about the EU’s IOSS/OSS schemes, you should read their documentation about them, available here for OSS, and here for IOSS. It is not an aim of this plugin to provide shop-owners with a short-cut to understanding the tax systems that they operate under. You can also use your preferred search engine to easily find various other guides and answers to specific questions about these VAT regimes.

    The EU’s documentation on cross-border selling and thresholds, here, is also relevant.

  • Related to this, we do not provide tax consultancy or accountancy services. If you need help in understanding how these schemes apply to your particular business, then you need to find a tax consultant or accountant to assist you. We provide a specific software tool (plugin) for WooCommerce to allow you to implement the rules that apply to you, but cannot advise you as to which particular rules, tax rates, etc. do apply to your business.

This is to say: by all means, request help from us on how to implement the rules that you understand you need to implement if it is not clear to you in the plugin settings; but if you ask us for help in understanding your legal/taxation obligations, we will reply to advise you to find an accountant/tax advisor. If you need to register for one of the OSS/IOSS schemes, then you will need to do so; the plugin is not an end-to-end service: it will help you to quickly obtain the figures you need to report, but you must still actually submit those reports to the relevant authorities.

Along similar lines, we assume that you are familiar with core WooCommerce tax concepts, such as product tax classes and tax tables. If you are not, then you should use the official WooCommerce taxation documentation, available here. We are not attempting to provide general WooCommerce tutorials or information, since this is available already (and again, you can use your preferred search engine to find many other tutorials and guides if you find anything in the official WooCommerce documentation to be unclear).

Features of the plugin relevant to OSS/IOSS

Depending on what requirements you are obliged to adhere to under these schemes, you may find the following plugin or WooCommerce features relevant:

  1. VAT that varies according to the customer’s location

    If you are selling goods that are subject to VAT that depends upon the customer’s location (i.e. the “place of supply” is that of the customer, not the shop), then these products should go in a separate WooCommerce tax class from other goods that are not subject to these rules. The tax table for that tax class should contain an entry for each destination country. Setting up tax classes and tax tables is covered in the core WooCommerce tax documentation; please see the section above (“Scope of this FAQ (please read this first”) for the link and other relevant information. The plugin adds a convenient button to WooCommerce tax table screens, allowing you to add all EU/UK rates at once (i.e. sparing you from adding them all one row at a time); if you did not need the UK you can then delete that row.
    Add tax rates button Remember also in the plugin settings to indicate which tax classes are subject to these “customer place of supply” rules (in WooCommerce -> VAT Compliance -> Settings -> WooCommerce VAT Settings):

    Selecting tax classes

  2. Quarterly reports of VAT due

    When making your OSS/IOSS reports, you can use the figures in your WP dashboard, in WooCommerce -> VAT Compliance -> VAT Reports. This will show you a table sufficient to allow making of a report. If you have the Premium version, you can also make a CSV download of all relevant orders and manipulate it in your spreadsheet program for more sophisticated analytics.

    Remember also to ensure that any currencies that you must use when making reports are configured in WooCommerce -> VAT Compliance -> Settings -> WooCommerce VAT Reporting Currencies, so that the plugin knows to record the relevant exchange rates (and potentially mention them on PDF invoices).

  3. Monitoring your approach to the EU’s €10,000 cross-border internal sales threshold, and changing tax rates upon hitting it

    If these rules apply to you, then please see this FAQ/article: Please explain the “tax class translations” feature (cross-border threshold selling).

  4. VAT exemptions based on order value to specified destinations

    Some countries (e.g. the EU, UK) have laws under which the buyer is liable to account for VAT if the purchase value exceeds a specified amount. i.e. The order itself should not have VAT added. You can configure this behaviour in WooCommerce -> VAT Compliance -> Settings -> WooCommerce VAT Settings:

    Destination/value settings
    Look also at the setting “Invoice footer text (VAT exempted)” if you must or desire to add particular information to PDF invoices in this situation.

  5. Other settings

    There are many and various other settings which are not unique to the OSS / IOSS schemes (e.g. reverse-charges based upon supply of a valid VAT number). In all circumstances, users of the plugin are recommended to review all their settings in the WooCommerce -> VAT Compliance -> Settings tab (all sections), to make sure that they have configured the plugin correctly, and are aware of how different features work (most settings either contain or are linked to relevant descriptions), and perhaps to learn of VAT-related concepts that they might not have been aware of.

How do I make my quarterly IOSS/OSS submissions? Can the plugin do it?

Firstly, it is important to note that we are software developers, not tax advisors nor accountants. You should not treat our attempts to provide assistance as a replacement for formal advice. We have personal experience of the One-Stop Shop systems that began operation in January 2015 (via “MOSS”, the “mini one-stop shop”), and offer some assistance based on what we have learned since then. Our help is also not intended to replace reading the EU’s own guidance on IOSS and OSS.

The plugin cannot make an IOSS / OSS (henceforth just “OSS”) submission directly, because we do not have any special relationship with any of the EU 27 tax authorities, and we are not aware of any of them that provide access to their OSS systems via automated interfaces. This means that you need to make those submissions yourself, from your web browser. What the plugin does is makes it easy to gather the figures necessary for the submission. (In our use of MOSS, we could generally complete this procedure in about 15 minutes, once every three months, by downloading data from the plugin and uploading it to the website).

If you, as a mercahnt, are using an OSS scheme, then you obliged to choose one of the EU’s 27 national tax authorities (N.B. this no longer includes the UK, of course), and register directly for the scheme (whether OSS or IOSS) with them. Having done so, each quarter you must then use whatever facility that particular authority is providing for IOSS submissions, which is likely to be a website. If you are not yourselves in the EU, then that is a “non-Union registration”. If you are in the EU, then that is a “Union registration” (and would be made with your own country’s authority).

If you prefer to operate in English, then it is possible you’ll find the Irish revenue’s facility to be convenient. I have not used it myself. It is here: https://www.ros.ie/vatoss-web/vatoss.html?execution=e1s1. Malta also has English as a national language, and it’s quite possible that some authorities provide their websites in multiple languages.

No doubt you can find an agent who will do this for you. Experience shows that these aren’t essential, though presumably you may then benefit from their experience. As stated at the beginning, the aim of this FAQ is to give you the benefit of our experience rather than formal advice.

Please explain the “tax class translations” feature (cross-border threshold selling)

This feature (which exists in release versions 1.22+ of the plugin, from May 2021)  relates to VAT territories (such as the EU) which have cross-border registration thresholds. It was designed particularly with the June 2021- rules in mind. These rules allow sellers of physical goods who have a presence in one EU country (e.g. France) but who sell to other EU countries (e.g. Belgium, Holland) to treat the first €10,000 (total, not per-country) of their cross-border sales as having a place of supply in their own country (rather than in the customer’s). This results in less bureaucracy – it removes the need to account for VAT separately for the other EU countries until that threshold is met.

Before you read any further (this is important!)…

  • You must make sure that you are familiar with all standard WooCommerce tax concepts, as explained in the WooCommerce tax documentation, including product tax classes, tax tables, and taxation based upon customer location.
  • You must understand that we are no accountants or tax lawyers. VAT can get complex. We provide tools, not consultancy. The tools allow you to set up your store according to a great variety of possible configurations; but it is entirely your responsibility to understand what configuration is correct for you and that you comply with all relevant requirements.
  • If you are under this EU regime, then you should familiarise yourself with its basic ideas, by reading the EU’s guidance, available here.

Here’s what you need to know to correctly use this feature…

WooCommerce (as you know, if you’ve not ignored the material above!), places products in tax classes. A tax class is the concept used to group together goods (products) which are subject to the same tax rules.

If you have products which are potentially (if you happen to go over the sales threshold) subject to being taxable in the customer’s country (rather than in your, the supplier’s, country), then you should follow the steps below. Note that the example given here is for the EU July 2021- regime. If you are operating under a different regime, you should adjust the details to fit your case.

  1. Create a WooCommerce tax class / table for these products, and put those products in that tax class. You should do that even if you have not yet reached the threshold, the reason for which will become clearer in subsequent steps. That tax class will have an entry for each separate country, with its own tax rate, because if you meet the threshold, those products are going to be deemed as having been supplied in the buyer’s country (not the store’s country), taxed there, and you will be liable to remit taxes country-by-country (using, if you so choose, the EU’s One Stop Shop system to reduce the bureaucracy; that system is beyond the scope of this article or indeed our support, since it is a tax-paying arrangement between you and the EU).
    Setting up new tax classes is done in your WordPress dashboard in WooCommerce -> Settings -> Tax, in the ‘Additional tax classes’ setting. When you have saved that setting, a new tab will appear within the ‘Tax’ tab that you are on, and in that new tab you can set up the rates. (Please see the WooCommerce tax documentation linked near the top of this article).
    If you have done this correctly, then the tax table will have different rates for each EU country, like so:
    VAT rates varying by country
  2. You should choose the tax class(es) from 1. in our plugin’s setting “Tax classes used for customer place-of-supply goods”, found in WooCommerce -> VAT Compliance -> Settings -> WooCommerce VAT Settings:
    Selecting relevant classes
  3. You should also create a separate tax class and table for the products to control how they will be treated when your total sales are below the threshold (i.e. like in step 1, but this time a table of flat rates, one for each EU country). If done correctly, this will look like this:Rates the same for each country
  4. You may need to repeat the above steps for different types of products that you have – e.g. if you have some products subject to reduced VAT rates. Once you have created all the needed tax classes/tables (and assigned your products to the appropriate tax classes), you are now ready to configure the VAT plugin to dynamically. Go to the plugin’s settings in WooCommerce -> VAT Compliance -> Settings -> WooCommerce VAT settings, and find the setting “Tax class translations”. Press “Create a new translation rule…”. Inspect and edit the rule to fit your situation. Then, go to the bottom and save the settings. Here is an example screenshot:
    Tax class translation ruleNow it is hopefully clear why you assigned your products to the “variable” class, even before hitting the threshold for the year. The above configuration will cause WooCommerce (via the workings of the VAT plugin) to treat the product as actually being in the “fixed” (second-mentioned) class, until the threshold has been hit. The rule becomes active if, and only if, the product being considered is in the “variable” class.
    Don’t forget to save your settings!

Notes

  • The plugin will run its reports to take a total of all sales for the current year (beginning January 1st) twice-daily. i.e. On the day on which you pass the threshold, the adjustment will only be made once this 12-hourly point in time is reached. Our understanding is that this is an acceptable practice (i.e. it doesn’t have to be “at the very instant”), but all users are reminded that we are neither tax consultants nor lawyers. Shop owners can always trigger a full recalculation by clearing all transients (e.g. using this tool).
  • If you start mid-way through the year, and have not previously been using the plugin, then you will need to make your own calculation (e.g. using WooCommerce’s existing report / analytics facilities) of your current cross-border sales, and instead of entering the full year’s value in your settings (e.g. 10,000), first subtract the existing sales that were not counted by the plugin. (e.g. If you have made 2,500 worth of sales already, then 10,000 – 2,500 = 7,500, so enter that figure (without commas)).
  • Your sales to-date for the year is calculated using orders with any states (see WooCommerce documentation, here) except Pending Payment, Failed, Cancelled, Refunded. By default this means that the statuses counted are “Processing”, “Completed” and “On hold”. When shops add new order statuses, these tend to be post-payment statuses, which is why the default is to include other states. A PHP developer can adjust this using the provided filter wc_vat_compliance_report_year_to_date_totals_exclude_statuses.

How can I disable any checkout notice that I do not wish to be displayed?

The easiest way to do this is to add a CSS rule to your site that tells browsers never to display the element.

To do this, first, identify the CSS class of the notice. The easiest way to do this is to right-click on it, and choose your browser’s “Inspect Element” option. This will bring up the browser’s DOM inspector:

DOM inspector

In the above screenshot, the element has a DOM ID of wcvat_notpossible. Therefore, a CSS rule to always hide that element would look like:

#wcvat_notpossible { display: none; }

There are many ways to add a CSS rule to your site; see here for a guide.

When downloading a detailed CSV, I want to calculate another column / filter / sort etc.

Short answer: the best way to do this is to use the facilities for that in your chosen spreadsheet program (LibreOffice, Microsoft Excel, etc.).

Explanation: lots of our customers have opinions on the importance of including other columns (calculated from the existing ones), or filtering them, or sorting them. And of course, they are all correct: if they want this, then it should be done! The thing is, though, that they don’t all agree with each other – each has their own needs for their own situation. However, this does not need to be a problem. The detailed CSV exists precisely because it can be manipulated exactly as you desire. It comes out of the VAT plugin in a raw form; you can then calculate, filter or sort it just as needed for your situation.

When downloading a detailed CSV, how can I add an extra column?

A PHP developer can do this by using the hooks built-in to the plugin. We assume that the desired column has been stored in your database as an ‘order meta’ item. (If it is not, then you will need more complex processing). Below is a code example which takes an order meta item with key “PayPal Transaction Fee” and adds it to a new “PayPal Fee” column in the CSV. A developer can use and customise this example to achieve the desired result.

// Make sure that the order meta field 'PayPal Transaction Fee' is fetched from the database when selecting data for the report.
add_filter('wc_eu_vat_compliance_report_meta_fields', 'my_wc_eu_vat_compliance_report_meta_fields', 10, 2);
function my_wc_eu_vat_compliance_report_meta_fields($fields, $print_as_csv) {
return $print_as_csv ? $fields.", 'PayPal Transaction Fee'" : $fields;
}

// Give the order meta field 'PayPal Transaction Fee' the (internal) key 'pp_fee'
add_filter('wc_eu_vat_compliance_get_report_results_store_key', 'my_wc_eu_vat_compliance_get_report_results_store_key', 10, 2);
function my_wc_eu_vat_compliance_get_report_results_store_key($store, $res) {
return ('PayPal Transaction Fee' == $res->meta_key) ? 'pp_fee' : $store;
}

// Add a column header 'PayPal Fee' to the spreadsheet
add_filter('wc_eu_vat_compliance_csv_header_columns', 'my_wc_eu_vat_compliance_csv_header_columns');
function my_wc_eu_vat_compliance_csv_header_columns($columns) {
$columns[] = 'PayPal Fee';
return $columns;
}

// For the 'PayPal Fee' column, insert the value that we fetched earlier (pp_fee)
add_filter('wc_eu_vat_compliance_csv_data_entries', 'my_wc_eu_vat_compliance_csv_data_entries', 10, 3);
function my_wc_eu_vat_compliance_csv_data_entries($data, $order_id, $order) {
$data['PayPal Fee'] = isset($order['pp_fee']) ? $order['pp_fee'] : '';
return $data;
}

Is a customer’s VAT number stored in their user profile (usermeta) ?

Yes, it is stored in their profile, and can be edited on their profile page or in their WooCommerce account section. It is stored in the database (usermeta table) using the meta key vat_number.

I want to forbid VAT numbers from specified countries

If you want to not allow valid (according to your configured VAT number validation services) VAT number from certain countries, you can do this using the following code fragment (but adapt it according to the country code that you wish to use; the example below will forbid VAT numbers everywhere except Ireland, IE):

add_filter('wc_eu_vat_check_vat_number_country', 'my_wc_eu_vat_check_vat_number_country', 10, 2);

function my_wc_eu_vat_check_vat_number_country($allowed_country, $country) {
  // If it is not Ireland, then forbid it
  if ('IE' != $country) return false;
  // Otherwise, let the existing value pass through
  return $allowed_country;
}

Note that you will like want to also change the message shown. The default is “You cannot use a VAT number for which the country (country name) is outside of (VAT area name, e.g. the EU).”. The code fragment below changes the message to make it more appropriate for our example above:

add_filter('wc_eu_vat_disallowed_country_message', 'my_wc_eu_vat_disallowed_country_message', 10, 2);
function my_wc_eu_vat_disallowed_country_message($error, $country) {
  return sprintf(__('You cannot use a VAT number for this country (%s) - we only accept them from Ireland.', 'woocommerce-eu-vat-compliance'), $country);
}

Customers are not seeing the VAT field at the checkout – why might that be?

Whether customers are shown the VAT field depends upon a number of things, so you should check each of them:

  1. What taxation zone have you configured, and where is the customer’s taxable address?
    If, for example, you have configured the EU as your taxation zone, and the customer is from Denmark, then they won’t see the VAT field because they are not in the EU. So, you will want to check all relevant settings such as the taxation zones and the rules for deciding where your customer’s taxable address is (based on billing address, shipping address, and whether self-certification can be involved; and remember that for the “local pickup” delivery method, the taxable address is the pickup location, not the customer’s location).
  2. Are your base country settings involved?
    If the customer’s taxation country is the store’s “base country”, then settings related to this come into play. (In many tax regimes, customers in the base country should always be charged VAT, so won’t be offered the chance to enter their VAT number unless you specifically turn on the setting to require that their VAT number is collected anyway).
  3. Is the shopping basket/cart taxable?
    If there are no taxable items in the cart, then the customer will not be offered the opportunity to establish that they are tax-exempt. So, check what tax class you have put the product in, and what tax table entries there are for that tax class (in combination with the customer’s taxation country).
  4. Is your theme broken, or another plugin causing an incompatibility?
    For testing purposes, temporarily de-activate all other plugins (except WooCommerce), and switch to a default theme (e.g. TwentyTwenty). Then reload the checkout page. Is it now present? If so, then another component has introduced an error on the checkout page which prevents other components from working; you will need to use a process of elimination (selectively re-activating and de-activating) to identify which component is culpable.

If after this you still cannot find the cause, please raise a support ticket, and tell us what you learned at every stage above, and supply instructions on how to reproduce the problem (i.e. what product to put in the cart; what country to choose for billing/shipping, etc.)