all repos

clerk @ 1b934a8

missing tooling for ledger/hledger

clerk/journal/parser/testdata/transaction_with_cost_and_assertion.golden (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
journal: split "EUR123" into commodity+quantity, fix quoted commodities in postings, 1 month ago
1
Journal
2
  Transaction j:1:1-4:1
3
    Date: 2026-05-11
4
    Payee: "testies" j:1:12-2:0
5
    Posting j:2:1-3:1
6
      Account j:2:2-2:14
7
        SubAccount: "expenses" j:2:2-2:10
8
        SubAccount: "atm" j:2:11-2:14
9
      Amount j:2:16-2:16
10
        Quantity: 20
11
        Commodity: "UAH"
12
        CommodityPos: Before
13
        HasSpace: true
14
        Precision: 2
15
        Decimal: "."
16
      Cost(unit) j:2:26-2:33
17
        Amount j:2:28-2:28
18
          Quantity: 1
19
          Commodity: "USD"
20
          CommodityPos: After
21
          HasSpace: true
22
          Precision: 0
23
          Decimal: "."
24
      BalanceAssertion j:2:34-3:0
25
        IsStrict: false
26
        IsInclusive: false
27
        Amount j:2:36-2:36
28
          Quantity: 0
29
          Commodity: "UAH"
30
          CommodityPos: After
31
          HasSpace: true
32
          Precision: 0
33
          Decimal: "."
34
    Posting j:3:1-4:1
35
      Account j:3:2-4:0
36
        SubAccount: "assets" j:3:2-3:8
37
        SubAccount: "bank" j:3:9-4:0
38
      Amount: <elided>