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.2.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.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fix_commbank_ofx-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3ad3977282474635aa9ec7e756d6dd04b9599ae7779276e35dcc596d8e5fc287
MD5 723dd6aa7054668d7c6b75e0642d45d1
BLAKE2b-256 5e423c56566312007bafd74ebc7241fb52435435a602098e80ba80df2f721398

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fix_commbank_ofx-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62a7ab1fd3892917550bb26e829cdeba1add53aad164349138df8156a29c1f70
MD5 3d40039ffe36e6db6a4acfd60c0c9fc6
BLAKE2b-256 8b19b517838e55534a8eae03b72d8e501f568afa4f9bf0604fd3ca2942d11c08

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