# Lexware Office

> Work with your Lexware Office (formerly lexoffice) accounting: create and update contacts and articles, write invoices, quotations, order confirmations and delivery notes, search every voucher, and manage webhooks.

App · 27 actions. Web page: https://docs.lodol.com/docs/integrations/lexware-office

## Actions

### Create article

Create a product or service with a unit and a price, to reuse when writing documents in Lexware Office.

**Inputs**

- Title (`title`, text, required): The article's name.
- Type (`article_type`, text): A product or a service. Defaults to a service. One of: `SERVICE`, `PRODUCT`.
- Unit (`unit_name`, text, required): What the price is per, such as Stück or Stunde.
- Price (`price`, number, required): The price per unit. Net unless 'Price is' says gross. At least 0.
- Price is (`price_basis`, text): Whether the price is net or gross. Defaults to net. One of: `NET` (Net price (default)), `GROSS` (Gross price).
- VAT rate (%) (`tax_rate`, number): The VAT rate in percent, for example 19 or 7. Defaults to 19. From 0 to 100.
- Description (`description`, text): Text shown under the article on documents.
- Article number (`article_number`, text): Your own number for the article.
- GTIN / EAN (`gtin`, text): The article's barcode number.
- Note (`note`, text): An internal note on the article.

**Outputs**

- `article` (object): The article

**Example output**

```json
{
  "article": {
    "archived": false,
    "articleNumber": "A-100",
    "createdDate": "2026-11-17T19:52:46.405+01:00",
    "description": "Stundensatz",
    "gtin": "",
    "id": "9585dcbe-1570-479e-a56b-67caca963895",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "price": {
      "grossPrice": 119.0,
      "leadingPrice": "NET",
      "netPrice": 100.0,
      "taxRate": 19
    },
    "title": "Beratung",
    "type": "SERVICE",
    "unitName": "Stunde",
    "updatedDate": "2026-11-17T19:52:46.415+01:00",
    "version": 0
  }
}
```

### Create contact

Create a customer or vendor, a company or a person, with an optional billing address, email and phone. Lexware Office gives it the next customer or vendor number.

**Inputs**

