Create a draft quotation
lexware_create_draft_quotationDestructive
WRITE: creates a quotation (Angebot) in Lexware Office as a DRAFT (never finalized or sent). Address it to an existing customer (contact_id) or a one-time address (name + country_code). Prices are EUR. Returns the new id and lexwareAppUrl to review and finalize it in Lexware Office. POST /v1/quotations (without finalize).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | One-time address ZIP code. | |
| city | No | One-time address city. | |
| name | No | One-time recipient name (no contact is created). Required without contact_id. | |
| title | No | Document title (max 25 characters; default from Lexware). | |
| remark | No | Closing remark (max 2000). | |
| street | No | One-time address street and number. | |
| language | No | Document language (default de; en needs the INVOICING_PRO feature). | |
| tax_type | No | Tax type (default net): net, gross, vatfree, intraCommunitySupply, constructionService13b, externalService13b, thirdPartyCountryService, thirdPartyCountryDelivery. | |
| contact_id | No | An existing Lexware contact with the customer role (from lexware_list_contacts). Give this OR name + country_code. | |
| line_items | Yes | 1-300 line items. | |
| supplement | No | One-time address supplement. | |
| country_code | No | ISO 3166 alpha-2 country code, e.g. DE, AT, CH (lexware_list_countries lists the supported codes). | |
| introduction | No | Introduction text (max 2000). | |
| voucher_date | Yes | Quotation date (yyyy-mm-dd). | |
| tax_type_note | No | Note for a vat-free tax type (Lexware uses the organization's default when omitted). | |
| expiration_date | Yes | Valid until (yyyy-mm-dd), on or after voucher_date. | |
| payment_term_label | No | Payment terms text shown on the document. | |
| payment_term_duration | No | Days until payment is due (the organization's or contact's default when omitted). | |
| total_discount_percentage | No | Total discount in percent. |