E-Invoice-Gen

x402 · $0.10 USDCBaseEN 16931

Agent-native API that turns a simple JSON payload into a legally compliant German e-invoice: a ZUGFeRD/Factur-X PDF/A-3 with embedded EN 16931 XML (factur-x.xml) — the format required for German B2B invoicing (§ 14 UStG). All totals, VAT and rounding are computed server-side with exact decimal arithmetic, so agents never emit broken invoices.

Usage

POST https://46-224-133-179.sslip.io/v1/generate      # returns 402 + payment requirements (x402)
# pay $0.10 USDC on Base, retry with PAYMENT-SIGNATURE header
# -> { "status": "success", "pdf_base64": "...", "calculations": {...} }

Free machine-readable schema & examples: /v1/schema

Why agents use this