LinuxCommandLibrary

hledger-balance

shows account balances from the journal

TLDR

Show all balances

$ hledger balance
copy
Show assets only
$ hledger balance assets
copy
Show with hierarchy
$ hledger balance --tree
copy
Show flat list
$ hledger balance --flat
copy
Monthly breakdown
$ hledger balance -M
copy
Show percentages
$ hledger balance --percent
copy

SYNOPSIS

hledger balance [options] [patterns]

DESCRIPTION

hledger balance shows account balances from the journal. It summarizes debits and credits across all matching accounts.
The command supports filtering by account pattern, time period, and display format. It's the primary tool for checking financial status.

PARAMETERS

PATTERNS

Account name patterns.
--tree
Hierarchical display.
--flat
Flat account list.
-M, --monthly
Monthly breakdown.
-Q, --quarterly
Quarterly breakdown.
-Y, --yearly
Yearly breakdown.
--percent
Show percentages.
--depth N
Limit account depth.
--help
Display help information.

CAVEATS

Zero balances hidden by default. Requires valid journal. Part of hledger suite.

HISTORY

Balance is a core command in hledger for displaying account summaries in plain text accounting.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community