LIVE 2026/2027 MANDATE ENGINE: Germany XRechnung 3.0.2 • ZUGFeRD 2.3 • Belgium/EU Peppol BIS 3.0 • Saudi ZATCA Phase 2 • UAE PINT
Home › Official Error Catalog › BR-KSA-02
🇸🇦 Saudi ZATCA Phase 2 (Fatoora) • SEVERITY: FATAL • KSA Phase 2 Field Rule #2

How to Fix BR-KSA-02: KSA Phase 2 Field Rule #2

ZATCA Fatoora portal / SDK rejected the UBL 2.1 XML under rule BR-KSA-02 during Phase 2 Clearance or Reporting.

📐 Official Schematron Specification & XPath Diagnosis for BR-KSA-02

BR-KSA-02 — BLOCKING REJECTION
Official Specification Rule
[BR-KSA-02] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-02.
XPath: /ubl:Invoice
Deterministic Remediation (How to Fix)
Apply ZATCA Phase 2 UBL 2.1 extensions (UUID, ICV counter, PIH hash, 15-digit VAT TIN, National Address, and 9-tag TLV QR) to clear BR-KSA-02.
❌ REJECTED XML STRUCTURE (TRIGGERS BR-KSA-02)
<!-- ZATCA Fatoora SDK Rejection: BR-KSA-02 -->
✅ COMPLIANT XML STRUCTURE (BR-KSA-02 FIXED)
<!-- ZATCA Phase 2 Compliant UBL 2.1 Node (BR-KSA-02 CLEARED) -->

⚡ Repair BR-KSA-02 in Your Invoice Right Now:

Normativa y estándar de destino:

📄 Arrastra aquí tu factura PDF, XML o CSV

Sin registro previo • Procesamiento privado • Compatible con Holded, Quipu, Stripe, QuickBooks, SAP y Xero

🛠️ Editor Auto-Fix

1. Document Header & Routing Identifiers XRECHNUNG 3.0.2
2. Seller Party & Mandatory Contact (BG-4 / BG-6 / BR-DE-2) BT-27 .. BT-43
3. Buyer Party & Peppol Endpoint (BG-7 / R010) BT-44 .. BT-55
4. Line Items & EN 16931 Mathematical Reconciliation (BR-CO-10 .. 16) BG-25 / BG-22

🛡️ Informe de Conformidad

AUDITING...
Checking Official Schematron Rules...
Validating EN 16931, KoSIT, Peppol BIS 3.0 & ZATCA Phase 2
--%

Related Saudi ZATCA Phase 2 (Fatoora) Validation Rules

BR-KSA-03

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.

Fix BR-KSA-03 →
BR-KSA-06

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).

Fix BR-KSA-06 →
BR-KSA-08

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.

Fix BR-KSA-08 →
BR-KSA-09

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).

Fix BR-KSA-09 →
BR-KSA-27

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.

Fix BR-KSA-27 →
BR-KSA-F-01

BT-2 (IssueDate ISO 8601 Format)

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

Fix BR-KSA-F-01 →
BR-KSA-01

KSA Phase 2 Field Rule #1

[BR-KSA-01] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-01.

Fix BR-KSA-01 →
BR-KSA-04

KSA Phase 2 Field Rule #4

[BR-KSA-04] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-04.

Fix BR-KSA-04 →
BR-KSA-05

KSA Phase 2 Field Rule #5

[BR-KSA-05] Saudi ZATCA Electronic Invoice XML Implementation Standard mandatory rule BR-KSA-05.

Fix BR-KSA-05 →
INSTANT SELF-SERVE ACTIVATION • NO SALES CALLS

Cero llamadas de ventas. Cumplimiento instantáneo.

Desbloquea facturas retenidas por clientes en Alemania, Bélgica, Francia o Arabia Saudí en segundos.

Single Emergency Fix

Pase de Emergencia (1 Factura)

$19 pago único

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

  • ✅ Convert 1 PDF/CSV or Repair 1 Rejected XML
  • ✅ Full KoSIT, EN 16931, Peppol & ZATCA Validation
  • ✅ Download Certified UBL 2.1 XML + Hybrid ZUGFeRD PDF/A-3
  • ✅ Includes ZATCA Phase 2 TLV QR & Leitweg-ID Check
Desbloquear Factura ($19) →
For Tax Advisors & High Volume

Hub Asesorías y Multi-Empresa

$199 / mes

NIF/IVA ilimitados, API Webhook REST y Portal de Validación para Proveedores.

  • ✅ Unlimited Client VAT / Tax Registration IDs
  • ✅ Up to 2,500 Conversions & Validations / month
  • ✅ Full REST Webhook API (Stripe, Make, Zapier, n8n, SAP)
  • ✅ Branded Supplier Compliance Gate Portal for Vendors
Activar Hub Asesoría ($199/mes) →