hledger/hledger/Hledger/Cli/Commands/Cashflow.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

41 lines
1.2 KiB
Markdown

cashflow, cf\
This command displays a cashflow statement, showing the inflows and
outflows affecting "cash" (ie, liquid) assets.
Amounts are shown with normal positive sign, as in conventional
financial statements.
_FLAGS
The "cash" accounts shown are those accounts declared with the `Cash`
type, or otherwise all accounts under a top-level `asset` account
(case insensitive, plural allowed) which do not have `fixed`,
`investment`, `receivable` or `A/R` in their name.
Example:
```shell
$ hledger cashflow
Cashflow Statement
Cash flows:
$-1 assets
$1 bank:saving
$-2 cash
--------------------
$-1
Total:
--------------------
$-1
```
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.
It is similar to `hledger balance assets not:fixed not:investment not:receivable`,
but with smarter account detection.
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`, `html`, and (experimental) `json`.