sevdesk: Create invoice draft
sevdesk_create_invoice_draftsevdesk: Create an invoice as a draft with its positions. Nothing is sent and the invoice number is not final. Creates a draft invoice for a contact with one or more positions, like the invoice mask before you finish it. Positions are net or gross as you choose with price_mode. The draft is not sent and not booked, and its number is only provisional: sevdesk fixes it when the invoice is finished with send_invoice. create_invoice_draft runs without asking first because it reaches nobody; send_invoice is the step that does. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | Subject line of the invoice. | |
| e_invoice | No | Switch on the E-Rechnung toggle. The contact needs an email address and your VAT ID must be set in sevdesk. Default: false. | |
| positions | Yes | Lines of {name, quantity, unit, unit_price, tax_rate, description}. unit_price is net or gross as set by price_mode. | |
| contact_id | Yes | Customer ID from list_contacts or create_contact. | |
| price_mode | No | net or gross (Netto or Brutto). Default: net. | |
| invoice_date | No | Invoice date. Default: today. | |
| customer_reference | No | Kundenreferenz or Leitweg-ID, for public clients. |