2008/01/01 January
    Expenses:Books          $10.00
    Assets:Cash

2008/01/31 End of January
    Expenses:Books          $10.00
    Assets:Cash

2008/02/01 February
    Expenses:Books          $20.00
    Assets:Cash

2008/02/28 End of February
    Expenses:Books          $20.00
    Assets:Cash

2008/03/01 March
    Expenses:Books          $30.00
    Assets:Cash

2008/03/31 End of March
    Expenses:Books          $30.00
    Assets:Cash

2008/04/01 April
    Expenses:Books          $40.00
    Assets:Cash

2008/04/30 End of April
    Expenses:Books          $40.00
    Assets:Cash

2008/05/01 May
    Expenses:Books          $50.00
    Assets:Cash

2008/05/31 End of May
    Expenses:Books          $50.00
    Assets:Cash

2008/06/01 June
    Expenses:Books          $60.00
    Assets:Cash

2008/06/30 End of June
    Expenses:Books          $60.00
    Assets:Cash

2008/07/01 July
    Expenses:Books          $70.00
    Assets:Cash

2008/07/31 End of July
    Expenses:Books          $70.00
    Assets:Cash

2008/08/01 August
    Expenses:Books          $80.00
    Assets:Cash

2008/08/31 End of August
    Expenses:Books          $80.00
    Assets:Cash

2008/09/01 September
    Expenses:Books          $90.00
    Assets:Cash

2008/09/30 End of September
    Expenses:Books          $90.00
    Assets:Cash

2008/10/01 October
    Expenses:Books         $100.00
    Assets:Cash

2008/10/31 End of October
    Expenses:Books         $100.00
    Assets:Cash

2008/11/01 November
    Expenses:Books         $110.00
    Assets:Cash

2008/11/30 End of November
    Expenses:Books         $110.00
    Assets:Cash

2008/12/01 December
    Expenses:Books         $120.00
    Assets:Cash

2008/12/31 End of December
    Expenses:Books         $120.00
    Assets:Cash

2009/01/01 January
    Expenses:Books          $10.00
    Assets:Cash

2009/01/31 End of January
    Expenses:Books          $10.00
    Assets:Cash

2009/02/01 February
    Expenses:Books          $20.00
    Assets:Cash

2009/02/28 End of February
    Expenses:Books          $20.00
    Assets:Cash

2009/03/01 March
    Expenses:Books          $30.00
    Assets:Cash

2009/03/31 End of March
    Expenses:Books          $30.00
    Assets:Cash

2009/04/01 April
    Expenses:Books          $40.00
    Assets:Cash

2009/04/30 End of April
    Expenses:Books          $40.00
    Assets:Cash

2009/05/01 May
    Expenses:Books          $50.00
    Assets:Cash

2009/05/31 End of May
    Expenses:Books          $50.00
    Assets:Cash

2009/06/01 June
    Expenses:Books          $60.00
    Assets:Cash

2009/06/30 End of June
    Expenses:Books          $60.00
    Assets:Cash

2009/07/01 July
    Expenses:Books          $70.00
    Assets:Cash

2009/07/31 End of July
    Expenses:Books          $70.00
    Assets:Cash

2009/08/01 August
    Expenses:Books          $80.00
    Assets:Cash

2009/08/31 End of August
    Expenses:Books          $80.00
    Assets:Cash

2009/09/01 September
    Expenses:Books          $90.00
    Assets:Cash

2009/09/30 End of September
    Expenses:Books          $90.00
    Assets:Cash

2009/10/01 October
    Expenses:Books         $100.00
    Assets:Cash

2009/10/31 End of October
    Expenses:Books         $100.00
    Assets:Cash

2009/11/01 November
    Expenses:Books         $110.00
    Assets:Cash

2009/11/30 End of November
    Expenses:Books         $110.00
    Assets:Cash

2009/12/01 December
    Expenses:Books         $120.00
    Assets:Cash

2009/12/31 End of December
    Expenses:Books         $120.00
    Assets:Cash

$ hledger -f- check

#test reg --limit='account =~ /Books/ and amount < 50'
#08-Jan-01 January               Expenses:Books               $10.00       $10.00
#08-Jan-31 End of January        Expenses:Books               $10.00       $20.00
#08-Feb-01 February              Expenses:Books               $20.00       $40.00
#08-Feb-28 End of February       Expenses:Books               $20.00       $60.00
#08-Mar-01 March                 Expenses:Books               $30.00       $90.00
#08-Mar-31 End of March          Expenses:Books               $30.00      $120.00
#08-Apr-01 April                 Expenses:Books               $40.00      $160.00
#08-Apr-30 End of April          Expenses:Books               $40.00      $200.00
#09-Jan-01 January               Expenses:Books               $10.00      $210.00
#09-Jan-31 End of January        Expenses:Books               $10.00      $220.00
#09-Feb-01 February              Expenses:Books               $20.00      $240.00
#09-Feb-28 End of February       Expenses:Books               $20.00      $260.00
#09-Mar-01 March                 Expenses:Books               $30.00      $290.00
#09-Mar-31 End of March          Expenses:Books               $30.00      $320.00
#09-Apr-01 April                 Expenses:Books               $40.00      $360.00
#09-Apr-30 End of April          Expenses:Books               $40.00      $400.00
#end test
#