BIC generator - Generate BIC from IBAN bank account number

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2012-10-30T08:41:57Z Indexed on 2013/11/05 9:54 UTC
Read the original article Hit count: 546

Filed under:
|

Is there any existing library or script I can use to generate the BIC code from an IBAN bank account number (and other necessary information)?

I've searched the web, but found only IBAN generators.

Thanks in advance!

Edit: Solution for Belgian IBAN's

There exists a webservice for Belgian iban numbers, it's very easy to get the bic from the iban bank account number.

        $client = new SoapClient('http://www.ibanbic.be/IBANBIC.asmx?WSDL');
        $bban = $client->getBelgianBBAN(array('Value' => $iban))->getBelgianBBANResult;
        $bic = $client->BBANtoBIC(array('Value' => $bban))->BBANtoBICResult;

I've searched for a dutch webservice aswell, but I couldn't find one. But you can always make one yourself with the data from http://www.betaalvereniging.nl/europees-betalen/sepa-documentatie/bic-afleiden-uit-iban/

© Stack Overflow or respective owner

Related posts about php

Related posts about iban