DEVELOPER REST API • ZERO-RETENTION RAM ARCHITECTURE

REST API Walidacji i Naprawy E-Faktur

Programmatic CEN EN 16931, KoSIT XRechnung 3.0.2, Peppol BIS 3.0, ZATCA Phase 2, and Hybrid ZUGFeRD 2.3 PDF/A-3 validation and 1-click remediation API for SaaS platforms, ERPs, and finance workflows.

View OpenAPI 3.1 Spec (JSON) Try API Sandbox Live ↓ Get API Key ($149/mo) →
API Endpoints
Architecture & SDKs
POST

/api/validate

Validates an invoice JSON or XML payload against 350+ official Schematron rules (EN 16931, KoSIT XRechnung 3.0.2, Peppol BIS 3.0, Saudi ZATCA Phase 2). Returns score (0–100%), error array with XPath diagnostics, and certified UBL 2.1 XML.

Example Request (cURL):
curl -X POST "https://einvoice.eightyfive.cloud/api/validate" \
  -H "Content-Type: application/json" \
  -d '{
    "mandate": "xrechnung-3.0",
    "invoice": {
      "invoiceNumber": "INV-2026-001",
      "issueDate": "2026-11-15",
      "currency": "EUR",
      "buyerReference": "04011000-1234512345-06",
      "seller": { "name": "Acme SaaS Ltd", "vatId": "DE123456789", "country": "DE" },
      "buyer": { "name": "Berlin City AG", "vatId": "DE987654321", "country": "DE" },
      "totals": { "taxExclusiveAmount": 1000.00, "taxAmount": 190.00, "payableAmount": 1190.00 },
      "lines": [{ "id": "1", "name": "Cloud API Subscription", "quantity": 1, "unitPrice": 1000.00, "vatRate": 19, "lineNetAmount": 1000.00 }]
    }
  }'
POST

/api/autofix

Takes any broken or non-compliant invoice, recalculates all line items and VAT category subtotals to exact 2-decimal precision (fixing BR-CO-10..16), verifies German Leitweg-ID checksums (fixing BR-DE-15), strips forbidden empty XML nodes (fixing PEPPOL-R008), injects normative ProfileIDs, and computes Saudi ZATCA Phase 2 9-Tag TLV Base64 QR tags (fixing BR-KSA-27).

Node.js (Fetch) Example:
const res = await fetch("https://einvoice.eightyfive.cloud/api/autofix", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ mandate: "zatca-phase-2", invoice: rawInvoiceData })
});
const { invoice, validation, xml, zatcaDecoded } = await res.json();
console.log("Compliance Score:", validation.score + "%"); // 100%
POST

/api/parse-xml

Accepts raw UBL 2.1 (<Invoice> & <CreditNote> 381), UN/CEFACT CrossIndustryInvoice, Italian FatturaPA (<FatturaElettronica>), or Polish KSeF (<Faktura>) XML directly in JSON, validates all normative rules for the requested mandate, and returns parsed JSON + validation report + redacted or unlocked compliance XML.

curl -X POST "https://einvoice.eightyfive.cloud/api/parse-xml" \
  -H "Content-Type: application/json" \
  -d '{"mandate":"xrechnung-3.0","xml":"<Invoice>...</Invoice>"}'
POST

/api/upload-invoice

Multipart form file upload endpoint. Ingests standard or hybrid PDF/A-3 files, Stripe/Shopify/Xero/QuickBooks CSV exports, JSON invoice objects, UBL 2.1 XML, UN/CEFACT CII XML, Italian FatturaPA XML, and Polish KSeF FA(2)/FA(3) XML. Automatically extracts parties, VAT IDs, dates, line items, and header allowances/charges.

curl -X POST "https://einvoice.eightyfive.cloud/api/upload-invoice" \
  -F "file=@Stripe_Invoice.pdf" \
  -F "mandate=xrechnung-3.0"
POST

/api/upload-batch

Processes up to 50 PDF, CSV, JSON, or XML invoices in parallel volatile RAM and returns per-document compliance scores, violated Schematron rule arrays, and aggregate pass/repair statistics. Evaluating 1–2 files is free; 3–50 files require a Pro or Firm Bearer token.

curl -X POST "https://einvoice.eightyfive.cloud/api/upload-batch" \
  -H "Authorization: Bearer v1.your_signed_token_here" \
  -F "[email protected]" -F "[email protected]" -F "[email protected]" \
  -F "mandate=xrechnung-3.0"
POST

/api/export-ubl-xml

Exports unredacted, schema-repaired OASIS UBL 2.1 XML (or UN/CEFACT CII D16B XML when passing "format": "cii") with a sanitized attachment filename. Requires an active Bearer license token.

