Skip to main content
TARGET_SYSTEM: lexware-office Lexware Office offers simple accounting and accounting programs, without any installation.
ReadCreateUpdateDeleteWebhook
Accounts
Async task
Bank accounts
Bills
Bill lines
Booking proposals
Contacts
Customers
Credit notes
Dimensions
Expenses
Files
Goods receipts
Goods receipt lines
Invoices
Invoice lines
Items
Journals
Journal entries
Offers
Offer lines
Open items
Payments
Payment terms
Projects
Purchase orders
Purchase order lines
Sales orders
Sales order lines
Suppliers
Tax rates
Transactions
Trial balance
Units
Users
Vendor credits
= Supported by Maesn
= Not supported by Maesn at this time
= 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.Your Lexware account is now connected!

Webhooks

Lexware Office supports the following parameters for webhooks: Resource types:
  • CUSTOMER
  • SUPPLIER
  • ITEM
  • INVOICE
  • PAYMENT
  • TOKEN
Events:
  • CREATED
  • UPDATED
  • DELETED
  • REVOKED
There is a special webhook resource type 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 type and Event 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/user with the following example body:
Example code snippet
    const response = await axios.post(url, {
        "callbackUrl": callbackUrl,
        "eventType": "CREATED",
        "resource": "CUSTOMER"
    }, {
        headers: {
            'X-API-KEY': apiKey,
            'X-ACCOUNT-KEY': accountKey
        }
    });
It will return the id associated with the subscription:
Example response
{
    "data": {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "createdAt": "2025-10-30T11:16:18.869+01:00",
         ...
        "updatedAt": "2025-10-30T11:16:18.869+01:00",
    },
    "meta": {}
}
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
{
  "eventType": "CREATED",
  "filterDate": null, //not supported by lexware
  "resource": "CUSTOMER",
  "resourceId": "1605408d-ed88-4228-8a12-ab857a2972d8",
  "userId": null //not supported by lexware
}
To delete the webhook subscription, you can call the DELETE /webhooks/user/{webhookId} endpoint provinding both your X-API-KEY and the end user X-ACCOUNT-KEY.