upload_intake
Upload ANY file; the system decides what it is (the unified intake queue,
the web app's Documents > Upload). file_base64: raw bytes, base64.
Prefer this unless plainly an invoice; always for bank statements (CAMT.053 XML, PDF, CSV or .xlsx; not legacy .xls), matched to the registered bank account by IBAN; journal/accounting exports; balance sheets, P&L and VAT filings. A mixed .zip is routed per file.
Returns 202 and the queue row; poll get_intake for the outcome and targets.
An unroutable file fails with its reason, never dropped.
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": {
"company_id": "<company_id>",
"filename": "<filename>",
"file_base64": "<file_base64>"
},
"name": "upload_intake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | ||
| company_id | Yes | ||
| file_base64 | Yes |