clerk/journal/parser/testdata/golden/Parser_ParseFile__transaction_with_costs.golden (view raw)
| 1 | Journal |
| 2 | Transaction j:1:1-5:0 |
| 3 | Date: 2026-05-11 |
| 4 | Payee: "testies" j:1:12-2:0 |
| 5 | Posting j:2:1-3:1 |
| 6 | Account "expenses:atm" j:2:2-2:14 |
| 7 | Amount j:2:16-2:16 |
| 8 | Quantity: 20 |
| 9 | Commodity: "UAH" |
| 10 | CommodityPos: After |
| 11 | HasSpace: true |
| 12 | Precision: 2 |
| 13 | Decimal: "." |
| 14 | Cost(unit) j:2:26-3:0 |
| 15 | Amount j:2:28-2:28 |
| 16 | Quantity: 1 |
| 17 | Commodity: "USD" |
| 18 | CommodityPos: After |
| 19 | HasSpace: true |
| 20 | Precision: 0 |
| 21 | Decimal: "." |
| 22 | Posting j:3:1-5:0 |
| 23 | Account "assets:bank" j:3:2-4:0 |
| 24 | Amount: <elided> |
| 25 | BlankLine j:5:0-5:1 |
| 26 | Transaction j:5:1-9:0 |
| 27 | Date: 2026-05-11 |
| 28 | Payee: "testies2" j:5:12-6:0 |
| 29 | Posting j:6:1-7:1 |
| 30 | Account "expenses:atm" j:6:2-6:14 |
| 31 | Amount j:6:16-6:16 |
| 32 | Quantity: 20 |
| 33 | Commodity: "UAH" |
| 34 | CommodityPos: After |
| 35 | HasSpace: true |
| 36 | Precision: 2 |
| 37 | Decimal: "." |
| 38 | Cost(total) j:6:26-7:0 |
| 39 | Amount j:6:29-6:29 |
| 40 | Quantity: 1 |
| 41 | Commodity: "USD" |
| 42 | CommodityPos: After |
| 43 | HasSpace: true |
| 44 | Precision: 0 |
| 45 | Decimal: "." |
| 46 | Posting j:7:1-9:0 |
| 47 | Account "assets:bank" j:7:2-8:0 |
| 48 | Amount: <elided> |
| 49 | BlankLine j:9:0-9:1 |
| 50 | Transaction j:9:1-13:0 |
| 51 | Date: 2026-05-12 |
| 52 | Payee: "testies3" j:9:12-10:0 |
| 53 | Posting j:10:1-11:1 |
| 54 | Account "expenses:atm" j:10:2-10:14 |
| 55 | Amount j:10:16-10:16 |
| 56 | Quantity: 20 |
| 57 | Commodity: "UAH" |
| 58 | CommodityPos: After |
| 59 | HasSpace: true |
| 60 | Precision: 2 |
| 61 | Decimal: "." |
| 62 | Cost(unit) j:10:26-10:33 |
| 63 | Amount j:10:28-10:28 |
| 64 | Quantity: 1 |
| 65 | Commodity: "USD" |
| 66 | CommodityPos: After |
| 67 | HasSpace: true |
| 68 | Precision: 0 |
| 69 | Decimal: "." |
| 70 | BalanceAssertion j:10:34-10:45 |
| 71 | IsStrict: false |
| 72 | IsInclusive: false |
| 73 | Amount j:10:36-10:36 |
| 74 | Quantity: 20 |
| 75 | Commodity: "UAH" |
| 76 | CommodityPos: After |
| 77 | HasSpace: true |
| 78 | Precision: 2 |
| 79 | Decimal: "." |
| 80 | Posting j:11:1-13:0 |
| 81 | Account "assets:bank" j:11:2-12:0 |
| 82 | Amount: <elided> |
| 83 | BlankLine j:13:0-13:1 |
| 84 | Transaction j:13:1-16:1 |
| 85 | Date: 2015-01-03 |
| 86 | Payee: "money exchange office" j:13:12-14:0 |
| 87 | Posting j:14:1-15:1 |
| 88 | Account "assets:cash" j:14:5-14:16 |
| 89 | Amount j:14:18-14:18 |
| 90 | Quantity: -20 |
| 91 | Commodity: "EUR" |
| 92 | CommodityPos: After |
| 93 | HasSpace: true |
| 94 | Precision: 0 |
| 95 | Decimal: "." |
| 96 | Cost(unit) j:14:26-15:0 |
| 97 | Amount j:14:28-14:28 |
| 98 | Quantity: 7.53 |
| 99 | Commodity: "HRK" |
| 100 | CommodityPos: After |
| 101 | HasSpace: true |
| 102 | Precision: 2 |
| 103 | Decimal: "." |
| 104 | Posting j:15:1-16:1 |
| 105 | Account "assets:cash" j:15:5-15:16 |
| 106 | Amount j:15:18-15:18 |
| 107 | Quantity: 150.6 |
| 108 | Commodity: "HRK" |
| 109 | CommodityPos: After |
| 110 | HasSpace: true |
| 111 | Precision: 2 |
| 112 | Decimal: "." |