The ofx package

[ Tags: bsd3, finance, library, program ] [ Propose Tags ]

A parser for Open Financial Exchange (OFX) financial data. This handles OFX version 1.03, which is documented at This also handles QFX, which is OFX plus some minor additions made by Intuit, the publishers of Quicken.

The parser will place all the data into a tree, which you can query for whatever data you may need, although you will need to be familiar with the OFX spec to do this. There is also a Transaction type which you can easily parse from the tree; this will contain most, perhaps all, of the data you will be interested in if your OFX file is from a bank or credit card account.

All the OFX and QFX files I have seen use the format from the 1.0 series of OFX, which is primarily SGML based. OFX version 2 is XML based. This parser likely will not work on those files.


Dependencies base (>=4.8 && <5), parsec (>=3.1), pretty (>=1.1), time (>=1.4) [details]
License BSD3
Copyright Copyright (c) 2016 Omari Norman
Author Omari Norman
Category Finance
Home page
Bug tracker
Source repository head: git clone
Uploaded Wed Jul 13 01:19:08 UTC 2016 by OmariNorman
Distributions Debian:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Executables renderTransactions, renderOfx
Downloads 1984 total (509 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-07-13 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees