Lexware Office (lexoffice): Create invoice
lexware-office_create_invoiceLexware Office (lexoffice): Save a draft invoice for a contact. Nothing is sent and no number is assigned yet. Saves an invoice as a draft, the state Lexware Office keeps editable until finalised. The draft has no invoice number, reaches no customer and is deleted with one call in the app, so it does not ask for your OK. Returns net, tax and gross totals so you can check them before finalize_document. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Line items. Each has name, quantity, unit_price_net (EUR) and tax_rate (percent, as offered in your Lexware Office tax settings). Free-text lines need only a name. | |
| contact_id | Yes | Contact ID from list_contacts or create_contact. | |
| intro_text | No | Introduction text above the lines. | |
| invoice_date | Yes | Invoice date, YYYY-MM-DD. | |
| delivery_date | No | Delivery or service date, YYYY-MM-DD. | |
| payment_term_days | No | Days until the invoice is due. Default: your Lexware Office payment terms. |