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 | |
|---|---|---|---|
| fix_commbank_ofx-0.1.3.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fix_commbank_ofx-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|