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

BE Vat Numbers should have a modulo 97 check and start wit 1 or 0 #2038

Merged
merged 1 commit into from May 13, 2024

Conversation

JorisSpruyt
Copy link
Contributor

@JorisSpruyt JorisSpruyt commented May 1, 2024

Close #2037

  • Faker version: 25
  • OS: OS. X Monterery

VAT Numbers generated in Belgium (currently set-up in the provider ssn for locale nl_BE should start with 1 or 0 and have a controle number with a module 97 check.

Refer to https://en.wikipedia.org/wiki/VAT_identification_number

Steps to reproduce

  1. Generate vat_id wit locale nl_BE

Expected behavior

Vat numbers should be starting with BE0 or BE1 and have a module 97 check as the last two numbers

@JorisSpruyt JorisSpruyt force-pushed the fix/master/2037_BE_VAT_Format branch from 1c1fbac to c44aa5a Compare May 1, 2024 18:11
Copy link
Collaborator

@fcurella fcurella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@fcurella fcurella merged commit 64ce2c6 into joke2k:master May 13, 2024
28 checks passed
@JorisSpruyt JorisSpruyt deleted the fix/master/2037_BE_VAT_Format branch May 17, 2024 06:44
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

Successfully merging this pull request may close these issues.

BE Vat Numbers should have a modulo 97 check and start wit 1 or 0
2 participants