E-invoice compliant
via REST API.
XRechnung, ZUGFeRD, Peppol. German & EU compliance out of the box. Production-ready in 5 minutes.
{
"seller": {
"name": "Acme GmbH",
"vatId": "DE123456789"
},
"buyer": { "name": "BigCorp AG" },
"items": [{ "amount": 1500 }]
}<?xml version="1.0"?>
<Invoice>
<Seller>
<Name>Acme GmbH</Name>
<VatId>DE123456789</VatId>
</Seller>
<Buyer>
<Name>BigCorp AG</Name>
</Buyer>
<Amount>1500.00</Amount>
</Invoice>E-Invoices in 3 Steps
No complex XML logic, no manual validation. Automation in just a few lines of code.
Get API Key
Create your account in seconds and instantly receive your free API key for development.
# 1. Create account & copy API keyexport XHUB_API_KEY="xhub_sk_..."Integrate SDK
Use our typed SDKs for Node.js, Python, or Go, or call the REST API directly.
# 2. Build your first requestcurl -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.jsonSend E-Invoice
Generate valid XRechnung & ZUGFeRD PDFs and automatically send them to your customers.
# 3. Response → PDF/A-3 with embedded EN-16931 XML# Content-Type: application/pdf# Ready to email or send via PeppolFeatures
Built for German Compliance
All important certifications and standards in one API.
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.
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.
KoSIT Validated
Official Schematron validation against current KoSIT schemas.
GoBD Compliant
Audit-proof archiving with 10-year retention.
Peppol Gateway
Send e-invoices directly via the Peppol network. Coming Q3 2026.
~200ms Response
Fast API responses for seamless integration into real-time workflows.
Developer-First
REST + JSON instead of SOAP/XML. No templates, no dependencies.
Automation-Ready
Integrated with Zapier, Make.com, and n8n for no-code workflows.
Enterprise-Ready
99.9% SLA, dedicated support, and on-premise option available.
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
APIs
4 APIs. 28 Countries. One Ecosystem.
Each API usable standalone. Perfectly combinable. Country-specific formats.
Invoice Generator API
Generate PDF, XRechnung & ZUGFeRD for 28 countries
POST /api/v1/invoice/{countryCode}/{format}/generateParser API
Extract structured data from e-invoices
POST /api/v1/invoice/parseValidator API
Country-specific validation - free without quota
POST /api/v1/invoice/{countryCode}/validateFormats API
Retrieve all supported formats and countries
GET /api/v1/invoice/formatsInvoice-api.xhub Blog
Insights, tutorials, and news about e-invoicing, API development, and the German compliance landscape.

E-Invoicing Mandate 2025: n8n Automation for Small Businesses
Germany's e-invoicing mandate affects every business. How SMBs automate invoice creation for free with n8n and the xhub.io API — incl. ROI numbers.

Automatically Validate and Archive E-Invoices with n8n
Fully automated n8n workflow: receive e-invoices via email, auto-detect the format, validate and archive compliantly — with Slack error alerts.

Customize invoice templates via API: BlockTemplate tutorial
How to generate PDF invoices with logo, brand colors and dynamic VAT rows using JSON only. Incl. EN 16931 compliance and ZUGFeRD pitfalls.
Frequently Asked Questions
Everything you need to know about Invoice-api.xhub.