- Type (`contact_type`, text): A company or a person. Defaults to a company. One of: `company`, `person`.
- Company name (`company_name`, text): The company's name. Required for a company. Only when Type is Company.
- Salutation (`salutation`, text): For example Herr or Frau.
- First name (`first_name`, text): The person's first name (for a company, its contact person's).
- Last name (`last_name`, text): The person's last name (for a company, its contact person's). Required for a person.
- Email (`email`, text): The contact's business email address.
- Phone (`phone`, text): The contact's business phone number.
- Street (`street`, text): Street and house number of the billing address.
- Postcode (`zip`, text): Postcode of the billing address.
- City (`city`, text): City of the billing address.
- Country (`country_code`, text): Country of the billing address. Needed when any address field is given.
- Note (`note`, text): A note kept on the contact.
- Customer (`is_customer`, true/false): Give the contact a customer number. Default: `true`.
- Vendor (`is_vendor`, true/false): Give the contact a vendor number. Default: `false`.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "addresses": {
      "billing": [
        {
          "city": "Berlin",
          "countryCode": "DE",
          "street": "Teststrasse 1",
          "zip": "10115"
        }
      ]
    },
    "archived": false,
    "company": {
      "contactPersons": [
        {
          "emailAddress": "ada@example.com",
          "firstName": "Ada",
          "lastName": "Muster",
          "primary": false,
          "salutation": "Frau"
        }
      ],
      "name": "Beispiel GmbH"
    },
    "emailAddresses": {
      "business": [
        "info@example.com"
      ]
    },
    "id": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "person": null,
    "phoneNumbers": null,
    "roles": {
      "customer": {
        "number": 10001
      }
    },
    "version": 1
  }
}
```

### Create delivery note

Create a delivery note for a contact. It is saved as a draft: Lexware Office numbers and locks a document only when you finalize it in the app.

**Inputs**

- Customer (`contact_id`, text, required): The contact the document is for. Pick one, or give its id from an earlier step.
- Line items (`line_items`, list, required): The lines, each with a name and a unit price (net), and optionally quantity (default 1), unit_name, tax_rate (percent), discount (percent) and description.
- Document date (`voucher_date`, date): The date on the document. Defaults to today.
- Title (`title`, text): The heading of the document. Defaults to Lexware Office's own.
- Introduction (`introduction`, text): Text above the lines.
- Closing text (`remark`, text): Text below the lines. Defaults to Lexware Office's own.
- Currency (`currency`, text): A three-letter code. Defaults to EUR.
- Service or delivery date (`shipping_type`, text): What kind of date to print. Defaults to a service date (a delivery date on a delivery note). One of: `service` (Service on one day), `serviceperiod` (Service over a period), `delivery` (Delivery on one day), `deliveryperiod` (Delivery over a period), `none` (No date shown).
- Date, or start of the period (`shipping_date`, date): The service or delivery date. Defaults to the document date.
- End of the period (`shipping_end_date`, date): Needed when the date type is a period. Only when Service or delivery date is Service over a period or Delivery over a period.
- Delivery terms (`delivery_terms`, text): Delivery terms printed on the document, such as DAP.

**Outputs**

- `delivery_note` (object): The delivery note

**Example output**

```json
{
  "delivery_note": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Lieferschein",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "LS0001",
    "voucherStatus": "draft"
  }
}
```

### Create invoice

Create an invoice for a contact from a list of lines. VAT follows the account's tax type. A draft unless Finalize is on.

**Inputs**

- Customer (`contact_id`, text, required): The contact the document is for. Pick one, or give its id from an earlier step.
- Line items (`line_items`, list, required): The lines, each with a name and a unit price (net), and optionally quantity (default 1), unit_name, tax_rate (percent), discount (percent) and description.
- Document date (`voucher_date`, date): The date on the document. Defaults to today.
- Title (`title`, text): The heading of the document. Defaults to Lexware Office's own.
- Introduction (`introduction`, text): Text above the lines.
- Closing text (`remark`, text): Text below the lines. Defaults to Lexware Office's own.
- Currency (`currency`, text): A three-letter code. Defaults to EUR.
- Payment condition (`payment_condition_id`, text): The payment terms to print. Defaults to the account's own.
- Service or delivery date (`shipping_type`, text): What kind of date to print. Defaults to a service date (a delivery date on a delivery note). One of: `service` (Service on one day), `serviceperiod` (Service over a period), `delivery` (Delivery on one day), `deliveryperiod` (Delivery over a period), `none` (No date shown).
- Date, or start of the period (`shipping_date`, date): The service or delivery date. Defaults to the document date.
- End of the period (`shipping_end_date`, date): Needed when the date type is a period. Only when Service or delivery date is Service over a period or Delivery over a period.
- Finalize (`finalize`, true/false): Turn on to finalize the invoice at once. A finalized invoice gets its number, is locked and cannot be deleted. Off keeps it a draft. Default: `false`.

**Outputs**

- `invoice` (object): The invoice

**Example output**

```json
{
  "invoice": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Rechnung",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "RE0001",
    "voucherStatus": "draft"
  }
}
```

### Create order confirmation

Create an order confirmation for a contact. It is saved as a draft: Lexware Office numbers and locks a document only when you finalize it in the app.

**Inputs**

- Customer (`contact_id`, text, required): The contact the document is for. Pick one, or give its id from an earlier step.
- Line items (`line_items`, list, required): The lines, each with a name and a unit price (net), and optionally quantity (default 1), unit_name, tax_rate (percent), discount (percent) and description.
- Document date (`voucher_date`, date): The date on the document. Defaults to today.
- Title (`title`, text): The heading of the document. Defaults to Lexware Office's own.
- Introduction (`introduction`, text): Text above the lines.
- Closing text (`remark`, text): Text below the lines. Defaults to Lexware Office's own.
- Currency (`currency`, text): A three-letter code. Defaults to EUR.
- Payment condition (`payment_condition_id`, text): The payment terms to print. Defaults to the account's own.
- Service or delivery date (`shipping_type`, text): What kind of date to print. Defaults to a service date (a delivery date on a delivery note). One of: `service` (Service on one day), `serviceperiod` (Service over a period), `delivery` (Delivery on one day), `deliveryperiod` (Delivery over a period), `none` (No date shown).
- Date, or start of the period (`shipping_date`, date): The service or delivery date. Defaults to the document date.
- End of the period (`shipping_end_date`, date): Needed when the date type is a period. Only when Service or delivery date is Service over a period or Delivery over a period.
- Delivery terms (`delivery_terms`, text): Delivery terms printed on the document, such as DAP.

**Outputs**

- `order_confirmation` (object): The order confirmation

**Example output**

```json
{
  "order_confirmation": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Auftragsbest\u00e4tigung",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "AB0001",
    "voucherStatus": "draft"
  }
}
```

### Create quotation

Create a quotation (an offer) for a contact. It is saved as a draft: Lexware Office numbers and locks a document only when you finalize it in the app.

**Inputs**

- Customer (`contact_id`, text, required): The contact the document is for. Pick one, or give its id from an earlier step.
- Line items (`line_items`, list, required): The lines, each with a name and a unit price (net), and optionally quantity (default 1), unit_name, tax_rate (percent), discount (percent) and description.
- Document date (`voucher_date`, date): The date on the document. Defaults to today.
- Title (`title`, text): The heading of the document. Defaults to Lexware Office's own.
- Introduction (`introduction`, text): Text above the lines.
- Closing text (`remark`, text): Text below the lines. Defaults to Lexware Office's own.
- Currency (`currency`, text): A three-letter code. Defaults to EUR.
- Valid until (`expiration_date`, date): The last day the offer holds. Defaults to 30 days after the document date.
- Payment condition (`payment_condition_id`, text): The payment terms to print. Defaults to the account's own.

**Outputs**

- `quotation` (object): The quotation

**Example output**

```json
{
  "quotation": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Angebot",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "AG0001",
    "voucherStatus": "draft"
  }
}
```

### Create webhook

Have Lexware Office send a notification to an https address whenever the chosen event happens, such as an invoice being created or a contact changing.

**Inputs**

- Event (`event_type`, text, required): What should trigger the notification. One of: `contact.created` (Contact created), `contact.changed` (Contact changed), `contact.deleted` (Contact deleted), `article.created` (Article created), `article.changed` (Article changed), `article.deleted` (Article deleted), `invoice.created` (Invoice created), `invoice.changed` (Invoice changed), `invoice.deleted` (Invoice deleted), `quotation.created` (Quotation created), and 32 more.
- Address (`callback_url`, text, required): The https:// address to send notifications to.

**Outputs**

- `subscription` (object): The webhook subscription

**Example output**

```json
{
  "subscription": {
    "callbackUrl": "https://example.com/lexware-hook",
    "createdDate": "2026-11-17T19:53:43.936+01:00",
    "eventType": "invoice.created",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "subscriptionId": "d76bd088-dd3d-43da-9d44-90e36cc2c136"
  }
}
```

### Delete article

Delete an article. Documents that already use it keep their own copy of the line.

**Inputs**

- Article (`article_id`, text, required): The article. Pick one, or give its id from an earlier step.

**Outputs**

- `article_id` (text): The article deleted
- `deleted` (true/false): Always true once deleted

**Example output**

```json
{
  "article_id": "9585dcbe-1570-479e-a56b-67caca963895",
  "deleted": true
}
```

### Delete webhook

Delete a webhook subscription so Lexware Office stops calling it.

**Inputs**

- Subscription ID (`subscription_id`, text, required): The webhook subscription's id, from 'List webhooks' or 'Create webhook'.

**Outputs**

- `deleted` (true/false): Always true once deleted
- `subscription_id` (text): The subscription deleted

**Example output**

```json
{
  "deleted": true,
  "subscription_id": "d76bd088-dd3d-43da-9d44-90e36cc2c136"
}
```

### Get article

Get one article with its type, unit and price.

**Inputs**

- Article (`article_id`, text, required): The article. Pick one, or give its id from an earlier step.

**Outputs**

- `article` (object): The article

**Example output**

```json
{
  "article": {
    "archived": false,
    "articleNumber": "A-100",
    "createdDate": "2026-11-17T19:52:46.405+01:00",
    "description": "Stundensatz",
    "gtin": "",
    "id": "9585dcbe-1570-479e-a56b-67caca963895",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "price": {
      "grossPrice": 119.0,
      "leadingPrice": "NET",
      "netPrice": 100.0,
      "taxRate": 19
    },
    "title": "Beratung",
    "type": "SERVICE",
    "unitName": "Stunde",
    "updatedDate": "2026-11-17T19:52:46.415+01:00",
    "version": 0
  }
}
```

### Get contact

Get one contact with its roles and numbers, addresses, email addresses, phone numbers and note.

**Inputs**

- Contact (`contact_id`, text, required): The contact. Pick one, or give its id from an earlier step.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "addresses": {
      "billing": [
        {
          "city": "Berlin",
          "countryCode": "DE",
          "street": "Teststrasse 1",
          "zip": "10115"
        }
      ]
    },
    "archived": false,
    "company": {
      "contactPersons": [
        {
          "emailAddress": "ada@example.com",
          "firstName": "Ada",
          "lastName": "Muster",
          "primary": false,
          "salutation": "Frau"
        }
      ],
      "name": "Beispiel GmbH"
    },
    "emailAddresses": {
      "business": [
        "info@example.com"
      ]
    },
    "id": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "person": null,
    "phoneNumbers": null,
    "roles": {
      "customer": {
        "number": 10001
      }
    },
    "version": 1
  }
}
```

