Skip to content

florian2/konto_check

 
 

Repository files navigation

KontoCheck

Check whether a certain bic/account-no-combination can possibly be valid for a German bank,
retrieve certain infos from the blz file and search for banks matching different criteria,
convert bic/account into IBAN and BIC, test IBAN or BIC

It uses the C library konto_check (see http://sourceforge.net/projects/kontocheck/) by
Michael Plugge.

Example

An example tends to tell more than a 1000 words:

>> require "konto_check"
true

>> KontoCheck::init
1

>> KontoCheck::konto_check("52001","52250030")
true

>> KontoCheck::bank_name("10010010")
"Postbank"

>> KontoCheckRaw::iban_gen('68351976','1116232594')
["DE03683515573047232594", "DE03 6835 1557 3047 2325 94", 20, "SOLADES1SFH", "68351557", "3047232594", 9]

>> KontoCheck::iban_gen('68351976','1116232594')
"DE03683515573047232594"

License

Since the original http://www.informatik.hs-mannheim.de/konto_check/ is
licensed under LGPL, so is this module.

About

Checking german BIC/Account #s

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • Ruby 4.4%