Description
Axolotl VAT ID Check adds a VAT number field to your WooCommerce checkout, verifies the number against the official VIES service of the European Commission and removes VAT for valid intra-community business customers. The result of every check is stored on the order, so you can see later why VAT was removed – or why it was not.
Free features
- VAT number field at checkout – classic checkout and the block checkout – and in the customer account.
- Verification against VIES, the VAT register of the European Commission. No account and no API key needed.
- Both VIES interfaces are used: the REST interface first, the SOAP interface as a second route. The PHP
soapextension is not required. - Results are cached, so a returning customer is not sent through the register again on every order.
- Format check for all 27 member states before any request leaves your server, plus Northern Ireland (XI).
- Your own rule for an invalid number: reject the order, accept it and charge VAT, or accept it and remove VAT.
- A separate rule for the case that VIES cannot be reached – VIES has maintenance windows, and rejecting every order during one costs you sales.
- Decide by the billing or by the shipping country, and whether businesses in your own country are exempt as well.
- Optional: require the country code, require a company name, or make the VAT number mandatory for every order (B2B mode).
- The number, the result, the time of the check and the reason when the register did not answer are shown in the order screen and in the order list.
- Settings in two places: the plugin’s own page and WooCommerce Settings Tax. Both write the same options.
- German translation included (informal and formal), and ready for WPML and Weglot.
- Compatible with High-Performance Order Storage (HPOS) and with the block checkout.
Replacing WooCommerce EU VAT Number
The plugin writes and reads the same order meta keys as the “WooCommerce EU VAT Number” extension (_billing_vat_number, _vat_number_is_valid, _vat_number_is_validated, is_vat_exempt) and uses the same field key (billing_vat_number). Existing orders, invoice plugins and reports keep working, and the settings of the old extension can be taken over with one click. Run only one of the two at a time.
Premium (optional add-on)
A separate premium add-on adds:
- a manual check of any number from the plugin page – straight at VIES, past the cache – when a customer insists their number is valid,
- the VAT number in the order emails and on the order confirmation, together with your own note on the intra-community supply,
- the qualified confirmation from the German Federal Central Tax Office (Bundeszentralamt für Steuern), which confirms company name and address along with the number, filed with the order,
- the official VIES consultation number for every check, stored on the order,
- a second check of returning customers after a period you choose, with a note when a number stops being valid,
- a log of every check with a CSV export for your accounting,
- the registers of Switzerland, Norway and the United Kingdom,
- finer rules: limit the check by country, tax class or customer role, and write your own messages.
The free plugin is fully usable on its own and keeps working without the add-on.
Requires WooCommerce. The plugin adds to the WooCommerce checkout and does nothing without it.
A note on what this plugin is
This plugin is a technical tool. It performs the check and records the answer. Whether a delivery is tax-free in your specific case is a tax question, not a technical one.
External services
This plugin relies on one external service: VIES (VAT Information Exchange System), the VAT number validation service of the European Commission. It is needed to find out whether a VAT identification number entered at checkout is valid; without it the plugin cannot check numbers and cannot decide whether VAT may be removed.
- When data is sent: when a customer enters a VAT number at checkout and no result for that number is cached yet, and when an order with a VAT number is placed. If the separate premium add-on is active, also when a shop manager checks a number by hand on the plugin page.
- What is sent: the two-letter country code and the VAT number the customer entered. If you pass your own VAT number through the
axvat_requesterfilter, your country code and number are sent as well, so VIES can return a consultation number. Like every WordPress HTTP request, the request also carries a User-Agent header with the plugin version and the address of your website. No customer name, address, email address or other personal data of your customers is sent. - Where it is sent:
https://ec.europa.eu/taxation_customs/vies/rest-api/check-vat-number(REST interface). Only if that does not answer:https://ec.europa.eu/taxation_customs/vies/services/checkVatService(SOAP interface). The addresshttp://schemas.xmlsoap.org/soap/envelope/in the plugin code is the standard SOAP namespace name inside the request body; no request is sent to it. - Provider: European Commission, Directorate-General for Taxation and Customs Union. Service: https://ec.europa.eu/taxation_customs/vies/
- Terms of use: https://commission.europa.eu/legal-notice_en
- Privacy policy: https://commission.europa.eu/privacy-policy-websites-managed-european-commission_en
The plugin makes no other external requests, loads no external files, sets no cookies and does not track anything.
Screenshots




Installation
- Upload the plugin to
/wp-content/plugins/or install it from the Plugins screen. - Activate the plugin.
- Open VAT ID Check in the admin menu – or WooCommerce Settings Tax VAT ID check, whichever you prefer. Both show the same settings.
- If you used WooCommerce EU VAT Number before, take over its settings with the button on that screen, then deactivate the old extension.
FAQ
-
Do I need an account or an API key?
-
No. VIES is a free service of the European Commission and needs no registration.
-
What happens if VIES is down?
-
You decide. The setting “Service unavailable” offers the same three choices as an invalid number: reject the order, accept it and charge VAT, or accept it and remove VAT. The default is to accept the order and charge VAT, because a maintenance window should not cost you the sale. Orders that could not be checked are marked in the order list.
-
Is the result cached?
-
Yes. A number confirmed as valid is kept for the number of days you set (seven by default). A number that came back invalid is kept for one hour only, so a customer who corrects a typo is not blocked.
-
Does it work with the block checkout?
-
Yes. The field is registered as an additional checkout field, so WooCommerce renders it in the block checkout, and the same rules apply there.
-
Does it work with HPOS?
-
Yes. The plugin reads and writes through the order API, so it works with order tables as well as with orders stored as posts.
-
Which countries are covered?
-
The 27 member states of the European Union, plus Northern Ireland (XI), which stays inside the EU VAT area for goods. Numbers from other countries are stored but not checked, and no VAT is removed for them.
-
Is it available in German?
-
Yes, in both the informal and the formal form (de_DE and de_DE_formal). The language follows WordPress: the site language, or your own language under Users Profile if you set one there. On an English site with a German user profile you get a German plugin on an English shop.
-
Does it work with WPML or Weglot?
-
Yes. The interface comes from the included translation files. The settings that end up in front of customers – field label and field description, and with Premium the note on the order – are registered for WPML’s string translation (Admin Texts) through
wpml-config.xml, so you can translate them per language. Weglot translates the rendered page, so the field label follows automatically. -
Can I hook into the check?
-
Yes. Among others:
axvat_pre_checkto replace the request,axvat_check_resultfor the result of the register query,axvat_evaluationfor the full evaluation,axvat_field_argsfor the field, andaxvat_order_savedafter the order has been written.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Axolotl VAT ID Check” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Axolotl VAT ID Check” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.3
- Activation no longer re-imports settings of WooCommerce EU VAT Number. The import runs once, on the first activation, and only when the plugin has no settings of its own yet; existing VAT rules are never overwritten.
1.1.2
- Notices appear only on the plugin’s own screens (and the plugin list), no longer across the dashboard.
- The premium hint is limited to the Premium tab of the plugin page.
- Readme: the section on the external VIES service names the terms of use and the privacy policy.
1.1.1
- Plugin name shortened to “Axolotl VAT ID Check” so that it matches the slug and text domain.
- Menu icon style is added with wp_add_inline_style().
- The premium note on the plugin page no longer shows lock symbols or placeholder controls.
- Readme: section on the external VIES service.
1.1.0
- The manual number check and the display of the number and the note in customer emails moved to the premium add-on. Existing settings are kept and come back unchanged once the add-on is active.
- New hook
axvat_settings_sidefor cards in the side column of the plugin page.
1.0.0
- First release.
