On Wed, Oct 16, 2013 at 12:04:29PM -0400, Douglas Philips wrote:
> On 10/16/13 10:23 AM, David A. Harding wrote:
> >2013/10/02 Grocery Shopping
> > Assets:Debit Card -$100.00
> > Expenses:Groceries $50.00 ; My Groceries
> > Assets:Accounts Receivable:GF $50.00 ; GF's Groceries
>
> Ok, so this is probably an accounting thing and not a ledger thing,
> but I personally don't like that because it doesn't reflect the true
> amount spent on Expenses:Groceries.
Hi, Doug.
As an entry in my personal ledger, it records the true amount *I* spent
on groceries. The other half of the grocery expense is being paid for
by the girlfriend and rightfully belongs in her ledger.
In my case, I only want to track how much other people owe me and how
much I owe them. I prefer not to track other people's expenses---it's a
bother and the only thing it seems useful for is criticizing their
spending habits.
But, if you really want to do it, ledger is flexible enough to give you
a rough estimate in the case of split expenses by using the --related
(-r) switch to see how much you spent in transactions which resulted in
your girlfriend owing you money:
ledger -f test.ledger bal 'Accounts Receivable:GF' --related
$-100.00 Assets:Debit Card
$50.00 Expenses:Groceries
--------------------
$-50.00
For unevenly-split transactions, a more precise accounting can be made using
virtual transactions. Here's the transaction from above with a
unbalanced virtual transaction:
2013/10/02 Grocery Shopping
Assets:Debit Card -$100.00
Expenses:Groceries $50.00 ; My Groceries
(GF:Expenses:Groceries) $50.00 ; GF's Groceries
Assets:Accounts Receivable:GF $50.00 ; GF's Debt
Now your expense reports will, by default, show you only your half of
expenses, but you can also see her half of the expenses by generating
reports based on the ^GF account tree.
-Dave
--
David A. Harding
--
---
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].
For more options, visit https://groups.google.com/groups/opt_out.