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


Download files

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

Source Distribution

febelfin-coda-0.3.0.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

febelfin_coda-0.3.0-py3-none-any.whl (62.4 kB view details)

Uploaded Python 3

File details

Details for the file febelfin-coda-0.3.0.tar.gz.

File metadata

  • Download URL: febelfin-coda-0.3.0.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for febelfin-coda-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dcdd86ab7499d2994d8f4546781108c8f399d8194a03ab0cb1c2ab5b7304fb63
MD5 3d634de1d35f127c35c33c200f81ca67
BLAKE2b-256 f6e35470f9a5a7e2356c2792f896b4dc95ae2af2ee23406b6dfd7b544faa78e7

See more details on using hashes here.

File details

Details for the file febelfin_coda-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for febelfin_coda-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91d4bb87d3bd1ab23f6383ef44074a9c508e4c10568daeded0371802a3c61f28
MD5 024eb3d279efc9a31754a20bb95bf6d2
BLAKE2b-256 94b7592a8d590867b9c88aaf97186bcd10db9ee8543e6d5d88f889ab3ee5f2f3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page