anghelvalentin / CountryValidator

C# Validations for Social Security Numbers, VAT Codes and tax identification numbers
https://randommer.io/SocialNumber/VatValidator
36 stars 20 forks source link

Validate Swiss TVA #13

Open carlos-spherag opened 1 year ago

carlos-spherag commented 1 year ago

It does not allow me to validate the Swiss tva, the error is: "input string was not in a correct format". My code: image

When I enter the same data in the demo validator it works, where can I check the format of the string I have to pass to the "CountryValidator" method? https://randommer.io/SocialNumber/VatValidator image

Doc format: CHE-xxx.xxx.xxx TVA