ZATCA e-invoice XML validator (UBL 2.1, KSA)
Upload a ZATCA e-invoice or credit/debit note XML. Valifakt runs the same schema and business rules as the official ZATCA SDK 3.4.6 and explains each error in English and Arabic – including what to change.
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).
What the validator checks
- Schema: the UBL 2.1 Invoice XSD shipped in the ZATCA SDK.
- EN 16931 rules (CEN-EN16931-UBL schematron, as packaged by ZATCA) – totals, VAT breakdown, mandatory business terms.
- KSA rules (ZATCA's e-invoice validation-rules schematron; the 70 most common rules come with plain-English and Arabic explanations): VAT numbers (15 digits, 3…3), national address, transaction code (KSA-2), ICV/PIH, exemption reason codes (VATEX-SA-…), SAR VAT total for foreign-currency invoices, credit/debit note references.
Each finding shows ZATCA's rule ID and official text, so you can search it in the ZATCA documentation or hand it to your software vendor. Upload one XML at a time; the file is processed in memory and not stored.
What it cannot check
Signature validity, the hash chain against your previous invoice, certificate status and ZATCA's own clearance checks. Use the ZATCA SDK or the Fatoora compliance and simulation portal for those – and your EGS for the real submission.
Questions
Is this the official ZATCA validator?
No – it is an independent tool that runs the rule files published in ZATCA's SDK. ZATCA's own options are the SDK (command line) and the web validator on the developer portal.
Which document types are supported?
Tax invoices and simplified invoices (388), credit notes (381) and debit notes (383) in UBL 2.1 as defined by the XML Implementation Standard 1.2.
Is my file stored?
No. The XML is validated in memory and discarded. Only an anonymous counter is kept.
Why do signed invoices show no signature errors?
Signature, certificate and hash-chain checks need ZATCA's keys and your previous invoice; only the SDK and Fatoora can do them. We check the schema and business rules.
Related: Fatoora Phase 2 checker · 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.