hledger/hledger/Hledger/Cli/Commands/Cashflow.md
2020-07-19 11:15:50 -07:00

44 lines
1.3 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
```
With a [reporting interval](#reporting-interval), multiple columns
will be shown, one for each report period.
Normally cashflow shows changes in assets per period, though
as with [multicolumn balance reports](#multicolumn-balance-reports)
you can alter the report mode with `--change`/`--cumulative`/`--historical`.
Instead of absolute values [percentages](#percentages) can be displayed
with `-%`.
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`.