Project

norma43

0.0
No commit activity in last 3 years
No release in over 3 years
A parser for norma43 files, a standard from the spanish banking industry for account movements)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme
Parser for NORMA43 Files. (a standard from the spanish banking industry for account movements)

Install
=======

gem install norma43


Usage
=====

require 'rubygems'
require 'norma43'

data = Norma43.read(PATH_TO_FILE, "iso-8859-1")

Second parameter is the encoding of the .n43 file. As spanish banks continue in 20th Century, default is iso-8859-1.


Data format (excerpt from data.to_yaml)
===========
:info: 
  :end_date: 2011-03-20
  :account: 
    :bank: 1234
    :office: "1234"
    :number: 1234567890
    :control: ??
  :final_balance: 4469.33
  :initial_balance: 10593.16
  :account_owner: YOUR NAME OR COMPANY
  :currency: "978"
  :begin_date: 2011-03-01
:movements: 
  - :operation_date: 2011-03-01
    :concept: TRANSFERENC. A MR. POSTMAN
    :value_date: 2011-03-01
    :office: 0901
    :operation: "0000000000"
    :reference_1: "000000000000"
    :reference_2: ""
    :amount: 927.0
  - :operation_date: 2011-03-01
    :concept: TRANSFERENC. A MRS. ROBINSON
    :value_date: 2011-03-01
    :office: 0901
    :operation: "0000000000"
    :reference_1: "000000000000"
    :reference_2: ""
    :amount: 1274.09
  - :operation_date: 2011-03-04
    :concept: TARJ.CREDITO SANDMAN
    :value_date: 2011-03-04
    :office: 0901
    :operation: "0000000000"
    :reference_1: "281034520913"
    :reference_2: "1234123412341234"
    :amount: 1177.81


CHANGELOG
=========

0.2 - June 20, 2011
    - Encoding of input files


0.1 - June 15, 2011
    - Initial version, most of parsing