Normalize exchange CSV to ledger
crypto-tax_exchange-csv-normalizeConvert a caller CSV export into the shared ledger schema using a caller column mapping, or return a mapping template from headers. Price $0.03 USDC. POST /api/v1/crypto-tax/exchange-csv-normalize. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"csv": "<csv>"
},
"name": "crypto-tax_exchange-csv-normalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | csv, string, length 0 to 10485760. Required. | |
| wallet | No | wallet, string, length 1 to 128. Required. | exchange |
| mapping | No | mapping, object. Optional. | |
| fiatCurrency | No | fiatCurrency, string, length 3 to 3. Required. | USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger | No | ledger. Array. | |
| sources | No | sources. Array. | |
| limitations | No | limitations. Array. | |
| fiatCurrency | No | fiatCurrency. String. | |
| rejectedRows | No | rejectedRows. Array. | |
| mappingTemplate | No | mappingTemplate. Null. |