Herzlich willkommen

New Belgian format for VAT ID numbers with BE1

Created at: 23 Feb 2024 | Updated at: 23 Feb 2024

The EU country Belgium has adapted its allocation scheme for VAT ID numbers. Numbers from Belgium can now either start with BE0, or now with BE1. In order for the new numbers to be supported by our EU VAT Enhanced module, at least version 1.20.9 must be used, which contains the adaptations for the new scheme.

If this version is not available to you, please extend the update and support period for your license via your customer account in the "My Downloadable Products" section.

Alternatively, you can also make the necessary changes to the code yourself. To do this, please modify the following files.

Update the Validator/Syntax.php file:

case 'BE': // Belgium
    $regex = '(BE)?[01][0-9]{9}';
    break;

Update the files view/base/web/js/model/syntax-validation.js and/or view/base/web/js/form/element/vat-number-base.js:

'BE': '(BE)?[01][0-9]{9}$',
Categories: EU VAT Enhanced (M2)