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 · 2 comments · May be fixed by #2142
Open

Belgian IBAN is not valid #2135

danieltomasz opened this issue Nov 4, 2024 · 2 comments · May be fixed by #2142

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

@fcurella
Copy link
Collaborator

Thank you for the report! Feel free to submit a Pull Request!

@AliYmn AliYmn linked a pull request Nov 27, 2024 that will close this issue
3 tasks
@AliYmn
Copy link

AliYmn commented Nov 27, 2024

Thank you for the report! Feel free to submit a Pull Request!

I created PR: #2142

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 a pull request may close this issue.

3 participants