hledger-0.8: A command-line (or curses or web-based) double-entry accounting tool.Source codeContentsIndex
Ledger.Posting
Description
A Posting represents a MixedAmount being added to or subtracted from a single Account. Each Transaction contains two or more postings which should add up to 0. Postings also reference their parent transaction, so we can get a date or description for a posting (from the transaction).
Synopsis
showPosting :: Posting -> String
isReal :: Posting -> Bool
isVirtual :: Posting -> Bool
isBalancedVirtual :: Posting -> Bool
hasAmount :: Posting -> Bool
accountNamesFromPostings :: [Posting] -> [AccountName]
sumPostings :: [Posting] -> MixedAmount
postingDate :: Posting -> Day
postingCleared :: Posting -> Bool
isPostingInDateSpan :: DateSpan -> Posting -> Bool
isEmptyPosting :: Posting -> Bool
postingsDateSpan :: [Posting] -> DateSpan
Documentation
showPosting :: Posting -> StringSource
isReal :: Posting -> BoolSource
isVirtual :: Posting -> BoolSource
isBalancedVirtual :: Posting -> BoolSource
hasAmount :: Posting -> BoolSource
accountNamesFromPostings :: [Posting] -> [AccountName]Source
sumPostings :: [Posting] -> MixedAmountSource
postingDate :: Posting -> DaySource
postingCleared :: Posting -> BoolSource
isPostingInDateSpan :: DateSpan -> Posting -> BoolSource
Does this posting fall within the given date span ?
isEmptyPosting :: Posting -> BoolSource
postingsDateSpan :: [Posting] -> DateSpanSource
Get the minimal date span which contains all the postings, or DateSpan Nothing Nothing if there are none.
Produced by Haddock version 2.6.0