Pinpoint ZATCA & JoFotara invoice failures before clearance rejects them.
Turn opaque rule codes into exact XML XPaths, Decimal VAT verification, bilingual engineering explanations, and copyable XML patches—locally, in CI/CD, or via Apify Actors.
- Documented Rules
- 84
- 4 under review
- Standards
- KSA · JO
- VAT Arithmetic
- Decimal
Failure Anatomy · BR-KSA-65 · Under Review
From cryptic rule code to a corrected XML patch in seconds
ERPs routinely map a 2-digit suite number into Buyer cbc:PlotIdentification. GIC flags it as BR-KSA-65 (4 digits when present). This rule ID's official status is under review: it is absent from the clean ZATCA v1.2 rule list, and SDK verification is pending.
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PostalAddress>
<cbc:BuildingNumber>4109</cbc:BuildingNumber>
<cbc:PlotIdentification>88</cbc:PlotIdentification> <!-- FLAGGED: BR-KSA-65 (under review) -->
<cbc:PostalZone>23326</cbc:PostalZone>
</cac:PostalAddress>
</cac:Party>
</cac:AccountingCustomerParty><cac:AccountingCustomerParty>
<cac:Party>
<cac:PostalAddress>
<cbc:BuildingNumber>4109</cbc:BuildingNumber>
<cbc:PlotIdentification>8841</cbc:PlotIdentification> <!-- 4 DIGITS · PASS -->
<cbc:PostalZone>23326</cbc:PostalZone>
</cac:PostalAddress>
</cac:Party>
</cac:AccountingCustomerParty>Validation Suite
Three focused products built on one shared core
Deterministic Workflow
Four deterministic stages from untrusted payload to actionable diff
- 01
XXE & Resource Guard
Rejects DOCTYPE/ENTITY declarations, oversized payloads (>1 MiB), and deep XML bombs before parsing.
- 02
Rule Evaluation
Runs traceable BR-KSA, EN 16931, QR TLV, and ISTD JoFotara checks using strict Decimal arithmetic.
- 03
Explicit Finding Separation
Separates parse errors, schema errors, business rule failures, warnings, and authority-only checks.
- 04
Structured Exports & Automation
Export JSON, CSV, or Markdown reports—or integrate directly into pytest, FastAPI, n8n, and Apify Actors.
API, Python & Apify Ready
from gic_core.validation import validate_zatca_xml
result = validate_zatca_xml(invoice_xml)
for finding in result.findings:
print(f"[{finding.rule_id}] {finding.xpath} -> {finding.suggestion.en}")FastAPI Local API
127.0.0.1:8000 · OpenAPI v1
3 Apify Actors
Batch-safe · PPE-ready (Off)
CI/CD Pipelines
GitHub Actions & pytest
Honest Standards Coverage
Explicit about what is verified—and what remains authority-only
Every rule in our registry carries an official specification link and exact implementation status—never inflating coverage or fabricating cryptographic CA clearance.
Saudi ZATCA XML
54
implemented & tested rules
+1 partial · 2 authority-only
BR-KSA & EN 16931; XAdES CA separated
ZATCA QR TLV
10
implemented & tested rules
1 authority-only
Tags 1–9 + XML cross-consistency
Jordan JoFotara
16
implemented & tested rules
011–023 validator + offline XML builder
ERP & POS Integrators
Catch 4-digit address numbers, 5-digit postal zones, and Decimal VAT drift before submitting to ZATCA/ISTD.
QA & CI/CD Pipelines
Gate ERP release pipelines with deterministic XML regression suites in GitHub Actions.
Compliance Consultants
Audit customer XMLs and QR strings locally with zero data retention and bilingual reports.
Transparent Pricing Model
$0 Local Mode · Pay-Per-Event Cloud Pricing Ready (Currently Disabled)
invoice-validated$0.005
Per ZATCA or JoFotara XML invoice
qr-checked$0.002
Per ZATCA QR TLV payload check
invoice-built$0.004
Per JoFotara UBL XML generated
Note: Proposed engineering default rates only. Live Apify monetization remains disabled (PAYMENTS_ENABLED=false) until authorized.
FAQ
Frequently Asked Questions
Clear answers on regulatory scope, zero-retention privacy, and local vs. cloud execution.
Validate your first synthetic invoice right now
No account required, zero payment cards, immediate bilingual diagnostics.