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

Belgian IBAN is not valid #2135

Open
danieltomasz opened this issue Nov 4, 2024 · 0 comments
Open

Belgian IBAN is not valid #2135

danieltomasz opened this issue Nov 4, 2024 · 0 comments

Comments

@danieltomasz
Copy link

  • Faker version: 30.8.2
  • OS:

Then IBAN is almost correct, but contains wrong control number in the account number
for example IBAN generated by faker

https://nl.ibancalculator.com/iban_validieren.html

from faker import Faker
fake = Faker("nl_BE")
Faker.seed(0)
iban = fake.iban()

resulting BE48660487647593 has wrong control numbers in the account number
https://nl.ibancalculator.com/iban_validieren.html and here is some explanation about IBAN validation
arthurdejong/python-stdnum#62

I did some ugly monkey patching for my own use I can share my solution here when I will clean it and test

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