Skip to content
djp edited this page Feb 22, 2012 · 20 revisions

I'm experimenting with something like this personally, it works, but it's an imperfect solution to a poorly-defined problem

; Chart of Accounts file, to be !included.
; this is intended to represent a full CofA, to populate hledger-web-add drop-downs 
; and tab-completions, and as a sane place for accounts metadata and starting balances.
; It is also hoped that a function will be developed to constrain data entry to these accounts. 
; balances must be non-zero, in order to be seen by hledger-web (and?)
 
2011/01/01 Chart of Accounts  ; including notes and starting balances
    assets                        1
    assets:cash                   17.00
    assets:PCF:chequing           28000
    assets:RBC:chequing           1 ; account closed ?
    expenses:insurance:home       100 ;StateFarm
    expenses:telcom:Bell          700 ;416-123-4567
    expenses:telcom:ISP           1
    expenses:telcom:djp-wind      1; cel phone
    expenses:utils:hydro          1
    income:djp:dp_services        -1
    income:lena:lc_pay            -100
    liabilities:SecureCap         -40000
    liabilities:Mortgage         -160000 ; Imaginary Mortgage Group inc.
    liabilities:CIBC:DP_line      -12000
    liabilities:CapOne:MC         -100
    liabilities:parking tickets   -320
    liabilities:personal:betzy    -1200
    assets:home:resale_value      360000 ; estimate
    equity:starting_bal
; this is not a complete CofA