I think ledger[0] or hledger[1] might work for you.  The latter is a Haskell port of the former that provides an additional web-based interface.<p>[0] <a href="http:&#x2F;&#x2F;www.ledger-cli.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.ledger-cli.org&#x2F;</a>
[1] <a href="http:&#x2F;&#x2F;hledger.org" rel="nofollow">http:&#x2F;&#x2F;hledger.org</a>