Skip to main content

A module to parse CODA files

Project description

febelfin-coda is a parser for CODA files.

Nutshell

Import:

>>> import os
>>> from coda import CODA

Instantiate:

>>> coda = CODA('coda/CODA.txt')

The statements:

>>> len(coda.statements)
1
>>> statement, = coda.statements
>>> statement.account
'435000000080'
>>> statement.account_currency
'EUR'
>>> statement.old_balance
Decimal('0')
>>> statement.old_balance_date
datetime.date(2006, 12, 6)
>>> statement.new_balance
Decimal('9405296.99')
>>> statement.new_balance_date
datetime.date(2006, 12, 7)

The transactions:

>>> len(statement.moves)
59
>>> move = statement.moves[0]
>>> move.value_date
datetime.date(2006, 12, 6)
>>> move.entry_date
datetime.date(2006, 12, 6)
>>> move.amount
Decimal('-2578.25')
>>> move.bank_reference
'EPIB00048 AWIUBTKAPUO'
>>> move.transaction_code
'00799000'
>>> move.communication
"BORDEREAU DE DECOMPTE AVANCES    015 NUMERO D'OPERATION 495953"

To report issues please visit the coda bugtracker.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
febelfin_coda-0.1.0-py2-none-any.whl (17.4 kB) Copy SHA256 hash SHA256 Wheel 2.7
febelfin_coda-0.1.0-py3-none-any.whl (17.4 kB) Copy SHA256 hash SHA256 Wheel 3.4
febelfin-coda-0.1.0.tar.gz (15.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page