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

Support ISO 9362:2022 #452

Open
boubech opened this issue Nov 27, 2024 · 0 comments
Open

Support ISO 9362:2022 #452

boubech opened this issue Nov 27, 2024 · 0 comments

Comments

@boubech
Copy link

boubech commented Nov 27, 2024

Currently, the BIC validation checks if the institution code contains only letters.
In the future, the institution code will have numbers. Example : WG11US335AB

for (int i = 0; i < INSTITUTION_CODE_INDEX + INSTITUTION_CODE_LENGTH + COUNTRY_CODE_LENGTH; i++) {
if (!AsciiCharacters.isAlphabetic(bic.charAt(i))) {
return false;
}
}

I think, the library should take in consideration the ISO 9362:2022 describing the BIC.
https://cdn.standards.iteh.ai/samples/84108/21078408ed25469391d0cf6c5d1b6ca9/ISO-9362-2022.pdf

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