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.4.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

febelfin_coda-0.4.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file febelfin_coda-0.4.1.tar.gz.

File metadata

  • Download URL: febelfin_coda-0.4.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for febelfin_coda-0.4.1.tar.gz
Algorithm Hash digest
SHA256 533434d43ff36fe238afbcbb66bc96a91c2bc2c8b91be5d0d8bbf5633453ed8c
MD5 61fec25af0b3743b1cc7d1f75320e15a
BLAKE2b-256 365906bebe3c91c7270022613c135614ef4961e6dc732e699373f60e3026b207

See more details on using hashes here.

File details

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

File metadata

  • Download URL: febelfin_coda-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for febelfin_coda-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bef91208f08437406122e6bd83e015ab8c205495785d21ef2e2109c8deab2e87
MD5 05167bf1a0eaeed10a17df40985b3ffd
BLAKE2b-256 11ff8c69fbdd8ef90d7cbc19e7122df8637948d4a421ca1304737738961b03f6

See more details on using hashes here.

Supported by

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