# BR-KSA-03

Source: https://xmlvalid.com/rules/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.

- Level: error
- Rule sets: ZATCA e-invoicing rules (Saudi Arabia) SDK 3.4.6
- Context: `/ubl:Invoice | /cn:CreditNote`
- Test: `exists(cbc:UUID) and (cbc:UUID) != '' and matches(cbc:UUID, '^[\w.-]+')`

Validate a document against these rules: https://xmlvalid.com/validate
