Just to throw out an example
2009/10/08 * Invoice
Assets:Accounts Receivable:Customer Name
Customers:Customer Name:Invoice:Services -270.00
2009/10/12 * Check #12345
Customers:Customer Name:Payments:Check 270.00
Customers:Customer Name:Equity -270.00
Assets:Accounts Receivable:Customer Name -270.00
Assets:Checking Deposits
This way, I can tell who owes me what, puts amounts in my AR, then
checking deposits (different from checking - transfers from checking
deposits to checking happen when I enter a deposit slip), and I can
balance each individual customer's account.
Doesn't do aging, or tie bills/payments together like you're asking,
but it works for my purposes.
- Zack
2010/03/04 client A invoice
assets:accounts receivable:client A:2010304 $900
income:consulting:client A $-900
2010/03/30 client A payment
assets:accounts receivable:client A:2010304 $-900
assets:bank:wells fargo:checking $900
> b. There's nothing tying that particular $100 payment on June 30th to
> the water supplier. Now this could be fixed by using a/p subaccounts.
> So instead of liabilities:accounts-payable" I'd use
> "liabilities:accounts-payable:water-inc". But even if that was done:
>
> c. There's nothing tying that specific payment to that specific bill
> from the water supplier
You can annotate commodities with this information:
2010/05/31 * (-) May Bill from Water Inc
expenses:utllities:water $100 (Bill: Water Inc) [may 2010]
liabilities:accounts-payable
2010/06/30 * (-) Pay Water Inc May Bill
assets:bank -$100 (Bill: Water Inc) [may 2010]
liabilities:accounts-payable = $0
To see exactly which bills haven't been paid yet:
ledger bal --lots accounts-payable
This is with 3.0.
John
I don't think I've seen this (Bill: Water Inc) [may 2010] syntax
before. Can you explain what it does?
--
Martin Michlmayr
http://www.cyrius.com/
>> 2010/05/31 * (-) May Bill from Water Inc
>> expenses:utllities:water $100 (Bill: Water Inc) [may 2010]
>
> I don't think I've seen this (Bill: Water Inc) [may 2010] syntax
> before. Can you explain what it does?
You can annotate commodities in three ways, which may all be combined:
$100 {10 EUR} # Price paid for those $
$100 [2010/05/01] # Date when they were acquired
$100 (Note) # An arbitrary note to identify the 'lot'
These are all optional, and in fact Ledger auto-generates the first two
whenever it sees a commodity exchange take place. The only one that has
real meaning is the first. When you later exchange a commodity that has
a price annotation, the difference between annotated price and exchange
price will determine the capital gain/loss.
John