mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 16:43:08 +00:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 balancesheet`
|
|
|
|
- Show just the liquid assets (`Cash` account type):
|
|
|
|
`hledger balancesheet type:C`
|
|
|
|
- Include accounts with zero balances, and show the account hierarchy:
|
|
|
|
`hledger balancesheet --empty --tree`
|
|
|
|
- Show the balances at the end of each month:
|
|
|
|
`hledger balancesheet --monthly`
|
|
|
|
- Show the balances' market value in home currency at the end of each month:
|
|
|
|
`hledger balancesheet --monthly -V`
|
|
|
|
- Show quarterly balances, with just the top two levels of account hierarchy:
|
|
|
|
`hledger balancesheet --quarterly --tree --depth 2`
|
|
|
|
- Short form of the above, and generate HTML output in `bs.html`:
|
|
|
|
`hledger bs -Qt -2 -o bs.html`
|