all repos

clerk @ master

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
lexer & parser & ast..., 14 days 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 "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-2:33
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
      BalanceAssertion j:2:34-3:0
23
        IsStrict: false
24
        IsInclusive: false
25
        Amount j:2:36-2:36
26
          Quantity: 0
27
          Commodity: "UAH"
28
          CommodityPos: After
29
          HasSpace: true
30
          Precision: 0
31
          Decimal: "."
32
    Posting j:3:1-4:1
33
      Account "assets:bank" j:3:2-4:0
34
      Amount: <elided>