Accounts
The Accounts report shows every account in your journal, one row per account and one column per period. These are the raw figures the statements are built from, before any grouping, sections or valuation.
Accounts are grouped by type, and each type shows different figures:
| Section | Each period’s column | The last column |
|---|---|---|
| Assets, Liabilities | the balance at the end of the period, everything before it included | Δ: how much the balance changed from the start of the first period to the end of the last |
| Equity, Revenue, Expenses | what moved in the period | Total: the sum of the periods |
Every figure in a Δ column is marked “Δ”, so you can tell a change from a balance. Each section has a total row, and there is no grand total, because adding balances to movements means nothing. Accounts with no type declared and none that can be inferred are listed under Other accounts and read as movements.
Amounts are shown as written, one line per commodity, and are not valued into one currency. Signs are hledger’s: revenue and liabilities are negative.
Controls
Accounts uses the same window as Cash flow: From, To and Interval (Total, Monthly, Quarterly or Yearly), and the two tabs share the range, so switching between them keeps it. The depth slider rolls the tree up to fewer levels. It never changes a section’s totals. Show empty accounts adds every account the journal declares or has ever posted to, as zero rows where nothing moved.
The Accounts dropdown narrows the table to the accounts you tick. It’s the
same picker as the journal’s filter, with a search box at the top. Ticking an
account keeps it and everything under it, so ticking expenses:food keeps
groceries and restaurants. Sections with nothing ticked drop out, and each
total becomes Total selected …, summed over the ticked accounts alone. The
export holds what the table shows.
Any row with accounts under it has an arrow. Click the arrow to fold those rows away, and click it again to bring them back. Collapse all and Expand all do every row at once. A folded row still shows its full total. Folded rows and ticked accounts stay as they are when you change the dates or the depth.
The hledger commands
The asset and liability columns are hledger balance -H -M (each period’s
closing balance). The other columns, and every row’s last column, are
hledger balance -M -T. Both use the same --tree --depth and no --value.
The same report over a projection is the Accounts reading on Projections.