Skip to content

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

PlatformUse CaseGuide
n8nSelf-hosted workflow automationn8n Guide
ZapierNo-code automationZapier Guide
Make.comVisual workflow builderMake Guide
AI AgentsClaude Code, MCP, LLM-driven invoicingAI Agents Guide

E-Commerce

PlatformUse CaseGuide
StripePayment webhook → automatic invoiceStripe Guide
ShopifyOrder → ZUGFeRD invoiceShopify Guide
WooCommerceOrder → e-invoice PDFWooCommerce Guide

Buchhaltung / Accounting

SoftwareUse CaseGuide
DATEVZUGFeRD-Rechnungen fuer DATEV-ImportDATEV Guide
lexofficeCloud-Buchhaltung + thelawinlexoffice Guide
sevDeskE-Rechnungen automatisierensevDesk Guide

Quick Start

Every integration follows the same pattern:

  1. Trigger — An event fires (webhook, schedule, manual)
  2. Build JSON — Construct the invoice payload
  3. Call thelawin.devPOST /v1/generate with your API key
  4. 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.

ZUGFeRD 2.4 & Factur-X 1.0.8 compliant