Sevdesk push documents
sevdesk_push_documentsSend booked documents to sevDesk as vouchers (status 100 = booked/open), with the PDF attached. DRY RUN BY DEFAULT: it resolves the supplier contact and the booking account and returns the exact payload without writing anything, so mapping problems surface first. Pass dry_run:false to actually create the vouchers. With no document_ids it targets everything marked for sync that isn't in sevDesk yet. A document that is ALREADY in sevDesk is refused unless you pass force_update:true — re-pushing updates the existing voucher's fields and re-attaches the PDF, but leaves its positions alone. The result reports document_attached per document: if that is false the voucher has no Beleg, which sevdesk_attach_document can fix on its own.
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_push_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max documents in one call (default 25, max 100) | |
| dry_run | No | Default TRUE. Set false to really write to sevDesk — this creates booked accounting entries. | |
| document_ids | No | Specific document ids to push. Omit to push everything marked for sync. | |
| force_update | No | Re-push documents that already have a sevdesk_id, updating the existing voucher instead of skipping them. Default false. Positions are not touched; a voucher that is already paid keeps its status and payment date. |