REST API • @facturlint/sdk • PyPI • Remote MCP • Free Sandbox

Ship compliant EU e-invoicing in 5 minutes.

One stateless API for Factur-X 1.09.2, German ZUGFeRD 2.5, XRechnung 3.0, PDF/A-3b repair and Stripe webhooks — < 40 ms median latency, zero storage.

Official SDKs, CI/CD & Remote MCP Server

Authenticate requests with your X-API-Key header (or Authorization: Bearer fl_live_...) in CI pipelines, backend workers and AI agents.

TypeScript SDK (@facturlint/sdk)
// npm install @facturlint/sdk
import { FacturLintClient } from '@facturlint/sdk';

const fl = new FacturLintClient({ apiKey: process.env.FACTURLINT_API_KEY });
const pdf = await fl.generate({ target_standard: 'facturx-en16931', invoice_number: 'INV-2026-01', ... });

3 deterministic compliance layers per API call

Every response delivers structured rule diagnostics, plain-language explanations and optional PDF/A-3b + XML regeneration.

Layer 1 • ISO 19005-3

PDF/A-3b Container & XMP

Verifies embedded factur-x.xml / xrechnung.xml / zugferd-invoice.xml AFRelationship, sRGB OutputIntent and PDF/A-3b metadata.

Layer 2 • XSD & Deterministic Rules

EN 16931, BR-FR-CTC & BR-DE

Runs compiled CII XSD + Schematron XSLT 2.0 and deterministic UBL 2.1 / XRechnung rule checks (Leitweg-ID Mod 97-10, VIES/SIREN).

Layer 3 • Exact Decimal

VAT Totals & Fraud Firewall

Audits line sums, rounding tolerances and anomalous IBAN/VAT changes without silently mutating accounting totals.

Core API Endpoints & Agent Discovery

Stateless RAM endpoints supporting single files, .ZIP batches and HTTP 402 / x402 discovery headers (Preview).

Endpoint Format / Input Result
POST /v1/validate PDF/A-3, XML (CII / UBL 2.1) JSON report (status, plain-language + XML XPath issues, SHA-256)
POST /v1/repair PDF/A-3 (Factur-X / ZUGFeRD) Repaired PDF/A-3b binary (headers & XMP fixed in RAM)
POST /v1/generate & /v1/convert-format JSON / CII ⇄ UBL 2.1 Factur-X 1.09.2, ZUGFeRD 2.5, XRechnung 3.0
POST /v1/batch, /v1/extract-fec, /v1/extract-datev .ZIP (15–100 PDFs/XMLs) Excel / CSV, FEC DGFiP, DATEV SKR03/SKR04 + repaired .ZIP
POST /v1/bridges/stripe/{id} Stripe Webhook JSON Signed Factur-X / ZUGFeRD / XRechnung bundle via HTTPS webhook
POST /mcp & /.well-known/agent-card.json Streamable HTTP JSON-RPC 12 MCP tools + HTTP 402 x402 discovery preview
HTTP 402 / x402

HTTP 402 / x402 Discovery Header (Preview)

AI agents calling POST /mcp or metered routes without a key receive standardized X-Payment-Required discovery headers (preview).

llms.txt & agent-card.json →
Stripe & WooCommerce

Native Stripe Webhook Bridge & WooCommerce

Point invoice.finalized directly from Stripe or trigger conversions from WooCommerce orders into certified Factur-X, ZUGFeRD & XRechnung bundles.

Stripe Webhook Bridge →
View API Quotas & Pricing →