blob: 75c70072847216fa1c0ad975ceefb5294f6d7e04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
account Assets:Cash
account Expenses:Phone
account Expenses:Rent
account Expenses:Food
commodity EUR
commodity GBP
payee Phone
alias MobilePhone
payee Several
tag food
tag Payee
2012-03-20 Phone
Expenses:Phone 20.00 GBP
Assets:Cash
2012-03-21 Rent
Expenses:Rent 550.00 GBP
Assets:Cash
2012-03-22 Food
; :food:
Expenses:Food 20.00 EUR
Assets:Cash
2012-03-23 Several
Expenses:Food 10.00 EUR ; Payee: Food
Expenses:Phone 10.00 EUR ; Payee: MobilePhone
Assets:Cash
test bal --strict --check-payees
-40.00 EUR
-570.00 GBP Assets:Cash
40.00 EUR
570.00 GBP Expenses
30.00 EUR Food
10.00 EUR
20.00 GBP Phone
550.00 GBP Rent
--------------------
0
__ERROR__
Warning: "$FILE", line 17: Unknown payee 'Rent'
Warning: "$FILE", line 21: Unknown payee 'Food'
Warning: "$FILE", line 27: Unknown payee 'Food'
end test
|