maielo / stripe-tax-utils

stripe-vat utility tools
MIT License
5 stars 5 forks source link

Correct regex pattern for romanian vat ids #3

Closed DanStockham closed 2 years ago

DanStockham commented 2 years ago

The pattern used for validating EU VAT ids from Romania are incorrect. The length of an id can vary between 8 to 10 characters. This needs to be corrected.

maielo commented 2 years ago

good catch! seems the stripe docs with examples are not dependable.