Actions40
- Article Actions
- Contact Actions
- Country Actions
- Credit Note Actions
- Delivery Note Actions
- Event Subscription Actions
- File Actions
- Invoice Actions
- Order Confirmation Actions
- Payment Actions
- Payment Condition Actions
- Posting Category Actions
- Profile Actions
- Quotation Actions
- Voucher Actions
- Voucherlist Actions
Order Confirmation → Create
AI-generatedSummary
Create a new order confirmation in Lexware Office with specified JSON data, optionally finalizing it or linking it to a preceding sales voucher.
Inputs
- Order Confirmation Data (JSON) (required) — The order confirmation data formatted as JSON, including voucher date, address, line items, total price, tax conditions, and shipping conditions.
- Finalize — Boolean option to finalize the order confirmation (set status to "open" instead of "draft"). Defaults to false.
- Preceding Sales Voucher ID — Optional ID of a preceding sales voucher (such as a quotation) to pursue into this order confirmation.
Output shape
a single record
Returns the newly created order confirmation object as JSON. If 'finalize' is true, the order confirmation is created with status 'open' instead of 'draft'. Errors are returned as JSON error messages if the operation fails.
Examples
Example 1: Create and finalize an order confirmation from provided JSON data, linking it to a preceding quotation by ID.
Set 'Order Confirmation Data (JSON)' with the order details, set 'Finalize' to true, and provide the 'Preceding Sales Voucher ID' of the quotation.