LokiCheckout_EuVat
Checkout
Other
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
Integration Tests
1
PHPStan
1
Magento PHPCS
7
Latest Release
2.0.19
This Magento 2 module is an add-on package to the LokiCheckout that validates VAT IDs in both billing and shipping address via the online VIES service.
Note that this does not require any other third party module.
Installation
Install this package via composer:
composer require loki-checkout/magento2-eu-vat
Next, enable this module:
bin/magento module:enable LokiCheckout_EuVat
Usage
Note that this is not based upon the Geissweb module.
Make sure customer/address/taxvat_show is enabled
Support
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/LokiCheckout_EuVat.git
Loki Components
The following LokiComponents are created or references in this module:
loki-checkout.billing.address.country_id
loki-checkout.billing.address.vat_id
loki-checkout.shipping.address.country_id
loki-checkout.shipping.address.vat_id
Module Dependencies
The following dependencies are declared in the module its `etc/module.xml` file:
LokiCheckout_Core
Loki_Base
Loki_Components
Loki_CssUtils
Loki_FieldComponents
Loki_MapComponents
Magento_Backend
Magento_Catalog
Magento_Checkout
Magento_CheckoutAgreements
Magento_Config
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Newsletter
Magento_Payment
Magento_Quote
Magento_Sales
Magento_SalesRule
Magento_Shipping
Magento_Store
Magento_Tax
Magento_Vault
Yireo_CspUtilities
Composer details
Magento module name
LokiCheckout_EuVatComposer name
loki-checkout/magento2-eu-vatComposer version
2.0.19
Default branch
main
Requirements
ext-pcre: *
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
loki/magento2-css-utils: ^1.0
magento/framework: ^103.0
magento/module-customer: ^103.0
Releases
| 2.0.19 | 12 June 2026 |
| 2.0.18 | 12 June 2026 |
| 2.0.17 | 12 June 2026 |
| 2.0.16 | 12 June 2026 |
| 2.0.15 | 12 June 2026 |
| 2.0.14 | 12 June 2026 |
| 2.0.13 | 12 June 2026 |
| 2.0.12 | 12 June 2026 |
| 2.0.11 | 12 June 2026 |
| 2.0.10 | 12 June 2026 |
| 2.0.9 | 12 June 2026 |
| 2.0.8 | 12 June 2026 |
| 2.0.7 | 12 June 2026 |
| 2.0.6 | 12 June 2026 |
| 2.0.5 | 12 June 2026 |
| 2.0.4 | 12 June 2026 |
| 2.0.3 | 12 June 2026 |
| 2.0.2 | 12 June 2026 |
| 2.0.1 | 12 June 2026 |
| 2.0.0 | 12 June 2026 |
Changelog
[2.0.19] - 12 June 2026
Fixed
- Autoprefix the mapped country ID to the VAT ID
[2.0.18] - 24 February 2026
Fixed
- Add
en_USlanguage file
[2.0.17] - 11 December 2025
Fixed
- Rename deprecated AddressState::save/load to set/get
[2.0.16] - 12 November 2025
Fixed
- Only intercept errors if validation failed
- Update composer keywords
[2.0.15] - 22 October 2025
Fixed
- Do not escape
$css()withescapeHtmlAttr()butescapeHtml()
[2.0.14] - 30 September 2025
Fixed
- Improve styling under Luma
[2.0.13] - 24 September 2025
Fixed
- Change containers into blocks to allow for caching
- Rename loki-components to loki.script.component
[2.0.12] - 04 September 2025
Fixed
- Rename FieldTemplateLocator to FieldTypeManager
- Undo minification
[2.0.11] - 02 September 2025
Fixed
- Update CI files
[2.0.10] - 02 September 2025
Fixed
- Update CI files
[2.0.9] - 02 September 2025
Fixed
- Reset
- Document latest version of template
- Prepare release
[2.0.8] - 02 September 2025
Fixed
- Add CI files
- Replace yireo/opensearch with yireo/opensearch-dummy in Gitlab CI
[2.0.7] - 26 August 2025
Fixed
- 2067d98 Add GitLab CI files
[2.0.6] - 21 August 2025
Fixed
- Add dependency with loki/magento2-css-utils
- Fix duplicate import
- Replace LokiComponentsUtilBlockCssClass with LokiCssUtilsUtilCssClass
- Declare used PHP namespaces
- Document latest version of template
- Add missing strict_types declaration
[2.0.5] - 18 August 2025
Fixed
- Allow for PHP 8.1 compatibility
- Lower requirements to PHP 8.1
[2.0.4] - 13 August 2025
Fixed
- Add data-valid attribute to fields
[2.0.3] - 07 August 2025
Fixed
- Lower PHP requirement to PHP 8.2+
[2.0.2] - 01 August 2025
Fixed
- Add missing
$csswrapper
[2.0.1] - 30 July 2025
Fixed
- Allow entering NLNL000000 as VAT ID anyway
[2.0.0] - 22 July 2025
Fixed
- Rename PHP namespace from
Yireo_Loki*toLoki* - Rename composer package from
yireo/magento2-loki*toloki/magento2* - Bump loki/magento2-components to major 2.0
- Bump loki/magento2-field-components to major 2.0
- Bump
LokiCheckout_Coreto 2.0.0 - Major rewrite of namespaces
[1.0.0] - 26 May 2025
Fixed
- Generate new MODULE.json with simple test count
- Allow PHP 8.4 in CI
- Update composer and module deps
[0.0.7] - 25 April 2025
Fixed
- Allow for LokiCheckout 1.0
[0.0.6] - 25 April 2025
Fixed
- Remove x-model because of CSP compliance
- Allow upgrade to LokiComponents 1.0
- Rewrite FieldTemplateLocator usage to be independent of context
[0.0.5] - 08 April 2025
Fixed
- Housekeeping changes
[0.0.4] - 11 March 2025
Fixed
- Accessibiity fixes
- Fix styling of country box when there is an error
- Add module dependencies
- Huge refactoring to move logic into new LokiFieldComponents
- Improve handling of AJAX errors
[0.0.3] - 22 February 2025
Fixed
- Fix typo
- Change deps
[0.0.2] - 20 February 2025
Fixed
- Handling of timeout to EU VIES service
- Prevent empty VAT ID from being saved
- Handle SOAP errors during EU VAT validation properly
Added
- Create abstraction of EU VAT validation for Geissweb purpose
- Save VAT ID of quote to customer as well
[0.0.1] - 21 January 2025
- Add proper deps
- Initial release
Last modified: June 1, 2026