pdf.xhub

EU-compliant E-Invoices, out of the box

Embed ZUGFeRD, XRechnung, or Factur-X XML directly into PDF/A-3. Meet the EU 2025–2026 invoicing mandates without rebuilding your stack.

EN 16931 validatedZUGFeRD 2.3PDF/A-3 wrapper

Why generate E-Invoices via API?

Mandate-compliant from day one

Germany's B2B receive-mandate (2025), France's full e-invoicing rollout (2026), and Italy's SDI all require structured XML. We generate it for you.

Validated against EN 16931

Every invoice is schema-checked before embedding. Invalid invoices return clear validation errors instead of failing silently downstream.

Hybrid PDF/A-3 means human + machine readable

The PDF stays visually identical to your branded invoice. The embedded XML satisfies tax authorities. One file, two consumers.

How E-Invoice generation works

1. POST structured invoice data

Send invoice JSON with seller, buyer, line items, tax breakdown — or pair with invoice-api.xhub.io for full validation upstream.

2. We validate against EN 16931

Schema check + business-rule validation (VAT IDs, currency, totals consistency). Invalid invoices return errors, never silent corruption.

3. Receive PDF/A-3 with embedded XML

The visual PDF shows your branded invoice. The embedded XML in PDF/A-3 attachment slot satisfies the tax authority.

What is the pdf.xhub E-Invoice API?

A purpose-built endpoint for the EU's 2025/2026 B2B invoicing mandates. Generates ZUGFeRD 2.x (Germany), XRechnung 3.x (German B2G), and Factur-X 1.0.7 (France) — all wrapped in compliant PDF/A-3 archives. The engine behind Invoice automation and Compliance archives.

Try it in your stack

Same endpoint. Copy as cURL, call from any language.

EU-compliant E-Invoices with embedded ZUGFeRD, XRechnung, or Factur-X XML in PDF/A-3 — ready for the 2025–2026 mandates.

curl -X POST https://api.pdf.xhub.io/v1/invoice \
  -H "Authorization: Bearer $PDFXHUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "invoice": { "...": "EN 16931 payload" },
    "standard": "zugferd"
  }' --output invoice.pdf

Features at a glance

Standards & Profiles

  • ZUGFeRD 2.3.2 (BASIC, EN 16931, EXTENDED profiles)
  • XRechnung 3.0+ (German B2G mandatory)
  • Factur-X 1.0.7 (French B2B mandatory from 2026)
  • EN 16931 schema validation with clear error messages
  • PDF/A-3 wrapper with embedded XML attachment

Compliance & Archival

  • Tax-authority-ready: Italian SDI + German Leitweg-ID validators
  • Pair with invoice-api.xhub.io for full upstream validation
  • Long-term archive mode (PDF/A-3 + PAdES signature)
  • Multi-language support (DE, FR, EN, IT, ES invoice text)
  • GDPR-compliant by default — DPA + SCCs included

Platform

  • EU-only render fleet (Schrems II safe by default)
  • VIES VAT-ID validation upstream
  • Webhook on EN 16931 validation failure
  • OpenAPI 3.1 with full E-Invoice payload schema
  • Async-batch endpoint for monthly billing runs
  • Per-tenant API-key scoping

Other ways to render

Same API, different inputs.

Issue your first compliant E-Invoice

25 invoices/month free forever. EN 16931-validated, ZUGFeRD-ready.