GCC e-Invoice Preflight Oracle

tech.noahsarch由 noahsarch.tech 發布官方發布者v0.1.1更新於 Nov 1, 2026

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

發布方自己的服務:Business-Day Oracle

已驗證Streamable HTTP可網頁執行金融商業與電商

概覽

AI 產生的概覽

遠端 MCP 伺服器,用於對阿聯酋 PINT AE 與沙烏地 ZATCA 電子發票做預檢,回傳判定結果、官方規則問題與修正提示。

可以做什麼
  • 依 UBL 2.1 XSD、PINT AE Schematron 及阿聯酋交叉檢查驗證單張 UBL 發票或貸項通知單,或執行 ZATCA 預檢
  • 對最多 100 份文件做批次預檢,提供就緒率、最常見的退件規則,可選擇產生可列印 HTML
  • 在不驗證的情況下擷取 UBL 文件的賣方、買方、金額、營業稅明細與規則集
  • 依嚴重程度或文字查詢官方 PINT AE 規則編號、等級與條文
  • 檢查阿聯酋 TRN 格式並推導 Peppol 0235 參與者識別碼
  • 解碼或編碼沙烏地電子發票 QR 碼的 base64 TLV
適用情境
適合在送交認證服務供應商或 ZATCA 之前準備或測試阿聯酋、沙烏地電子發票時使用,可提早發現結構、Schematron 與 QR 碼問題,也適用於 ERP 回歸測試批次與上線就緒檢查。
執行需求
遠端 streamable HTTP 端點,無需本機安裝。批次就緒報告等付費工具需要供應商提供的 X-API-Key 標頭;目錄與免費工具不需此金鑰。
安裝前請注意
批次就緒報告依文件計費,呼叫可能產生費用。發票文件會傳送至第三方服務;伺服器聲明僅在記憶體中驗證、不儲存也不記錄日誌。請將 API 金鑰視為機密。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 GCC e-Invoice Preflight Oracle,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/tech.noahsarch%2Feinvoice-preflight/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "gcc-e-invoice-preflight-oracle": {
      "type": "http",
      "url": "https://einvoice.noahsarch.tech/mcp"
    }
  }
}

工具

7

validate_invoice

Validate one e-invoice (UAE PINT AE / KSA ZATCA)

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.

輸入參數xml必填preflightinclude_infojurisdiction

readiness_report

Validate up to 100 e-invoices and summarise readiness

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.

輸入參數formatdocuments必填preflightjurisdiction

extract_summary

Read the key fields of a UBL invoice

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.

輸入參數xml必填

list_rules

List the official PINT AE rules

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.

輸入參數containsseverityjurisdiction

check_trn

Check a UAE TRN and derive the Peppol endpoint

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.

輸入參數trn必填

zatca_qr_decode

Decode a ZATCA QR (TLV)

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.

輸入參數qr必填

zatca_qr_encode

Build a ZATCA QR (TLV) payload

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.

輸入參數timestamp必填vat_total必填public_keyvat_number必填seller_name必填invoice_hashtotal_with_vat必填ecdsa_signaturecertificate_signature

版本歷史

1
  1. v0.1.1最新Nov 1, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Noahsarch 整合