Skip to main content
TARGET_SYSTEM: lexware-office
= Supported by Maesn
= On demand - contact us
= Not supported by Lexware Office

How to connect to Lexware Office

As a customer of Lexware Office, you can easily retrieve the API key used for connecting to your Lexware Office accounting data.
1

Prerequisites

Before you begin, make sure you have the following:
  • A Lexware Office account with administrator permissions to create and retrieve the API key.
2

Retrieve the API key

Navigate to the add-ons page.Log in to Lexware Office using your account credentials and retrieve the API key.
3

maesn Connect setup

Paste your Lexware Office API key in to the ‘API key’ field in maesn Connect and press ‘submit’. If the API key is valid, the connection will be established and a success message will be displayed. You can also use the create account endpoint for this. Your Lexware account is now connected!

Webhooks

Lexware Office supports the following parameters for webhooks: Resources:
  • CUSTOMER
  • SUPPLIER
  • ITEM
  • INVOICE
  • PAYMENT
  • TOKEN
Event types:
  • CREATED
  • UPDATED
  • DELETED
  • REVOKED
There is a special webhook resource called token that is triggered when a user’s Lexware Office token is revoked. This can happen if the user revokes access in their Lexware Office account settings or if the token expires and cannot be refreshed. Lexware Office needs both resource and event type to be able to send webhook events. The subscription is created per customer, which means for each customer, you will create a customized subscription for the events and resources you want to be notified about. To set this up, call Maesn’s create webhook endpoint POST /webhooks with the following example body:
Example code snippet
It will return the id associated with the subscription:
Example response
At this point, your system is ready to receive end-user–related events at the callback URL you provided. The event response will provide the following information:
Example event body
To delete the webhook subscription, you can call the DELETE /webhooks/{webhookId} endpoint provinding both your X-API-KEY and the end user X-ACCOUNT-KEY.
Last modified on June 17, 2026