clerk/journal/parser/testdata/period_transaction_expressions.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 | BlankLine j:2:0-2:1 |
| 3 | PeriodicTransaction j:2:1-6:0 |
| 4 | Period: "monthly" |
| 5 | Status: "*" |
| 6 | Posting j:3:1-4:1 |
| 7 | Account j:3:5-3:18 |
| 8 | SubAccount: "expenses" j:3:5-3:13 |
| 9 | SubAccount: "rent" j:3:14-3:18 |
| 10 | Amount j:3:28-3:28 |
| 11 | Quantity: 2000 |
| 12 | Commodity: "$" |
| 13 | CommodityPos: Before |
| 14 | HasSpace: false |
| 15 | Precision: 0 |
| 16 | Decimal: "." |
| 17 | Posting j:4:1-6:0 |
| 18 | Account j:4:5-5:0 |
| 19 | SubAccount: "assets" j:4:5-4:11 |
| 20 | SubAccount: "bank" j:4:12-4:16 |
| 21 | SubAccount: "checking" j:4:17-5:0 |
| 22 | Amount: <elided> |
| 23 | BlankLine j:6:0-6:1 |
| 24 | PeriodicTransaction j:6:1-10:0 |
| 25 | Period: "monthly from 2023-04-15 to 2023-06-16" |
| 26 | From: 2023-04-15 |
| 27 | To: 2023-06-16 |
| 28 | Status: "*" |
| 29 | Posting j:7:1-8:1 |
| 30 | Account j:7:5-7:23 |
| 31 | SubAccount: "expenses" j:7:5-7:13 |
| 32 | SubAccount: "utilities" j:7:14-7:23 |
| 33 | Amount j:7:33-7:33 |
| 34 | Quantity: 400 |
| 35 | Commodity: "$" |
| 36 | CommodityPos: Before |
| 37 | HasSpace: false |
| 38 | Precision: 0 |
| 39 | Decimal: "." |
| 40 | Posting j:8:1-10:0 |
| 41 | Account j:8:5-9:0 |
| 42 | SubAccount: "assets" j:8:5-8:11 |
| 43 | SubAccount: "bank" j:8:12-8:16 |
| 44 | SubAccount: "checking" j:8:17-9:0 |
| 45 | Amount: <elided> |
| 46 | BlankLine j:10:0-10:1 |
| 47 | PeriodicTransaction j:10:1-14:0 |
| 48 | Period: "every 2 months" |
| 49 | Status: "*" |
| 50 | Description: "in 2023, we will review" |
| 51 | Posting j:11:1-12:1 |
| 52 | Account j:11:5-11:23 |
| 53 | SubAccount: "expenses" j:11:5-11:13 |
| 54 | SubAccount: "utilities" j:11:14-11:23 |
| 55 | Amount j:11:33-11:33 |
| 56 | Quantity: 400 |
| 57 | Commodity: "$" |
| 58 | CommodityPos: Before |
| 59 | HasSpace: false |
| 60 | Precision: 0 |
| 61 | Decimal: "." |
| 62 | Posting j:12:1-14:0 |
| 63 | Account j:12:5-13:0 |
| 64 | SubAccount: "assets" j:12:5-12:11 |
| 65 | SubAccount: "bank" j:12:12-12:16 |
| 66 | SubAccount: "checking" j:12:17-13:0 |
| 67 | Amount: <elided> |
| 68 | BlankLine j:14:0-14:1 |
| 69 | PeriodicTransaction j:14:1-18:0 |
| 70 | Period: "monthly" |
| 71 | Status: "*" |
| 72 | Description: "Next year blah blah" |
| 73 | Posting j:15:1-16:1 |
| 74 | Account j:15:5-15:18 |
| 75 | SubAccount: "expenses" j:15:5-15:13 |
| 76 | SubAccount: "food" j:15:14-15:18 |
| 77 | Amount j:15:20-15:20 |
| 78 | Quantity: 100 |
| 79 | Commodity: "$" |
| 80 | CommodityPos: Before |
| 81 | HasSpace: false |
| 82 | Precision: 0 |
| 83 | Decimal: "." |
| 84 | Posting j:16:1-18:0 |
| 85 | Account j:16:5-17:0 |
| 86 | SubAccount: "assets" j:16:5-16:11 |
| 87 | SubAccount: "checking" j:16:12-17:0 |
| 88 | Amount: <elided> |
| 89 | BlankLine j:18:0-18:1 |
| 90 | PeriodicTransaction j:18:1-21:1 |
| 91 | Period: "monthly from 2018/6" |
| 92 | Status: "*" |
| 93 | Comment j:18:23-19:0 |
| 94 | Marker: ";" |
| 95 | Text: "In 2019 we will change this" |
| 96 | Posting j:19:1-20:1 |
| 97 | Account j:19:5-19:18 |
| 98 | SubAccount: "expenses" j:19:5-19:13 |
| 99 | SubAccount: "food" j:19:14-19:18 |
| 100 | Amount j:19:20-19:20 |
| 101 | Quantity: 100 |
| 102 | Commodity: "$" |
| 103 | CommodityPos: Before |
| 104 | HasSpace: false |
| 105 | Precision: 0 |
| 106 | Decimal: "." |
| 107 | Posting j:20:1-21:1 |
| 108 | Account j:20:5-21:0 |
| 109 | SubAccount: "assets" j:20:5-20:11 |
| 110 | SubAccount: "checking" j:20:12-21:0 |
| 111 | Amount: <elided> |