Create a draft invoice
sevdesk_create_invoiceCreate a draft outgoing invoice with line items, prices, tax rates, and auto-filled contact address. Invoice remains a draft for review before sending.
Instructions
Create an outgoing invoice as a draft (status 50) — always a draft, so nothing reaches a customer without review in sevDesk. Positions carry name, quantity, price and tax rate; the contact's address is filled in automatically. Honors SEVDESK_DRY_RUN. ⚠️ This tool can change data in sevDesk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview the request without sending it. | |
| header | No | Optional invoice header text. | |
| currency | No | Currency (default EUR). | |
| contactId | Yes | Numeric id of the customer contact. | |
| positions | Yes | Invoice line items. | |
| taxRuleId | No | Revenue tax rule id (default 1, or 11 for Kleinunternehmer). | |
| invoiceDate | No | Invoice date, yyyy-mm-dd (default today). |