3 ms·
So I like the idea of using YAML versus ledger's format (very slightly, I'm used to ledger's format so it's not a pain point, but YAML offers some ways to make
by Jtsummers 8y ago
So I like the idea of using YAML versus ledger's format (very slightly, I'm used to ledger's format so it's not a pain point, but YAML offers some ways to make things a bit easier especially for newer folks). However, I could see a fairly trivial mapping between YAML and Ledger being developed by quicker programmers than I in less than a weekend (there's already a way to spit out s-expressions from ledger).
hledger makes some strong assumptions (IIRC) about your accounts being in assets, liabilities, income, equity, expenses. But I may be thinking of beancount for that. If I'm remembering correctly, hledger will let you do whatever you want, but some of their built in reports (like balance sheet) assume liabilities and assets as top-level accounts.
However, ledger allows you to do things like:
personal:expenses:...
personal:assets:...
club:expenses:...
wife:expenses:...
And you can specify what the prefix should be for all transactions in a region like:
apply account personal
2018/06/05 Gym
Expenses:Gym 54.00 USD
Assets:Checking
end apply account
So everything in there is now in my personal set of accounts, eliding the prefix (which can become cumbersome). If you use this† as an example, putting things into separate code blocks via org-mode makes it trivial to conduct accounting for multiple entities.
Query: Does Transity allow for money to come from or go to multiple places? Suppose I'm traveling for work and need a more detailed accounting of my spending (they don't reimburse alcohol, perhaps):
2018/06/05 Place with good cocktails ; 50 USD is on me
Work:Expenses:Travel:Food 20.00 USD
Work:Expenses:Travel:Drinks 50.00 USD
Liabilities:Work:CC
(with a note that I have to cover that 50 USD when paying off the card next month). I do this sort of thing just on regular shopping. I may spend a bunch of money at the store that's gifts for my girlfriend along with clothes for me. I like to know how much I've spent so I'll split it (this is more a personal curiosity thing, along with trying to stick to a budget).
I don't want to have to enter a from/to pair that's redundant (repeating the same from) for things I split like this.
Additionally, there's no need for this "perspective" aspect. If I move money to an account, its balance goes up. If I move money from it it goes down. If I am managing my girlfriend's accounts in ledger (or she is, but it's pushed into a common household file):
2018/06/05 GF ; lunch last week
Jared:Assets:Cash 10.00 USD
GF:Assets:Cash
In the report hers looks like it went down, mine like it went up. There's no need for me (if I'm managing multiple entities) to bother treating that 10 USD like it came from my income account. It is income, but it came from the GF's cash account. The income account is really only needed when you don't control or track the accounts money comes from. Your job, a gift from an uncle, lottery winnings, etc.
Same thing with a business. If I own my own LLC and "pay" myself a salary out of it (I'm assuming I also pay out my health insurance or something in this, I don't know, I don't do payroll), let's say:
2018/06/05 Paycheck
Jared:Assets:Checking 2000.00 USD
Jared:Expenses:HealthInsurance 100.00 USD
JSLCC:Expenses:PayrollStuffs 200.00 USD
JSLLC:Assets:Checking
In all the reports, everything looks right. It's done, no need to worry about perspectives.
† https://orgmode.org/worg/org-tutorials/weaving-a-budget.html https://orgmode.org/worg/org-tutorials/weaving-a-budget.html
- smichael 8y agoThat's correct about hledger: a few reports make assumptions about the top level account names. Until the dev-droids make this customisable, account aliases can be a workaround.
- Jtsummers 8y agoThanks for hledger. I haven't explored its capabilities fully, but I have it running on my laptop at all times (a window in my tmux config displays various reports on my accounts like current balance, uncleared balance, uncleared transactions, etc.). I find it helps me to be mindful of my money if it's only a couple keypresses away.
- smichael 8y agoSame here! I keep live reports in a iterm2 hotkey window.