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

Implements BE BBAN checksum check #51

Merged
merged 1 commit into from
May 23, 2021

Conversation

mhemeryck
Copy link
Contributor

@mhemeryck mhemeryck commented May 21, 2021

Implements the BBAN checksum check for Belgium.

Following the discussion in #49, I went ahead to implement the BBAN check for Belgian banks.

The check for Belgium itself should be quite simple, see e.g. http://www.credit-card.be/BankAccount/ValidationRules.htm#BE_Validation

The BBAN is represented by XXX-YYYYYYY-ZZ where:

  • XXX: the bank code code
  • YYYYYYY: the account number
  • ZZ: the checksum == XXXYYYYYYY % 97

I also did update the method to add checksums to generated IBANs.

@mhemeryck
Copy link
Contributor Author

Would also like to check how to extend the BBAN generation as well.

@mhemeryck mhemeryck force-pushed the be_checksum_check branch 4 times, most recently from 3ffa661 to 301f747 Compare May 21, 2021 13:06
@mhemeryck mhemeryck force-pushed the be_checksum_check branch from 301f747 to 539c15b Compare May 21, 2021 13:59
@mdomke mdomke merged commit 2f3a7a7 into mdomke:master May 23, 2021
@mhemeryck mhemeryck deleted the be_checksum_check branch May 25, 2021 07:58
@mhemeryck mhemeryck mentioned this pull request Feb 27, 2023
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.

2 participants