E-invoice compliantvia REST API.

XRechnung, ZUGFeRD, Peppol. German & EU compliance out of the box. Production-ready in 5 minutes.

POST /api/v1/invoice/de/xrechnung/generate201 · 187ms

request.json

{  "seller": { "name": "Acme GmbH",              "vatId": "DE123456789" },  "buyer": { "name": "BigCorp AG" },  "items": [{ "amount": 1500 }]}

response · XRechnung 3.0 (XML)

<?xml version="1.0"?>
<ubl:Invoice>
  <cbc:ID>INV-2026-0042</cbc:ID>
  <cbc:CustomizationID>
    urn:cen.eu:en16931:2017
  </cbc:CustomizationID>
  
</ubl:Invoice>

KoSIT-validiert · EN 16931

28
Countries
21+
Formats
200ms
Avg. Latency
99.9%
Uptime SLA

Quickstart

E-Invoices in 3 Steps

No complex XML logic, no manual validation. Automation in just a few lines of code.

01

Get API Key

Create your account in seconds and instantly receive your free API key for development.

bash
# 1. Create account & copy API key
export XHUB_API_KEY="xhub_sk_..."
02

Integrate SDK

Use our typed SDKs for Node.js, Python, or Go, or call the REST API directly.

bash
# 2. Build your first request
curl -X POST https://service.invoice-api.xhub.io/api/v1/invoice/de/zugferd/generate \
-H "Authorization: Bearer $XHUB_API_KEY" \
-H "Content-Type: application/json" \
-d @invoice.json
03

Send E-Invoice

Generate valid XRechnung & ZUGFeRD PDFs and automatically send them to your customers.

bash
# 3. Response PDF/A-3 with embedded EN-16931 XML
# Content-Type: application/pdf
# Ready to email or send via Peppol

EXPLAINED IN 60 SECONDS

Watch JSON become a compliant e-invoice

One API call, one PDF/A-3 with embedded EN-16931 XML. XRechnung, ZUGFeRD, Peppol — KoSIT-validated, GDPR-compliant, hosted in the EU.

API key in 60 seconds

Free to start, no credit card required. Production-ready from day one.

Features

Built for German Compliance

All important certifications and standards in one API.

KoSIT Validated

Official Schematron validation against current KoSIT schemas.

28 Countries

DE, AT, CH, FR, IT, ES, NL, BE, PT, PL, CZ, HU, RO, BG, SE, NO, DK, FI, IE, GB, LU, MT, CY, SI, EE, LV, LT, GR — one API call.

21+ Formats

XRechnung 3.0.2, ZUGFeRD 2.4, Factur-X 1.08, FatturaPA, Peppol BIS 3.0 UBL, ebInterface, qr-bill, and more.

~200ms Response

Fast API responses for seamless integration into real-time workflows.

Peppol Gateway

Send e-invoices directly via the Peppol network. Coming Q3 2026.

GoBD Compliant

Audit-proof archiving with 10-year retention.

Developer-First

REST + JSON instead of SOAP/XML. No templates, no dependencies.

Enterprise-Ready

99.9% SLA, dedicated support, and on-premise option available.

PDF attachments

Embed arbitrary files as PDF/A-3 compliant attachments in ZUGFeRD or Factur-X invoices — proofs of service, audit reports, T&Cs.

Team & roles

Multiple users per organization, roles with fine-grained permissions, email invitations — directly from the Console.

Automation-Ready

Integrated with Zapier, Make.com, and n8n for no-code workflows.

Developer-First API

The Stripe of E-Invoicing APIs

While other e-invoicing solutions rely on UI platforms or complex SOAP/XML interfaces, we offer a modern REST API that developers love.

5 Minutes

to your first e-invoice

1 Endpoint

for all 21+ formats

0 Dependencies

just HTTP + JSON

THE FULL TOUR

The whole e-invoicing API in one walkthrough

XRechnung, ZUGFeRD and Peppol over REST: from your first API call to a finished, KoSIT-validated e-invoice — explained in one video.

FAQ

Frequently Asked Questions

Everything you need to know about Invoice-api.xhub.

More questions? Contact us

Ready for compliant e-invoices?

Get started in under 5 minutes. No credit card required.