curl -X POST "https://einvoice.eightyfive.cloud/api/export-ubl-xml" \
  -H "Authorization: Bearer v1.your_signed_token_here" \
  -H "Content-Type: application/json" \
  -d '{"mandate":"zugferd-2.3","format":"cii"}' -o repaired-cii.xml
POST

/api/export-zugferd-pdf

Renders an ISO 19005-3 (PDF/A-3b) binary document with embedded machine-readable factur-x.xml / xrechnung.xml (/AFRelationship /Alternative), XMP conformance metadata, and ZATCA/Leitweg visual QR code. Requires an active Bearer license token and returns Content-Type: application/pdf.

curl -X POST "https://einvoice.eightyfive.cloud/api/export-zugferd-pdf" \
  -H "Authorization: Bearer v1.your_signed_token_here" \
  -H "Content-Type: application/json" \
  -d '{"mandate":"zugferd-2.3","invoice":{"invoiceNumber":"INV-2026-88"}}' -o invoice-pdfa3.pdf
POST

/api/export-audit-certificate

Issues a GoBD / ZATCA cryptographic Compliance Audit Certificate PDF carrying a server-verified Schematron conformance score and SHA-256 invoice digest. Requires an active Bearer license token.

curl -X POST "https://einvoice.eightyfive.cloud/api/export-audit-certificate" \
  -H "Authorization: Bearer v1.your_signed_token_here" \
  -H "Content-Type: application/json" \
  -d '{"mandate":"xrechnung-3.0","invoice":{"invoiceNumber":"INV-2026-88"}}' -o audit-certificate.pdf
POST

/api/zatca/qr-decode

Decodes Base64 TLV Tags 1–9 from Saudi ZATCA Phase 1 & Phase 2 Fatoora QR payloads and verifies the 15-digit Saudi VAT number.

curl -X POST "https://einvoice.eightyfive.cloud/api/zatca/qr-decode" -H "Content-Type: application/json" -d '{"base64":"..."}'
POST

/api/leitweg/verify

Validates German B2G Leitweg-ID routing strings against the ISO 7064 Mod 97-10 check-digit algorithm and calculates expected check digits on mismatch.

curl -X POST "https://einvoice.eightyfive.cloud/api/leitweg/verify" -H "Content-Type: application/json" -d '{"leitwegId":"04011000-1234512345-06"}'

Authentication & Bearer API Keys

Evaluation calls to /api/validate, /api/autofix, /api/parse-xml, and /api/upload-invoice run free without credentials (production XML outputs are redacted). To unlock unredacted XML, ZUGFeRD PDF/A-3, Audit Certificates, and >2-file parallel batches, pass your signed token via Authorization: Bearer <token> or x-unlock-token. Retrieve or manage your token anytime in the Customer Account & Billing Portal.

curl -X POST "https://einvoice.eightyfive.cloud/api/export-ubl-xml" \
  -H "Authorization: Bearer v1.your_signed_token_here" \
  -H "Content-Type: application/json" \
  -d '{"mandate":"xrechnung-3.0"}'

Automation Integrations (n8n, Make, Zapier, ERP)

Every REST endpoint returns standard synchronous JSON or binary application/pdf / application/xml responses under 50ms, making it drop-in compatible with Zapier Webhooks, Make HTTP modules, n8n workflows, and ERP post-billing triggers without callback polling.

Zero-Retention RAM Security & GDPR

Uploaded PDFs, CSVs, and XML documents are parsed exclusively in transient request memory (Multer RAM storage) and discarded immediately when the HTTP response finishes. Zero customer invoice payloads, line items, or counterparty VAT IDs are persisted to disk or databases.

Interactive In-Browser API Sandbox

Live Response:
Click "Send Test API Request" above to test the live API...
SELF-SERVE COMMERCIAL LICENSING

Przejrzyste Licencje Self-Service

Natychmiastowa aktywacja bez rozmów handlowych. Odblokuj pojedynczą pilną fakturę lub wybierz pakiet miesięczny.

🛡️ 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: 🇵🇱 BLIK & Szybki Przelew
🍎 Apple Pay 📱 Google Pay 🇪🇺 SEPA Direct Debit 💳 Cards (Visa/MC/Amex) 🇵🇱 BLIK 🇧🇪 Bancontact 🇦🇹 EPS 🇪🇸 Bizum ⚡ Klarna 🔗 Link
7-DAY PROJECT PASS

Pakiet Pojedynczej Faktury

€5 jednorazowo

Przekonwertuj i napraw 1 pilną fakturę natychmiast. Bez subskrypcji.

  • 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
Odblokuj 1 Fakturę (€5) →
MULTI-ENTITY & API

Biuro Rachunkowe & Multi-Podmiot

€149 / miesiąc

Nielimitowane numery NIP/VAT, 2 500 konwersji/mies., API Webhook i Portal Dostawców.

  • 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
Aktywuj Plan Biura (€149/mies.) →
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 →