MT940 (Dutch banks only)

![http://travis-ci.org/dovadi/mt940](https://secure.travis-ci.org/dovadi/mt940.png)

Basis parser for MT940 files, see MT940. This library is only meant for collecting the transactions. No bank statements or balance (previous or new) is determined.

The following Dutch banks are implemented with support for IBAN numbers:

Usage

With the file name as argument:

file_name = '/Users/dovadi/Downloads/ing.940'

@transactions = MT940::Parser.new(file_name).transactions

or with the file itself:

file_name = '/Users/dovadi/Downloads/ing.940'

file = File.open(file_name)

@transactions = MT940::Parser.new(file).transactions

(Pre sepa: with the Rabobank the contra_account owner is extracted as well)

Running tests

bundle install

bundle exec rake test

Contributing to MT940

Copyright

Copyright © 2014 Frank Oxener. See LICENSE.txt for further details.