🇸🇦

ReceiptForge for Saudi Arabia

ZATCA E-Invoicing Compliance

Saudi Arabia's ZATCA (Zakat, Tax and Customs Authority) has implemented a phased e-invoicing mandate known as FATOORA. Phase 2 (Integration Phase) requires businesses to integrate their invoicing systems with the ZATCA platform for real-time validation and clearance. ReceiptForge's Saudi Arabia compliance pack ensures your simplified and standard tax invoices meet all ZATCA requirements.

ZATCA Phase 2 Requirements Overview

VAT Registration & TIN

All tax invoices must display the seller's VAT registration number (TIN) issued by ZATCA. For standard tax invoices (B2B), the buyer's VAT registration number is also required. ReceiptForge validates TIN format (15 digits starting with 3) and renders both seller and buyer identification in the mandated positions.

TLV-Encoded QR Codes

ZATCA requires a QR code on every invoice that encodes seller information using Tag-Length-Value (TLV) format. The QR code must contain: seller name (Tag 1), VAT registration number (Tag 2), invoice timestamp (Tag 3), invoice total with VAT (Tag 4), and VAT amount (Tag 5). For Phase 2, additional tags include the cryptographic hash and digital signature. ReceiptForge generates TLV-encoded, Base64-wrapped QR codes automatically.

Simplified vs Standard Invoices

ZATCA defines two invoice types: simplified tax invoices (B2C, under 1,000 SAR) and standard tax invoices (B2B). Each type has different field requirements. Simplified invoices require reporting to ZATCA within 24 hours, while standard invoices require real-time clearance before delivery. ReceiptForge automatically applies the correct template rules based on invoice type.

UUID Requirements

Every e-invoice must have a universally unique identifier (UUID v4) that is generated by the seller's system and cannot be reused. The UUID is used for deduplication and reference across the ZATCA platform. ReceiptForge generates and validates UUIDs for each transaction, ensuring uniqueness and correct formatting.

Fatoora Portal Integration

Phase 2 requires integration with the ZATCA Fatoora portal for invoice clearance (standard) or reporting (simplified). The integration uses XML-based UBL 2.1 format with digital signing using X.509 certificates. ReceiptForge handles the XML generation, digital signing, and portal submission, returning the clearance status and cryptographic stamp for rendering on the receipt.

VAT Calculation & Display

Saudi Arabia applies a 15% VAT rate on most goods and services, with certain items zero-rated or exempt. Invoices must show the taxable amount, VAT rate, VAT amount, and total including VAT for each line item and as invoice totals. All amounts must be in SAR. ReceiptForge handles multi-line VAT calculations with proper rounding.

How ReceiptForge Handles It

Locked Fiscal Zones

TLV QR codes, VAT registration numbers, UUIDs, and cryptographic stamps are placed in locked fiscal zones that cannot be accidentally modified or removed by template designers.

Automatic TLV QR Generation

The TLV-encoded QR code is generated automatically from transaction data. All required tags including cryptographic hash and digital signature are encoded and Base64-wrapped per ZATCA specifications.

Adaptive Invoice Type

A single template automatically adjusts its field requirements and submission workflow based on whether the transaction is a simplified (B2C) or standard (B2B) tax invoice.

Pre-publish Validation

Templates assigned to Saudi Arabian fiscal zones are validated for all ZATCA-mandated fields including TIN, UUID, QR code, and VAT breakdowns before publishing. Missing requirements block the publish with clear error messages.

Sample Saudi Invoice

Al-Madinah Grocery
بقالة المدينة
King Fahd Road
Riyadh 12345
VAT: 300012345600003
SIMPLIFIED TAX INVOICE
Date:23/02/2026 14:32
Invoice #:INV-2026-0847
UUID:
a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d
2x Rice 5kg45.00
1x Olive Oil 1L32.00
1x Dates 1kg28.00
Subtotal105.00
VAT (15%)15.75
Total120.75 SAR
ZATCA
TLV QR
ZATCA Cryptographic Stamp

Compliance Status

  • VAT registration (TIN)
  • TLV-encoded QR code
  • UUID v4 identifier
  • Cryptographic stamp
  • VAT breakdown (15%)
  • Fatoora integration

Meet ZATCA requirements effortlessly

Enable the Saudi Arabia compliance pack and start generating ZATCA-compliant e-invoices today.