Integrations
Connect thelawin.dev with your existing tools to automate e-invoice generation. Every integration uses the same REST API — one POST request to /v1/generate, and you get a valid ZUGFeRD/XRechnung PDF back.
Automation Platforms
| Platform | Use Case | Guide |
|---|---|---|
| n8n | Self-hosted workflow automation | n8n Guide |
| Zapier | No-code automation | Zapier Guide |
| Make.com | Visual workflow builder | Make Guide |
| AI Agents | Claude Code, MCP, LLM-driven invoicing | AI Agents Guide |
E-Commerce
| Platform | Use Case | Guide |
|---|---|---|
| Stripe | Payment webhook → automatic invoice | Stripe Guide |
| Shopify | Order → ZUGFeRD invoice | Shopify Guide |
| WooCommerce | Order → e-invoice PDF | WooCommerce Guide |
Buchhaltung / Accounting
| Software | Use Case | Guide |
|---|---|---|
| DATEV | ZUGFeRD-Rechnungen fuer DATEV-Import | DATEV Guide |
| lexoffice | Cloud-Buchhaltung + thelawin | lexoffice Guide |
| sevDesk | E-Rechnungen automatisieren | sevDesk Guide |
Quick Start
Every integration follows the same pattern:
- Trigger — An event fires (webhook, schedule, manual)
- Build JSON — Construct the invoice payload
- Call thelawin.dev —
POST /v1/generatewith your API key - Process result — Save PDF, send email, upload to storage
bash
curl -X POST https://api.thelawin.dev/v1/generate \
-H "Content-Type: application/json" \
-H "X-API-Key: env_sandbox_demo" \
-d '{"invoice":{"number":"001","date":"2026-01-15","seller":{"name":"Acme GmbH"},"buyer":{"name":"Customer AG"},"items":[{"description":"Service","quantity":1,"unit_price":100}]}}'Demo Key
Use env_sandbox_demo to test any integration immediately — no account required. PDFs will have a SANDBOX watermark.
API Key
For production use, sign up and create an API key in the dashboard. See Authentication for details.