1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-01 18:15:30 +02:00
tldr/pages/common/hledger-incomestatement.md
Managor 79b8d3e3b8
*: replace … with individual dots and refresh pages (#16368)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2025-05-04 10:20:26 +03:00

21 lines
862 B
Markdown

# hledger incomestatement
> Show revenue inflows and expense outflows during the report period.
> Amounts are shown with normal positive sign, as in conventional financial statements.
> More information: <https://hledger.org/hledger.html#incomestatement>.
- Show revenues and expenses (changes in `Revenue` and `Expense` accounts):
`hledger {{[is|incomestatement]}}`
- Show revenues and expenses each month:
`hledger {{[is|incomestatement]}} {{[-M|--monthly]}}`
- Show monthly revenues/expenses/totals, largest first, summarised to 2 levels:
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}`
- Same as above, and generate HTML output in `is.html`:
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} is.html`