Fix CommBank OFX
CommBank produces non-conformant OFX files by omitting the FITID field for Credit Interest transactions. This prevents the files from being imported by spec-conformant software such as ofxtools or Zoho Books.
This script fixes the non-conformant CommBank OFX files by replacing the missing FITID field values with the transaction date and the memo value. Because credit interest is only paid monthly, this is sufficient to ensure that the replacement FITID field is a valid unique identifier which can be used for its intended purpose of identifying duplicate transactions when importing statements.
Install
Install from PyPI with pip:
pip install fix-commbank-ofx
Usage
After installing the package, run the script as follows:
fix-commbank-ofx path/to/file.ofx
This will create a fixed file at:
path/to/file-fixed.ofx
Metadata
Release files for fix-commbank-ofx 0.1.3
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 |
|---|---|---|---|---|
| fix_commbank_ofx-0.1.3.tar.gz | 3.9 kB | Without provenance | Details for fix_commbank_ofx-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fix_commbank_ofx-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for fix_commbank_ofx-0.1.3-py3-none-any.whl |
Total release size: 7.8 kB
Release files / fix_commbank_ofx-0.1.3.tar.gz
| Download URL | fix_commbank_ofx-0.1.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ea024d78bed5b54509455197b9e8bb0d01f9875e4020df4794a2233be1c82b6
|
|
BLAKE2b-256 checksum How to use checksums |
2b696b84c4957f9b1d832cd538214a408c0c746e139430cd88f9695b7a2831a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Release files / fix_commbank_ofx-0.1.3-py3-none-any.whl
| Download URL | fix_commbank_ofx-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90311e1615e7f2f0d526c4a52a246a7ee0d2d21137be81bcd0aa53d80b2a9a90
|
|
BLAKE2b-256 checksum How to use checksums |
f4cae707fa8fa3b337f06857af0e0e584f50cd58fa7fa4f30c62fd86a338264f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.7.3
|
Security for fix-commbank-ofx 0.1.3
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.