### Get delivery note

Get one delivery note with its lines, totals, status and number.

**Inputs**

- Delivery note ID (`delivery_note_id`, text, required): The delivery note's id, from the step that created it or 'Search vouchers'.

**Outputs**

- `delivery_note` (object): The delivery note

**Example output**

```json
{
  "delivery_note": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Lieferschein",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "LS0001",
    "voucherStatus": "draft"
  }
}
```

### Get invoice

Get one invoice with its lines, totals, status and number.

**Inputs**

- Invoice ID (`invoice_id`, text, required): The invoice's id, from the step that created it or 'Search vouchers'.

**Outputs**

- `invoice` (object): The invoice

**Example output**

```json
{
  "invoice": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Rechnung",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "RE0001",
    "voucherStatus": "draft"
  }
}
```

### Get order confirmation

Get one order confirmation with its lines, totals, status and number.

**Inputs**

- Order confirmation ID (`order_confirmation_id`, text, required): The order confirmation's id, from the step that created it or 'Search vouchers'.

**Outputs**

- `order_confirmation` (object): The order confirmation

**Example output**

```json
{
  "order_confirmation": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Auftragsbest\u00e4tigung",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "AB0001",
    "voucherStatus": "draft"
  }
}
```

### Get profile

Get the Lexware Office account the key belongs to: company name, tax type (net, gross or VAT-free), small-business flag and the features of its plan.

