Skip to main content
Lexware is an accounting and invoicing platform for managing business contacts, documents, vouchers, payments, and bookkeeping workflows. The Lexware connector lets your Lovable app call the Lexware API through a connected Lexware account. It is designed for apps that need to read or manage operational accounting data from Lexware. Lexware is available as an app + chat connector: one shared connection that works in the chat while you build and in your published apps. With Lexware, your app can:
  • Read company profile and accounting settings
  • Create and retrieve contacts, articles, invoices, quotations, and vouchers
  • Download generated accounting documents, such as invoice PDFs
  • React to invoice, payment, and contact changes with Lexware event subscriptions
  • Build bookkeeping, sales, and finance workflows around Lexware business data
Lexware is a good fit when your app needs accounting data, document workflows, or back-office automation connected to a Lexware account.

Common use cases and example apps

How to connect Lexware

Workspace admins and owners can connect Lexware. You can create multiple Lexware connections using different API keys, which is useful for separating environments (for example, development and production) or connecting different Lexware accounts. When the connection is created, Lexware becomes available across all projects in the workspace. Anyone building in a project can ask Lovable in chat to link their project to it.

Prerequisites

Before connecting Lexware, make sure you have:
  • A Lexware account with access to the public API
  • A Lexware public API key
  • Lovable workspace owner or admin role
All API requests made through this connector use your Lexware API key. API usage, plan limits, and billing are handled directly by Lexware, not Lovable.

Step 1: Get a Lexware API key

A Lexware public API key lets your Lovable app authenticate with the Lexware API. You can create separate keys for different environments or apps. To create a Lexware API key:
1

Open the Lexware public API page

Sign in to Lexware and open the Public API page. If Lexware asks you to sign in first, complete the sign-in and then open the link again.
2

Create an API key

Create or generate a public API key. Give it a descriptive name, for example Lovable integration, if Lexware asks for one.
3

Copy the key

Copy the API key and store it securely. You need it in the next step.
Your API key functions like a password. Keep it secure and never share it publicly.
See Lexware documentation for more: Lexware API documentation.

Step 2: Connect Lexware to Lovable

You can create multiple connections using different API keys.
1

Open Lexware in Connectors

Go to Connectors and select Lexware.
2

Add a connection

Click Add connection.
3

Configure the connection

  1. Display name: name the connection, for example Lexware Prod.
  2. API key: paste your Lexware public API key.
4

Choose who can access this connection

Under Who can access this connection, decide who in your workspace can use the connection:
  • Only you (default): only the person creating the connection can use it and its associated data.
  • Invite specific people: only you and explicitly added workspace members can use the connection and its associated data.
  • Invite entire workspace: click Invite entire workspace to make the connection available to everyone in your Lovable workspace.
See Connection-level access for more information.
5

Connect

Click Connect.
When connected, anyone building in a project can ask Lovable in chat to link their project to Lexware (based on configured connection-level access). Your Lovable apps can then work with Lexware accounting, contact, invoice, quotation, voucher, and article data.

Working with Lexware event subscriptions

Lexware supports event subscriptions for change notifications, including invoice, payment, contact, article, voucher, quotation, and related document events. When you ask Lovable to build webhook-based Lexware workflows, your app needs a public HTTPS callback endpoint. Lexware sends event notifications to that endpoint, and the app fetches the changed resource from Lexware after validating the callback signature.
Lexware applies a low global rate limit of about 2 requests per second. Use pagination where available, avoid unnecessary parallel requests, and retry rate-limit responses with backoff.

Limitations

The Lexware connector cannot:
  • Create a Lexware account or API key for you
  • Automatically rotate API keys. To rotate a key, generate a new key in Lexware and update the Lovable connection
  • Preserve event subscriptions after the Lexware API key changes. Re-create Lexware event subscriptions after reconnecting with a new key
  • Support per-end-user Lexware authentication. Each connection represents a single Lexware account shared across projects linked to it

Manage your connection

Connections are managed from Connectors: select , then open the connection.
  • Unlink projects to remove access from specific projects while keeping the connection available for others. See Unlink projects from a connection for the steps.
  • Delete the connection to remove it from the workspace entirely. Deleting is permanent. It removes the credentials from all linked projects, and app features that use stop working until a new connection is added. See Delete a connection for the steps and who can delete.