Skip to main content
BR-KSA-33ErrorZATCA Phase 2 UBL 2.1implemented

Invoice Counter Value (ICV) Mandatory & Positive

Every Phase 2 invoice must include an AdditionalDocumentReference with ID='ICV' and a positive integer in cbc:UUID.

Scope
Hash Chain & Security
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)
Target XPath
/Invoice/cac:AdditionalDocumentReference[cbc:ID='ICV']/cbc:UUID

Typical Reason for Failure

ICV starts at 0, uses alphanumeric prefix 'INV-1', or is missing completely.

Invalid Synthetic Example

Before (Fails)xml
<cac:AdditionalDocumentReference><cbc:ID>ICV</cbc:ID><cbc:UUID>0</cbc:UUID></cac:AdditionalDocumentReference>

Corrected Synthetic Example

After (Fixed)xml
<cac:AdditionalDocumentReference><cbc:ID>ICV</cbc:ID><cbc:UUID>1</cbc:UUID></cac:AdditionalDocumentReference>

Explanation of the Fix

Use strictly positive sequential integers (1, 2, 3...) per EGS unit.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-KSA-33 now

Browser quick check; raw XML is never stored.

Open Validator