> Date: Tue, 30 May 2017 17:42:31 -0400
> From: Pete Keen <[email protected]>
> 
> Personally I would love to hear why the cleared and uncleared subaccount
> system is better. Is it just because of being able to add a date? You can
> add a second "effective" date to a transaction like this[1]:
> 
> 2008/01/01=2008/01/15 Client invoice ;  actual date money received
>     Assets:Accounts Receivable            $100.00
>     Income: Client name

I always found it clumsy to edit the ledger to update effective dates,
especially when, e.g., a cheque was cashed with the wrong amount, or
if there are multiple stages, such as client invoice ---> client
cheque ---> bank deposit --> bank statement.

Now I use a single subaccount per invoice/cheque/&c., and separate
transactions for when it is issued, e.g. when I write an invoice, and
when it is cleared, e.g. when I get a wire transfer paying it:

account Assets:Accounts Receivable:Ronald T. Frobnitz:20080101-01
2008-01-01 Ronald T. Frobnitz invoice
    Assets:Accounts Receivable:Ronald T. Frobnitz:20080101-01 $100.00
    Income:Ronald T. Frobnitz

2008-01-15 Ronald T. Frobnitz wire transfer
    Assets:Bank                         $100.00
    Assets:Accounts Receivable:Ronald T. Frobnitz:20080101-01

This way, the command `ledger balance "accounts receivable"' displays
not just the total balance, but a listing of all invoices that have
yet to be paid -- or that have been paid incorrectly.  Since ledger
reports omit zero balances by default, intermediate accounts like this
that have been emptied don't clutter anything up.


I also record a separate transaction for when I deposit it at the
bank, and then use a script to automatically transform my bank
statements into ledger transactions that transfer from pending
deposits to assets:

; hand-written, immediately on receipt of cheque
account Assets:Cheques:Zaphod Beeblebrox:1234
2008-02-15 Zaphod Beeblebrox
    Assets:Cheques:Zaphod Beeblebrox:1234  150.00 EUR
    Assets:Accounts Receivable:Zaphod Beeblebrox:20080201-01

; hand-written, on deposit of cheque, from bank ATM receipt
account Assets:Bank:Deposits:0218-1234
2008-02-18 Bank
    Assets:Bank:Deposits:0218-1234      150.00 EUR
    Assets:Cheques:Zaphod Beeblebrox:1234

; automatically generated from bank statement
2008-02-20 Bank statement
    Assets:Bank                         150.00 EUR
    Assets:Bank:Deposits:0218-1234


Some other notes on this approach here:

https://mumble.net/~campbell/2017/02/26/ledger/HOWTO-reconcile-cheques
https://mumble.net/~campbell/2017/02/26/ledger/HOWTO-reconcile-payments

-- 

--- 
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/d/optout.

Reply via email to