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.

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.0.tar.gz (2.9 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.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fix_commbank_ofx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e0ee8a2e68407293efca2e9aa70ebf79ac3142f85495a48cca01f6c862bcb4b4
MD5 7c942496be3422f7b5439a99d8a666ae
BLAKE2b-256 d279350bdf3357a13125e45c38a783e28c896ff001d4daed54e1c518cd6c845a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fix_commbank_ofx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d64ea2cfe3e7bad2f6399940dd6ad07ba576fedf283ed8158be11c1a62f12bdc
MD5 387fd82d22555bd4e5f28e5fa45d588c
BLAKE2b-256 4adab3d4834508c6487c32ee0142fa432e0d554d8f17a3789709cb05f6002d0b

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