hledger-0.5: A ledger-compatible text-based accounting tool.Source codeContentsIndex
A compound data type for efficiency. A Transaction is a Posting with its parent LedgerTransaction 's date and description attached. The "transaction" term is pretty ingrained in the code, docs and with users, so we've kept it. These are what we work with most of the time when doing reports.
showTransaction :: Transaction -> String
flattenLedgerTransaction :: (LedgerTransaction, Int) -> [Transaction]
accountNamesFromTransactions :: [Transaction] -> [AccountName]
sumTransactions :: [Transaction] -> MixedAmount
nulltxn :: Transaction
isTransactionInDateSpan :: DateSpan -> Transaction -> Bool
showTransaction :: Transaction -> StringSource
flattenLedgerTransaction :: (LedgerTransaction, Int) -> [Transaction]Source
Convert a LedgerTransaction to two or more Transactions. An id number is attached to the transactions to preserve their grouping - it should be unique per entry.
accountNamesFromTransactions :: [Transaction] -> [AccountName]Source
sumTransactions :: [Transaction] -> MixedAmountSource
nulltxn :: TransactionSource
isTransactionInDateSpan :: DateSpan -> Transaction -> BoolSource
Does the given transaction fall within the given date span ?
Produced by Haddock version 2.7.2