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

Mandatory Issue Date (BT-2) & Invoice Type Code (BT-3)

The invoice must contain a valid YYYY-MM-DD cbc:IssueDate and a supported UNTDID 1001 type code (388, 381, 383, or 386).

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

Typical Reason for Failure

Dates formatted as DD/MM/YYYY or localized strings fail XML schema and ZATCA parsing.

Invalid Synthetic Example

Before (Fails)xml
<cbc:IssueDate>06/06/2026</cbc:IssueDate>
<cbc:InvoiceTypeCode>INV</cbc:InvoiceTypeCode>

Corrected Synthetic Example

After (Fixed)xml
<cbc:IssueDate>2026-06-06</cbc:IssueDate>
<cbc:InvoiceTypeCode name="0100000">388</cbc:InvoiceTypeCode>

Explanation of the Fix

Use ISO date YYYY-MM-DD and numeric UNTDID 1001 code 388/381/383/386.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Test your invoice against BR-04 now

Browser quick check; raw XML is never stored.

Open Validator