convert_statement
Upload a bank statement (PDF, CSV, XLS, XLSX, or OFX) as base64 and run AI extraction + categorisation. Returns a session_id plus access.level: "full" when an API key with credit was supplied, otherwise "preview" (5 sample rows, other rows masked) with an unlock_url a human can open to buy the full file for $9.99. Large statements can take 1-3 minutes; if status is "processing", poll get_job.
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": {
"filename": "<filename>",
"content_base64": "<content_base64>"
},
"name": "convert_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Original file name including extension | |
| password | No | PDF password if the file is locked | |
| content_base64 | Yes | File bytes encoded as base64 |