import_execute
Run a confirmed import job asynchronously; optionally filter invoices, orders, or receipts by period/client, then check status with import_get.
Instructions
Execute an import job after mapping is confirmed. The import runs asynchronously via a message queue. Check status with import_get. For invoice imports, importOptions.dateFrom / dateTo / clientCifs import only the invoices of a period or of some partners; an invalid value returns 422.
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": {
"id": "<id>"
},
"name": "import_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Import job ID | |
| companyId | No | Company UUID override (uses active company if not set) | |
| importOptions | No | Optional import options: markAsPaid (invoice imports); dateFrom and dateTo (YYYY-MM-DD, issue date, inclusive) and clientCifs (array of tax codes, or one string separated by commas, spaces or newlines; the RO prefix and spacing are ignored; at most 2000) keep only part of an invoice file, the other rows count as skipped, and with a filter set a row without a readable date or tax code is skipped too; groupBy = week | day | order and platformName / platformCif / platformCountry (platform_sales); includeAll to import orders whose status is not paid / completed (WooCommerce, PrestaShop); cashRegisterName, vatGroups ({"1": "21", "2": "11", "3": "5", "4": "0"}) and paymentTypes ({"1": "cash", "3": "card"}) for receipts |