2024-05-24 08:57:36 -10:00
|
|
|
# hledger balancesheet
|
|
|
|
|
|
|
|
> Show the end balances in asset and liability accounts.
|
2024-05-29 22:41:08 -10:00
|
|
|
> Amounts are shown with normal positive sign, as in conventional financial statements.
|
2024-05-24 08:57:36 -10:00
|
|
|
> More information: <https://hledger.org/hledger.html#balancesheet>.
|
|
|
|
|
2024-05-29 22:41:08 -10:00
|
|
|
- Show the current balances in `Asset` and `Liability` accounts, excluding zeros:
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2024-05-29 22:41:08 -10:00
|
|
|
- Show just the liquid assets (`Cash` account type):
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} type:C`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Include accounts with zero balances, and show the account hierarchy:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} {{[-E|--empty]}} {{[-t|--tree]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Show the balances at the end of each month:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} {{[-M|--monthly]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Show the balances' market value in home currency at the end of each month:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} {{[-M|--monthly]}} {{[-V|--market]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Show quarterly balances, with just the top two levels of account hierarchy:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-05-04 10:20:26 +03:00
|
|
|
- Same as above above, and generate HTML output in `bs.html`:
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-05-04 10:20:26 +03:00
|
|
|
`hledger {{[bs|balancesheet]}} {{[-Qt|--quarterly --tree]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} bs.html`
|