(Translated by https://www.hiragana.jp/)
Bug: Austian VAT validation is wrong implemented · Issue #56 · iconfinder/pyvat · GitHub
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

Bug: Austian VAT validation is wrong implemented #56

Open
sowinski opened this issue Feb 8, 2022 · 2 comments
Open

Bug: Austian VAT validation is wrong implemented #56

sowinski opened this issue Feb 8, 2022 · 2 comments

Comments

@sowinski
Copy link

sowinski commented Feb 8, 2022

Hi,

pyvat.is_vat_number_format_valid("ATU76127777") => is True

pyvat.is_vat_number_format_valid("76127777", country_code="AT") => is False but should be also True

I could private a fix if the maintainer except that this is a bug.

@Kompas
Copy link

Kompas commented Nov 8, 2022

image
The VAT id in your example is invalid according to EU VIES.

@sowinski
Copy link
Author

sowinski commented Nov 9, 2022

Hi, this was just an example. I don't wanted to post a real ID from a real company. If you use a real company then you will see it is failing as described.

I just wrote a wrapper which is handling this edge case but would be nice if it would be fixed.

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

2 participants