Fix Commbank OFX files
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fix_commbank_ofx-0.1.3.tar.gz.
File metadata
- Download URL: fix_commbank_ofx-0.1.3.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea024d78bed5b54509455197b9e8bb0d01f9875e4020df4794a2233be1c82b6
|
|
| MD5 |
32cbec54cf08a3dbc141a0c6ee4d9731
|
|
| BLAKE2b-256 |
2b696b84c4957f9b1d832cd538214a408c0c746e139430cd88f9695b7a2831a8
|
File details
Details for the file fix_commbank_ofx-0.1.3-py3-none-any.whl.
File metadata
- Download URL: fix_commbank_ofx-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90311e1615e7f2f0d526c4a52a246a7ee0d2d21137be81bcd0aa53d80b2a9a90
|
|
| MD5 |
9b06b297f691d0473a1b104a9031c927
|
|
| BLAKE2b-256 |
f4cae707fa8fa3b337f06857af0e0e584f50cd58fa7fa4f30c62fd86a338264f
|