clerk/journal/parser/testdata/golden/Parser_ParseFile__automated_transaction.golden (view raw)
| 1 | Journal |
| 2 | AutomatedTransaction j:1:1-1:3 |
| 3 | Expr: "^income" |
| 4 | Posting j:2:1-4:0 |
| 5 | Type: unbalanced virtual |
| 6 | Account "liabilities:tax" j:2:6-2:21 |
| 7 | Amount j:2:25-2:25 |
| 8 | Quantity: 0.33 |
| 9 | Commodity: "" |
| 10 | CommodityPos: Before |
| 11 | HasSpace: false |
| 12 | IsExpr: true |
| 13 | Precision: 2 |
| 14 | Decimal: "." |
| 15 | BlankLine j:4:0-4:1 |
| 16 | AutomatedTransaction j:4:1-4:3 |
| 17 | Expr: "expenses:gifts" |
| 18 | Posting j:5:1-6:1 |
| 19 | Account "budget:gifts" j:5:5-5:17 |
| 20 | Amount j:5:20-5:20 |
| 21 | Quantity: -1 |
| 22 | Commodity: "" |
| 23 | CommodityPos: Before |
| 24 | HasSpace: false |
| 25 | IsExpr: true |
| 26 | Precision: 0 |
| 27 | Decimal: "." |
| 28 | Posting j:6:1-8:0 |
| 29 | Account "assets:budget" j:6:5-6:18 |
| 30 | Amount j:6:21-6:21 |
| 31 | Quantity: 1 |
| 32 | Commodity: "" |
| 33 | CommodityPos: Before |
| 34 | HasSpace: false |
| 35 | IsExpr: true |
| 36 | Precision: 0 |
| 37 | Decimal: "." |
| 38 | BlankLine j:8:0-8:1 |
| 39 | AutomatedTransaction j:8:1-8:3 |
| 40 | Expr: "income:salary" |
| 41 | Posting j:9:1-10:1 |
| 42 | Account "budget:savings" j:9:5-9:19 |
| 43 | Amount j:9:21-10:0 |
| 44 | Quantity: 0 |
| 45 | Commodity: "" |
| 46 | CommodityPos: Before |
| 47 | HasSpace: false |
| 48 | IsExpr: true |
| 49 | Expr: "amount * 0.5" |
| 50 | Precision: 0 |
| 51 | Decimal: "." |