Lexware Office (lexoffice) automation
Create and send Lexware Office invoices from a list
Your billing list sits in a sheet or a time tracker, and at month end someone retypes each line into Lexware Office, picks the customer, checks the dates, finalises the invoice and sends it.
Cotlet does it in your own Lexware Office (lexoffice) account with list_contacts, create_contact, create_invoice, finalize_document and send_document, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Lexware Office (lexoffice) do this on its own?
Lexware Office has a public API that creates invoices as drafts or finalised (checked 14 Oct 2026), but only from version XL, and it has no endpoint to send the invoice by email. Recurring invoices (Serienrechnungen) repeat a fixed template on a schedule. Nothing in the app creates invoices from a list you hand it.
How you do it in Lexware Office (lexoffice) today
- Click the + symbol in the main menu and choose Rechnung erstellen, or open the Belegliste and choose Neuer Beleg > Rechnung.
- Pick the customer in the Kunde field or create one, check the invoice date and the payment terms, and enter the delivery date if needed.
- Add each line with + Artikel, or as a free-text line, set quantity and price, and click Weiter zur Vorschau to check the PDF layout.
- Click Abschließen und Speichern, which assigns the final invoice number and shows the document in the list as Offen; Lexware Office does not allow editing a finalised invoice.
- Click Per E-Mail senden to send it from your own sender address with an email text template, and repeat for every customer on the list.
How to create and send Lexware Office invoices from a list
Here is this month's billing list. For each customer, create the invoice in Lexware Office with the hours and rate I gave, check the totals against the list, finalise it and send it by email. Add customers that do not exist yet. - 01
Match each line to a contact
Your agent calls list_contacts for every name in the list and matches on customer number or exact name. A name with no match is created with create_contact only when your prompt says to, otherwise it is reported and skipped.
- 02
Save a draft and check the totals
create_invoice saves the invoice with the dates and lines you gave. The agent compares the net and gross totals to your list before anything is final, because a finalised invoice cannot be edited any more.
- 03
Finalise only what matches
finalize_document runs for drafts whose total equals the list. A mismatch stays a draft, so you can fix it in Lexware Office, and shows up in the report with both amounts.
- 04
Send to the contact's email
send_document uses the email address saved on the contact. A contact without one is left finalised but unsent, and the agent names it so you can add the address.
- 05
Report numbers and gaps
The run ends with the invoice numbers Lexware Office assigned, the sum of all sent invoices and every contact or line that was skipped. Finalising and sending wait for your OK by default until you switch confirmation off.
What you get back
Billing list: 6 customers
Finalised and sent 5 invoices, e.g. RE1043 Nordlicht Design GmbH: 1,130.50 EUR gross
New contact created: 1 (Studio Fjord)
Left as draft 1: Becker Consulting, list says 2,400.00 EUR, draft totals 2,380.00 EUR
No email on file: 0 Other ways to ask
- Create the invoices from this CSV but leave them as drafts; I will finalise them in Lexware Office myself.
- Every month on the 1st, invoice each retainer customer in the list and send it after I confirm.
- Create one invoice per paid order in this export, with the order number as the introduction text.
- Bill last week's tracked hours per client and show me the totals before saving anything.
What Lexware Office (lexoffice) allows, and what to know first
- Lexware Office assigns the final invoice number at Abschließen und Speichern, so a draft has no number yet.
- A finalised Lexware Office invoice cannot be edited; the app's route for a mistake is Stornieren and then Duplizieren.
- Lexware Office sends invoices from your own sender address with an email text template and attaches the PDF automatically.
- Lexware Office offers net, gross and VAT-free invoice types, and small-business invoices omit VAT and add the required note by itself.
- The app's own invoice screen runs in version M; Lexware describes version M as Angebote, (E-) Rechnungen und Mahnungen.
finalize_document and send_document ask for your OK by default. To run it on a schedule without you, switch confirmation off for those tools in your dashboard.
Sources: Lexware Office Help: Rechnung oder Teilrechnung erstellen, Schritt für Schritt · Lexware Office: Rechnungen schreiben · Lexware Office Help: Preise auf Belegen, brutto, netto oder umsatzsteuerfreie Rechnungen · Lexware Office Public API
Call create_invoice from a script
curl -X POST https://cotlet.dev/api/v1/lexware-office/contacts/c_4f2a91/invoices \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"invoice_date":"2026-10-14","payment_term_days":14,"lines":[{"name":"Consulting, October","quantity":10,"unit_price_net":95,"tax_rate":19}]}' {
"document_id": "d_c44e19",
"type": "invoice",
"number": null,
"status": "draft",
"contact": {
"contact_id": "c_4f2a91",
"name": "Nordlicht Design GmbH"
},
"date": "2026-10-14",
"due_date": "2026-10-28",
"lines": [
{
"name": "Consulting, October",
"quantity": 10,
"unit_price_net": 95,
"tax_rate": 19
}
],
"total_net": 950,
"total_tax": 180.5,
"total_gross": 1130.5,
"currency": "EUR"
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is lexware_office_write → create_invoice. Example data.
Schedule it in n8n, Make, Zapier or cronLexware Office (lexoffice) tools this automation uses
| Tool | Parameters |
|---|---|
| list_contacts | query, role, limit, cursor |
| create_contact | name, role, email, street, postal_code, city, country |
| create_invoice | contact_id, invoice_date, lines, delivery_date, payment_term_days, intro_text |
| finalize_document | document_id |
| send_document | document_id, to, message |
Frequently asked questions
Is it safe to connect Lexware Office (lexoffice) to Cotlet?
Yes. You sign in to Lexware Office (lexoffice) yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Lexware Office (lexoffice) once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Lexware Office (lexoffice).
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Lexware Office (lexoffice).