;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
$ hledger balancesheet
Balance Sheet
Balance Sheet 2008-12-31
Assets:
$-1 assets
$1 bank:saving
$-2 cash
--------------------
$-1
Liabilities:
$1 liabilities:debts
--------------------
$1
Total:
--------------------
0
```
|| 2008-12-31
====================++============
Assets ||
--------------------++------------
assets:bank:saving || $1
assets:cash || $-2
--------------------++------------
|| $-1
====================++============
Liabilities ||
--------------------++------------
liabilities:debts || $-1
--------------------++------------
|| $-1
====================++============
Net: || 0
```
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.

View File

@ -17,28 +17,29 @@ Or if no such accounts are declared, it shows top-level accounts named
Example:
```cli
$ hledger balancesheetequity
Balance Sheet With Equity
Balance Sheet With Equity 2008-12-31
Assets:
$-2 assets
$1 bank:saving
$-3 cash
--------------------
$-2
Liabilities:
$1 liabilities:debts
--------------------
$1
Equity:
$1 equity:owner
--------------------
$1
Total:
--------------------
0
|| 2008-12-31
====================++============
Assets ||
--------------------++------------
assets:bank:saving || $1
assets:cash || $-2
--------------------++------------
|| $-1
====================++============
Liabilities ||
--------------------++------------
liabilities:debts || $-1
--------------------++------------
|| $-1
====================++============
Equity ||
--------------------++------------
--------------------++------------
|| 0
====================++============
Net: || 0
```
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`,
but with smarter account detection, and liabilities/equity displayed with
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
[output destination](hledger.html#output-destination) and
[output format](hledger.html#output-format) options
The output formats supported are
`txt`, `csv`, `tsv`, `html`, and `json`.
[accounting equation]: https://plaintextaccounting.org/FAQ#what-is-the-accounting-equation

View File

@ -2,7 +2,7 @@
(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.
Amounts are shown with normal positive sign, as in conventional
financial statements.
@ -25,18 +25,16 @@ and their subaccounts.
An example cashflow report:
```cli
$ hledger cashflow
Cashflow Statement
Cashflow Statement 2008
Cash flows:
$-1 assets
$1 bank:saving
$-2 cash
--------------------
$-1
Total:
--------------------
$-1
|| 2008
====================++======
Cash flows ||
--------------------++------
assets:bank:saving || $1
assets:cash || $-2
--------------------++------
|| $-1
```
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:
```cli
$ hledger incomestatement
Income Statement
Income Statement 2008
Revenues:
$-2 income
$-1 gifts
$-1 salary
--------------------
$-2
Expenses:
$2 expenses
$1 food
$1 supplies
--------------------
$2
Total:
--------------------
0
|| 2008
===================++======
Revenues ||
-------------------++------
income:gifts || $1
income:salary || $1
-------------------++------
|| $2
===================++======
Expenses ||
-------------------++------
expenses:food || $1
expenses:supplies || $1
-------------------++------
|| $2
===================++======
Net: || 0
```
This command is a higher-level variant of the [`balance`](#balance) command,