Hello, I'm trying to start tracking my expenses with ledger, but I have
a question about the best way to split transactions.
Is there a variable I can reference that evaluates to the sum of
postings so far?
Let's say I spend $100 at a department store, I could write this:
2023/01/01 Department Store
Expenses:Clothing $8.99 ; T-Shirt
Expenses:Groceries ($100 - $8.99) ; Everything else was food
Liabilities:Credit $-100
My concern is that while extracting 1 item isn't so bad, if I have to do
several it's quite laborious:
2023/01/01 Department Store
Expenses:Clothing $8.99 ; T-Shirt
Expenses:Household $11.99 ; Light Bulbs
Expenses:Coffee $3.99
Expenses:Entertainment $7.99 ; Book
Expenses:Groceries ($100 - $8.99 - $11.99 - $3.99 - $7.99) ; Ugly :(
Liabilities:Credit $-100
If there was a variable like $sum, I could just do ($100 - $sum). Is
there anything like that?
I don't care about the expense buckets being exact (e.g. ignoring sales
tax is okay), so long as the total transaction amount matches my
statement.
Thank you!
Tavis.
--
_o) $ lynx lock.cmpxchg8b.com
/\\ _o) _o) $ finger [email protected]
_\_V _( ) _( ) @taviso
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/tqu8ol%2445k%241%40ciao.gmane.io.