hledger-0.2: A ledger-compatible text-based accounting tool.

Ledger.Transaction

Description

A Transaction is a RawTransaction with its parent Entry 's date and description attached. These are what we actually query when doing reports.

Synopsis

Documentation

flattenEntry :: (Entry, Int) -> [Transaction]Source

Convert a Entry to two or more Transactions. An id number is attached to the transactions to preserve their grouping - it should be unique per entry.