File size: 2,757 Bytes
d280328
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
  "task_id": "task_XXXX",
  "benchmark": "crypto-accounting-bench",
  "taskType": "crypto_accounting_full_entry",
  "organizationId": "ORG-Z",
  "categoryAccountSolvability": "inferable_from_visible_evidence",
  "input": {
    "organizationName": "Example Holdings",
    "transactionType": "DEPOSIT",
    "transactionDate": "2022-04-08T11:20",
    "transactionGroupId": "TXG-99999",
    "flowDirection": "INFLOW",
    "assetType": "USD1",
    "chain": "veldt",
    "amounts": {
      "currency": "USD",
      "grossQuantity": "25000",
      "netQuantity": "25000",
      "feeQuantity": "0",
      "grossValueBase": "25000.00",
      "netValueBase": "25000.00",
      "feeValueBase": "0.00",
      "assetUnitPrice": "1",
      "quantityDecimalPlaces": 0
    },
    "fromAddress": "0x1a2b3c4d5e6f708192a3b4c5d6e7f8091a2b3c4d",
    "toAddress": "0x9f8e7d6c5b4a39281706f5e4d3c2b1a09f8e7d6c",
    "source": {
      "name": "Operating Wallet",
      "walletType": "internal",
      "sourceType": "WALLET",
      "isStakingAccountWallet": false,
      "chain": "veldt",
      "legalEntity": {
        "entityName": "Example Holdings",
        "entityType": "C-CORP"
      }
    },
    "counterparty": {
      "name": "Customer Settlement Contract",
      "walletType": "external"
    },
    "recurrenceProfile": {
      "priorReceiptsInStream": 12,
      "firstPriorReceipt": "2021-11-02",
      "mostRecentPriorReceipt": "2022-04-01",
      "medianDaysBetweenPriorReceipts": 13.5,
      "priorValueBaseMin": "1200.00",
      "priorValueBaseMedian": "18400.00",
      "priorValueBaseMax": "42000.00"
    },
    "relatedTransactions": [],
    "chartOfAccounts": [
      {
        "ledgerAccountName": "A0001: Digital Asset Wallet - Operating",
        "ledgerAccountSequence": "A0001",
        "ledgerAccountType": "Asset",
        "isClearingAccount": false,
        "isLeaf": true
      },
      {
        "ledgerAccountName": "I0001: Customer Settlement Revenue",
        "ledgerAccountSequence": "I0001",
        "ledgerAccountType": "Income",
        "isClearingAccount": false,
        "isLeaf": true
      },
      {
        "ledgerAccountName": "X0001: Network Fees",
        "ledgerAccountSequence": "X0001",
        "ledgerAccountType": "Expense",
        "isClearingAccount": false,
        "isLeaf": true
      }
    ]
  },
  "requiredOutput": {
    "journalEntry": {
      "lines": [
        {
          "ledgerAccountName": "<exact ledgerAccountName from the supplied chart of accounts>",
          "drCr": "Debit | Credit",
          "amountBase": "<decimal string, exactly 2 decimal places>",
          "currency": "USD"
        }
      ]
    },
    "assetQuantity": "<the transaction's asset quantity, full precision, as a decimal string>"
  }
}