yolk / valvat

Validates european vat numbers. Standalone or as a ActiveModel validator.
MIT License
321 stars 80 forks source link

Update BE regex in syntax.rb #111

Closed Cashaca closed 2 years ago

Cashaca commented 2 years ago

Make BE regex future proof.

Based on following communication from Belgian government:

We currently use numbers starting with 0: “0.xxx.xxx.xxx” (0-series). However, the 0-series is not infinite. Once this series is exhausted, enterprise numbers will be assigned with the first number being 1: “1.xxx.xxx.xxx” (1-series). Today there are still 183,600 enterprise numbers of the 0-series available. We estimate that at least 140,000 enterprise numbers beginning with “0” will be used up in the coming year. However, new projects (such as SABE – “loading of foreign entities”) may cause the 0-series to be used up faster than expected and thus more quickly numbers from the 1-series will be put into use.

We therefore ask you, by 01/01/2023 at the latest: if necessary, to adapt your applications (which use the enterprise number) as soon as possible so that you can use the numbers of 1-series in the future; to inform your customers.

yolk commented 2 years ago

Thanks a lot!