Validation stack
How to validate FATOORA
- 1File integrity and parsing
Preserve the source bytes and hash, then confirm the file is readable and well formed.
- 2Syntax and profile
Apply the correct schema and profile identifiers for UBL 2.1 with ZATCA extensions.
- 3Semantic business rules
Validate parties, dates, lines, taxes, totals, references and payment data.
- 4National and network rules
FATOORA / ZATCA UBL signals · Saudi VAT identifier structure · QR/reference and invoice type context
- 5Identity, security and routing
Confirm national identities, signatures, hashes, QR and recipient routing as applicable.
- 6Official outcome
Use FATOORA API integration with UBL 2.1, ZATCA business rules, QR/security controls, clearance for standard tax invoices and reporting for simplified invoices. and preserve the response from FATOORA.