Skip to content

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

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

Accounting

SoftwareUse CaseGuide
DATEVZUGFeRD invoices for DATEV importDATEV Guide
lexofficeCloud accounting + thelawinlexoffice Guide
sevDeskAutomate e-invoicingsevDesk Guide

Quick Start

The pattern is always the same:

  1. Something triggers the flow (webhook, schedule, button click)
  2. You build the invoice JSON
  3. POST it to api.thelawin.dev/v1/generate with your API key
  4. 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.

ZUGFeRD 2.4 & Factur-X 1.0.8 compliant