Project

ibanomat

0.01
No release in over 3 years
Low commit activity in last 3 years
Germany only: Bankleitzahl & Kontonummer => IBAN
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.0
 Project Readme

IBANomat

Build Status Code Climate Gem Version

The gem is a Ruby wrapper for a web service of the german "Sparkasse". It calculates the IBAN for a given bank code (in German "Bankleitzahl") and bank account number ("Kontonummer"). Behind the scenes the web service returns JSON (Example here)

WARNING: I'm not affiliated in any way with the web service or the Sparkasse. The web service seems not to be official. Maybe it will be offline soon. I didn't find any terms of use on their website. Use this gem at your own risk!

Requirements

Ruby 2.0.0 or newer.

Installation

Add this line to your application's Gemfile:

gem 'ibanomat'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ibanomat

Usage

  Ibanomat.find :bank_code => '37040044', :bank_account_number => '532013000'
  # =>
  # {
  #             :bank_name => 'Commerzbank',
  #                   :bic => 'COBADEFFXXX',
  #                  :iban => 'DE89370400440532013000',
  #             :bank_code => '37040044',
  #   :bank_account_number => '0532013000',
  #           :return_code => '00'
  # }

A return_code other than '00' indicates a warning or error.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

Copyright (c) 2013-2023 Georg Ledermann, released under the MIT license