- 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
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.
Step 2: Connect Lexware to Lovable
You can create multiple connections using different API keys.1
Open Lexware in Connectors
Go to Connectors → App connectors and select Lexware.
2
Add a connection
Click Add connection.
3
Configure the connection
- Display name: name the connection, for example
Lexware Prod. - 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.
5
Connect
Click Connect.
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:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to manage.
3
Select projects
Under Linked projects, check the projects you want to unlink.
4
Confirm
Click Unlink projects and confirm.
How to delete a connection
Workspace admins and owners can delete connections. Other members can delete a connection if they created it, or if they have been explicitly granted access to it. Before deleting, review the Linked projects section to see which projects are currently using the connection. To delete a connection:1
Open Connectors
Open Connectors, then go to App connectors, and select .
2
Open the connection
Open the connection you want to remove.
3
Review linked projects
Review the Linked projects section.
4
Delete
Under Delete this connection, click Delete and confirm.