iban4j icon indicating copy to clipboard operation
iban4j copied to clipboard

validate bic with iban

Open lauhin opened this issue 8 years ago • 0 comments

Character 5 and 6 of a BIC needs to be equal with the country code from IBAN. IBAN DE89370400440532013000. BIC DEUTDEFF500

When these characters doesn't match, you can say that the IBAN has a wrong BIC.

Is it possible to add a validation method to look if an IBAN has a valid BIC (or visa versa) with the right error handling?

Thx!

lauhin avatar Jul 08 '16 08:07 lauhin