Validate a ZATCA XML file for free · ZATCA error codes
ZATCA BR-KSA-03: UUID (KSA-1) missing or invalid
BR-KSA-03 · Error
[BR-KSA-03]-The invoice must contain a unique identifier ("UUID") (KSA-1) given by the unit that issued the document (unique message identifier for interchange process). This value must contain only letters, digits, and dashes.
The official rule requires a unique identifier (UUID, KSA-1) given by the unit that issued the document — a unique message identifier for the interchange — containing only letters, digits and dashes.
In UBL this is cbc:UUID. A typical UUID looks like 8d487816-70b8-4ade-a618-9d620b73814a. Empty values, spaces, slashes or a missing element fail the rule. Your ZATCA-onboarded e-invoicing solution (EGS) must assign a new UUID to every document; Valifakt drafts generate one for test files only and are not cleared or reported.
Valifakt is not a ZATCA-onboarded solution and this page is not tax advice.
What characters are allowed?
The official text: letters, digits and dashes only.
Is a UUID required on simplified invoices too?
The official rule says the invoice must contain a UUID (KSA-1). It does not limit the document type in that sentence.
Does Valifakt clear the invoice?
No. Drafts are unsigned test files. Clearance and reporting are done by a ZATCA-onboarded EGS.
Related ZATCA rules
- BR-KSA-08 – Seller identification (BT-29) missing or wrong scheme
- BR-KSA-26 – Previous invoice hash (PIH, KSA-13) is not base64 SHA-256
- BR-KSA-27 – QR code (KSA-14) missing or not base64Binary
- BR-KSA-39 – Seller VAT number (BT-31) missing
- BR-KSA-40 – Seller VAT number (BT-31) is not 15 digits starting and ending with 3
- BR-KSA-04 – Invoice issue date (BT-2) is in the future or invalid
- BR-KSA-06 – Invoice transaction code (KSA-2) missing or invalid
- BR-KSA-17 – Credit or debit note missing the reason (KSA-10)
Validate a ZATCA XML file for free Pricing
Not tax advice. Valifakt is not a ZATCA-onboarded e-invoicing solution (EGS). Official rule text is quoted from the ZATCA SDK validation-rules XSL.