
Saudi Vat Pro
io.github.Morouna1Published by GitHub account Morouna1v1.0.1Updated Oct 24, 2026
Submit and manage ZATCA-compliant Saudi e-invoices through Saudi VAT Pro.
Overview
Lets an assistant create and manage ZATCA-compliant Saudi e-invoices, credit notes and retries through the Saudi VAT Pro API.
- What you can do
- List invoices and fetch invoice details
- Create standard B2B and simplified B2C invoices with VAT and line validation
- Issue idempotent credit notes for refunds
- Retry failed invoices and get plain-language explanations of ZATCA rejections
- Read merchant details, dashboard summaries and ZATCA certificate readiness
- When to use it
- Useful for Saudi businesses or their accountants and developers who already bill through Saudi VAT Pro and want an assistant to draft, submit, retry or review ZATCA Phase 2 invoices and credit notes without leaving the chat.
- Requirements
- Runs locally over stdio, typically via npx with the saudi-vat-pro-mcp package, so Node.js is needed. Requires a Saudi VAT Pro account and the SAUDI_VAT_PRO_API_KEY environment variable; network access to the Saudi VAT Pro API. Desktop client only.
Installation
In SourceWeft
- Open Saudi Vat Pro in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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
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
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.
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
- Source:
mcp-server/ - Setup and API key: saudivatpro.com/docs#aiagents
- npm:
saudi-vat-pro-mcp - Official MCP Registry:
io.github.Morouna1/saudi-vat-pro
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
Knowledge Center
Free guides for Saudi merchants and developers:
- ZATCA Phase 2 Overview — what changed, who is affected, the clearance vs reporting flow
- QR Code Explained — every TLV tag decoded
- Common ZATCA Errors — BR-KSA error codes with fixes
- VAT Categories S/Z/E/O — when to use each code
- Standard vs Simplified Invoices — B2B vs B2C decision guide
- Credit Notes & Refunds — how to issue correctly
WooCommerce Plugin
The woocommerce-plugin/ folder contains the full GPLv2 source of the Saudi VAT Pro WooCommerce integration.
Quick install:
- Download or clone this repo
- Upload the
woocommerce-plugin/folder to/wp-content/plugins/saudi-vat-pro-woocommerce/ - Activate the plugin in WordPress → Plugins
- 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.
See zatca-qr-helpers/README.md for full API reference.
Support & Issues
- Bug reports: Open an issue
- Support questions: Open a support question
- Documentation: saudivat.pro/knowledge
- Platform support: saudivat.pro/support
License
- WooCommerce plugin: GNU GPL v2.0
- ZATCA QR helpers: MIT
- Documentation: CC BY 4.0
Built by Morouna Business Services • saudivat.pro
Source: README.md at commit aa5cbf7
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts