On 2015-08-28 17:08, David Glasser <[email protected]> writes:

> Ah great. And how do you generate the list of rows in your table (ie, ensure
> you aren't forgetting some important buckets)? Just make sure to only use a
> consistent and fixed set of top level expense categories?

It’s manual, as I seldom change them now. I do have reports like this:

#+begin_src sh :results raw drawer
ledger -f ~/Documents/Org/mescomptes.ledger balance '^Bucket'
#+end_src

that list all the buckets, and I can see if some of them just go in
negative.

And to make sure I did not mess anything, I have this sanity check:

#+begin_src sh :results raw drawer
ledger -f ~/Documents/Org/mescomptes.ledger balance '^Total' | tail -n 1
ledger -f ~/Documents/Org/mescomptes.ledger balance '^Assets' '^Liabilities' | 
tail -n 1
ledger -f ~/Documents/Org/mescomptes.ledger balance '^Bucket' | tail -n 1
ledger -f ~/Documents/Org/mescomptes.ledger balance '^Income' '^Expenses' 
'^Equity' | tail -n 1
#+end_src

The four lines returned should be equal, up to their sign.

Best,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Last week athmospheric CO₂ average (Updated August 17, 2015, Mauna Loa Obs.):
398.19 ppm

-- 

--- 
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.

Attachment: signature.asc
Description: PGP signature

Reply via email to