LokiCheckout_EuVat

Jump to User Docs

Other
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Latest Release 2.0.14

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

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_Shipping Magento_Store Magento_Vault Yireo_CspUtilities Yireo_HyvaThemeAutoRegistration Yireo_IntegrationTestHelper
Composer details
Magento module name
LokiCheckout_EuVat
Composer name
loki-checkout/magento2-eu-vat
Composer version
2.0.14
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
dev-main#05ba5a33490c0fed4b1547ef7429b6828ca107b3 20 October 2025
2.0.14 20 October 2025
2.0.13 20 October 2025
2.0.12 20 October 2025
2.0.11 20 October 2025
2.0.10 20 October 2025
2.0.9 20 October 2025
2.0.8 20 October 2025
2.0.7 20 October 2025
2.0.6 20 October 2025
2.0.5 20 October 2025
2.0.4 20 October 2025
2.0.3 20 October 2025
2.0.2 20 October 2025
2.0.1 20 October 2025
2.0.0 20 October 2025
1.0.0 20 October 2025
0.0.7 20 October 2025
0.0.6 20 October 2025
0.0.5 20 October 2025
0.0.4 20 October 2025
Changelog

[2.0.14] - 30 September 2025

Fixed

  • Improve styling under Luma
  • Update README

[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 $css wrapper

[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* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump loki/magento2-field-components to major 2.0
  • Bump LokiCheckout_Core to 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
Jump to User Docs

Last modified: September 1, 2025