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

Incorrect VAT validation for Poland when total sum modulo with 11 is 10 #131

Open
banafsheh-unify opened this issue Sep 29, 2022 · 1 comment

Comments

@banafsheh-unify
Copy link

It seems there is an issue with VAT validation for Poland.
According to this wikipedia page (https://pl.wikipedia.org/wiki/Numer_identyfikacji_podatkowej) and the spec here (https://romek.info/ut/nip-rego.html#nip) the following numbers are invalid VAT numbers:

  • 0000000000
  • 1234567890
    The above links are in Polish, I used google translate to make sense out of the parts where it states that the modulo of the calculated sum cannot be equal to 10, otherwise that VAT is invalid.
@TShockman
Copy link

At least one issue occurs when checksum mod 11 is 10, according to the spec this should indicate an invalid VAT number. An english version of the specs can be found here https://ec.europa.eu/taxation_customs/tin/#/check-tin (download file under "Get the TIN specifications", page 42).

This is the case with VAT number 1234567890.

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