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

QR Tags 4 & 5 Decimal Monetary Amounts & Consistency

Tag 4 (Invoice Total with VAT) and Tag 5 (VAT Total) must be plain non-negative decimals with VAT Total <= Invoice Total.

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

Typical Reason for Failure

Currency labels ('115.00 SAR'), comma separators ('1,150.00'), or swapped Tag 4 & Tag 5 values.

Invalid Synthetic Example

Before (Fails)xml
Tag 4 = '15.00 SAR', Tag 5 = '115.00 SAR'

Corrected Synthetic Example

After (Fixed)xml
Tag 4 = '115.00', Tag 5 = '15.00'

Explanation of the Fix

Emit plain decimal strings without currency text and ensure Tag 4 >= Tag 5.

Official Source Reference

ZATCA Electronic Invoice XML Implementation Standard (Phase 2)

Open official specification

Related Rules

Test your invoice against QR-08 now

Browser quick check; raw XML is never stored.

Open Validator