2024-05-24 08:57:36 -10:00
|
|
|
# hledger incomestatement
|
|
|
|
|
|
|
|
> Show revenue inflows and expense outflows during the report period.
|
2024-05-29 22:41:08 -10:00
|
|
|
> Amounts are shown with normal positive sign, as in conventional financial statements.
|
2024-05-24 08:57:36 -10:00
|
|
|
> More information: <https://hledger.org/hledger.html#incomestatement>.
|
|
|
|
|
2024-05-29 22:41:08 -10:00
|
|
|
- Show revenues and expenses (changes in `Revenue` and `Expense` accounts):
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[is|incomestatement]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Show revenues and expenses each month:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-M|--monthly]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
|
|
|
- Show monthly revenues/expenses/totals, largest first, summarised to 2 levels:
|
|
|
|
|
2025-04-22 15:48:30 +03:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}`
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-05-04 10:20:26 +03:00
|
|
|
- Same as above, and generate HTML output in `is.html`:
|
2024-05-24 08:57:36 -10:00
|
|
|
|
2025-05-04 10:20:26 +03:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} is.html`
|