iban4j icon indicating copy to clipboard operation
iban4j copied to clipboard

Find BIC from IBAN

Open umbreak opened this issue 9 years ago • 3 comments

Add support for finding a BIC (and bank related information) from an IBAN.

umbreak avatar Jan 14 '16 12:01 umbreak

@umbreak do you have particular example in mind ? how the api could look like ?

arturmkrtchyan avatar Mar 15 '16 10:03 arturmkrtchyan

It is not clear to me at this point if it is really possible considering that some resources may be not for free. At least, this comment suggests the reliable way requires a paying API.

In any case, it should be something like IbanUtil.findBIC(iban)

umbreak avatar Mar 15 '16 13:03 umbreak

It's indeed impossible without proper reference data. You need to map between national banking identifier code and BIC (SWIFT-Code). For some countries, there may be appropriate data available (Switzerland: http://www.six-interbank-clearing.com/de/home/bank-master-data/download-bc-bank-master.html). There seem to be attempts to crawl this data from websites (https://github.com/PeterNotenboom/SwiftCodes) but I don't see how to map from IBAN to BIC given this data. Also, this data may change frequently.

reva avatar Dec 12 '16 15:12 reva