;doc:bs,bse,cf,is: update sample output

This commit is contained in:
Simon Michael 2024-04-11 11:13:18 -10:00
parent d08ec64b7d
commit e2cc2a70ac
4 changed files with 71 additions and 68 deletions

View File

@ -19,24 +19,25 @@ Example:
```cli ```cli
$ hledger balancesheet $ hledger balancesheet
Balance Sheet Balance Sheet 2008-12-31
Assets: || 2008-12-31
$-1 assets ====================++============
$1 bank:saving Assets ||
$-2 cash --------------------++------------
-------------------- assets:bank:saving || $1
$-1 assets:cash || $-2
--------------------++------------
Liabilities: || $-1
$1 liabilities:debts ====================++============
-------------------- Liabilities ||
$1 --------------------++------------
liabilities:debts || $-1
Total: --------------------++------------
-------------------- || $-1
0 ====================++============
``` Net: || 0
```
This command is a higher-level variant of the [`balance`](#balance) command, This command is a higher-level variant of the [`balance`](#balance) command,
and supports many of that command's features, such as multi-period reports. and supports many of that command's features, such as multi-period reports.

View File

@ -17,28 +17,29 @@ Or if no such accounts are declared, it shows top-level accounts named
Example: Example:
```cli ```cli
$ hledger balancesheetequity $ hledger balancesheetequity
Balance Sheet With Equity Balance Sheet With Equity 2008-12-31
Assets: || 2008-12-31
$-2 assets ====================++============
$1 bank:saving Assets ||
$-3 cash --------------------++------------
-------------------- assets:bank:saving || $1
$-2 assets:cash || $-2
--------------------++------------
Liabilities: || $-1
$1 liabilities:debts ====================++============
-------------------- Liabilities ||
$1 --------------------++------------
liabilities:debts || $-1
Equity: --------------------++------------
$1 equity:owner || $-1
-------------------- ====================++============
$1 Equity ||
--------------------++------------
Total: --------------------++------------
-------------------- || 0
0 ====================++============
Net: || 0
``` ```
This command is a higher-level variant of the [`balance`](#balance) command, This command is a higher-level variant of the [`balance`](#balance) command,
@ -46,9 +47,12 @@ and supports many of that command's features, such as multi-period reports.
It is similar to `hledger balance -H assets liabilities equity`, It is similar to `hledger balance -H assets liabilities equity`,
but with smarter account detection, and liabilities/equity displayed with but with smarter account detection, and liabilities/equity displayed with
their sign flipped. their sign flipped.
It is the easiest way to see if the [accounting equation] is satisfied (A+L+E = 0).
This command also supports the This command also supports the
[output destination](hledger.html#output-destination) and [output destination](hledger.html#output-destination) and
[output format](hledger.html#output-format) options [output format](hledger.html#output-format) options
The output formats supported are The output formats supported are
`txt`, `csv`, `tsv`, `html`, and `json`. `txt`, `csv`, `tsv`, `html`, and `json`.
[accounting equation]: https://plaintextaccounting.org/FAQ#what-is-the-accounting-equation

View File

@ -2,7 +2,7 @@
(cf) (cf)
This command displays a [cashflow statement](https://en.wikipedia.org/wiki/Cash_flow_statement), This command displays a (simple) [cashflow statement](https://en.wikipedia.org/wiki/Cash_flow_statement),
showing the inflows and outflows affecting "cash" (ie, liquid, easily convertible) assets. showing the inflows and outflows affecting "cash" (ie, liquid, easily convertible) assets.
Amounts are shown with normal positive sign, as in conventional Amounts are shown with normal positive sign, as in conventional
financial statements. financial statements.
@ -25,18 +25,16 @@ and their subaccounts.
An example cashflow report: An example cashflow report:
```cli ```cli
$ hledger cashflow $ hledger cashflow
Cashflow Statement Cashflow Statement 2008
Cash flows: || 2008
$-1 assets ====================++======
$1 bank:saving Cash flows ||
$-2 cash --------------------++------
-------------------- assets:bank:saving || $1
$-1 assets:cash || $-2
--------------------++------
Total: || $-1
--------------------
$-1
``` ```
This command is a higher-level variant of the [`balance`](#balance) command, This command is a higher-level variant of the [`balance`](#balance) command,

View File

@ -18,25 +18,25 @@ Or if no such accounts are declared, it shows top-level accounts named
Example: Example:
```cli ```cli
$ hledger incomestatement $ hledger incomestatement
Income Statement Income Statement 2008
Revenues: || 2008
$-2 income ===================++======
$-1 gifts Revenues ||
$-1 salary -------------------++------
-------------------- income:gifts || $1
$-2 income:salary || $1
-------------------++------
Expenses: || $2
$2 expenses ===================++======
$1 food Expenses ||
$1 supplies -------------------++------
-------------------- expenses:food || $1
$2 expenses:supplies || $1
-------------------++------
Total: || $2
-------------------- ===================++======
0 Net: || 0
``` ```
This command is a higher-level variant of the [`balance`](#balance) command, This command is a higher-level variant of the [`balance`](#balance) command,