Import bank statement
import_bank_statementImport a JSON or PDF bank statement (base64, up to 3 MB). Skips exact duplicates (listed in duplicatesSkipped), imports but flags look-alikes with a different description (possibleDuplicates), records the balance the statement reports instead of importing balance lines as transactions, and returns the last bank-synced balance and the unmatched transactions. Bank import tools are available only when a building has bank sync configured.
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": {
"buildingId": "<buildingId>",
"fileBase64": "<fileBase64>",
"filename": "<filename>",
"mimeType": "<mimeType>"
},
"name": "import_bank_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| mimeType | Yes | ||
| buildingId | Yes | ||
| fileBase64 | Yes |