Sevdesk import range
sevdesk_import_rangePull sevDesk data into Book-AI-ze for a date range — invoices, vouchers, credit notes, offers and orders, contacts, bank transactions. Drives the whole paged fetch server-side, then maps what it downloaded into documents/contacts/transactions, so an imported record is immediately findable by list_documents and shows on its contact. progress counts what was downloaded, imported counts what was written into the app's own tables. If it hits its time budget before finishing it returns done:false with the job_id; call it again with that job_id to resume — nothing is mapped until the download finishes. Asking for 'orders' also pulls the order line items and the unit reference table, and 'vouchers' also pulls the voucher positions — a voucher's booked SKR account lives on its positions, not on the voucher, so without them every imported receipt has a null account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sevdesk_import_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Resume an existing job instead of starting a new one (from a previous done:false result). | |
| date_to | No | End of the range, YYYY-MM-DD. | |
| date_from | No | Start of the range, YYYY-MM-DD. Applies to the categories that are date-filterable. | |
| categories | No | Which categories to pull. Defaults to all. One or more of: invoices, invoice_positions, vouchers, voucher_positions, contacts, transactions, check_accounts, credit_notes, orders, order_positions, parts, check_account_transaction_log, ref_categories, ref_countries, ref_unity, ref_accounting_types | |
| max_seconds | No | Time budget for this call before it returns done:false to be resumed (default 60, max 120). | |
| update_existing_only | No | Repair the documents that already exist and create none. Use it to backfill a field onto imported rows without also pulling in every record sevDesk has for the range — a voucher range can return far more than was ever mapped. Default false. |