GCC e-Invoice Preflight Oracle is an MCP server published by tech.noahsarch, hosted at einvoice.noahsarch.tech. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 7 tools, including validate_invoice, readiness_report, extract_summary, list_rules, check_trn.
Validate UAE PINT AE and Saudi ZATCA e-invoices: UBL, official Schematron, QR, fix hints.
26 connections through 4 shared values. Tap any node.
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.
| Parameter | Type | Description |
|---|---|---|
| xml * | string | The UBL 2.1 Invoice or CreditNote XML as a string. |
| preflight | boolean | Also run the advisory Noah's Arch checks (nae-*/nksa-*: TRN/TIN consistency, emirate codes, VAT rates, totals cross-check, dates). |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| include_info | boolean | Include info-level notes (e.g. test-data TRNs). |
| jurisdiction | string | 'ae' PINT AE Billing, 'ae-sb' PINT AE Self-Billing, 'sa' ZATCA (KSA), or 'auto' (from CustomizationID / ProfileID). |
{
"name": "validate_invoice",
"title": "Validate one e-invoice (UAE PINT AE / KSA ZATCA)",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "validate_invoiceArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"description": "The UBL 2.1 Invoice or CreditNote XML as a string."
},
"preflight": {
"type": "boolean",
"title": "Preflight",
"default": true,
"description": "Also run the advisory Noah's Arch checks (nae-*/nksa-*: TRN/TIN consistency, emirate codes, VAT rates, totals cross-check, dates)."
},
"include_info": {
"type": "boolean",
"title": "Include Info",
"default": false,
"description": "Include info-level notes (e.g. test-data TRNs)."
},
"jurisdiction": {
"enum": [
"auto",
"ae",
"ae-sb",
"sa"
],
"type": "string",
"title": "Jurisdiction",
"default": "auto",
"description": "'ae' PINT AE Billing, 'ae-sb' PINT AE Self-Billing, 'sa' ZATCA (KSA), or 'auto' (from CustomizationID / ProfileID)."
}
}
},
"outputSchema": {
"type": "object",
"title": "validate_invoiceDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| format | string | 'html' adds a self-contained printable report in result.html. |
| documents * | array | Up to 100 documents. |
| preflight | boolean | |
| jurisdiction | string |
{
"name": "readiness_report",
"title": "Validate up to 100 e-invoices and summarise readiness",
"description": "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.",
"inputSchema": {
"type": "object",
"$defs": {
"DocumentIn": {
"type": "object",
"title": "DocumentIn",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"maxLength": 3000000,
"minLength": 20
},
"name": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Name",
"default": null,
"description": "Label for the row (file name, invoice number)."
}
},
"additionalProperties": false
}
},
"title": "readiness_reportArguments",
"required": [
"documents"
],
"properties": {
"format": {
"enum": [
"json",
"html"
],
"type": "string",
"title": "Format",
"default": "json",
"description": "'html' adds a self-contained printable report in result.html."
},
"documents": {
"type": "array",
"items": {
"$ref": "#/$defs/DocumentIn"
},
"title": "Documents",
"description": "Up to 100 documents."
},
"preflight": {
"type": "boolean",
"title": "Preflight",
"default": true,
"description": ""
},
"jurisdiction": {
"enum": [
"auto",
"ae",
"ae-sb",
"sa"
],
"type": "string",
"title": "Jurisdiction",
"default": "auto",
"description": ""
}
}
},
"outputSchema": {
"type": "object",
"title": "readiness_reportDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| xml * | string |
{
"name": "extract_summary",
"title": "Read the key fields of a UBL invoice",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "extract_summaryArguments",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"title": "Xml",
"description": ""
}
}
},
"outputSchema": {
"type": "object",
"title": "extract_summaryDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| contains | any | Filter by text, e.g. 'TaxPointDate', 'ibr-co', 'BTAE-16'. |
| severity | any | |
| jurisdiction | string |
{
"name": "list_rules",
"title": "List the official PINT AE rules",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "list_rulesArguments",
"properties": {
"contains": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contains",
"default": null,
"description": "Filter by text, e.g. 'TaxPointDate', 'ibr-co', 'BTAE-16'."
},
"severity": {
"anyOf": [
{
"enum": [
"fatal",
"warning"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Severity",
"default": null,
"description": ""
},
"jurisdiction": {
"enum": [
"ae",
"ae-sb"
],
"type": "string",
"title": "Jurisdiction",
"default": "ae",
"description": ""
}
}
},
"outputSchema": {
"type": "object",
"title": "list_rulesDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| trn * | string | UAE Tax Registration Number as printed (spaces/dashes allowed). |
{
"name": "check_trn",
"title": "Check a UAE TRN and derive the Peppol endpoint",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "check_trnArguments",
"required": [
"trn"
],
"properties": {
"trn": {
"type": "string",
"title": "Trn",
"description": "UAE Tax Registration Number as printed (spaces/dashes allowed)."
}
}
},
"outputSchema": {
"type": "object",
"title": "check_trnDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| qr * | string | Base64 TLV content of a ZATCA QR code. |
{
"name": "zatca_qr_decode",
"title": "Decode a ZATCA QR (TLV)",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "zatca_qr_decodeArguments",
"required": [
"qr"
],
"properties": {
"qr": {
"type": "string",
"title": "Qr",
"description": "Base64 TLV content of a ZATCA QR code."
}
}
},
"outputSchema": {
"type": "object",
"title": "zatca_qr_decodeDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| timestamp * | string | ISO 8601, e.g. 2026-10-31T14:05:00Z |
| vat_total * | string | e.g. '150.00' |
| public_key | any | Base64 (phase 2). |
| vat_number * | string | KSA VAT number: 15 digits, starts and ends with 3. |
| seller_name * | string | |
| invoice_hash | any | Base64 SHA-256 of the invoice (phase 2). |
| total_with_vat * | string | e.g. '1150.00' |
| ecdsa_signature | any | Base64 (phase 2). |
| certificate_signature | any | Base64 (phase 2, simplified invoices). |
{
"name": "zatca_qr_encode",
"title": "Build a ZATCA QR (TLV) payload",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "zatca_qr_encodeArguments",
"required": [
"seller_name",
"vat_number",
"timestamp",
"total_with_vat",
"vat_total"
],
"properties": {
"timestamp": {
"type": "string",
"title": "Timestamp",
"description": "ISO 8601, e.g. 2026-10-31T14:05:00Z"
},
"vat_total": {
"type": "string",
"title": "Vat Total",
"description": "e.g. '150.00'"
},
"public_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Public Key",
"default": null,
"description": "Base64 (phase 2)."
},
"vat_number": {
"type": "string",
"title": "Vat Number",
"description": "KSA VAT number: 15 digits, starts and ends with 3."
},
"seller_name": {
"type": "string",
"title": "Seller Name",
"description": ""
},
"invoice_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Invoice Hash",
"default": null,
"description": "Base64 SHA-256 of the invoice (phase 2)."
},
"total_with_vat": {
"type": "string",
"title": "Total With Vat",
"description": "e.g. '1150.00'"
},
"ecdsa_signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ecdsa Signature",
"default": null,
"description": "Base64 (phase 2)."
},
"certificate_signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Certificate Signature",
"default": null,
"description": "Base64 (phase 2, simplified invoices)."
}
}
},
"outputSchema": {
"type": "object",
"title": "zatca_qr_encodeDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Validate UAE and Saudi e-invoices before they are sent to an Accredited Service Provider or ZATCA. validate_invoice runs UBL 2.1 schema + the official PINT AE 1.0.3 Schematron (shared and UAE jurisdiction rules) + advisory UAE cross-checks, and for Saudi Arabia a curated ZATCA pre-check with QR/TLV verification; readiness_report does the same for up to 100 documents and summarises the most frequent rejection rules (optionally as printable HTML). extract_summary reads the key fields of any UBL invoice, list_rules lists the official rule texts, check_trn validates a UAE TRN and derives the Peppol 0235 endpoint, zatca_qr_decode/encode handle the ZATCA QR TLV. Every finding carries the official rule id (ibr-…/ibr-…-ae), the IBT/BTAE fields involved, an XPath location and a fix hint. Nothing is stored. 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.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.