jschaedl / Iban

[Deprecated] Validating and generating international :bank: bank account numbers (IBAN)
MIT License
61 stars 25 forks source link

Correct BIC #13

Closed delassiter closed 9 years ago

delassiter commented 10 years ago

Hi,

returning the correct BIC may also be important, and (for Germany) it depends on the the IBAN-Rules. For example, rule 0005xx states, that all Commerzbank AG-accounts (BLZ **4xx*) have the BIC COBADEFFXXX, except for all comdirect-Accounts (000503).

What are your thoughts on that topic?

Cheers,

Dennis

Heart1010 commented 10 years ago

In general.... can I get the BIC Code with this class? If yes, how can I get the BIC when I have BLZ and Account number? Thanks

jschaedl commented 9 years ago

No, you can't get the BIC with this class. But have a look at the Bav lib. There you can get the BIC code with the help of the Agency class (see: https://github.com/jschaedl/Bav/blob/master/library/Bav/Bank/Agency.php)