Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValidatorLV results inconsistent with official EU validation #146

Open
cheagerty-ledger opened this issue Apr 21, 2022 · 0 comments
Open

Comments

@cheagerty-ledger
Copy link

cheagerty-ledger commented Apr 21, 2022

When I try to validate a VAT code of the form LV 12016******, the code returns the result of invalid.

When I check the same number on the European Commission website (https://ec.europa.eu/taxation_customs/vies/vieshome.do) it is in fact valid.

ValidatorLV.php checks if the first digit is greater than 3, and returns false otherwise (which is the case here). I propose to remove this condition, which seems to be outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant