2025-03-14 21:59:59 -06:00
|
|
|
# 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):
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hledger {{[is|incomestatement]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show revenues and expenses each month:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-M|--monthly]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Show monthly revenues/expenses/totals, largest first, summarised to 2 levels:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
- Same as above, and generate HTML output in `is.html`:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hledger {{[is|incomestatement]}} {{[-MTAS|--monthly --row-total --average --sort-amount]}} {{[-2|--depth 2]}} {{[-o|--output-file]}} is.html`
|