بوابة فوترة STRIPE الإلكترونية المؤتمتة ونماذج البرمجة

بوابة أتمتة فواتير Stripe إلى XRechnung و ZUGFeRD

تحويل الفواتير الصادرة من Stripe إلى فواتير إلكترونية معتمدة XRechnung 3.0.2 XML و ZUGFeRD 2.3 PDF/A-3 متوافقة مع القوانين الضريبية الأوروبية.

✓ متوافق مع قوانين الفوترة الألمانية والأوروبية الإلزامية✓ أكواد جاهزة للربط عبر Webhooks (Node.js و Python)✓ ضمان قبول الفواتير 100% لدى بوابات الدفع الحكومية
AUTOMATED COMPLIANCE WORKFLOW
STEP 1
Stripe Invoicing

Customer billed; Stripe fires invoice.finalized.

→
STEP 2
EightyFive Engine

Maps Leitweg-ID, calculates 2-decimal VAT, validates Schematron (<18ms).

→
STEP 3
Certified Deliverable

XRechnung 3.0.2 XML + ZUGFeRD 2.3 PDF/A-3 delivered to customer.

OPTION 1: 1-CLICK STRIPE PDF/JSON CONVERTER Drop a Stripe Invoice PDF or JSON to test instant conversion:
01. رفع ملف PDF أو XML → 02. فحص وإصلاح القواعد الضريبية → 03. تصدير ملف XML و PDF/A-3 المعتمد
FREE IN-MEMORY VALIDATOR INV-2026-0842.xml XRECHNUNG-3.0

اسحب وأفلت ملف الفاتورة (PDF أو XML أو CSV) هنا

معالجة فورية وآمنة في الذاكرة • فحص شامل بدون تسجيل مسبق • يدعم QuickBooks و Xero و Stripe و دفترة و قيود و SAP

.XML (UBL & CII) .PDF (Standard or ZUGFeRD) .JSON (Stripe) .CSV
More options:
Zero-Retention RAM: Nothing saved to disk or DB →
LIVE SAMPLE PREVIEW Free Compliance Audit & Fix Preview: Drop your own PDF, XML, or CSV above to check errors & preview repair score free — pay only when downloading certified files.
Electronic Tax Invoice
INV-2026-0842
Issued: 2026-11-08 • Due: 2026-12-08
Buyer Reference / Leitweg-ID
04011000-12345-06
IBAN: DE89 3704 0044 0532 0130 00
From (Supplier) DE123456789
CloudScale Solutions GmbH
Friedrichstraße 114, 10117 Berlin (DE)
Contact: [email protected] • +49 30 555-0199
Bill To (Customer) DE987654321
Bundesamt für Digitale Infrastruktur
Alexanderplatz 5, 10178 Berlin (DE)
Peppol ID: 0204:DE987654321
# Description Qty Unit Price VAT Line Net
Subtotal (Excl. VAT): 1500.00 EUR
VAT Total: 285.05 EUR
Total Payable: 1785.05 EUR

تقرير المطابقة الرسمي

AUDITING
Auditing Schematron Rules...
EN 16931 • KoSIT • OpenPeppol • ZATCA
--%
OPTION 2: AUTOMATED WEBHOOK GATEWAY

2-Minute Webhook Recipes (Node.js & Python)

Automate compliance directly in your billing pipeline. When Stripe finalizes an invoice, generate and send a certified hybrid ZUGFeRD PDF/A-3 or XRechnung XML automatically.

Node.js / Express Webhook invoice.finalized
// Node.js (Express) Webhook Listener for Stripe Invoices
const express = require('express');
const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
const app = express();

app.post('/webhook', express.raw({ type: 'application/json' }), async (req, res) => {
  const sig = req.headers['stripe-signature'];
  const event = stripe.webhooks.constructEvent(req.body, sig, process.env.STRIPE_WEBHOOK_SECRET);

  if (event.type === 'invoice.finalized') {
    const invoice = event.data.object;

    // Call EightyFive Compliance API to generate certified ZUGFeRD PDF/A-3 & XRechnung
    const response = await fetch('https://einvoice.eightyfive.cloud/api/export-zugferd-pdf', {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
        'Authorization': 'Bearer ' + process.env.EF_LICENSE_KEY
      },
      body: JSON.stringify({
        invoiceNumber: invoice.number,
        issueDate: new Date(invoice.created * 1000).toISOString().slice(0, 10),
        currency: invoice.currency.toUpperCase(),
        mandate: 'xrechnung-3.0',
        seller: {
          name: 'Your SaaS Company Inc.',
          vatId: 'DE123456789',
          country: 'DE',
          address: 'Tech Park 1, 10115 Berlin'
        },
        buyer: {
          name: invoice.customer_name || invoice.customer_email,
          vatId: invoice.customer_tax_ids?.[0]?.value || '',
          buyerReference: invoice.metadata?.leitweg_id || '04011000-12345-06',
          country: invoice.customer_address?.country || 'DE'
        },
        lines: invoice.lines.data.map(item => ({
          description: item.description,
          quantity: item.quantity || 1,
          unitPrice: (item.price.unit_amount / 100),
          vatRate: item.tax_rates?.[0]?.percentage || 19,
          vatCategory: 'S'
        }))
      })
    });

    const zugferdPdfBuffer = await response.arrayBuffer();
    console.log('Generated compliant ZUGFeRD PDF/A-3:', zugferdPdfBuffer.byteLength, 'bytes');
  }

  res.json({ received: true });
});
Python / FastAPI Webhook invoice.finalized
# Python (FastAPI) Webhook Listener for Stripe Invoices
import os, requests
from fastapi import FastAPI, Request, Header, HTTPException
import stripe

