Convert a PDF bank statement
convert_statementExtracts the transactions from a text-based PDF bank or credit card statement. Returns date (ISO), description, signed amount (negative = money out) and running balance for each transaction, plus a balance check (rows where previous balance + amount equals the printed balance). Provide the PDF as file_url (a public https link) or file_base64. Scanned PDFs without a text layer are not supported. Each call uses monthly quota, counted in pages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | No | Optional bank slug (for example chase) to apply that bank's parsing rules. | |
| store | No | Keep the result so list_conversions returns it later. Off by default: nothing is stored. | |
| format | No | json for structured transactions; csv, xero (Xero import CSV), qbo (QuickBooks), ofx, qfx (Quicken) or qif to get the file content as text. | json |
| file_url | No | Public https URL of the PDF. Use this for files that are already online. | |
| filename | No | Original file name, used for stored results. | |
| date_order | No | How to read ambiguous dates such as 03/04. Omit to auto-detect. | |
| file_base64 | No | The PDF bytes, base64-encoded. Use for small files when there is no URL. |