Bob Rubbens
2018-06-01 12:41:01 UTC
Hey everyone,
Been using hledger since the past two months, enjoying it so far. Hope you
guys don't mind if I ask a possibly accounting-technical question.
Right now I'm using an (I'm assuming) pretty standard setup. I've got my
Assets, Liabilities, Equity (only for starting balances), Revenue and
Expenses accounts. My salary comes from revenue and goes to assets,
creditcard is an account under liabilities, and when I spend money it goes
to expenses (either from creditcard or assets). Seems pretty standard I
think.
Last week a transaction happened where I got 100 euro from friend A. 40
euro of that was meant for a friend of mine, B, but A didn't have B's
account info so he just sent it to me. When I received the money I arranged
for the 40 euro's to be transferred to friend B. So far so good.
I modeled this in reverse of how borrowing money works as far as I
understand it. I am definitely not an accountant so it's probably not
correct, but here it is:
2018-05-15 Return beer crate money
Liabilities:FriendB 40
Assets:Checking 60
Revenue:FriendA
2018-05-17 Forward beer crate money to B
Expenses:FriendB 40
Liabilities:FriendB = 0
There are two problems with this:
- The liabilities account becomes positive. I've only seen the liabilities
account be negative in almost all examples so I suspect this is bad. One
good thing I can see here is that if I had borrowed money before from
FriendB, the loans cancelling each other out would work nicely this way:
2018-05-10 B bought me a few beers
Expenses:Pub 20
Liabilities:FriendB
2018-05-15 Return beer crate money
Liabilities:FriendB 40
Assets:Checking 60
Revenue:FriendA
2018-05-17 Forward beer crate money to B
Expenses:FriendB 20
Liabilities:FriendB = 0
This seems appropriate, but I might be wrong.
- When I ask hledger for an incomestatement this way, I have among all
other income and expenses also the income of receiving money that's not
mine and the expense of spending money that's not mine (the 40 euros from
friend to friend). Since the money is just meant to pass on without
actually influencing my income/expenses, I'd like my incomestatement not to
include money that's just being forwarded. I figured I could just do
something like this:
2018-05-15 Return beer crate money
Liabilities:FriendA 40
Equity:FriendA -40
Assets:Checking 60
Revenue:FriendA -60
2018-05-17 Forward beer crate money to B
Expenses:FriendB 40
Liabilities:FriendB
But I'm not sure if that's entirely sound, it feels like a hack. I could
also just ignore the transaction on my incomestatement but that doesn't
feel right to me. If I did that I'd have to carefully filter out certain
transactions every month and I dislike that idea.
Ideally I'd like income to mean "money that I can spend on whatever I
like", but right now that's not true since that 40 euros was technically
not mine. I hope someone can shed some light on this for me!
Been using hledger since the past two months, enjoying it so far. Hope you
guys don't mind if I ask a possibly accounting-technical question.
Right now I'm using an (I'm assuming) pretty standard setup. I've got my
Assets, Liabilities, Equity (only for starting balances), Revenue and
Expenses accounts. My salary comes from revenue and goes to assets,
creditcard is an account under liabilities, and when I spend money it goes
to expenses (either from creditcard or assets). Seems pretty standard I
think.
Last week a transaction happened where I got 100 euro from friend A. 40
euro of that was meant for a friend of mine, B, but A didn't have B's
account info so he just sent it to me. When I received the money I arranged
for the 40 euro's to be transferred to friend B. So far so good.
I modeled this in reverse of how borrowing money works as far as I
understand it. I am definitely not an accountant so it's probably not
correct, but here it is:
2018-05-15 Return beer crate money
Liabilities:FriendB 40
Assets:Checking 60
Revenue:FriendA
2018-05-17 Forward beer crate money to B
Expenses:FriendB 40
Liabilities:FriendB = 0
There are two problems with this:
- The liabilities account becomes positive. I've only seen the liabilities
account be negative in almost all examples so I suspect this is bad. One
good thing I can see here is that if I had borrowed money before from
FriendB, the loans cancelling each other out would work nicely this way:
2018-05-10 B bought me a few beers
Expenses:Pub 20
Liabilities:FriendB
2018-05-15 Return beer crate money
Liabilities:FriendB 40
Assets:Checking 60
Revenue:FriendA
2018-05-17 Forward beer crate money to B
Expenses:FriendB 20
Liabilities:FriendB = 0
This seems appropriate, but I might be wrong.
- When I ask hledger for an incomestatement this way, I have among all
other income and expenses also the income of receiving money that's not
mine and the expense of spending money that's not mine (the 40 euros from
friend to friend). Since the money is just meant to pass on without
actually influencing my income/expenses, I'd like my incomestatement not to
include money that's just being forwarded. I figured I could just do
something like this:
2018-05-15 Return beer crate money
Liabilities:FriendA 40
Equity:FriendA -40
Assets:Checking 60
Revenue:FriendA -60
2018-05-17 Forward beer crate money to B
Expenses:FriendB 40
Liabilities:FriendB
But I'm not sure if that's entirely sound, it feels like a hack. I could
also just ignore the transaction on my incomestatement but that doesn't
feel right to me. If I did that I'd have to carefully filter out certain
transactions every month and I dislike that idea.
Ideally I'd like income to mean "money that I can spend on whatever I
like", but right now that's not true since that 40 euros was technically
not mine. I hope someone can shed some light on this for me!
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.