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

Italy VAT codes not valid #110

Open
MiguelQueiroz opened this issue Dec 17, 2020 · 3 comments
Open

Italy VAT codes not valid #110

MiguelQueiroz opened this issue Dec 17, 2020 · 3 comments

Comments

@MiguelQueiroz
Copy link

MiguelQueiroz commented Dec 17, 2020

This Vat numbers are valid, but your validator and many others, report as invalid.
Ex: MRTMTT25D09F205Z or PCTCHR77S66I470H

Check this: https://validarnif.pt/pt/validar-nif-italia/ (works fine)

@michelem09
Copy link

Those aren't Italian VAT numbers but Italian personal tax code (called in Italian "Codice fiscale").
This lib checks only against VAT numbers (for companies) not personal tax code.

@MiguelQueiroz
Copy link
Author

Ok strange, thought they were the same. Here in Portugal at least, Vat number and código fiscal are the same number and the same thing. It's the code you give in invoices to let tax authority to link the invoice to someone, and benefit from fiscal IRS

@Efois
Copy link

Efois commented Jan 6, 2024

This Vat numbers are valid, but your validator and many others, report as invalid. Ex: MRTMTT25D09F205Z or PCTCHR77S66I470H

Check this: https://validarnif.pt/pt/validar-nif-italia/ (works fine)

There is a online tool from government to test the correctness of them

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

3 participants