hledger:tldr:56082
hledger: Show a monthly income statement.
$ hledger incomestatement --monthly --depth 2
try on your machine
The command hledger incomestatement --monthly --depth 2
is used to generate an income statement report using the hledger accounting software.
hledger
is the command to execute the hledger program.incomestatement
is the specific report that we want to generate. It calculates the net income by subtracting expenses from revenues.--monthly
option specifies that we want the result to be grouped by month. This means that the income statement will be calculated for each month separately.--depth 2
option indicates the level of depth in the account hierarchy to be considered. It means that the report will go two levels deep in the account structure. This can be useful if you have a complex account structure with sub-accounts and want to show summarized data up to a certain level.
Overall, the command hledger incomestatement --monthly --depth 2
will generate an income statement report that is grouped by month and shows summarized data up to two levels deep in the account structure.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.