iban4j
iban4j copied to clipboard
validate bic with iban
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!