TaxID VAT Validator for WooCommerce

Description

B2B buyers in the EU expect to pay without VAT when they give you a valid VAT number from another member state. This plugin adds a VAT number field to the WooCommerce checkout, checks it live through the TaxID API and, if you want, removes VAT for valid intra-community sales.

What it does

  • Adds a “VAT number” field to the classic checkout and to the Checkout block.
  • Checks the number against VIES for the 27 EU countries, and against HMRC (UK), Brønnøysund (Norway), ABR (Australia) and other registries TaxID supports.
  • Optional intra-community exemption (reverse charge): VAT is removed when the number is valid and the buyer is in a different EU country from your store.
  • Saves the result on the order: number, registered company name, outcome, check time and TaxID request ID. Shown on the order screen, the customer’s order page and the order emails.
  • Clear messages for the buyer when a number is not valid.
  • Never loses a sale because of an outage. When VIES or TaxID does not answer, the order goes through with VAT charged and is flagged, unless you choose to stop it. An outage is not a verdict on the number.
  • Caches answers for 24 hours, so the checkout does not spend a check every time the buyer edits a field.
  • Compatible with High-Performance Order Storage (HPOS).

Settings (WooCommerce Settings Tax TaxID VAT validation)

  • API key.
  • Show the field for EU countries only, or for every country TaxID covers.
  • Make the field required (B2B-only shops).
  • What to do with an invalid number: stop the order, or accept it with VAT.
  • What to do when the registry does not answer: accept with VAT (default), or stop the order.
  • Turn the intra-community exemption on or off.

The plugin does not give tax advice. Check with your adviser before turning the exemption on.

External services

This plugin connects to the TaxID API (https://www.taxid.dev) to check VAT numbers. It is required for the plugin to work.

When a buyer enters a VAT number at checkout, the plugin sends the billing country code and the VAT number to https://www.taxid.dev/api/v1/validate/{country}/{number}, together with your API key and your site URL (in the User-Agent header). No other customer data is sent. TaxID forwards the number to the official registry of that country (for example the European Commission’s VIES service) and returns the result.

  • TaxID terms of service: https://www.taxid.dev/terms
  • TaxID privacy policy: https://www.taxid.dev/privacy

Installation

  1. Install and activate the plugin. WooCommerce must be active.
  2. Create a free API key at https://www.taxid.dev/signup (100 checks a month, no card).
  3. Go to WooCommerce Settings Tax TaxID VAT validation, paste the key and choose your options.

FAQ

Do I need a TaxID account?

Yes. The free plan includes 100 checks a month. Answers are cached for 24 hours, so a buyer editing the checkout does not use extra checks.

What happens if VIES is down?

By default the order is accepted with VAT charged and flagged as “not checked” on the order screen. You can refund the VAT later once the number is confirmed. You can also choose to stop orders until the registry answers.

Does it work with the Checkout block?

Yes, on WooCommerce 8.9 or later. The field appears in the contact section of the Checkout block.

Which countries are supported?

The 27 EU member states (VIES), plus the United Kingdom, Norway, Switzerland, Australia and the other countries listed at https://www.taxid.dev/docs. Greece is sent as EL, as VIES expects.

Is the VAT removed for buyers in my own country?

No. The exemption only applies when the buyer’s billing country is a different EU country from your store’s base country.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“TaxID VAT Validator for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release.