Skip to main content
QR-09ErrorZATCA Security Features Implementation Standardimplemented

Mandatory Phase 1 (1–5) & Phase 2 (6–9) Tag Completeness

All invoices require Tags 1–5. Phase 2 invoices add Tags 6 (XML Hash), 7 (ECDSA Signature), 8 (Public Key), plus Tag 9 (CA Signature) for Simplified B2C invoices.

Scope
Completeness
Applicable Invoice Types
Standard (B2B), Simplified (B2C), Credit Note, Debit Note
Catalog Version
v1.0.0 (2026-11-23)

Typical Reason for Failure

Phase 2 simplified invoices omit Tag 8 or Tag 9, or Phase 1 QR drops Tag 5 when VAT is zero.

Invalid Synthetic Example

Before (Fails)xml
Tags present: [1, 2, 3, 4] (Tag 5 omitted)

Corrected Synthetic Example

After (Fixed)xml
Tags present: [1, 2, 3, 4, 5] (Phase 1) or [1..9] (Phase 2 Simplified)

Explanation of the Fix

Always include Tag 5 (even as '0.00') and complete Tags 6–9 for Phase 2 Simplified.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against QR-09 now

Browser quick check; raw XML is never stored.

Open Validator