hledger/hledger/Hledger/Cli/Commands/Balancesheetequity.md
Simon Michael f156375ee7 Revert "balcmds: note that csv output forces list mode (#1566)"
This reverts commit 3f6d7ba580.
CSV output doesn't force list mode, it forces full account names.
2021-06-06 18:35:01 -10:00

1.4 KiB
Raw Blame History

balancesheetequity, bse
This command displays a balance sheet, showing historical ending balances of asset, liability and equity accounts. Amounts are shown with normal positive sign, as in conventional financial statements.

_FLAGS

The asset, liability and equity accounts shown are those accounts declared with the Asset, Cash, Liability or Equity type, or otherwise all accounts under a top-level asset, liability or equity account (case insensitive, plurals allowed).

Example:

$ hledger balancesheetequity
Balance Sheet With Equity

Assets:
                 $-2  assets
                  $1    bank:saving
                 $-3    cash
--------------------
                 $-2

Liabilities:
                  $1  liabilities:debts
--------------------
                  $1

Equity:
		  $1  equity:owner
--------------------
		  $1

Total:
--------------------
                   0

This command is a higher-level variant of the balance command, and supports many of that commands features, such as multi-period reports. It is similar to hledger balance -H assets liabilities equity, but with smarter account detection, and liabilities/equity displayed with their sign flipped.

This command also supports the output destination and output format options The output formats supported are txt, csv, html, and (experimental) json.