ddeboer / vatin

Validate VAT identification numbers
MIT License
136 stars 37 forks source link

added many VAT IDs to unit test, extended Belgian and French VAT #15

Closed timonf closed 7 years ago

timonf commented 7 years ago

Hello!

There were only a few numbers to check. I've added all examples I found on Wikipedia and on the EU page. I also updated Belgian and French VAT ID checks. Belgian VAT IDs can also begin with a leading zero, and French VAT IDs can be mixed with digits and letters at the first and second position.

Some sources:

Regards, Timon

ddeboer commented 7 years ago

Wow, that’s great. Thanks!