LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hledger-balancesheet

shows a standard balance sheet report

TLDR

Show balance sheet
$ hledger balancesheet
copy
Monthly comparison
$ hledger balancesheet -M
copy
Yearly comparison
$ hledger balancesheet -Y
copy
Show as percentages
$ hledger balancesheet --percent
copy
Tree view
$ hledger balancesheet --tree
copy

SYNOPSIS

hledger balancesheet [options]

DESCRIPTION

hledger balancesheet shows a standard balance sheet report. It displays assets, liabilities, and calculates net worth.The report follows accounting conventions with assets on one side and liabilities on the other. Net worth is assets minus liabilities.

PARAMETERS

-M, --monthly

Monthly breakdown.
-Q, --quarterly
Quarterly breakdown.
-Y, --yearly
Yearly breakdown.
--tree
Hierarchical view.
--flat
Flat list view.
--percent
Show percentages.
-H, --historical
Show period-ending balances (accumulating). The default is period-change balances.
--cumulative
Show cumulative balances from the report start, ignoring any opening balances.
-T, --row-total
Add a per-row Total column.
-A, --average
Add a per-row Average column.
--no-total
Omit the final Total row.
-d, --depth N
Aggregate beyond depth N of the account tree.
--pretty
Use Unicode box-drawing characters.
--transpose
Swap rows and columns.
--invert
Flip the sign on all amounts.
-b DATE
Begin date.
-e DATE
End date.
-o, --output-file FILE
Write output to FILE (format inferred from extension).
-O, --output-format FMT
Force output format: `txt`, `csv`, `tsv`, `html`, `json`, `fods`, `sql`.
--help
Display help information.

CAVEATS

Requires accounts that match the queries `type:A` (assets) and `type:L` (liabilities), or top-level accounts named `assets` / `liabilities`. If equity accounts exist, consider hledger balancesheetequity for the full three-section statement. Alias: bs.

HISTORY

Balancesheet is a standard report in hledger for viewing financial position at a point in time.

SEE ALSO

Copied to clipboard
Kai