-- input -- 2026-05-11 testies expenses:atm UAH 20.00 @ 1 USD = 0 UAH assets:bank -- expect -- Journal Transaction j:1:1-4:1 Date: 2026-05-11 Payee: "testies" j:1:12-2:0 Posting j:2:1-3:1 Account j:2:2-2:14 SubAccount: "expenses" j:2:2-2:10 SubAccount: "atm" j:2:11-2:14 Amount j:2:16-2:16 Quantity: 20 Commodity: "UAH" CommodityPos: Before HasSpace: true Precision: 2 Decimal: "." Cost(unit) j:2:26-2:33 Amount j:2:28-2:28 Quantity: 1 Commodity: "USD" CommodityPos: After HasSpace: true Precision: 0 Decimal: "." BalanceAssertion j:2:34-3:0 IsStrict: false IsInclusive: false Amount j:2:36-2:36 Quantity: 0 Commodity: "UAH" CommodityPos: After HasSpace: true Precision: 0 Decimal: "." Posting j:3:1-4:1 Account j:3:2-4:0 SubAccount: "assets" j:3:2-3:8 SubAccount: "bank" j:3:9-4:0 Amount: