从IBAN银行帐号生成BIC [英] Generate BIC from IBAN bank account number
问题描述
是否可以使用现有的库或脚本从IBAN银行帐号(和其他必要信息)生成BIC代码?
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)?
我已经在网上搜索过,但是只找到了IBAN生成器.
I've searched the web, but found only IBAN generators.
提前谢谢!
推荐答案
比利时IBAN银行帐号的解决方案:
Solution for Belgian IBAN bank account numbers:
存在一个用于比利时iban号码的网络服务,从iban银行帐号中获取bic非常容易.
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;
我也搜索了荷兰的Web服务,但是找不到.但是,您始终可以使用 http://://www.betaalvereniging.nl/europees-betalen/sepa-documentatie/bic-afleiden-uit-iban/
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/
这篇关于从IBAN银行帐号生成BIC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!