This memo is superseded. It has been replaced by Personal Finance.

Since about June 2016 I have been using hledger to track my finances. How I do so has evolved, this memo documents the current process.



Journal Files

My journal files are shared with syncthing, so I can add transactions from any machine.

I have a few files:


I have a number of accounts, some few of which are actual accounts (in bold), but most of which are “virtual” accounts (in italic), which I use to get better insights into the flow of my money.


Transactions are of the form:


Transactions purely between virtual accounts get a ! between the date and the description. Transactions reconciled at the end of the month get a *.


The “accum” and “month” virtual accounts are the most important, as they give me a constant awareness of how much I have spent on a particular class of thing. I don’t often exceed my budget, because when I go to spend some budgeted money there’s now a little voice in the back of my mind which asks “can you actually afford this?”.

There are five “month” accounts which get set to a fixed value at the start of each month:

And there are two “accum” accounts which get a fixed amount transferred to them at the start of each month (accumulating unspent money):


I use a relatively simple forecasting process. For every month up until the end of the year (or maybe until the middle of the next year, if we’re near the end of this one), I add transactions:

This gives me a reasonably accurate, perhaps slightly pessimistic, forecast of my finances. The confidence threshold for including expenses is lower than for including income, which is pessimistic; but I assume I will never overspend my budget, which is typical but not certain.

An Example Month

Here is the sort of thing that will go in a monthly entry. Of course some things, like rent and tuition, will be more or less frequent than others:

10/01 Budget & Saving
    accum:fun           £25
    accum:other         £75
    month:food        £200
    month:google apps   £2.75
    month:household    £25
    month:servers      £39.50
    saved:invest      £400

10/01 Linode
    expenses:servers  $20 @@ £18
    expenses:servers          £1.25

10/01 OVH
    expenses:servers  EUR 20.39 @@ £18.05
    expenses:servers                £1.25

10/02 Arch Hurd Google Apps
    expenses:google apps  £2.75
    month:google apps

10/06 Dad money
    unallocated  £650

10/07 Holgate rent
    expenses:rent  £1045

10/24 Dentist
    expenses:other  £18.80

10/31 Tuition
    expenses:tuition  £1398

Most months are the same, so adding these sets of transactions for every month remaining in the year takes very little time.

Start/End of X Procedure


  1. Zero all accounts by transferring everything into equity.
  2. Rename the current journal file from “current.journal” to “$YEAR.journal”
  3. Take the “future.journal” and rename to “current.journal”.
  4. Add forecasting transactions for the new year
  5. Initialise all accounts on the first of January by transferring from equity.

If starting a new journal file, this is the template:

alias current = assets:cash:santander:current
alias budget  = current:month
alias saved   = current:saved
alias accum   = current:accum
alias unallocated = current:unallocated

** $YEAR-01 January
** $YEAR-02 February
** $YEAR-03 March
** $YEAR-04 April
** $YEAR-05 May
** $YEAR-06 June
** $YEAR-07 July
** $YEAR-08 August
** $YEAR-09 September
** $YEAR-10 October
** $YEAR-11 November
** $YEAR-12 December

Here are example equity transactions:

01/01 ! Start-of-year (assets)
    assets:cash:hand                £77.81
    assets:reimbursements:nathan     £9.98
    saved:rainyday                  £74.90
    saved:rent                    £1800
    saved:tuition                 £2060
    unallocated                    £904.92
    equity:carried forward

01/01 ! Start-of-year (liabilities)
    liabilities:overdraft   -£2000
    liabilities:slc        -£28510.01
    liabilities:teasoc         -£1


  1. Reconcile the transactions of the month just ended:
    • For every transaction in the online bank statement, find the corresponding journal transaction and mark it.
      • If there are transactions missing from the journal, add and mark them.
      • If there are transactions missing from the bank statement, the bank is being slow; add posting dates and reconcile as they come in.
      • If the bank balance is below the assets:cash:santander:current balance, even discarding uncleared transactions, (a) figure out what happened and (b) if impossible, add a transaction to expenses:adjustment
    • Count the balance in my wallet and mark all assets:cash:hand transactions.
      • If the wallet balance is below the assets:cash:hand balance, add a transaction to expenses:adjustment
  2. Zero the monthly budget by adding transactions to the month just started:
    • Transfer “month” accounts into unallocated
    • If there was an overspend, zero by transferring from unallocated
  3. Delete the pessimistic budget-spending transaction of the month just started.
  4. Comment all transactions in the month just started other than the budget set-up.
    • Uncomment these as they happen. From now, the balance reported for the current month is the current actual balance.

Here are example end-of-month transactions:

03/31 * Wallet adjustment
    expenses:adjustment  £14.98

04/01 ! Remaining budget
    month:food        £24.70
    month:fun        £112
    month:household   -£9.12
    month:servers     -£2.01

04/01 ! Budget overspend
    month:anything  £125.57

Ideally, there should be no transaction adjusting the balance.