Integrations
Connect thelawin.dev with your existing tools to generate e-invoices. Every integration works the same way: one POST request to /v1/generate, and you get a valid ZUGFeRD or 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 |
Accounting
| Software | Use Case | Guide |
|---|---|---|
| DATEV | ZUGFeRD invoices for DATEV import | DATEV Guide |
| lexoffice | Cloud accounting + thelawin | lexoffice Guide |
| sevDesk | Automate e-invoicing | sevDesk Guide |
Quick Start
The pattern is always the same:
- Something triggers the flow (webhook, schedule, button click)
- You build the invoice JSON
- POST it to
api.thelawin.dev/v1/generatewith your API key - Do something with the PDF (save it, email it, upload it)
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 right away. No account needed. PDFs get a SANDBOX watermark.
API Key
For production use, sign up and create an API key in the dashboard. See Authentication for details.