coda-to-excel
Parse Belgian Febelfin CODA 2.6 bank statement files (.cod, .coda) offline into clean Python dicts, CSV, Xero CSV, QuickBooks/Sage CSV, or JSON — with automatic Belgian structured communication (+++xxx/xxxx/xxxxx+++) decoding and opening/closing balance verification.
Works with CODA files from KBC, BNP Paribas Fortis, Belfius, ING Belgium, and any bank following the Febelfin CODA 2.6 specification.
- Pure Python, standard library only (Python 3.8+, zero dependencies)
- 100% offline — nothing uploaded, no network calls
- Parses 128-character fixed-width records (
0,1,21,22,23,31/32/33,8,9) - Extracts counterparty IBAN & name, value/booking dates, and Belgian structured references (
+++123/4567/89012+++) - Verifies
old_balance + sum(movements) == new_balance
Need Excel (
.xlsx) without installing Python? Convert CODA files directly in your browser (including multi-file.zipbatches and Excel.xlsxwith a Summary sheet): https://radarbg.com/instant/coda-to-excel
Install
pip install coda-to-excel
Python usage
import coda_to_excel as coda
accounts = coda.parse_file("statement.cod")
for acct in accounts:
print(acct["account"], acct["currency"], acct["balance_ok"])
for tx in acct["transactions"]:
print(tx["date"], tx["counterparty"], tx["amount"], tx["description"], tx["balance"])
csv_text = coda.to_csv(accounts)
xero_csv = coda.to_xero_csv(accounts)
json_text = coda.to_json(accounts)
Command line
# Convert a Belgian CODA file to standard CSV (Excel-ready)
coda-to-excel statement.cod -o statement.csv
# Export for Xero, QuickBooks Online / Sage, or JSON
coda-to-excel statement.cod --format xero -o statement-xero.csv
coda-to-excel statement.cod --format qbo -o statement-qbo.csv
coda-to-excel statement.cod --format json -o statement.json
Related online accounting tools
Metadata
Release files for coda-to-excel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coda_to_excel-0.1.0.tar.gz | 6.1 kB | Without provenance | Details for coda_to_excel-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coda_to_excel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for coda_to_excel-0.1.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / coda_to_excel-0.1.0.tar.gz
| Download URL | coda_to_excel-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6312bdea365c9f3aa6098d133bdb87ab27e3288cbb18bd9baa1f1aaec162e77
|
|
BLAKE2b-256 checksum How to use checksums |
d4911a3bb9838974335405226ae71ec8726f249aa4b0e1b094881f6b1b807575
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Release files / coda_to_excel-0.1.0-py3-none-any.whl
| Download URL | coda_to_excel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
79d11983260bbed465305620d87321f8cc24ac86eb0403021b8d8b164d16e7f5
|
|
BLAKE2b-256 checksum How to use checksums |
bc6ca5c6240e02cc0ab2342a4d4cff223ac2db8059e9bdc5c67314d6f90be721
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|
Security for coda-to-excel 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.