A flexible, general purpose “summing” report that shows accounts with some kind of numeric data. This can be balance changes per period, end balances, budget performance, unrealised capital gains, etc. More information: https://hledger.org/hledger.html#balance.
hledger balance
*expenses*
, as a tree, summarising the top two levels only:hledger balance expenses --tree --depth 2
hledger balance expenses --monthly --row-total --average --sort-amount --budget
Expense
type, as a two level tree without squashing boring accounts:hledger bal type:X -MTAS --budget -t -2 --no-elide
*assets*
or *liabilities*
:hledger balance --historical --period 'quarterly in 2024' assets liabilities
hledger bal -HQ date:2024 type:AL -ES -3
hledger bal -HVQ assets:investments
hledger bal --gain -Q assets:investments not:cryptocurrency