all repos

clerk @ 8575d55

missing tooling for ledger/hledger

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

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
parser: separate account names by :, 1 month ago
1
Journal
2
  Transaction j:1:1-4:1
3
    Date: 2024.01.01
4
    Payee: "groceries" j:1:12-2:0
5
    Posting j:2:1-3:1
6
      Account j:2:5-2:18
7
        SubAccount: "expenses" j:2:5-2:13
8
        SubAccount: "food" j:2:14-2:18
9
      Amount j:2:20-2:20
10
        Quantity: 10
11
        Commodity: "UAH"
12
        CommodityPos: After
13
        HasSpace: true
14
        Precision: 2
15
        Decimal: "."
16
    Posting j:3:1-4:1
17
      Account j:3:5-3:20
18
        SubAccount: "assets" j:3:5-3:11
19
        SubAccount: "checking" j:3:12-3:20
20
      Amount j:3:22-3:22
21
        Quantity: -10
22
        Commodity: "UAH"
23
        CommodityPos: After
24
        HasSpace: true
25
        Precision: 2
26
        Decimal: "."