DE_XRECHNUNG_UBLDE_ZUGFERDSA_ZATCAPEPPOL_BIS3
Stripe Invoices to XRechnung 3.0 & ZATCA Phase 2 via One REST Call
Pass your raw Stripe invoice JSON directly with sourceFormat: "stripe_invoice". Invora handles integer-cent rounding, discounts, EU reverse charge (AE), and KoSIT validation.
Germany mandatory outbound B2B e-invoicing starts Jan 1, 2027 (>€800k turnover); Saudi ZATCA Wave 25 drops to SAR 187,500 on Feb 1, 2027.
3-Step Integration Flow
- Listen to Stripe invoice.finalized webhook in your backend.
- Forward the raw Stripe invoice object inside sourceFormat: "stripe_invoice" to POST /v1/einvoice/issue.
- Attach the returned XRechnung XML or ZUGFeRD PDF/A-3b directly to your customer email or ERP.
Stripe Custom Billing -> Invora REST
const res = await fetch("https://api.invora.dev/v1/einvoice/issue", {
method: "POST",
headers: {
"Authorization": "Bearer tb_live_your_key",
"Idempotency-Key": `stripe-${stripeInvoice.id}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
sourceFormat: "stripe_invoice",
format: "DE_ZUGFERD",
buyerReference: stripeInvoice.metadata?.leitweg_id ?? "PO-2027-01",
seller: {
name: "Acme Cloud GmbH",
vatId: "DE123456789",
email: "billing@acme.de",
contactName: "Finance Desk",
phone: "+49 30 5550199",
address: { street: "Friedrichstr 1", city: "Berlin", postalCode: "10117", countryCode: "DE" }
},
paymentMeans: { code: "58", iban: "DE89370400440532013000" },
stripeInvoice
})
});Frequently Asked Questions
How does Invora handle Stripe negative discount or proration lines?
Invora v1.4 sums net line amounts instead of misclassifying a single negative discount line as a 381 Credit Note, preventing false BR-55 rejections.
Can I embed XRechnung XML into my existing Stripe PDF?
Yes. Pass your PDF bytes as existingPdfBase64 with format: "DE_ZUGFERD" to get a compliant ZUGFeRD 2.2 PDF/A-3b file.
Ship Stripe Custom Billing E-Invoicing Today
Starts at $79/mo for 1,500 invoices. No sales call required.