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

QR-to-XML Cross-Consistency Verification

When invoice XML is provided alongside the QR string, Tags 1, 2, 4, and 5 must exactly match the XML Seller Name, Seller VAT, TaxInclusiveAmount, and TaxTotal.

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

Typical Reason for Failure

QR code was generated from pre-discount ERP UI totals while XML carries post-discount totals.

Invalid Synthetic Example

Before (Fails)xml
QR Tag 4 = '1000.00' vs XML TaxInclusiveAmount = '1150.00'

Corrected Synthetic Example

After (Fixed)xml
QR Tag 4 = '1150.00' == XML TaxInclusiveAmount = '1150.00'

Explanation of the Fix

Derive QR tag values strictly from the finalized UBL XML fields.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against QR-10 now

Browser quick check; raw XML is never stored.

Open Validator