all repos

clerk @ 2f5968c33bd95424ec57d5f7abcb38918036fb12

missing tooling for ledger/hledger

clerk/journal/parser/testdata/transaction_with_virtual_accounts.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-5:1
3
    Date: 2024/01/01
4
    Payee: "groceries" j:1:12-2:0
5
    Posting j:2:1-3:1
6
      Type: unbalanced virtual
7
      Account j:2:3-2:18
8
        SubAccount: "virtual" j:2:3-2:10
9
        SubAccount: "account" j:2:11-2:18
10
      Amount j:2:21-2:21
11
        Quantity: 1
12
        Commodity: "PESO"
13
        CommodityPos: After
14
        HasSpace: true
15
        Precision: 0
16
        Decimal: "."
17
    Posting j:3:1-4:1
18
      Type: balanced virtual
19
      Account j:3:3-3:17
20
        SubAccount: "something" j:3:3-3:12
21
        SubAccount: "else" j:3:13-3:17
22
      Amount j:3:21-3:21
23
        Quantity: 5
24
        Commodity: "PESO"
25
        CommodityPos: After
26
        HasSpace: true
27
        Precision: 0
28
        Decimal: "."
29
    Posting j:4:1-5:1
30
      Account j:4:2-5:0
31
        SubAccount: "something" j:4:2-4:11
32
        SubAccount: "else" j:4:12-5:0
33
      Amount: <elided>