This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect.
34 lines
1.2 KiB
Text
34 lines
1.2 KiB
Text
reg --payee=code
|
|
<<<
|
|
2008/01/01 * (100) January
|
|
Expenses:Books $10.00
|
|
Assets:Cash
|
|
|
|
2008/01/31 (101) End of January
|
|
Expenses:Books $10.00
|
|
Assets:Cash
|
|
|
|
2008/02/01 * (102) February
|
|
Expenses:Books $20.00
|
|
Assets:Cash
|
|
|
|
2008/02/28 (103) End of February
|
|
Expenses:Books $20.00
|
|
Assets:Cash
|
|
|
|
2008/03/01 * March
|
|
Expenses:Books $30.00
|
|
Assets:Cash
|
|
>>>1
|
|
08-Jan-01 100 Expenses:Books $10.00 $10.00
|
|
08-Jan-01 100 Assets:Cash $-10.00 0
|
|
08-Jan-31 101 Expenses:Books $10.00 $10.00
|
|
08-Jan-31 101 Assets:Cash $-10.00 0
|
|
08-Feb-01 102 Expenses:Books $20.00 $20.00
|
|
08-Feb-01 102 Assets:Cash $-20.00 0
|
|
08-Feb-28 103 Expenses:Books $20.00 $20.00
|
|
08-Feb-28 103 Assets:Cash $-20.00 0
|
|
08-Mar-01 Expenses:Books $30.00 $30.00
|
|
08-Mar-01 Assets:Cash $-30.00 0
|
|
>>>2
|
|
=== 0
|