EU VAT Guard for WooCommerce

Àpèjúwe

EU VAT Guard for WooCommerce is a powerful plugin that adds advanced EU VAT number management and validation to your WooCommerce store. It helps you collect, validate, and manage company VAT numbers for your B2B customers, ensuring compliance and a smooth checkout experience.

Key Features

  • Company Name & VAT Number Fields Ìtumọ̀ Yorùbá: – Adds company name and VAT number fields to registration, account, and checkout forms
  • EU VAT Number Validation Ìtumọ̀ Yorùbá: – Offline format validation for all EU VAT numbers with optional real-time VIES validation (uses European CommissionÌtumọ̀ Yorùbá: ’s VIES service)
  • Automatic VAT Exemption Ìtumọ̀ Yorùbá: – Applies reverse charge VAT exemption for valid B2B transactions between EU member states
  • VAT Rate Importer Ìtumọ̀ Yorùbá: – Import current EU VAT rates for all 27 member states, including one reduced rate per country
  • WooCommerce Integration Ìtumọ̀ Yorùbá: – VAT numbers are saved to orders and displayed in admin and emails
  • Block Checkout Support Ìtumọ̀ Yorùbá: – Full compatibility with WooCommerceÌtumọ̀ Yorùbá: ’s new block-based checkout
  • Advanced Customization Ìtumọ̀ Yorùbá: – Custom labels, messages, and exemption rules
  • WPML Compatible Ìtumọ̀ Yorùbá: – Full multilingual support for international stores
  • PDF Integration Ìtumọ̀ Yorùbá: – Compatible with WooCommerce PDF Invoices & Packing Slips

VAT Exemption Rules

VAT exemption is automatically applied when ALL conditions are met:
* Customer provides a valid EU VAT number
* VAT number country differs from your storeÌtumọ̀ Yorùbá: ’s base country
* Shipping method is NOT local pickup
* Billing and shipping countries match the VAT number country

Supported Features

  • Classic WooCommerce checkout
  • Block-based checkout (Cart & Checkout blocks)
  • Customer registration and account pages
  • Admin order management
  • Email notifications
  • All 27 EU member states VAT formats
  • VIES real-time validation (optional)
  • PDF invoice integration (WooCommerce PDF Invoices & Packing Slips)
  • Advanced customization options
  • WPML multilingual support
  • Custom field labels and messages

External Services

This plugin optionally uses the European CommissionÌtumọ̀ Yorùbá: ’s VIES (VAT Information Exchange System) service for real-time VAT number validation.

VIES Service Details:
* Service: European Commission VIES VAT validation service
* Purpose: Real-time validation of EU VAT numbers to verify their authenticity
* Data Sent: Only the VAT number (country code and number) that customers enter during checkout, registration, or account updates
* When Data is Sent: Only when VIES validation is enabled in plugin settings AND a customer enters a VAT number
* Service URL: https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl
* Privacy Policy: https://ec.europa.eu/info/privacy-policy_en
* Terms of Service: https://ec.europa.eu/taxation_customs/vies/faq.html

Important Notes:
* VIES validation is completely optional and disabled by default
* No personal data (names, addresses, emails) is ever sent to VIES
* Only the VAT number itself is transmitted for validation
* The plugin works fully without VIES validation using offline format checking
* You can disable VIES validation at any time in the plugin settings

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 4.0 or higher
  • PHP 8.2 or higher
  • WooCommerce 8.9 or higher for the Block Checkout VAT field
  • PHP SOAP extension (ext-soap), required only when VIES validation is enabled

Support

For support, feature requests, or bug reports, please contact us through our website or the WordPress.org support forums.

Ìgbéwọlẹ̀

  1. Upload the plugin files to /wp-content/plugins/eu-vat-guard-for-woocommerce/ or install via WordPress admin
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to WooCommerce > VAT Guard to configure settings
  4. Choose which fields are required and enable VIES validation if desired

FAQ

Does this plugin work with WooCommerce blocks?

Yes! The plugin fully supports both classic WooCommerce checkout and the new block-based checkout system.

What VAT number formats are supported?

All 27 EU member states VAT number formats are supported with proper validation.

Is VIES validation required?

No, VIES validation is optional. You can use format-only validation or enable real-time VIES checking.

Does this handle VAT exemptions automatically?

