GCC e-Invoice Preflight Oracle
Server Details
Validate UAE PINT AE and Saudi ZATCA e-invoices: UBL, official Schematron, QR, fix hints.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
Each tool has a distinct primary job: TRN format check, summary extraction, rule listing, single-document validation, batch readiness, and ZATCA QR encode/decode. The main potential overlap is among extract_summary, validate_invoice, and readiness_report because they all process invoice documents and share a response envelope, but the descriptions distinguish non-validating summary vs single validation vs batch validation.
All names are snake_case and mostly follow a verb_noun pattern such as check_trn, extract_summary, list_rules, and validate_invoice. Minor deviations exist: readiness_report is noun-based, and zatca_qr_decode/zatca_qr_encode put the verb after a namespace prefix, but the convention is still readable and predictable.
Seven tools are well-scoped to e-invoice preflight work, and each appears to earn its place by covering a distinct function: TRN check, extraction, rule lookup, single validation, batch readiness, and ZATCA QR encode/decode. The count is neither thin nor excessive for the domain.
The surface covers core preflight workflows: TRN format checking, summary extraction, rule discovery, single and batch validation, and ZATCA QR encoding/decoding. Minor gaps remain, such as no full standalone ZATCA invoice validation beyond a pre-check, no QR image rendering, and limited jurisdiction coverage beyond UAE/Saudi.
Available Tools
7 toolscheck_trnCheck a UAE TRN and derive the Peppol endpointARead-onlyIdempotentInspect
Format check of a UAE Tax Registration Number (15 digits) and derivation of the TIN / Peppol participant identifier (scheme 0235 = first 10 digits). Free. Example: trn '100 1234 5670 0003'. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: trn (required). Returns: object
extract_summaryRead the key fields of a UBL invoiceBRead-onlyIdempotentInspect
Seller/buyer (names, TRN, endpoint, legal registration, emirate), dates, currency, totals, VAT breakdown, line count, payment means, attachments and the detected rule set — without validating. Free. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: xml (required). Returns: object
list_rulesList the official PINT AE rulesCRead-onlyIdempotentInspect
Rule ids, severities and texts from the installed PINT AE Schematron (shared PINT rules and the -ae jurisdiction rules), filterable by severity or text, with fix hints where we have them. Free. Example: contains 'TaxPointDate'. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: contains, severity, jurisdiction. Returns: object
readiness_reportValidate up to 100 e-invoices and summarise readinessARead-onlyIdempotentInspect
Batch preflight for a go-live check or an ERP regression suite: per-document verdicts, readiness percentage, the most frequent rejection rules across the batch, optional printable HTML. Charged per document. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: documents (required), format, preflight, jurisdiction. Returns: object
validate_invoiceValidate one e-invoice (UAE PINT AE / KSA ZATCA)ARead-onlyIdempotentInspect
Full preflight of one UBL Invoice or CreditNote: XML well-formedness, UBL 2.1 XSD, the official PINT AE Schematron (≈300 rules incl. the UAE jurisdiction overlay) or the ZATCA pre-check, plus advisory cross-checks. Returns a verdict and every finding with rule id, severity, fields, location and fix hint. Example: xml '<Invoice …>', jurisdiction 'auto'. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: xml (required), preflight, include_info, jurisdiction. Returns: object
zatca_qr_decodeDecode a ZATCA QR (TLV)ARead-onlyIdempotentInspect
Decode the base64 TLV of a Saudi e-invoice QR into seller name, VAT number, timestamp, totals, hash, signature and key tags, with phase detection and format issues. Free. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: qr (required). Returns: object
zatca_qr_encodeBuild a ZATCA QR (TLV) payloadARead-onlyIdempotentInspect
Encode the five phase-1 fields (plus optional phase-2 hash/signature/key tags) into the base64 TLV string that goes into the QR image and the UBL QR reference. Free. Response: result with verdict (ACCEPTED | ACCEPTED_WITH_WARNINGS | REJECTED), findings[] (id, severity, message, fields, location, fix_hint, source = xsd | schematron | preflight), counts, ruleset version and timings, plus data_confidence, estimated_items[], sources[], data_version, warnings[] and a disclaimer. Documents are validated in memory and never stored or logged.
Inputs: timestamp (required), vat_total (required), vat_number (required), seller_name (required), +5 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Validate, generate & convert EU e-invoices (UBL, CII, XRechnung, Factur-X) — EN 16931 pre-validated.
Validate, parse and render EU e-invoices: XRechnung, ZUGFeRD, Factur-X, Peppol BIS 3.0, KSeF.
Validiert E-Rechnungen (ZUGFeRD/Factur-X, XRechnung) gegen EN 16931 mit Korrekturvorschlägen.
Validate XRechnung, Peppol BIS 3 and EN 16931 invoices with KoSIT; explain rules; check auto-repair
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables UAE e-invoicing and PINT AE compliance checks, including TRN/TIN validation, a 51-field mandatory checklist, structural invoice review, and UBL XML stub generation.563 npmMIT
- AlicenseAqualityBmaintenanceValidates electronic invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS, etc.) against authority-pinned rules and explains failures.2247 npmMIT
- AlicenseAqualityDmaintenanceValidates EU electronic invoices (Peppol, XRechnung, FatturaPA, etc.) and explains validation error codes, enabling AI coding agents to check invoice validity and get fixes before rejection.346 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables users to detect, parse, validate, and render European e-invoices such as XRechnung, ZUGFeRD, Factur-X, Peppol BIS Billing 3.0, EN 16931 UBL/CII, and Polish KSeF FA(3) using official rule sets. It is a remote, stateless Streamable HTTP server with tools for invoice inspection, compliance validation, and HTML/PDF rendering.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.