BR-KSA-03ErrorZATCA Phase 2 UBL 2.1implemented
RFC 4122 Invoice UUID Mandatory (KSA-1)
Every ZATCA Phase 2 invoice must include a unique RFC 4122 UUID inside cbc:UUID.
- Scope
- Document Header
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
- Target XPath
/Invoice/cbc:UUID
Typical Reason for Failure
Custom database integer IDs or malformed strings without hyphens are placed in cbc:UUID.
Invalid Synthetic Example
Before (Fails)xml
<cbc:UUID>INV-99812</cbc:UUID>Corrected Synthetic Example
After (Fixed)xml
<cbc:UUID>8e6000cf-1a98-4174-b3e7-b5d5954bc10d</cbc:UUID>Explanation of the Fix
Replace non-UUID strings with a freshly generated RFC 4122 UUIDv4.
Official Source Reference
ZATCA Electronic Invoice XML Implementation Standard (Phase 2)
Open official specificationTest your invoice against BR-KSA-03 now
Browser quick check; raw XML is never stored.