Saudi Vat Pro

io.github.Morouna1由 GitHub 帳號 Morouna1 發布v1.0.1更新於 Oct 24, 2026

Submit and manage ZATCA-compliant Saudi e-invoices through Saudi VAT Pro.

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

讓助理透過 Saudi VAT Pro API 建立與管理符合 ZATCA 規範的沙烏地電子發票、貸項通知單與重試。

可以做什麼
  • 列出並檢視發票明細
  • 建立標準 B2B 發票與簡化 B2C 發票,並驗證營業稅與明細項目
  • 為退款開立具冪等性的貸項通知單
  • 重試失敗發票並取得 ZATCA 退回原因的白話說明
  • 讀取商家資訊、儀表板摘要與 ZATCA 憑證就緒狀態
適用情境
適合已透過 Saudi VAT Pro 開立發票的沙烏地企業、會計或開發者,希望助理在對話中草擬、送出、重試或檢視 ZATCA 第二階段發票與貸項通知單時使用。
執行需求
以 stdio 在本機執行,通常用 npx 啟動 saudi-vat-pro-mcp 套件,因此需要 Node.js。需要 Saudi VAT Pro 帳號與 SAUDI_VAT_PRO_API_KEY 環境變數,並能連線至 Saudi VAT Pro API。僅支援桌面用戶端。
安裝前請注意
此 API 金鑰是可建立並送出稅務發票與貸項通知單的正式憑證,應視為機密保管。送出會經第三方付費服務傳至 ZATCA,依發票量計費,須謹慎區分沙箱與正式環境。貸項通知單重試需提供冪等鍵,以免重複退款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Saudi Vat Pro,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Saudi VAT Pro]

Saudi VAT Pro — ZATCA Phase 2 E-Invoicing

[License: GPL v2] [Platform] [ZATCA Phase 2]

saudivat.pro automates ZATCA Phase 2 e-invoicing for Saudi Arabian businesses — WooCommerce stores, Shopify merchants, and custom integrations via REST API.

Every paid order becomes a ZATCA-compliant invoice. Every refund becomes a credit note. No developers required.


What's in this repo

FolderContents
woocommerce-plugin/GPLv2 WooCommerce plugin — automatic ZATCA invoicing for every WooCommerce order
zatca-qr-helpers/Open-source TLV encode/decode library behind the free ZATCA QR Tool
docs/Support guides: ZATCA Phase 2 overview, QR code explained, common errors
mcp-server/MCP server for Claude, Cursor, Windsurf, and other AI agents

The Platform

→ Sign up free at saudivat.pro

Saudi VAT Pro handles the complexity of ZATCA Phase 2 compliance so you don't have to:

  • CSID onboarding — generate your Cryptographic Stamp Identifier in 5 minutes with the free CSID wizard
  • B2B clearance — standard invoices cleared with ZATCA in real time before delivery
  • B2C reporting — simplified invoices reported within 24 hours
  • Credit notes — refunds automatically generate ZATCA-compliant credit notes
  • Issue dashboard — plain-language explanations of every ZATCA rejection, with suggested fixes
  • Retry & repair — re-submit failed invoices without touching code

Supported platforms

PlatformHow
WooCommercePlugin in this repo — install, enter API key, done
ShopifyWebhook integration — documented at saudivat.pro/docs
Custom / ERPREST API — see API documentation
AI agentsSaudi VAT Pro MCP — Claude, Cursor, Windsurf, and generic MCP clients

AI Agents & Model Context Protocol

The Saudi VAT Pro MCP server lets MCP-compatible AI assistants create and manage ZATCA invoices through the Saudi VAT Pro API.

json
{  "mcpServers": {    "saudi-vat-pro": {      "command": "npx",      "args": ["saudi-vat-pro-mcp"],      "env": {        "SAUDI_VAT_PRO_API_KEY": "svp_live_YOUR_KEY_HERE"      }    }  }}

Available tools cover invoice listing and details, standard and simplified invoice creation, idempotent credit notes, failed-invoice retries and explanations, merchant details, dashboard summaries, and ZATCA certificate readiness.

The server gives agents explicit ZATCA safeguards:

  • Standard B2B invoices require buyer name, city, and a valid 15-digit VAT number
  • VAT categories, rates, VATEX exemption reasons, and line discounts are validated before submission
  • Sandbox and production environments are clearly distinguished
  • Credit-note retries require an idempotency key to prevent duplicate refunds
  • Every result exposes its actual lifecycle status instead of assuming clearance or reporting succeeded

Canonical links


Free Tools

ZATCA QR Tool

Decode and inspect any ZATCA Phase 1 or Phase 2 QR code, or generate a valid Phase 1 QR from invoice fields. No sign-up required.

  • Paste a base64 QR string → see every TLV field decoded
  • Fill invoice fields → get a valid QR code instantly
  • Validation errors shown in plain English
  • Download as PNG or copy base64

The TLV encode/decode logic is open-sourced in zatca-qr-helpers/.

Free CSID Wizard

Get your ZATCA Cryptographic Stamp Identifier (CSID) in 5 minutes — no account required. Step-by-step: enter your VAT number, generate a CSR, get your OTP from the Fatoora portal, download your certificate.

VAT Calculator

Instant VAT calculation for Saudi invoices — 15%, 5%, and 0% rates, with support for all four VAT treatment categories (S/Z/E/O).


Pricing

SAR 999 per 10,000 invoices — pay only for what you use.

  • 60-day free trial, no credit card required
  • Unlimited merchants per account
  • No monthly fees

→ See full pricing


Knowledge Center

Free guides for Saudi merchants and developers:

→ Full Knowledge Center


WooCommerce Plugin

The woocommerce-plugin/ folder contains the full GPLv2 source of the Saudi VAT Pro WooCommerce integration.

Quick install:

  1. Download or clone this repo
  2. Upload the woocommerce-plugin/ folder to /wp-content/plugins/saudi-vat-pro-woocommerce/
  3. Activate the plugin in WordPress → Plugins
  4. Go to WooCommerce → Settings → Saudi VAT Pro and paste your Webhook URL and API Key from the Saudi VAT Pro dashboard

Requires WooCommerce 7.0+, PHP 8.0+. Full documentation: saudivat.pro/docs


ZATCA QR Helpers (open source)

The zatca-qr-helpers/ folder contains a zero-dependency JavaScript/TypeScript library for encoding and decoding ZATCA TLV QR codes.

js
import { encodeTlvPhaseOne, decodeTlv, validateQr } from './zatca-qr-helpers/index.js';
// Generate a Phase 1 QR codeconst base64 = encodeTlvPhaseOne({  sellerName: 'Riyadh Gadgets Trading Co.',  vatNumber:  '310000000000006',  timestamp:  '2024-01-15T10:30:00Z',  invoiceTotal: '1725.00',  vatAmount:    '225.00',});
// Decode any QR stringconst parsed = decodeTlv(base64);parsed.fields.forEach(f => console.log(f.tag, f.label, f.rawValue));
// Validateconst { valid, errors } = validateQr(base64);

See zatca-qr-helpers/README.md for full API reference.


Support & Issues


License


Built by Morouna Business Services • saudivat.pro

來源:README.md,提交 aa5cbf7

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分