Skip to content

Changelog

Version 1.3.5 (2026-09-24)

Improvements

  • New setting "Additional Countries for VAT Validation" treats VAT IDs from configured non-EU countries (e.g. Switzerland) like EU countries for validation and automatic customer group assignment, without touching Magento's global EU country list

Version 1.3.4 (2026-08-31)

Improvements

  • Format precheck filters implausible input (free text, placeholders) before it reaches the validation API, saving requests against paid or rate limited services. Configurable under "Format Precheck": off, basic (default) or strict
  • The basic check works without a country prefix, so tax numbers from countries that do not carry one (Canada, Mexico, Israel, Norway, India, ...) pass unchanged
  • strict additionally verifies the syntax of the 27 EU member states plus Northern Ireland and the modulo 11 check digit of Swiss UIDs

Fix

  • VAT numbers are normalised to uppercase and the Swiss MWST/TVA/IVA suffix is stripped regardless of separators, so CHE-332.396.092 MWST and che332396092mwst share one cache entry instead of causing two API requests

Version 1.3.3 (2026-08-27)

Fix

  • Qualified check (company, street, postcode, city) now always runs against the current address data, regardless of "Validate on Each Transaction". Magento only revalidates when country or VAT ID changed, so the qualified result could previously be stale or missing entirely.
  • Validation no longer leaks the current address into the next check when the gateway throws

Version 1.3.2 (2026-08-03)

  • Compatibility with Magento 2.4.9

Version 1.3.1 (2026-06-19)

Improvements

  • Order comment shows the BZSt certification result in plain words (e.g. "Name: stimmt überein") instead of the raw A/B/C/D codes
  • German translations for the certification labels and result texts; labels use collectable literal __() phrases

Version 1.3.0 (2026-06-19)

Improvements

  • REST API: ACL-protected CRUD endpoints for stored validation results and a validate endpoint (with or without address data)

Docs

  • Order comment requires the frontend module or "Enable Automatic Assignment to Customer Group"; reference to the official Adobe Commerce VAT/tax docs

Version 1.2.8 (2026-06-18)

Fix

  • "Save order comment for VAT validation" toggle is now actually evaluated (was previously ignored)
  • Failed order-comment creation is logged instead of being silently swallowed

Docs

  • Note that company address and VAT number must be set under Store Information for qualified validation

Version 1.2.7 (2026-06-10)

Fix

  • Strip Swiss VAT suffixes (TVA/MWST/IVA) before cleaning, so e.g. CHE-104.503.855 IVA is correctly cleaned to CHE104503855

Version 1.2.6 (2026-04-22)

Improvements

  • VAT validation time in order comments now displayed in store timezone instead of UTC
  • Re-validate against API on order placement when certificate has mismatches but VAT is valid (ensures legally correct certificate for § 18e UStG compliance)
  • Full API response details saved as order comment (company, address, status codes, certification)
  • New ResponseFormatterInterface for provider-specific response formatting (Endereco implementation included)
  • Generic JSON fallback for validators without custom formatter (e.g. FinanzOnline)
  • Added $useCache parameter to checkVatNumber() to allow cache bypass

Fix

  • Strip dots, hyphens and underscores from VAT numbers (e.g. CHE-104.503.855 is now correctly cleaned to CHE104503855)
  • Disable qualified validation when no address data is available (e.g. admin order creation via ValidateAdvanced)
  • Pass merchant VAT number as requester for re-validation (required for BZST qualified confirmation)

Version 1.2.5 (2026-04-15)

  • Strip dots, hyphens and underscores from VAT numbers

Version 1.2.4 (2026-04-15)

  • Disable qualified validation when no address data is available

Version 1.2.3 (2026-04-15)

Improvements

  • PHP >= 8.1 requirement
  • Added laminas/laminas-http as explicit dependency
  • Added error handling and logging (Psr\Log\LoggerInterface) to Endereco API integration
  • Added error handling and logging to main Validator catch block
  • Added logging for missing API configuration, failed API requests, and invalid JSON responses
  • Added unit tests for Model\Validator, Request, Result, Qualified, Helper\Config, Plugin\Customer\Vat
  • Admin: Create default address when copying VAT data to customer without existing address

Fix

  • Fixed Request::setPostcode() writing to wrong data key (postcode instead of post_code)

Version 1.2.2 (2025-03-26)

Fix

  • Fix for admin acl rules

Version 1.2.1 (2025-03-25)

Improvements

  • Better module version detection using CopeX Core Module > 1.0 now

Version 1.2.0 (2025-03-14)

Fix

  • Correct validation for addresses

Improvements

  • Stores vat validation result on address (quote + order)
  • Improved logic for vat validation
  • Compatible with Magento 2.4.7-p4
  • Compatible with Geissweb Euvat

Version 1.1.12 (2025-01-23)

  • Percentage of the address comparison is only calculated when both values are present

Version 1.1.11 (2024-12-19)

Fix

  • Fixed qualified comparison if result has no qualified data

Version 1.1.10 (2024-12-03)

Fix

  • Fixed translations

Version 1.1.9 (2024-09-16)

Improvements

  • Save uid data to default shipping or billing address in admin backend

Version 1.1.8 (2024-08-27)

Fix

  • Bugfix for orders with only virtual products

Version 1.1.7 (2024-08-01)

  • Order comments are only suppressed when a VAT request id is actually present

Version 1.1.6 (2024-08-01)

Fix

  • Removed the obsolete copex_vat_validation_endereco_order table from db_schema.xml

Version 1.1.5 (2024-08-01)

Fix

  • Dependency to copex core

Version 1.1.4 (2024-08-01)

Fix

  • Internal versioning change

Version 1.1.3 ( 2024-07-31)

Improvements

  • Removed Finanzonline and added as own module

Version 1.1.2 ( 2024-07-24)

Improvements

  • Added headers for Endereco
  • Save certificate from Endereco to order history comment
  • Added dependency to copex/core

Version 1.1.1 (2024-06-25)

  • Qualified VAT validation in the admin customer view

Version 1.1.0 (2024-06-24)

  • Qualified validation added
  • Constants introduced for the config paths
  • Strict validation of the percentage values

Version 1.0.10 (2024-06-10)

  • Bugfixes

Version 1.0.9 (2024-06-03)

  • VAT number can be checked directly on the customer page in the admin
  • Added translations
  • Adjusted composer configuration

Version 0.1 (2024-05-14)

  • Initial version with Endereco validation, configuration and storage of the request message