Balance
Run ledger -f ledger.dat bal
to see a balance report.
Assets 4333.00
Assets:Bank 3733.00
Assets:Bank:Checking 3733.00
Assets:Cash 100.00
Assets:Cash:Wallet 100.00
Assets:Crypto 500.00
Assets:Crypto:BTC 300.00
Assets:Crypto:ETH 200.00
Equity -1000.00
Equity:Opening Balances -1000.00
Expenses 727.92
Expenses:Books 20.00
Expenses:Food 707.92
Expenses:Food:Groceries 667.00
Expenses:Food:TakeOut 40.92
Income -4000.00
Income:Salary -4000.00
Liabilities -60.92
Liabilities:MasterCard -60.92
--------------------------------------------------------------------------------
0.00
Net Worth
You can show specific accounts by applying a filter, which is case senstive.
For example, let's get our net worth,
run ledger -f ledger.dat bal Assets Liabilities
Assets 4333.00
Assets:Bank 3733.00
Assets:Bank:Checking 3733.00
Assets:Cash 100.00
Assets:Cash:Wallet 100.00
Assets:Crypto 500.00
Assets:Crypto:BTC 300.00
Assets:Crypto:ETH 200.00
Liabilities -60.92
Liabilities:MasterCard -60.92
--------------------------------------------------------------------------------
4272.08
By Period
We can see our balances segmented by a time period. For example, let's see all
our expenses for each month,
run ledger -f ledger.dat --period Monthly bal Expenses
2021/12/01 - 2021/12/31
================================================================================
Expenses 222.00
Expenses:Food 222.00
Expenses:Food:Groceries 222.00
--------------------------------------------------------------------------------
222.00
================================================================================
2022/01/01 - 2022/01/31
================================================================================
Expenses 505.92
Expenses:Books 20.00
Expenses:Food 485.92
Expenses:Food:Groceries 445.00
Expenses:Food:TakeOut 40.92
--------------------------------------------------------------------------------
505.92
Account Depth
That's a lot of accounts, let's trim it down to see it summed up to the second
level. Run ledger -f ledger.dat --period Monthly --depth 2 bal Expenses
2021/12/01 - 2021/12/31
================================================================================
Expenses 222.00
Expenses:Food 222.00
--------------------------------------------------------------------------------
222.00
================================================================================
2022/01/01 - 2022/01/31
================================================================================
Expenses 505.92
Expenses:Books 20.00
Expenses:Food 485.92
--------------------------------------------------------------------------------
505.92