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