Estudio / Normativas Nacionales / Saudi Arabia (KSA)
🇸🇦 SAUDI ARABIA (KSA) MARCO LEGAL DE FACTURA ELECTRÓNICA

Saudi Arabia ZATCA Phase 2 (Fatoora) Clearance & Cryptographic QR Hub

Complete ZATCA Phase 2 Fatoora compliance platform. Generate and validate UBL 2.1 XML, SHA-256 invoice hashes, ECDSA cryptographic signatures, and 9-Tag TLV Base64 QR codes.

Jump Straight to Validator Tool ↓

Especificaciones Legales y Técnicas (Saudi Arabia (KSA))

Markdown (.md) Saudi Arabia (KSA)

Saudi Arabia ZATCA Phase 2 (Fatoora) Clearance & Cryptographic QR Hub: Complete ZATCA Phase 2 Fatoora compliance platform. Generate and validate UBL 2.1 XML, SHA-256 invoice hashes, ECDSA cryptographic signatures, and 9-Tag TLV Base64 QR codes. Zakat, Tax and Customs Authority (ZATCA) E-Invoicing Regulation Resolution No. 01-12-20 & Phase 2 Integration Waves. (Mandatory for all taxpayers within designated revenue waves for B2B (Clearance) and B2C (Reporting).). OASIS UBL 2.1 XML with ZATCA XML Extension (SecurityDefinition, UBL Extensions, Cryptographic Stamp).

Marco Normativo Zakat, Tax and Customs Authority (ZATCA) E-Invoicing Regulation Resolution No. 01-12-20 & Phase 2 Integration Waves.
Plazos Obligatorios Mandatory for all taxpayers within designated revenue waves for B2B (Clearance) and B2C (Reporting).
Sintaxis Técnica OASIS UBL 2.1 XML with ZATCA XML Extension (SecurityDefinition, UBL Extensions, Cryptographic Stamp).
Identificador de Perfil reporting:1.0 / clearance:1.0
Reglas críticas auditadas en Saudi Arabia (KSA):
BR-KSA-03 UUID v4 Identifier

Every invoice must carry a globally unique RFC 4122 Version 4 UUID in cbc:UUID.

BR-KSA-08 15-Digit Saudi VAT TIN

Seller tax identification number must be exactly 15 numeric digits starting and ending with 3.

BR-KSA-27 9-Tag TLV Base64 QR

Must embed Base64-encoded TLV QR with Tags 1 to 9 (including XML hash, ECDSA signature, public key).

BR-KSA-09 Saudi National Address

Seller address must include 4-digit Building Number, Street, City, Postal Code, and Country Code SA.

01. Subir PDF o XML → 02. Auditar y Reparar Reglas → 03. Exportar XML y PDF/A-3
FREE IN-MEMORY VALIDATOR INV-2026-0842.xml ZATCA-PHASE-2
Check Free • Export 5 € 🔒 Zero-Retention RAM (GDPR Art. 13)

Arrastra aquí tu factura PDF, XML UBL/CII o CSV

Procesamiento privado en memoria • Auditoría sin registro • Compatible con Holded, Quipu, Stripe, QuickBooks, Xero y 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

Informe Schematron EN 16931

AUDITING
Auditing Schematron Rules...
EN 16931 • KoSIT • OpenPeppol • ZATCA
--%
ERP → SAUDI ARABIA (KSA)

Convierte software contable para Saudi Arabia (KSA)

Complete ZATCA Phase 2 Fatoora compliance platform. Generate and validate UBL 2.1 XML, SHA-256 invoice hashes, ECDSA cryptographic signatures, and 9-Tag TLV Base64 QR codes.

Ver los 120 conectores →
Payment & Billing Saudi Arabia

Convertir Stripe Invoice PDF a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (Stripe Invoice PDF) →
Accounting Software Saudi Arabia

Convertir QuickBooks Online a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (QuickBooks Online) →
Accounting Software Saudi Arabia

Convertir Xero Accounting a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (Xero Accounting) →
Cloud Invoicing Saudi Arabia

Convertir FreshBooks a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (FreshBooks) →
Accounting Software Saudi Arabia

Convertir Zoho Books a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (Zoho Books) →
E-Commerce Saudi Arabia

