Create a voucher
sevdesk_create_voucherCreate a sevDesk voucher as a draft for review, specifying supplier, date, tax rule, and line items; verify allowed tax rules first to prevent VAT mis-bookings.
Instructions
Create a voucher via /Voucher/Factory/saveVoucher. Defaults to status 50 (Entwurf) so nothing is booked without you reviewing it in sevDesk. Check sevdesk_receipt_guidance for the account's allowed tax rules first — expense-side reverse charge is 12/13/14, not 5. WRITE operation. For anything this wrapper does not cover, use sevdesk_call with operationId 'voucherFactorySaveVoucher'. ⚠️ This tool can change data in sevDesk.
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": {
"supplierName": "<supplierName>",
"voucherDate": "<voucherDate>",
"taxRuleId": "<taxRuleId>",
"positions": "<positions>"
},
"name": "sevdesk_create_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extra | No | Additional top-level voucher fields merged into the payload verbatim. | |
| dryRun | No | Show the payload instead of sending it. | |
| status | No | 50 = Entwurf (default). 100 = offen and 1000 = bezahlt need SEVDESK_ALLOW_BOOKING=true. | |
| payDate | No | Payment date, dd.mm.yyyy — only with status 1000. Needs SEVDESK_ALLOW_BOOKING=true. | |
| fileName | No | Filename token returned by sevdesk_upload_voucher_file. | |
| positions | Yes | Line items. | |
| taxRuleId | Yes | VAT regulation id — every rule sevDesk accepts on a voucher, both sides. Required — never guessed. sevdesk_receipt_guidance lists the ones the booking account actually allows. Expense rules go with creditDebit C, revenue rules with D. | |
| creditDebit | No | C = credit, D = debit. | |
| description | No | Document/invoice number. | |
| voucherDate | Yes | Voucher date, dd.mm.yyyy. | |
| supplierName | Yes | Supplier name as it should appear on the voucher. |