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

Mandatory Invoice Number (BT-1 / cbc:ID)

Every invoice, credit note, or debit note must contain a non-empty unique document identifier in cbc:ID.

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:ID

Typical Reason for Failure

Draft invoices are exported before assigning a sequential ERP invoice number.

Invalid Synthetic Example

Before (Fails)xml
<cbc:ID></cbc:ID>

Corrected Synthetic Example

After (Fixed)xml
<cbc:ID>SME-2026-0001</cbc:ID>

Explanation of the Fix

Populate cbc:ID with the non-empty invoice number before serialization.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against BR-02 now

Browser quick check; raw XML is never stored.

Open Validator