se-panfilov / jsvat

Check the validity of the format of an EU VAT number
http://se-panfilov.github.io/jsvat
MIT License
131 stars 34 forks source link

Brazilian individual vat's are not being correctly validated #132

Open filipedoazevedo opened 2 years ago

filipedoazevedo commented 2 years ago

I realize that the regex expression just uses the validation for Collective Persons (14 digits), but the Individual Persons have 11 digits NNN.NNN.NNN-NN (11 digits)

Can you please fix this problem for Brazilian vat numbers?