Import bank lines
import_bank_linesCreate bank lines on one of the business's bank accounts from a list of statement lines (date, description, reference, signed amount). Lines go through the statement importer: a line already on the account, from a feed, a statement upload or an earlier call, is skipped, so it is safe to send the same lines again. Set autocategorise false to leave the new lines uncategorised for the owner. Refused lines come back in skippedrows with a reason.
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": {
"bankaccountid": "<bankaccountid>",
"items": "<items>"
},
"name": "import_bank_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The statement lines, at most 1000. Parse a CSV yourself and send its rows here. | |
| bankaccountid | Yes | ID of the bank account the lines belong to (from list_bank_accounts) | |
| autocategorise | No | Default true. False leaves every line uncategorised, and no categoriser or matcher fills it later. |