Convertir Shopify Order Invoice a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (Shopify Order Invoice) →
E-Commerce Saudi Arabia

Convertir WooCommerce PDF Invoice a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (WooCommerce PDF Invoice) →
Enterprise ERP Saudi Arabia

Convertir SAP ERP / S/4HANA PDF a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (SAP ERP / S/4HANA PDF) →
ERP & Accounting Saudi Arabia

Convertir Odoo Invoicing a Saudi Arabia ZATCA Phase 2 (Fatoora XML + QR)

Mandatory for Saudi Arabia ZATCA Phase 2 Integration waves (UBL 2.1 XML + UUID + SHA-256 Hash + 9-Tag TLV QR).

Abrir conector (Odoo Invoicing) →

Reglas relacionadas: Saudi Arabia (KSA)

→
BR-KSA-03 Saudi ZATCA Phase 2 (Fatoora)

KSA-1 (UUID / Universally Unique Identifier)

[BR-KSA-03] The invoice must contain a unique identifier (UUID) (KSA-1) given by the machine that issued the document matching RFC 4122 format.

Inspeccionar BR-KSA-03 →
BR-KSA-06 Saudi ZATCA Phase 2 (Fatoora)

KSA-2 (Invoice Sub-Type Code / NNPNESB)

[BR-KSA-06] The invoice transaction code (@name attribute on cbc:InvoiceTypeCode) must exist and respect the 7-character pattern NNPNESB (e.g., 0100000 for Standard Tax Invoice or 0200000 for Simplified Invoice).

Inspeccionar BR-KSA-06 →
BR-KSA-08 Saudi ZATCA Phase 2 (Fatoora)

BT-31 (Seller 15-Digit Saudi VAT Number)

[BR-KSA-08] Seller VAT registration number (BT-31) must consist of 15 digits, starting with 3 and ending with 3.

Inspeccionar BR-KSA-08 →
BR-KSA-09 Saudi ZATCA Phase 2 (Fatoora)

Seller National Address (BuildingNumber, PlotIdentification, District, PostalZone)

[BR-KSA-09] Seller address must contain Street Name (BT-35), Building Number (KSA-17), City (BT-37), Postal Code (5 digits, BT-38), District (KSA-3), and Country Code (SA).

Inspeccionar BR-KSA-09 →
BR-KSA-27 Saudi ZATCA Phase 2 (Fatoora)

KSA-14 (TLV Base64 Encoded QR Code)

[BR-KSA-27] The QR code (KSA-14) must be present and encoded in Base64 TLV (Tag-Length-Value) format containing Tags 1 to 9 for Phase 2.

Inspeccionar BR-KSA-27 →
BR-KSA-F-01 Saudi ZATCA Phase 2 (Fatoora)

BT-2 (IssueDate ISO 8601 Format)

[BR-KSA-F-01] All dates MUST be formatted strictly as YYYY-MM-DD in the Gregorian calendar.

Inspeccionar BR-KSA-F-01 →
AEO & REGULATORY KNOWLEDGE BASE

Preguntas frecuentes: Factura electrónica en Saudi Arabia (KSA)

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.

What is the difference between ZATCA Phase 1 and Phase 2?
Phase 1 required simple generation of a QR code containing 5 basic tags. Phase 2 requires strict UBL 2.1 XML integration, cryptographic stamps, SHA-256 hashes, ECDSA signatures, and live clearance/reporting with the Fatoora platform.
How does EightyFive decode and verify ZATCA Phase 2 QR codes?
Our engine extracts the Base64 TLV payload, validates tag lengths, inspects Tags 1–9, and verifies the 15-digit Saudi VAT TIN checksum.
SELF-SERVE COMMERCIAL LICENSING

Licencias de Autoservicio Transparentes

Activación inmediata sin llamadas comerciales. Desbloquea una factura urgente al instante o automatiza tu volumen mensual.

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

Pase de Factura Única

5 € pago único

Convierte y certifica 1 factura urgente al instante. Sin suscripción.

  • 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
Desbloquear 1 Factura (5 €) →
MULTI-ENTITY & API

Hub Asesorías y Multi-Empresa

149 € / mes

NIF/IVA ilimitados, 2.500 conversiones/mes, API Webhook REST y Portal de Proveedores.

  • 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
Activar Plan Asesoría (149 €/mes) →
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 →