E-invoice compliant
via REST API.
XRechnung, ZUGFeRD, Peppol. German 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.
14 Countries
DE, [Q2.2026 AT, CH, FR, IT, ES, NL, BE, PT, PL, CZ, HU, RO, BG] - one API call.
21+ Formats
XRechnung, ZUGFeRD, Factur-X, FatturaPA, UBL, ebInterface, and more.
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. 14 Countries. One Ecosystem.
Each API usable standalone. Perfectly combinable. Country-specific formats.
Invoice Generator API
Generate PDF, XRechnung & ZUGFeRD for 14 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.

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.

Create XRechnung with n8n — Step-by-Step Tutorial
Learn how to automatically create XRechnung invoices with n8n and Invoice-api.xhub. From Google Sheets to validated XML — completely without coding.
Frequently Asked Questions
Everything you need to know about Invoice-api.xhub.