Package Information
Released: 8 mo ago
Downloads: 1 weeklyΒ /Β 50 monthly
Latest Version: 2.0.0
Author: Manuel Reyes Bravo
Available Nodes
Documentation generatingβ¦
Documentation
n8n-nodes-zatca-saudi
n8n node for ZATCA Saudi Arabia (Zakat, Tax and Customs Authority) - Fatoora E-Invoicing.
π Features
VAT/CR Number Validation
- β Validate VAT Number - 15 digits (starts with 3, ends with 3)
- β Validate CR Number - Commercial Registration (10 digits)
- β Format/Clean - Remove spaces and dashes
Economic Indicators
- π΅ SAR Exchange Rate - Saudi Riyal vs USD/EUR
- π VAT Rate - Current 15%
E-Invoice Fatoora (requires provider)
- π Standard Invoice - B2B
- π Simplified Invoice - B2C
- π Credit Note
- π Debit Note
π¦ Installation
In n8n (recommended)
- Go to Settings β Community Nodes
- Click Install
- Type:
n8n-nodes-zatca-saudi - Click Install
Via npm
npm install n8n-nodes-zatca-saudi
βοΈ Configuration
Without credentials (local functions)
The following functions do NOT require credentials:
- Validate/format VAT/CR numbers
- SAR exchange rate (public API)
- VAT rate info
With credentials (invoice issuance)
For e-invoicing you need:
- Cleartax - https://cleartax.com/sa
- ZATCA SDK - Direct integration
π Usage Examples
Validate VAT Number
Resource: VAT/CR
Operation: Validate VAT
VAT Number: 300000000000003
Get SAR Exchange Rate
Resource: Indicators
Operation: SAR Exchange Rate
π Invoice Types (ZATCA)
| Code | Type | Description |
|---|---|---|
| 388 | Standard | B2B Tax Invoice |
| 381 | Credit Note | Correction |
| 383 | Debit Note | Additional charge |
| 389 | Simplified | B2C Invoice |
π APIs Used
- SAMA - Saudi Central Bank rates (public)
- Cleartax - E-invoice issuance (requires account)
π€ Contributing
Contributions are welcome. Please open an issue or pull request.
π License
MIT Β© Manuel Reyes Bravo