hledger-lib
Safe HaskellNone
LanguageGHC2021

Hledger.Reports.EntriesReport

Contents

Description

Journal entries report, used by the print command.

Synopsis

Documentation

type EntriesReport = [EntriesReportItem] Source #

A journal entries report is a list of whole transactions as originally entered in the journal (mostly). This is used by eg hledger's print command and hledger-web's journal entries view.

entriesReport :: ReportSpec -> Journal -> EntriesReport Source #

Select transactions for an entries report, sorted by date.

entriesReportUnsorted :: ReportSpec -> Journal -> EntriesReport Source #

Select transactions for an entries report, keeping their journal order. The query's change: and balance: terms, if any, are both tested against each entry's sum of postings (an entry has no balance), converted to cost as in transaction balancing (see transactionBalancingSum), regardless of valuation and --invert.

Tests