**Inputs**: None.

**Outputs**

- `profile` (object): The account

**Example output**

```json
{
  "profile": {
    "businessFeatures": [
      "INVOICING",
      "BOOKKEEPING"
    ],
    "companyName": "Beispiel GmbH",
    "connectionId": "fdadff2c-443b-4af3-8c80-3198afbd0d0b",
    "created": {
      "date": "2026-11-17T18:08:54.984178Z",
      "userEmail": "ada@example.com",
      "userId": "90cf79de-d13e-4482-9d4e-37ebbabb7646",
      "userName": "ada@example.com"
    },
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "smallBusiness": false,
    "taxType": "net"
  }
}
```

### Get quotation

Get one quotation with its lines, totals, status and number.

**Inputs**

- Quotation ID (`quotation_id`, text, required): The quotation's id, from the step that created it or 'Search vouchers'.

**Outputs**

- `quotation` (object): The quotation

**Example output**

```json
{
  "quotation": {
    "address": {
      "city": "Berlin",
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "countryCode": "DE",
      "name": "Beispiel GmbH",
      "street": "Teststrasse 1",
      "zip": "10115"
    },
    "archived": false,
    "createdDate": "2026-11-17T19:53:18.257+01:00",
    "deliveryTerms": null,
    "expirationDate": null,
    "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
    "introduction": "Vielen Dank f\u00fcr Ihren Auftrag.",
    "language": "de",
    "lineItems": [
      {
        "discountPercentage": 0,
        "lineItemAmount": 100.0,
        "name": "Beratung",
        "quantity": 2,
        "type": "custom",
        "unitName": "Stunde",
        "unitPrice": {
          "currency": "EUR",
          "grossAmount": 50,
          "netAmount": 50,
          "taxRatePercentage": 0
        }
      }
    ],
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "paymentConditions": {
      "paymentTermDuration": 0,
      "paymentTermLabel": "Zahlbar sofort, rein netto"
    },
    "remark": "Vielen Dank f\u00fcr die gute Zusammenarbeit.",
    "shippingConditions": {
      "shippingDate": "2026-11-17T00:00:00.000+01:00",
      "shippingType": "service"
    },
    "taxConditions": {
      "taxType": "vatfree",
      "taxTypeNote": "Umsatzsteuerfreie Leistungen gem\u00e4\u00df \u00a719 UStG."
    },
    "title": "Angebot",
    "totalPrice": {
      "currency": "EUR",
      "totalGrossAmount": 100.0,
      "totalNetAmount": 100.0,
      "totalTaxAmount": 0
    },
    "updatedDate": "2026-11-17T19:53:18.259+01:00",
    "version": 1,
    "voucherDate": "2026-11-17T00:00:00.000+01:00",
    "voucherNumber": "AG0001",
    "voucherStatus": "draft"
  }
}
```