Yes, the plugin automatically applies VAT exemptions for valid B2B transactions between different EU countries.

Àwọn àgbéyẹ̀wò

Òkúdù 30, 2026
EU VAT Guard for WooCommerce does exactly what we were looking for. We only needed a small adjustment for our version and the support was excellent and fast.
Èrèlé 5, 2026
This plugin solves exactly what you would think is such an important need for any B2B shops but what woocommerce strangely does not offer out of the box. Support is great as well and replies are received within 24 hours.
Ọ̀pẹ 17, 2025
EU VAT Guard for WooCommerce works perfectly and makes EU VAT handling much easier. The support was very helpful with the setup, and the invoice customisation was done exactly as I needed. Highly recommended.
Ka gbogbo àwọn àgbéyẹ̀wò 3

Àwọn Olùkópa & Olùgbéejáde

“EU VAT Guard for WooCommerce” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

A ti túmọ̀ “EU VAT Guard for WooCommerce” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.

Túmọ̀ “EU VAT Guard for WooCommerce” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.5.2

  • Fixed Ìtumọ̀ Yorùbá: – Guest VAT numbers are restored from the WooCommerce session when returning to classic checkout
  • Fixed Ìtumọ̀ Yorùbá: – Current session VAT edits, including a deliberately cleared field, take precedence over saved account VAT data
  • Improved Ìtumọ̀ Yorùbá: – VAT prefill preserves values supplied by earlier checkout filters

1.5.1

  • Added Ìtumọ̀ Yorùbá: – Optional company-based VAT field visibility in classic checkout, with matching required-field validation and exemption removal when company is empty
  • Added Ìtumọ̀ Yorùbá: – Custom company/VAT placeholders with WPML support and an option to remove both placeholders in classic checkout
  • Fixed Ìtumọ̀ Yorùbá: – Missing PHP SOAP support no longer causes a fatal error; VIES failures are logged without printing into checkout or API responses
  • Fixed Ìtumọ̀ Yorùbá: – VAT format validation accepts short Romanian numbers and rejects eleven-digit Belgian numbers while retaining nine-digit Belgian input support
  • Fixed Ìtumọ̀ Yorùbá: – Order VAT and exemption metadata use WooCommerceÌtumọ̀ Yorùbá: ’s order API; PDF helpers no longer restore stale exemption status from legacy postmeta

1.5.0

  • Updated Ìtumọ̀ Yorùbá: – EU VAT rate snapshot verified on 12 October 2026, with corrected rates for Czechia, Estonia, Finland, Lithuania, Romania and Slovakia and additional national special rates
  • Fixed Ìtumọ̀ Yorùbá: – Classic and Block Checkout apply VAT exemption before totals are calculated, including country and shipping-method changes
  • Fixed Ìtumọ̀ Yorùbá: – Additional checkout fields from other plugins preserve VAT exemption, order metadata and unrelated checkout errors
  • Fixed Ìtumọ̀ Yorùbá: – Corrected VAT-country notices clear after successful validation while payment and coupon errors remain visible
  • Fixed Ìtumọ̀ Yorùbá: – Clearing optional VAT removes stale session and customer VAT data and restores tax immediately
  • Fixed Ìtumọ̀ Yorùbá: – Admin order VAT edits validate eligibility instead of unconditionally granting exemption
  • Fixed Ìtumọ̀ Yorùbá: – Missing or inactive WooCommerce no longer causes a fatal error
  • Improved Ìtumọ̀ Yorùbá: – Documented rate import presets, product-specific and regional limits, and handling of obsolete tax rows

1.4.7

  • Fixed Ìtumọ̀ Yorùbá: – Prevented the VAT number field from appearing twice on the Account Details page when block checkout support is enabled
  • Fixed Ìtumọ̀ Yorùbá: – Kept WooCommerceÌtumọ̀ Yorùbá: ’s block checkout VAT field synchronized with the pluginÌtumọ̀ Yorùbá: ’s canonical customer VAT data, including when clearing the field

1.4.6

  • Changed Ìtumọ̀ Yorùbá: – Decreased PHP minimum version to 8.2

1.4.5

  • Fixed Ìtumọ̀ Yorùbá: – Greek VAT numbers now compare the EU VAT prefix EL against WooCommerceÌtumọ̀ Yorùbá: ’s Greece country code GR during billing, shipping, and exemption checks