stripe.api_key = os.getenv("STRIPE_SECRET_KEY")
app = FastAPI()

@app.post("/webhook")
async def stripe_webhook(request: Request, stripe_signature: str = Header(...)):
    payload = await request.body()
    event = stripe.Webhook.construct_event(payload, stripe_signature, os.getenv("STRIPE_WEBHOOK_SECRET"))

    if event["type"] == "invoice.finalized":
        invoice = event["data"]["object"]
        
        # Transform into compliant German XRechnung 3.0.2 / ZUGFeRD
        res = requests.post(
            "https://einvoice.eightyfive.cloud/api/export-zugferd-pdf",
            headers={"Authorization": f"Bearer {os.getenv('EF_LICENSE_KEY')}"},
            json={
                "invoiceNumber": invoice["number"],
                "issueDate": invoice["created"],
                "currency": invoice["currency"].upper(),
                "mandate": "xrechnung-3.0",
                "seller": {"name": "SaaS Corp", "vatId": "DE123456789", "country": "DE"},
                "buyer": {
                    "name": invoice.get("customer_name"),
                    "buyerReference": invoice.get("metadata", {}).get("leitweg_id", "04011000-12345-06"),
                    "country": "DE"
                },
                "lines": [{"description": line["description"], "quantity": line["quantity"], "unitPrice": line["amount"]/100, "vatRate": 19} for line in invoice["lines"]["data"]]
            }
        )
        with open(f"{invoice['number']}_zugferd.pdf", "wb") as f:
            f.write(res.content)

    return {"status": "success"}
AEO & REGULATORY KNOWLEDGE BASE

Frequently Asked Questions About Stripe E-Invoicing

Direct normative answers aligned with CEN EN 16931-1, KoSIT XRechnung 3.0.2, OpenPeppol BIS Billing 3.0, and Saudi ZATCA Fatoora Phase 2 technical specifications.

لماذا يتم رفض فواتير Stripe العادية في ألمانيا والاتحاد الأوروبي؟
تصدر Stripe فواتير بصيغة PDF غير مهيكلة، بينما تفرض القوانين استخدام فواتير XML مهيكلة بمعيار CEN EN 16931.
كيف يمكنني تمرير المعرف التوجيهي Leitweg-ID داخل Stripe؟
أضف حقل بيانات مخصصة `leitweg_id` في كائن العميل أو الفاتورة على Stripe، وتقوم بوابتنا بربطه تلقائياً بعنصر `cbc:BuyerReference`.
كيف تعمل بوابة Stripe Webhook المؤتمتة؟
عند صدور الفاتورة (`invoice.finalized`)، يستقبل الخادم إشعار Stripe ويرسله لـ EightyFive API لتوليد ملف XML المعتمد في أقل من 20 ملي ثانية.
هل يدعم النظام آلية التكليف العكسي لضريبة القيمة المضافة (Reverse Charge)؟
نعم، يكتشف المحرك أرقام التسجيل الضريبي الأوروبية الصالحة ويطبق تلقائياً الشروط والإعفاءات الضريبية المطابقة لمعيار EN 16931.
SELF-SERVE COMMERCIAL LICENSING

ترخيص فوري وذاتي بدون مكالمات مبيعات

تفعيل مباشر خلال ثوانٍ. يمكنك اعتماد فاتورة عاجلة واحدة أو الاشتراك في الباقة الشهرية للشركات ومكاتب المحاسبة.

🛡️ 100% Tax Authority Acceptance Guarantee: Guaranteed to pass German ZRE/OZG-RE, French Chorus Pro, Italian SdI, or Polish KSeF portals, or 100% instant refund within 30 days.
🇪🇺 B2B Reverse-Charge Ready (Art. 196) 🔒 Stripe Encrypted Checkout
⚡ Instant Local Payment Methods: 🇳🇱 iDEAL & 🇪🇺 SEPA Direct
🍎 Apple Pay 📱 Google Pay 🇪🇺 SEPA Direct Debit 💳 Cards (Visa/MC/Amex) 🇵🇱 BLIK 🇧🇪 Bancontact 🇦🇹 EPS 🇪🇸 Bizum ⚡ Klarna 🔗 Link
7-DAY PROJECT PASS

باقة الفاتورة الواحدة الطارئة

$5 دفعة واحدة

تحويل واعتماد فاتورة واحدة عاجلة فوراً مع رمز QR المشفر. بدون اشتراك متكرر.

  • Unlimited fixes & XML/PDF exports for 7 full days
  • Full KoSIT, EN 16931, Peppol & ZATCA Audit
  • Export UBL 2.1 XML + Hybrid ZUGFeRD PDF/A-3
  • Includes ZATCA Phase 2 TLV QR & Leitweg-ID Check
تفعيل فاتورة واحدة ($5) →
MULTI-ENTITY & API

باقة مكاتب المحاسبة والشركات المتعددة

$149 / شهرياً

أرقام ضريبية غير محدودة، 2,500 فاتورة شهرياً، واجهة برمجية API وبوابة فحص الموردين.

  • Unlimited Client VAT / Tax Registration IDs
  • Up to 2,500 Conversions & Audits / month
  • Full REST Webhook API (Make, Zapier, n8n, SAP)
  • Branded Supplier Compliance Gate Portal
تفعيل باقة المكاتب ($149/شهرياً) →
Returning customer or API subscriber? Restore your Stripe license anytime, or review our Zero-Retention RAM Privacy & 14-Day Refund Guarantee. Open Account & Billing Portal →