### Get webhook

Get one webhook subscription with its event and address.

**Inputs**

- Subscription ID (`subscription_id`, text, required): The webhook subscription's id, from 'List webhooks' or 'Create webhook'.

**Outputs**

- `subscription` (object): The webhook subscription

**Example output**

```json
{
  "subscription": {
    "callbackUrl": "https://example.com/lexware-hook",
    "createdDate": "2026-11-17T19:53:43.936+01:00",
    "eventType": "invoice.created",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "subscriptionId": "d76bd088-dd3d-43da-9d44-90e36cc2c136"
  }
}
```

### List articles

List products and services, filtered by type, article number or GTIN. Gets one page of at least 25.

**Inputs**

- Type (`article_type`, text): Only products, or only services. Empty lists both. One of: `SERVICE`, `PRODUCT`.
- Article number (`article_number`, text): Only the article with this number.
- GTIN / EAN (`gtin`, text): Only the article with this barcode number.
- Page (`page`, number): Which page to get, counting from 0. Leave empty for the first. At least 0.
- Page size (`size`, number): How many to return, 25 to 250. The default is 25. From 25 to 250.

**Outputs**

- `articles` (list): The articles
- `count` (number): How many came back on this page
- `is_last` (true/false): True on the last page
- `page` (number): This page, counting from 0
- `size` (number): The page size used
- `total_elements` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "articles": [
    {
      "archived": false,
      "articleNumber": "A-100",
      "createdDate": "2026-11-17T19:52:46.405+01:00",
      "description": "Stundensatz",
      "gtin": "",
      "id": "9585dcbe-1570-479e-a56b-67caca963895",
      "note": "",
      "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
      "price": {
        "grossPrice": 119.0,
        "leadingPrice": "NET",
        "netPrice": 100.0,
        "taxRate": 19
      },
      "title": "Beratung",
      "type": "SERVICE",
      "unitName": "Stunde",
      "updatedDate": "2026-11-17T19:52:46.415+01:00",
      "version": 0
    }
  ],
  "count": 1,
  "is_last": true,
  "page": 0,
  "size": 25,
  "total_elements": 1,
  "total_pages": 1
}
```

### List contacts

List customers and vendors, filtered by name, email, number or role. Gets one page; to see more, run it again with the next page.

**Inputs**

- Name contains (`name`, text): Part of the company or person's name (at least 3 letters).
- Email (`email`, text): Only contacts with this email address.
- Customer or vendor number (`number`, number): Only the contact with this number. At least 1.
- Role (`role`, text): Only customers, or only vendors. Empty lists both. One of: `customer` (Customers), `vendor` (Vendors).
- Page (`page`, number): Which page to get, counting from 0. Leave empty for the first. At least 0.
- Page size (`size`, number): How many to return, 1 to 250. The default is 25. From 1 to 250.

**Outputs**

- `contacts` (list): The contacts
- `count` (number): How many came back on this page
- `is_last` (true/false): True on the last page
- `page` (number): This page, counting from 0
- `size` (number): The page size used
- `total_elements` (number): How many there are in all
- `total_pages` (number): How many pages there are

**Example output**

```json
{
  "contacts": [
    {
      "addresses": {
        "billing": [
          {
            "city": "Berlin",
            "countryCode": "DE",
            "street": "Teststrasse 1",
            "zip": "10115"
          }
        ]
      },
      "archived": false,
      "company": {
        "contactPersons": [
          {
            "emailAddress": "ada@example.com",
            "firstName": "Ada",
            "lastName": "Muster",
            "primary": false,
            "salutation": "Frau"
          }
        ],
        "name": "Beispiel GmbH"
      },
      "emailAddresses": {
        "business": [
          "info@example.com"
        ]
      },
      "id": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "note": "",
      "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
      "person": null,
      "phoneNumbers": null,
      "roles": {
        "customer": {
          "number": 10001
        }
      },
      "version": 1
    }
  ],
  "count": 1,
  "is_last": true,
  "page": 0,
  "size": 25,
  "total_elements": 1,
  "total_pages": 1
}
```

### List countries

List every country with its code and how Lexware Office taxes sales to it (domestic, EU or third country).

**Inputs**: None.

**Outputs**

- `count` (number): How many there are
- `countries` (list): The countries

**Example output**

```json
{
  "count": 1,
  "countries": [
    {
      "countryCode": "DE",
      "countryNameDE": "Deutschland",
      "countryNameEN": "Germany",
      "taxClassification": "de"
    }
  ]
}
```

### List payment conditions

List the payment terms set up in the account, such as 14 days net.

**Inputs**: None.

**Outputs**

- `count` (number): How many there are
- `payment_conditions` (list): The payment conditions

**Example output**

```json
{
  "count": 1,
  "payment_conditions": [
    {
      "id": "c70a1ab1-396e-4a6c-827a-b074de0b5207",
      "organizationDefault": true,
      "paymentDiscountConditions": null,
      "paymentTermDuration": 0,
      "paymentTermLabelTemplate": "Zahlbar sofort, rein netto"
    }
  ]
}
```

### List posting categories

List the bookkeeping categories (income and expense) a receipt can be posted to.

**Inputs**: None.

**Outputs**

- `count` (number): How many there are
- `posting_categories` (list): The posting categories

**Example output**

```json
{
  "count": 1,
  "posting_categories": [
    {
      "contactRequired": false,
      "groupName": "Material/Waren",
      "id": "efa82f42-fd85-11e1-a21f-0800200c9a66",
      "name": "Material/Waren",
      "splitAllowed": true,
      "type": "outgo"
    }
  ]
}
```

### List print layouts

List the document layouts (letterheads) in the account.

**Inputs**: None.

**Outputs**

- `count` (number): How many there are
- `print_layouts` (list): The print layouts

**Example output**

```json
{
  "count": 1,
  "print_layouts": [
    {
      "default": true,
      "id": "a48a358f-6d57-4bbd-8ac3-bd7d3ad105d8",
      "name": "Standard"
    }
  ]
}
```

### List webhooks

List the webhook subscriptions set up on this account.

**Inputs**: None.

**Outputs**

- `count` (number): How many there are
- `subscriptions` (list): The webhook subscriptions

**Example output**

```json
{
  "count": 1,
  "subscriptions": [
    {
      "callbackUrl": "https://example.com/lexware-hook",
      "createdDate": "2026-11-17T19:53:43.936+01:00",
      "eventType": "invoice.created",
      "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
      "subscriptionId": "d76bd088-dd3d-43da-9d44-90e36cc2c136"
    }
  ]
}
```

### Search vouchers

Search every document and bookkeeping voucher (invoices, quotations, credit notes, receipts and more) by type, status, number, contact or date. Gets one page.

**Inputs**

- Types (`voucher_types`, list): Which kinds to include. Empty searches every kind. One or more of: `invoice` (Invoices), `quotation` (Quotations), `orderconfirmation` (Order confirmations), `deliverynote` (Delivery notes), `creditnote` (Credit notes), `downpaymentinvoice` (Down payment invoices), `salesinvoice` (Sales invoices (bookkeeping)), `salescreditnote` (Sales credit notes (bookkeeping)), `purchaseinvoice` (Purchase invoices (bookkeeping)), `purchasecreditnote` (Purchase credit notes (bookkeeping)).
- Statuses (`voucher_statuses`, list): Which statuses to include. Empty includes every status. One or more of: `draft`, `open`, `paid`, `paidoff` (Paid off), `voided`, `overdue`, `accepted`, `rejected`, `transferred`, `sepadebit` (SEPA direct debit).
- Number (`voucher_number`, text): Only the voucher with this number, such as RE0001.
- Contact (`contact_id`, text): Only vouchers for this contact.
- Dated on or after (`from_date`, date): Only vouchers dated on or after this day.
- Dated on or before (`to_date`, date): Only vouchers dated on or before this day.
- Page (`page`, number): Which page to get, counting from 0. Leave empty for the first. At least 0.
- Page size (`size`, number): How many to return, 1 to 250. The default is 25. From 1 to 250.

**Outputs**

- `count` (number): How many came back on this page
- `is_last` (true/false): True on the last page
- `page` (number): This page, counting from 0
- `size` (number): The page size used
- `total_elements` (number): How many there are in all
- `total_pages` (number): How many pages there are
- `vouchers` (list): The vouchers

**Example output**

```json
{
  "count": 1,
  "is_last": true,
  "page": 0,
  "size": 25,
  "total_elements": 1,
  "total_pages": 1,
  "vouchers": [
    {
      "archived": false,
      "contactId": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
      "contactName": "Beispiel GmbH",
      "createdDate": "2026-11-17T19:53:18.000+01:00",
      "currency": "EUR",
      "dueDate": null,
      "id": "90dce1d4-c438-4b35-9f88-9583bd5d472c",
      "openAmount": null,
      "totalAmount": 100.0,
      "updatedDate": "2026-11-17T19:53:18.000+01:00",
      "voucherDate": "2026-11-17T00:00:00.000+01:00",
      "voucherNumber": "RE0001",
      "voucherStatus": "draft",
      "voucherType": "invoice"
    }
  ]
}
```

### Update article

Change fields of an article. Only the fields you fill in change; the rest stay as they are.

**Inputs**

- Article (`article_id`, text, required): The article. Pick one, or give its id from an earlier step.
- Title (`title`, text): The article's new name.
- Unit (`unit_name`, text): What the price is per, such as Stück or Stunde.
- Price (`price`, number): The new price per unit. Net unless 'Price is' says gross. At least 0.
- Price is (`price_basis`, text): Whether the price is net or gross. Defaults to net. One of: `NET` (Net price (default)), `GROSS` (Gross price).
- VAT rate (%) (`tax_rate`, number): The VAT rate in percent, for example 19 or 7. Defaults to 19. From 0 to 100.
- Description (`description`, text): Text shown under the article on documents.
- Article number (`article_number`, text): Your own number for the article.
- GTIN / EAN (`gtin`, text): The article's barcode number.
- Note (`note`, text): An internal note on the article.

**Outputs**

- `article` (object): The article

**Example output**

```json
{
  "article": {
    "archived": false,
    "articleNumber": "A-100",
    "createdDate": "2026-11-17T19:52:46.405+01:00",
    "description": "Stundensatz",
    "gtin": "",
    "id": "9585dcbe-1570-479e-a56b-67caca963895",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "price": {
      "grossPrice": 119.0,
      "leadingPrice": "NET",
      "netPrice": 100.0,
      "taxRate": 19
    },
    "title": "Beratung",
    "type": "SERVICE",
    "unitName": "Stunde",
    "updatedDate": "2026-11-17T19:52:46.415+01:00",
    "version": 0
  }
}
```

### Update contact

Change fields of a contact. Only the fields you fill in change; the rest stay as they are. Address fields change the first billing address.

**Inputs**

- Contact (`contact_id`, text, required): The contact. Pick one, or give its id from an earlier step.
- Company name (`company_name`, text): The company's name. Required for a company.
- Salutation (`salutation`, text): For example Herr or Frau.
- First name (`first_name`, text): The person's first name (for a company, its contact person's).
- Last name (`last_name`, text): The person's last name (for a company, its contact person's). Required for a person.
- Email (`email`, text): The contact's business email address.
- Phone (`phone`, text): The contact's business phone number.
- Street (`street`, text): Street and house number of the billing address.
- Postcode (`zip`, text): Postcode of the billing address.
- City (`city`, text): City of the billing address.
- Country (`country_code`, text): Country of the billing address. Needed when any address field is given.
- Note (`note`, text): A note kept on the contact.

**Outputs**

- `contact` (object): The contact

**Example output**

```json
{
  "contact": {
    "addresses": {
      "billing": [
        {
          "city": "Berlin",
          "countryCode": "DE",
          "street": "Teststrasse 1",
          "zip": "10115"
        }
      ]
    },
    "archived": false,
    "company": {
      "contactPersons": [
        {
          "emailAddress": "ada@example.com",
          "firstName": "Ada",
          "lastName": "Muster",
          "primary": false,
          "salutation": "Frau"
        }
      ],
      "name": "Beispiel GmbH"
    },
    "emailAddresses": {
      "business": [
        "info@example.com"
      ]
    },
    "id": "8d7d11cd-5b7e-4f0e-8b63-fadf6a9f8148",
    "note": "",
    "organizationId": "6638f32b-3b5d-4ca6-ac72-1cdc3d49fb11",
    "person": null,
    "phoneNumbers": null,
    "roles": {
      "customer": {
        "number": 10001
      }
    },
    "version": 1
  }
}
```