1.4.4

  • Tested Ìtumọ̀ Yorùbá: – Compatibility with Wordress 6.9.4

1.4.3

  • Fixed Ìtumọ̀ Yorùbá: – VAT Rate Importer now resolves WooCommerce default reduced tax class in a translation-safe way (e.g. localized class names)
  • Changed Ìtumọ̀ Yorùbá: – VAT Rate Importer now imports only the primary reduced VAT rate per country into WooCommerceÌtumọ̀ Yorùbá: ’s default Reduced rate tax class
  • Improved Ìtumọ̀ Yorùbá: – Updated importer UI text and documentation to reflect current reduced-rate behavior

1.4.2

  • Fixed Ìtumọ̀ Yorùbá: – Prevented stale VAT numbers from being reinstated in block checkout when customers update VAT after guest orders or during checkout

1.4.1

  • Fixed Ìtumọ̀ Yorùbá: – Skip registration VAT/company validation for block checkout account creation (Store API)

1.4.0

  • Added Ìtumọ̀ Yorùbá: – New option to hide company and VAT fields from registration form while keeping them on checkout and account pages
  • Added Ìtumọ̀ Yorùbá: – Plugin compatibility option to override B2B plugins that interfere with VAT exemption (WooCommerce B2B, etc.)
  • Improved Ìtumọ̀ Yorùbá: – Smart context detection for B2B plugin override Ìtumọ̀ Yorùbá: – only applies during checkout, cart, payment processing, and for logged-in users with VAT numbers
  • Improved Ìtumọ̀ Yorùbá: – More efficient hook registration Ìtumọ̀ Yorùbá: – registration form hooks are only added when needed
  • Enhanced Ìtumọ̀ Yorùbá: – Better compatibility with third-party B2B plugins that modify VAT behavior
  • Technical Ìtumọ̀ Yorùbá: – Added conditional hook registration to improve performance when features are disabled

1.3.12

  • Improved: Added an agressive init hook to override interfering plugins

1.3.11

  • Improved: Added filter on woocommerce_order_is_vat_exempt to handle interfering plugins

1.3.10

  • Fixed Ìtumọ̀ Yorùbá: – Checkbox settings not saving properly on some server configurations
  • Fixed Ìtumọ̀ Yorùbá: – Options now properly initialize in database on plugin activation
  • Technical Ìtumọ̀ Yorùbá: – Added hidden input fields to ensure unchecked checkboxes submit ‘0’ value
  • Technical Ìtumọ̀ Yorùbá: – Added activation hook to initialize all options with default values
  • Technical Ìtumọ̀ Yorùbá: – Added admin_init fallback to initialize missing options for existing installations
  • Improved Ìtumọ̀ Yorùbá: – Enhanced form reliability across different PHP/WordPress environments
  • Improved Ìtumọ̀ Yorùbá: – Increased priority of hooks for VAT exemption
  • Improved Ìtumọ̀ Yorùbá: – Translations

1.3.9

  • Fixed Ìtumọ̀ Yorùbá: – Checkbox settings not saving properly on some server configurations
  • Fixed Ìtumọ̀ Yorùbá: – Options now properly initialize in database on plugin activation
  • Technical Ìtumọ̀ Yorùbá: – Added hidden input fields to ensure unchecked checkboxes submit ‘0’ value
  • Technical Ìtumọ̀ Yorùbá: – Added activation hook to initialize all options with default values
  • Technical Ìtumọ̀ Yorùbá: – Added admin_init fallback to initialize missing options for existing installations
  • Improved Ìtumọ̀ Yorùbá: – Enhanced form reliability across different PHP/WordPress environments

1.3.8

  • Fixed Ìtumọ̀ Yorùbá: – Block checkout setting now properly saves as string type for better compatibility
  • Technical Ìtumọ̀ Yorùbá: – Improved settings registration for block checkout option

1.3.7

  • Enhanced Ìtumọ̀ Yorùbá: – Completely redesigned Help & Support tab with comprehensive documentation
  • Improved Ìtumọ̀ Yorùbá: – Better organized admin interface with clearer navigation
  • Added Ìtumọ̀ Yorùbá: – Common questions section in Help tab for quick answers
  • Added Ìtumọ̀ Yorùbá: – Useful links section with direct access to documentation and resources
  • Enhanced Ìtumọ̀ Yorùbá: – More intuitive support and review prompts throughout admin interface

