Skip to main content

At a glance

  • Availability: Experimental (how to enable).
  • Authentication: API key.
  • Connection: The key from LEXOFFICE_API_KEY is sent as the Bearer prefixed Authorization header.
  • Provider documentation: Authentication reference.

Credentials

Set these per environment. See Connect an integration.

Setup

  1. Create a Lexware Office account: Sign up at https://www.lexware.de (Lexware Office, formerly lexoffice). A regular trial account is sufficient for testing the Public API; there is no separate sandbox environment.
  2. Generate an API key: Log in to the Lexware Office app and open https://app.lexware.de/addons/public-api to create your Public API key. Only account administrators can create keys.
  3. Store the key: Set the key as LEXOFFICE_API_KEY. It is sent as a Bearer token in the Authorization header on every request.

Provider notes

  • Since the rebranding from lexoffice to Lexware, the canonical API gateway is https://api.lexware.io (changed 26 May 2025). The legacy gateway api.lexoffice.io was only kept available until December 2025, so all tools use the new domain.
  • The API is rate limited to 2 requests per second per client; HTTP 429 is returned when exceeded.
  • POST /v1/files is a multipart/form-data upload: the binary file goes in the ‘file’ part and the upload type (‘voucher’) in the ‘type’ part.
  • Invoices created via the API are drafts by default; pass finalize=true to create them with status open. Finalized invoices can no longer be edited freely.
  • voucherType and voucherStatus are mandatory on the voucherlist endpoint; use ‘any’ to avoid filtering.
Provider API reference.

Tools

Verify the connection

Call a read tool such as lexoffice__list_vouchers with arguments for your account. Confirm that the result comes from the intended account or workspace before enabling write tools.