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-F-04
🇸🇦 Saudi ZATCA Phase 2 (Fatoora) • SEVERITY: FATAL • ZATCA Format Constraint F-04

How to Fix BR-KSA-F-04: ZATCA Format Constraint F-04

Field format, decimal places, or ISO date/time syntax violated ZATCA rule BR-KSA-F-04.

📐 Official Schematron Specification & XPath Diagnosis for BR-KSA-F-04

BR-KSA-F-04 — BLOCKING REJECTION
Official Specification Rule
[BR-KSA-F-04] ZATCA Phase 2 strict data format, decimal precision, and character length validation rule.
XPath: /ubl:Invoice
Deterministic Remediation (How to Fix)
Format dates as YYYY-MM-DD, times as HH:MM:SS, and monetary amounts to exact 2 decimals.
❌ REJECTED XML STRUCTURE (TRIGGERS BR-KSA-F-04)
<!-- ZATCA Format Error BR-KSA-F-04 -->
✅ COMPLIANT XML STRUCTURE (BR-KSA-F-04 FIXED)
<!-- ZATCA Format Verified BR-KSA-F-04 -->

⚡ Repair BR-KSA-F-04 in Your Invoice Right Now:

Norme & Juridiction cible :

📄 Glissez-déposez votre facture PDF, XML ou CSV

Sans inscription pour analyser • Traitement confidentiel • Compatible Stripe, Pennylane, Sage, QuickBooks & Xero

🛠️ Éditeur 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

🛡️ Rapport de conformité EN 16931

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-02

KSA Phase 2 Field Rule #2

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

Fix BR-KSA-02 →
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 →
INSTANT SELF-SERVE ACTIVATION • NO SALES CALLS

Zéro appel commercial. Conformité immédiate en libre-service.

Débloquez vos factures bloquées en 30 secondes. Pass unitaire ou abonnement mensuel sans engagement.

Single Emergency Fix

Pass Urgence Facture Unique

$19 paiement unique

Convertissez et corrigez 1 facture urgente immédiatement. Sans abonnement.

  • ✅ 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
Débloquer la facture ($19) →
For Tax Advisors & High Volume

Hub Cabinet Comptable & Multi-Sociétés

$199 / mois

SIRET/TVA illimités, API Webhook REST et portail de conformité fournisseurs.

  • ✅ 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
Activer le Hub Cabinet ($199/mois) →