Parse Bank Statement Text to CSV/QBO/OFX
parse_bank_statement_textDeterministically parse plain bank statement text into normalized transactions with exact integer-cent balance reconciliation (Opening + Credits - Debits = Closing), automatic inverted-sign resolution, and formula-safe CSV, QuickBooks QBO, or OFX export.
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": {
"text": "<text>"
},
"name": "parse_bank_statement_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw extracted bank statement text lines (e.g. from pdftotext, clipboard copy, or OCR). | |
| format | No | Accounting export format to render. | csv |
| currency | No | Optional ISO 4217 currency code override (e.g. USD, EUR, GBP). | |
| date_order | No | Date parsing order for slash-separated numeric dates. | auto |
| include_bom | No | Prefix UTF-8 BOM to CSV output for Microsoft Excel. | |
| bank_profile | No | Optional bank layout hint. | auto |
| number_locale | No | Decimal/thousands separator locale (US: 1,234.56; EU: 1.234,56). | auto |
| closing_balance | No | Optional statement closing balance override if omitted from the text. | |
| opening_balance | No | Optional statement opening balance override if omitted from the text. |