Fatoora Phase 2 checker
Upload an e-invoice XML from your system to see which Phase 2 (integration) elements are present, decode its QR code and compare it with the invoice – plus the full ZATCA SDK rule check.
Validation and the Phase 2 check are free (fair-use rate limit). 3 XML drafts/month free · Pro $19/month = SAR 71.25 (100 drafts).
The Phase 2 elements we look for
| ProfileID | reporting:1.0 |
| UUID (KSA-1) | A unique identifier per document |
| Transaction code (KSA-2) | 01… standard tax invoice or 02… simplified, followed by flags for third-party, nominal, export, summary and self-billed invoices |
| Issue time (KSA-25) | hh:mm:ss |
| ICV (KSA-16) and PIH (KSA-13) | Invoice counter and the hash of the previous invoice |
| Cryptographic stamp (KSA-15) | Required in simplified invoices you issue; tax invoices are stamped by ZATCA at clearance |
| QR code | TLV in base64: 1 seller name, 2 VAT number, 3 time stamp, 4 total with VAT, 5 VAT total, 6 XML hash, 7 ECDSA signature, 8 public key, 9 ZATCA's signature of the stamp certificate (simplified) |
For a QR code we decode the TLV and compare tags 1–5 with the invoice (name, VAT number, date and time, totals). A mismatch there is a common reason for rejected simplified invoices.
Questions
Does a green result mean my invoice is Phase 2 compliant?
It means the XML has the Phase 2 elements and passes the ZATCA SDK schema and business rules. Compliance also needs a valid stamp from your onboarded EGS and, for tax invoices, ZATCA clearance.
Why is the QR code missing in my tax invoice?
For standard tax invoices ZATCA returns the cleared XML with its stamp and QR code. A draft before clearance has none.
Can I check a PDF/A-3?
Extract the embedded XML first (most PDF readers list it as an attachment) and upload the XML.
Related: ZATCA XML validator · Wave deadline calculator · Tally / Zoho / Excel to ZATCA XML · Readiness check · KSA pricing · Excel template · العربية
Official sources: ZATCA roll-out phases · Wave 25 announcement (24 Jul 2026) · E-invoice specifications: XML Implementation Standard 1.2, Data Dictionary, Security Features 1.2 (19 May 2023) · Security Features Implementation Standards · ZATCA SDK download · E-Invoicing Implementation Resolution · Phase 1 in force. Checked 1 December 2026. ZATCA can change dates and rules; confirm on zatca.gov.sa.
Not an e-invoicing solution, not tax advice. Valifakt is not a ZATCA-onboarded e-invoicing solution (EGS) and does not connect to Fatoora. It validates and converts data only: drafts are unsigned, carry no QR code or cryptographic stamp, and are never cleared or reported. Under the E-Invoicing Implementation Resolution only your onboarded EGS with a CSID may sign invoices, and tax invoices must be cleared by ZATCA before you share them. Rules from the official ZATCA SDK; passing them does not mean ZATCA approval. Founded by Saoud Altamimi, Abu Dhabi.