snippetbashTip
hledger balancesheet — Show the end balances in asset and liability accounts. Amounts are shown with normal positive sign,
Viewed 0 times
thecommandendassetshowclihledger balancesheetbalances
Problem
How to use the
hledger balancesheet command: Show the end balances in asset and liability accounts. Amounts are shown with normal positive sign, as in conventional financial statements. More information: <https://hledger.org/hledger.html#balancesheet>.Solution
hledger balancesheet — Show the end balances in asset and liability accounts. Amounts are shown with normal positive sign, as in conventional financial statements. More information: <https://hledger.org/hledger.html#balancesheet>.Show the current balances in
Asset and Liability accounts, excluding zeros:hledger {{[bs|balancesheet]}}Show just the liquid assets (
Cash account type):hledger {{[bs|balancesheet]}} type:CInclude accounts with zero balances, and show the account hierarchy:
hledger {{[bs|balancesheet]}} {{[-E|--empty]}} {{[-t|--tree]}}Show the balances at the end of each month:
hledger {{[bs|balancesheet]}} {{[-M|--monthly]}}Show the balances' market value in home currency at the end of each month:
hledger {{[bs|balancesheet]}} {{[-M|--monthly]}} {{[-V|--market]}}Show quarterly balances, with just the top two levels of account hierarchy:
hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}Same as above, and generate HTML output in
bs.html:hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} bs.htmlCode Snippets
Show the current balances in `Asset` and `Liability` accounts, excluding zeros
hledger {{[bs|balancesheet]}}Show just the liquid assets (`Cash` account type)
hledger {{[bs|balancesheet]}} type:CInclude accounts with zero balances, and show the account hierarchy
hledger {{[bs|balancesheet]}} {{[-E|--empty]}} {{[-t|--tree]}}Show the balances at the end of each month
hledger {{[bs|balancesheet]}} {{[-M|--monthly]}}Show the balances' market value in home currency at the end of each month
hledger {{[bs|balancesheet]}} {{[-M|--monthly]}} {{[-V|--market]}}Context
tldr-pages: common/hledger balancesheet
Revisions (0)
No revisions yet.