QR-05WarningZATCA Security Features Implementation Standardimplemented
ZATCA 700-Character Base64 QR Size Guideline
ZATCA's Security Features Implementation Standard caps printed QR Base64 strings at 700 characters for scanner reliability.
- Scope
- Payload Limits
- Applicable Invoice Types
- Standard (B2B), Simplified (B2C), Credit Note, Debit Note
- Catalog Version
- v1.0.0 (2026-11-23)
Typical Reason for Failure
Very long bilingual seller names or double-base64-encoded Phase 2 keys push QR length past 700 chars.
Invalid Synthetic Example
Before (Fails)xml
Base64 length = 840 chars (double-encoded public key)Corrected Synthetic Example
After (Fixed)xml
Base64 length <= 700 chars (raw DER bytes for Tag 8/9)Explanation of the Fix
Store raw binary bytes (not Base64 text) inside Tags 8 and 9.
Official Source Reference
ZATCA Electronic Invoice XML Implementation Standard (Phase 2)
Open official specificationRelated Rules
Test your invoice against QR-05 now
Browser quick check; raw XML is never stored.