Lexware Office icon

Lexware Office

Interact with the Lexware Office API

Actions40

Delivery Note → Create

AI-generated

Summary

Create a new delivery note in Lexware Office, optionally finalizing it and linking it to a preceding sales voucher.

Inputs

  • Finalize — Whether to finalize the delivery note setting its status to "open" instead of "draft" (default=false).
  • Preceding Sales Voucher ID — Optional ID of a preceding voucher to convert into a delivery note.
  • Delivery Note Data (JSON) (required) — JSON-formatted data defining the delivery note, including voucher date, recipient address, line items, total price, tax conditions, and shipping conditions.

Output shape

A single record representing the created delivery note.

The operation sends a POST request to the /v1/delivery-notes endpoint with optional query parameters based on 'finalize' and 'precedingSalesVoucherId'. The response JSON contains the created delivery note data.

Examples

Example 1: Create delivery note draft

Set 'Finalize' to false and provide complete delivery note JSON data to create a draft delivery note.

Example 2: Create and finalize delivery note linked to prior voucher

Set 'Finalize' to true, provide 'Preceding Sales Voucher ID', and supply delivery note JSON data to create and finalize the delivery note linked to the given voucher.

Links

Discussion