Convert a bank statement
convert_bank_statementConverts a bank statement file (CAMT.053, MT940, CODA, Norma 43, CFONB 120, BAI2, OFX, QIF and more) to another format such as CAMT.053, MT940, CSV or Excel, and checks that the balances reconcile. When the file leaves something open, such as the date order or the opening balance, the answer is a need: call again with the same file, the answer and the resume token. Costs 1 call per started 500 transactions from the account's API balance, or credits once the API balance is empty, charged only on success. A PDF statement or scan read automatically (beta, a draft to check) costs 5 calls per started 10 pages from the API balance, or 1 credit per started 10 pages once it cannot cover that. Needs an API key.
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": {
"target": "<target>"
},
"name": "convert_bank_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume | No | The resume token from the last need answer. | |
| target | Yes | A bank format id, such as camt-053, mt940, bank-csv or xlsx. | |
| account | No | The answer to an account need, for a file with several accounts: the chosen account's position in the need's accounts list. | |
| century | No | The answer to a century need: the century of the file's two-digit years. | |
| currency | No | The answer to a currency need: an ISO 4217 code, for a file that states no currency. | |
| file_url | No | A public https address of the file. Private and local addresses are refused. | |
| filename | No | The file's name, which helps recognise its format. | |
| date_order | No | The answer to a dateOrder need: how the file writes its dates. | |
| file_base64 | No | The file's bytes as base64. Give this or file_url. | |
| idempotency_key | No | Any unique string. Calling again with the same key and arguments within 24 hours never charges again. | |
| opening_balance | No | The answer to an openingBalance need: the opening balance the file does not print, as a decimal string. | |
| statement_number | No | The statement number MT940 and CODA carry. | |
| decimal_separator | No | The answer to a decimalSeparator need: the decimal separator of the file's amounts. |