- 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
Common use cases and example apps
| Example app | Example prompt | Description |
|---|---|---|
| Invoice operations dashboard | Use Lexware and build a dashboard that lists open invoices, payment status, and customer details. | Track invoice work from one internal view. The app fetches invoice and contact data from Lexware so finance teams can review outstanding work. |
| Customer accounting portal | Use Lexware and build a customer portal that shows invoices, quotations, and downloadable PDFs. | Give customers access to accounting documents. The app retrieves the right documents from Lexware and presents them in a branded portal. |
| Voucher intake workflow | Use Lexware and build a voucher upload and review workflow for incoming expenses. | Move expense intake into a guided app. The app creates or retrieves voucher records in Lexware and helps operators review missing details. |
| Contact management tool | Use Lexware and build an internal tool for searching and updating business contacts. | Keep customer and supplier records accessible. The app reads contact records from Lexware and gives teams a focused interface for finance-related customer data. |
| Sales quote tracker | Use Lexware and build a quotation tracker that shows quote status and related contacts. | Monitor quotes before they become invoices. The app retrieves quotations and related contact data from Lexware for sales and finance follow-up. |
| Accounting event monitor | Use Lexware and build an event monitor for invoice, payment, and contact changes. | React to Lexware changes in app workflows. The app uses event subscriptions to receive change notifications and then fetches updated resources from Lexware. |
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: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.
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.Step 2: Connect Lexware to Lovable
You can create multiple connections using different API keys.Configure the connection
- Display name: name the connection, for example
Lexware Prod. - API key: paste your Lexware public API key.
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.
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
How to unlink projects from a connection
Editors and above can remove specific projects from a connection without deleting the connection entirely. The connection will remain available for other projects. To unlink projects:
When unlinked, those projects will no longer have access to through this connection. If a project needs again, you can link it to any available connection.