Shopify Integration
In App-Store-PrüfungEmbedded Shopify App, die jede Bestellung in eine konforme E-Rechnung verwandelt — XRechnung 3.0.2, ZUGFeRD 2.4 und PDF heute live, sieben weitere Formate folgen Q3 2026. €19/Monat Standard-Plan, über Shopify abgerechnet — Service-Zugang inklusive. v1.0.0 ist beim Shopify-App-Store-Review eingereicht.

PDF · XRechnung 3.0.2 · ZUGFeRD 2.4 — direkt aus jeder Bestellung, EN 16931 konform
Beim Shopify-App-Store-Review eingereicht
Die Shopify-App läuft auf einem €19/Monat Standard-Plan, über Shopify abgerechnet — der Service-Zugang ist inklusive, kein separater API-Key nötig. v1.0.0 ist im Review; bis dahin kannst du den zugrunde liegenden Service im Demo-Modus mit einem API-Key von console.invoice-api.xhub.io testen.
Live-Demo
~100 Sek · Sprache + UntertitelHeute live
- PDF (alle 28 unterstützten Länder)
- XRechnung 3.0.2 für Deutschland — BIS 3.0 / EN 16931
- ZUGFeRD 2.4 für DE/AT — hybrides PDF/A-3 mit eingebettetem XML
Kommt Q3 2026
- Factur-X (FR)
- FatturaPA (IT)
- Facturae (ES)
- ebInterface (AT)
- UBL (BE/NL/BG/RO)
- ISDOC (CZ)
- NAV (HU)
Features
Automatische E-Rechnung
PDF, XRechnung oder ZUGFeRD automatisch bei Bestellung bezahlt oder versendet — via Shopify-Webhook
Format pro Shop wählbar
PDF, XRechnung 3.0.2 und ZUGFeRD 2.4 im Settings-Tab umschaltbar — kein Code-Eingriff, gilt ab der nächsten Bestellung
Admin-Block auf Order-Detail
Native Order-Detail-Block mit Generate- und Re-generate-Buttons sowie Download-Link für jede generierte Datei
Download-Block fürs Theme
Theme-App-Block für die Order-Status-Seite — der Käufer lädt seine Rechnung direkt aus dem Shopify-Storefront
Screenshots
Webhooks der App
Was die Embedded App abonniert
Die App abonniert beim Install genau die untenstehenden sieben Webhooks — zwei Business-Trigger für die Auto-Generierung, drei verpflichtende GDPR-Compliance-Webhooks und zwei Lifecycle-Webhooks. Wer App-los arbeiten möchte, kann dieselben Events auch direkt in n8n / Make konsumieren (siehe Abschnitt unten).
orders/paidTrigger für Auto-Generierung (Standard)
orders/fulfilledAlternativer Trigger — Generierung erst nach Versand
customers/data_request · customers/redact · shop/redactVerpflichtende GDPR-Webhooks (Datenauskunft, Kunden-Löschung, Shop-Löschung)
app/uninstalled · app/scopes_updateLifecycle-Cleanup bei Deinstallation und Scope-Änderungen
1// Shopify Webhook → Invoice-api.xhub2// Configure in Shopify Admin → Settings → Notifications → Webhooks3 4// Webhook Payload from Shopify (orders/paid)5{6 "id": 820982911946154508,7 "email": "kunde@beispiel.de",8 "billing_address": {9 "company": "Musterfirma GmbH",10 "address1": "Musterstraße 123",11 "city": "Berlin",12 "zip": "10115",13 "country_code": "DE"14 },15 "line_items": [16 {17 "title": "Premium Widget",18 "quantity": 2,19 "price": "99.00"20 }21 ],22 "tax_lines": [23 { "rate": 0.19, "price": "37.62" }24 ]25}Integration mit n8n/Make
App-lose Integration bevorzugt? Verbinde Shopify mit Invoice-api.xhub über eine Automatisierungsplattform deiner Wahl.
- 1
Shopify Webhook erstellen
Admin → Settings → Notifications → Webhooks
- 2
Workflow in n8n/Make erstellen
Trigger: Webhook, Action: HTTP Request
- 3
Daten transformieren
Shopify-Format → Invoice-api.xhub-Format
- 4
E-Rechnung erstellen
POST /api/v1/invoice/de/xrechnung/generate an Invoice-api.xhub API
1// n8n/Make Workflow: Shopify → Invoice-api.xhub2 3// 1. Trigger: Shopify Webhook (orders/paid)4// 2. Transform: Shopify → Invoice-api.xhub Format5// 3. Action: POST https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate6 7// Compute items with all required fields8const items = shopifyOrder.line_items.map((item, index) => {9 const unitPrice = parseFloat(item.price);10 const taxRate = 19;11 const netAmount = unitPrice * item.quantity;12 const taxAmount = Math.round(netAmount * taxRate) / 100;13 const grossAmount = netAmount + taxAmount;14 return {15 position: index + 1,16 description: item.title,17 quantity: item.quantity,18 unit: "piece",19 unitPrice,20 taxRate,21 netAmount,22 taxAmount,23 grossAmount,24 };25});26 27const subtotal = items.reduce((sum, i) => sum + i.netAmount, 0);28const totalTax = items.reduce((sum, i) => sum + i.taxAmount, 0);29 30const payload = {31 invoice: {32 invoiceNumber: `SHOP-${shopifyOrder.id}`,33 type: "invoice",34 issueDate: new Date().toISOString().slice(0, 10),35 dueDate: new Date(Date.now() + 30 * 86400000).toISOString().slice(0, 10),36 currency: "EUR",37 seller: {38 name: "Your Shop Name",39 vatId: "DE123456789",40 street: "Shopstraße 1",41 city: "Hamburg",42 postalCode: "20095",43 countryCode: "DE",44 },45 buyer: {46 name: shopifyOrder.billing_address.company,47 vatId: shopifyOrder.customer.tax_id,48 street: shopifyOrder.billing_address.address1,49 city: shopifyOrder.billing_address.city,50 postalCode: shopifyOrder.billing_address.zip,51 countryCode: shopifyOrder.billing_address.country_code,52 },53 countrySpecific: {54 buyerReference: "SHOP-LEITWEG-ID",55 },56 items,57 subtotal,58 total: subtotal + totalTax,59 taxSummary: [{ taxRate: 19, netAmount: subtotal, taxAmount: totalTax }],60 paymentTerms: "Payable within 30 days",61 },62};63 64const response = await fetch(65 "https://service.invoice-api.xhub.io/api/v1/invoice/de/xrechnung/generate",66 {67 method: "POST",68 headers: {69 "Content-Type": "application/json",70 "X-API-Key": "your-api-key",71 },72 body: JSON.stringify(payload),73 }74);Anwendungsfälle
B2B-Bestellungen
Automatische XRechnung für alle B2B-Kunden mit USt-ID
- 1Kunde gibt USt-ID bei Checkout an
- 2Shopify Webhook bei Zahlungseingang
- 3Invoice-api.xhub erstellt XRechnung
- 4E-Rechnung wird per Email versendet
Behörden-Aufträge
XRechnung mit Leitweg-ID für öffentliche Auftraggeber
- 1Leitweg-ID als Custom Field erfassen
- 2Bestellung wird aufgegeben
- 3XRechnung mit Leitweg-ID erstellen
- 4Download-Link im Order-Detail-Block · Upload ins Behörden-Portal
Hybrid-Rechnungen
ZUGFeRD-PDF für alle Bestellungen als Standard
- 1Jede Bestellung triggert Workflow
- 2ZUGFeRD 2.4 COMFORT erstellen
- 3PDF an Bestätigungsmail anhängen
- 4Archivierung in Invoice-api.xhub