1.3.6

  • Improved Ìtumọ̀ Yorùbá: – Updated admin interface with direct links to WordPress.org support and reviews
  • Enhanced Ìtumọ̀ Yorùbá: – Better user experience for getting help and leaving feedback

1.3.5

  • Compatibility Ìtumọ̀ Yorùbá: – Tested and confirmed compatible with WordPress 6.9
  • Technical Ìtumọ̀ Yorùbá: – Updated version number for WordPress 6.9 release compatibility

1.3.4

  • Technical Ìtumọ̀ Yorùbá: – Removed duplicate PDF integration initialization from main class
  • Technical Ìtumọ̀ Yorùbá: – Improved code structure with PDF integration exclusively initialized through admin class
  • Technical Ìtumọ̀ Yorùbá: – Reduced redundant code execution during plugin initialization
  • Performance Ìtumọ̀ Yorùbá: – Optimized PDF integration to load only during AJAX requests when needed

1.3.3

  • Added Ìtumọ̀ Yorùbá: – VAT information now displays on order confirmation pages and My Account order views
  • Added Ìtumọ̀ Yorùbá: – Smart display logic: when block checkout is enabled, only shows VAT exemption status
  • Changed Ìtumọ̀ Yorùbá: – All meta keys now use _eu_vat_guard_ prefix for better organization
  • Changed Ìtumọ̀ Yorùbá: – User meta keys: vat_number _eu_vat_guard_vat_number, company_name _eu_vat_guard_company_name
  • Changed Ìtumọ̀ Yorùbá: – Order meta keys: billing_eu_vat_number _eu_vat_guard_order_vat_number, billing_is_vat_exempt _eu_vat_guard_order_vat_exempt
  • Fixed Ìtumọ̀ Yorùbá: – Admin error notices now properly display when VAT validation fails in order editing
  • Fixed Ìtumọ̀ Yorùbá: – Undefined constant error in block checkout sanitize callback
  • Fixed Ìtumọ̀ Yorùbá: – VAT information now displays regardless of block support setting
  • Fixed Ìtumọ̀ Yorùbá: – VAT Rate Import database error

1.3.0

  • Major Code Refactoring Ìtumọ̀ Yorùbá: – Implemented proper PHP namespacing for all classes
  • Added namespace Stormlabs\EUVATGuard to prevent conflicts with other plugins
  • Added comprehensive plugin constants for better code organization
  • Added option name constants for all WordPress options
  • Added meta key constants for consistent data handling
  • Improved code structure following WordPress best practices
  • Enhanced backward compatibility with class aliases
  • Added proper use statements for WordPress and WooCommerce classes
  • Fixed admin order edit mode detection for VAT field display
  • Improved VAT field display Ìtumọ̀ Yorùbá: – now shows read-only when not in edit mode
  • Updated all translation files (Dutch, French, German) with missing strings
  • Added complete documentation for namespace changes and naming conventions
  • Enhanced security and maintainability of codebase
  • No breaking changes Ìtumọ̀ Yorùbá: – fully backward compatible with existing installations

1.2.0

  • Added VAT Rate Importer tool for importing current EU VAT rates
  • Added comprehensive database of all 27 EU member states’ VAT rates
  • Added support for special VAT categories (food, books, pharmaceuticals, hotels)
  • Added country selection interface with “Select All” functionality
  • Added automatic WooCommerce tax rate creation and updating
  • Added complete VAT rates overview table
  • Changed admin menu structure to dedicated main menu
  • Enhanced WooCommerce integration with smart country filtering

1.1.0

  • Added Advanced settings tab with exemption rules customization
  • Added custom field labels and exemption messages
  • Added WPML compatibility for custom strings
  • Added PDF invoice integration for WooCommerce PDF Invoices & Packing Slips
  • Added PDF template helper functions
  • Improved admin interface with separate option groups
  • Fixed admin options not saving correctly between tabs
  • Enhanced security with proper nonce verification suppression
  • Updated text domain for better WordPress.org compatibility

1.0.0

  • Initial release
  • Company name and VAT number fields
  • EU VAT number format validation
  • Optional VIES real-time validation
  • Automatic VAT exemption for B2B transactions
  • WooCommerce block checkout support
  • Admin settings interface