Standard options for customising report filtering and output. Most of these correspond to standard hledger command-line options or query arguments, but not all. Some are used only by certain commands, as noted below.
Constructors
ReportOptsperiod_ :: Periodinterval_ :: Intervalstatuses_ :: [Status]Zero, one, or two statuses to be matched
conversionop_ :: Maybe ConversionOpWhich operation should we apply to conversion transactions?
value_ :: Maybe ValuationTypeWhat value should amounts be converted to ?
infer_prices_ :: BoolInfer market prices from transactions ?
depth_ :: DepthSpecdate2_ :: Boolempty_ :: Boolno_elide_ :: Boolreal_ :: Boolformat_ :: StringFormatbalance_base_url_ :: Maybe Textpretty_ :: Boolquerystring_ :: [Text]average_ :: Boolsortspec_ :: SortSpectxn_dates_ :: Boolbalancecalc_ :: BalanceCalculationWhat to calculate in balance report cells
balanceaccum_ :: BalanceAccumulationHow to accumulate balance report values over time
budgetpat_ :: Maybe TextA case-insensitive description substring to select periodic transactions for budget reports. (Not a regexp, nor a full hledger query, for now.)
accountlistmode_ :: AccountListModedrop_ :: Intdeclared_ :: BoolInclude accounts declared but not yet posted to ?
row_total_ :: Boolno_total_ :: Boolsummary_only_ :: Boolshow_costs_ :: BoolShow costs for reports which normally don't show them ?
sort_amount_ :: Boolpercent_ :: Boolinvert_ :: BoolFlip all amount signs in reports ?
normalbalance_ :: Maybe NormalSignThis can be set when running balance reports on a set of accounts with the same normal balance type (eg all assets, or all incomes). - It helps --sort-amount know how to sort negative numbers (eg in the income section of an income statement) - It helps compound balance report commands (is, bs etc.) do sign normalisation, converting normally negative subreports to normally positive for a more conventional display.
color_ :: BoolWhether to use ANSI color codes in text output. Influenced by the --color/colour flag (cf CliOptions), whether stdout is an interactive terminal, and the value of TERM and existence of NO_COLOR environment variables.
transpose_ :: Boollayout_ :: Layout
Instances4Show, Default, HasReportOpts, HasReportOptsNoUpdate
Show ReportOptsDefined in hledger-lib-1.52.4 · Hledger.Reports.ReportOptionsDefault ReportOptsDefined in hledger-lib-1.52.4 · Hledger.Reports.ReportOptionsHasReportOpts ReportOptsDefined in hledger-lib-1.52.4 · Hledger.Reports.ReportOptionsHasReportOptsNoUpdate ReportOptsDefined in hledger-lib-1.52.4 · Hledger.Reports.ReportOptions