Closed tamabe closed 10 years ago
validation if an Irish VAT ID (IE9574245O) fails.
According to http://en.wikipedia.org/wiki/VAT_identification_number Irish VAT uses 7 digits and one or two letters. Besides of the first two rules there is a deprecated third rule, too.
But the used regex just checks for 8 digits (https://github.com/ddeboer/vatin/blob/master/src/Ddeboer/Vatin/Validator.php#L37) which is never a valid Irish VAT.
validation if an Irish VAT ID (IE9574245O) fails.
According to http://en.wikipedia.org/wiki/VAT_identification_number Irish VAT uses 7 digits and one or two letters. Besides of the first two rules there is a deprecated third rule, too.
But the used regex just checks for 8 digits (https://github.com/ddeboer/vatin/blob/master/src/Ddeboer/Vatin/Validator.php#L37) which is never a valid Irish VAT.