Skip to main content
Glama

GCC e-Invoice Preflight Oracle

Server Details

Validate UAE PINT AE and Saudi ZATCA e-invoices: UBL, official Schematron, QR, fix hints.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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 tools
check_trnCheck a UAE TRN and derive the Peppol endpointA
Read-onlyIdempotent
Inspect

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 invoiceB
Read-onlyIdempotent
Inspect

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 rulesC
Read-onlyIdempotent
Inspect

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 readinessA
Read-onlyIdempotent
Inspect

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)A
Read-onlyIdempotent
Inspect

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)A
Read-onlyIdempotent
Inspect

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) payloadA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Validates electronic invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS, etc.) against authority-pinned rules and explains failures.
      2
      247 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Validates 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.
      3
      46 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources