The hledger package

hledger reads a plain text ledger file or timelog
describing your transactions and displays precise
balance and register reports via command-line, curses
or web interface. It is a remix, in haskell, of John
Wiegley's excellent c++ ledger. hledger aims to be a
practical, accessible tool for end users and a useful
library for finance-minded haskell programmers.