Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to convert BIC & IBAN to account and sortcode

Tags:

banking

iban

Now that SEPA requirements are getting people used to BIC & IBAN, there are legacy system that cannot cope with this new data. Is there an algorithm or tool available for converting BIC & IBAN back to sort code and account?

like image 229
Bartley Avatar asked Jan 23 '14 09:01

Bartley


2 Answers

Here is an example: enter image description here

from this website.

like image 199
YJ. Yang Avatar answered Sep 23 '22 13:09

YJ. Yang


Wikipedia has a list of IBAN formats by country, so it seems at least possible.

However, there is no complete algorithm for it - being a software developer, you can derive an algorithm from that input. Note that other countries might follow in the future, so you can expect more work (and hopefully not more exceptional cases of sort codes and accounts).

Regarding the tool or library, that's off-topic here on StackOverflow, but you might want to ask on Software Recommendations, though. Note that they have different requirements on how to ask questions, so you might want to read the tour first. Don't forget to mention the programming language.

like image 41
Thomas Weller Avatar answered Sep 22 '22 13:09

Thomas Weller