Open gemal opened 3 years ago
Do you accept pull requests?
@dannyvankooten would you accept pull request for this?
Hey @gemal,
Yes, definitely! Anything that could invalidate VAT numbers before sending a request off to the (sometimes somewhat unreliable) VIES API is encouraged, in my book. :+1:
Do you have a source on which countries have such a format? GB, from the looks of it?
possible code could be used from here: https://gist.github.com/svschannak/e79892f4fbc56df15bdb5496d0e67b85
some countries has a modulus 11 check build into the number The VAT validator should be able to check that