clerk/journal/parser/testdata/golden/Parser_ParseFile__transaction_with_balance_assertion.golden (view raw)
| 1 | Journal |
| 2 | Transaction j:1:1-5:0 |
| 3 | Date: 2024/01/01 |
| 4 | Payee: "groceries" j:1:12-2:0 |
| 5 | Posting j:2:1-3:1 |
| 6 | Account "expenses:food" j:2:2-2:15 |
| 7 | Amount j:2:17-2:17 |
| 8 | Quantity: 10 |
| 9 | Commodity: "$" |
| 10 | CommodityPos: Before |
| 11 | HasSpace: false |
| 12 | Precision: 2 |
| 13 | Decimal: "." |
| 14 | BalanceAssertion j:2:24-3:0 |
| 15 | IsStrict: false |
| 16 | IsInclusive: false |
| 17 | Amount j:2:26-2:26 |
| 18 | Quantity: 100 |
| 19 | Commodity: "$" |
| 20 | CommodityPos: Before |
| 21 | HasSpace: false |
| 22 | Precision: 2 |
| 23 | Decimal: "." |
| 24 | Posting j:3:1-5:0 |
| 25 | Account "assets:checking" j:3:2-4:0 |
| 26 | Amount: <elided> |
| 27 | BlankLine j:5:0-5:1 |
| 28 | Transaction j:5:1-9:0 |
| 29 | Date: 2025/03/07 |
| 30 | Payee: "groceries2" j:5:12-6:0 |
| 31 | Posting j:6:1-7:1 |
| 32 | Account "expenses:food" j:6:2-6:15 |
| 33 | Amount j:6:17-6:17 |
| 34 | Quantity: 10 |
| 35 | Commodity: "$" |
| 36 | CommodityPos: Before |
| 37 | HasSpace: false |
| 38 | Precision: 2 |
| 39 | Decimal: "." |
| 40 | BalanceAssertion j:6:24-7:0 |
| 41 | IsStrict: true |
| 42 | IsInclusive: false |
| 43 | Amount j:6:27-6:27 |
| 44 | Quantity: 100 |
| 45 | Commodity: "$" |
| 46 | CommodityPos: Before |
| 47 | HasSpace: false |
| 48 | Precision: 2 |
| 49 | Decimal: "." |
| 50 | Posting j:7:1-9:0 |
| 51 | Account "assets:checking" j:7:2-7:17 |
| 52 | Amount: <elided> |
| 53 | BalanceAssertion j:7:19-8:0 |
| 54 | IsStrict: true |
| 55 | IsInclusive: false |
| 56 | Amount j:7:22-7:22 |
| 57 | Quantity: 0 |
| 58 | Commodity: "$" |
| 59 | CommodityPos: Before |
| 60 | HasSpace: false |
| 61 | Precision: 2 |
| 62 | Decimal: "." |
| 63 | BlankLine j:9:0-9:1 |
| 64 | Transaction j:9:1-12:1 |
| 65 | Date: 2025/04/08 |
| 66 | Payee: "groceries3" j:9:12-10:0 |
| 67 | Posting j:10:1-11:1 |
| 68 | Account "expenses:food" j:10:2-10:15 |
| 69 | Amount j:10:17-10:17 |
| 70 | Quantity: 10 |
| 71 | Commodity: "$" |
| 72 | CommodityPos: Before |
| 73 | HasSpace: false |
| 74 | Precision: 2 |
| 75 | Decimal: "." |
| 76 | Posting j:11:1-12:1 |
| 77 | Account "assets:checking" j:11:2-11:17 |
| 78 | Amount: <elided> |
| 79 | BalanceAssertion j:11:19-12:0 |
| 80 | IsStrict: false |
| 81 | IsInclusive: false |
| 82 | Amount j:11:21-11:21 |
| 83 | Quantity: 0 |
| 84 | Commodity: "$" |
| 85 | CommodityPos: Before |
| 86 | HasSpace: false |
| 87 | Precision: 2 |
| 88 | Decimal: "." |