Skip to main content

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

fix_commbank_ofx-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

fix_commbank_ofx-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file fix_commbank_ofx-0.1.1.tar.gz.

File metadata

  • Download URL: fix_commbank_ofx-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.2

File hashes

Hashes for fix_commbank_ofx-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b918aff699a4b7353bca8e6743144d6910a4a45b554f75c786e45875db4ac963
MD5 47bcf4548e1e304b2ec6a4127f78d89e
BLAKE2b-256 b1b291f7dcf9548f707fdac9c9f35d7f4f93c759b37cc5643b1a916efdfa9b4b

See more details on using hashes here.

File details

Details for the file fix_commbank_ofx-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fix_commbank_ofx-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 222fbdf5c893ef6ec692ce94e628162746571c5bb5d0ae9e63db89f05273e31a
MD5 b9823265e099b1a5d0002b9b8025c33c
BLAKE2b-256 579bf3b2ae8846f6af2c54388b742819b5ce3961a440ec29aa9c07577265fdfe

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