- Use category as a counter-party
- Classifies assets between cash, bank etc. I.e. accounts like
Walletis the name of the book
- Support for split transactions
- Aggregation of multiple transaction within a same second as a multi-posting transaction
- Maintain both ledger journal and MyExpenses.
- Keep account names and payees in MyExpenses in sync with main ledger journal.
- You may want to have root categories with names like
Expenses:Foodand assets like
- If you need to generate transaction with multi-way 3+ postings you can create them with command "Save and new" which effectively keeps exact time.
- Periodically backup data from MyExpenses and append output of this tool to ledger journal.
- Sort generated transaction as you like but keep
--excludes option to this tool with a path to file with full ledger
journal to avoid re-generating old transactions.
If your journal is scattered over multiple files you can use output of
bash you can use
ledger print | ./ledger_myexpenses.py -x -.
zsh you can use
./ledger_myexpenses.py -x <(ledger print).