Skip to main content

Tools Directory

E-Invoicing Preflight Validation Tools

Choose a specialized tool below. Each lists exact supported inputs, structured outputs, and explicit regulatory scope limitations.

Saudi ZATCA XML Invoice Validator

Preflight validation of Saudi ZATCA Phase 2 UBL 2.1 XML invoices (Standard, Simplified, Credit/Debit Notes).

Supported Input
UBL 2.1 XML string or .xml file (<= 1 MiB, XXE/DTD blocked)
Expected Output
Versioned JSON findings with rule_id, XPath, line number, bilingual suggestion, copyable fix snippet, CSV/MD exports
Diagnostic Example
Flags BR-KSA-66 (5-digit postal code), BR-KSA-51 (line total with VAT), BR-CO-15 (invoice total); BR-KSA-65 / BR-KSA-50 checks are marked Under Review
Explicit Limitations
Does not bundle ZATCA Java/.NET XSD/Schematron JAR or verify live ZATCA Sub-CA certificate trust chains.

Saudi ZATCA QR TLV Decoder & Checker

Decodes Base64 TLV strings (Phase 1 Tags 1–5 & Phase 2 Tags 6–9), verifies framing/UTF-8 lengths, and cross-checks XML.

Supported Input
Base64 TLV string (recommended <= 700 chars) + optional UBL 2.1 XML
Expected Output
Decoded tag table (hex + UTF-8 bytes), explicit 5-part claims status, cross-consistency mismatches
Diagnostic Example
Detects truncated Arabic UTF-8 byte lengths, invalid VAT format (Tag 2), swapped Total/VAT (Tags 4 & 5)
Explicit Limitations
Decoding TLV does NOT prove invoice authenticity or run ECDSA signature verification against ZATCA CA certificates.

Jordan JoFotara Invoice Toolkit

Dual-mode offline UBL 2.1 validator and deterministic JSON-to-XML builder for Jordan ISTD JoFotara.

Supported Input
Validate mode: JoFotara UBL XML · Build mode: Structured JSON with supplier, customer, and line items
Expected Output
Preflight validation report or deterministic 3-decimal JOD XML + Base64 envelope + automatic self-validation
Diagnostic Example
Validates subtypes 011–023, SellerSupplierParty income source sequence, NIN/PN/TN customer rules, 3-decimal JOD math
Explicit Limitations
Never connects to live ISTD JoFotara submission endpoints; generated XML requires official ERP/ISTD submission.