Saudi 15% VAT Formulas Reference
| Calculation Mode | Formula | SAR Example |
|---|---|---|
| Add 15% VAT (Exclusive) | VAT = Net × 0.15 | Gross = Net × 1.15 | SAR 1,000.00 → VAT SAR 150.00 → Total SAR 1,150.00 |
| Remove 15% VAT (Inclusive) | Net = Gross ÷ 1.15 | VAT = Gross − Net | SAR 1,150.00 → Net SAR 1,000.00 → VAT SAR 150.00 |
ZATCA Phase 1 TLV Tags Specification
| TLV Tag | Mandatory Field | Expected Format |
|---|---|---|
| Tag 1 (0x01) | Seller's Name | UTF-8 string (English or Arabic) |
| Tag 2 (0x02) | VAT Registration Number | 15-digit Saudi ZATCA VAT ID |
| Tag 3 (0x03) | Invoice Timestamp | ISO 8601 format (e.g., 2026-11-22T21:30:00Z) |
| Tag 4 (0x04) | Invoice Total (With VAT) | Decimal string with 2 decimals (e.g., 1150.00) |
| Tag 5 (0x05) | VAT Total | Decimal string with 2 decimals (e.g., 150.00) |
Quick Answers & FAQ
How do I extract 15% VAT from a total price in Saudi Arabia?
Divide the VAT-inclusive total price by 1.15 to get the net amount before VAT, then subtract the net amount from the total to find the 15% VAT portion. For example, SAR 1,150 ÷ 1.15 = SAR 1,000 net amount and SAR 150 VAT.
What are the 5 mandatory fields in a ZATCA Phase 1 QR code?
A ZATCA Phase 1 e-invoice QR code encodes 5 TLV (Tag-Length-Value) fields in Base64: Tag 1 Seller Name, Tag 2 Seller's 15-digit VAT Registration Number, Tag 3 ISO 8601 Invoice Timestamp, Tag 4 Invoice Total including VAT, and Tag 5 VAT Total.
Does the ZATCA QR generator support Arabic seller names?
Yes. Our encoder uses standard UTF-8 TextEncoder byte lengths rather than JavaScript character counts, so Arabic business names (where each Arabic character takes 2 UTF-8 bytes) encode with the exact byte length required by official ZATCA QR scanner apps.
What is the difference between ZATCA Phase 1 and Phase 2 QR codes?
Phase 1 (Generation Phase) requires Tags 1 through 5 encoded in TLV Base64 for simplified tax invoices. Phase 2 (Integration Phase) adds cryptographic fields (Tags 6–9) including XML hash, ECDSA digital signature, and public key stamped through ZATCA's Fatoora platform.
Is my invoice data or VAT number stored on any server?
No. Both the 15% VAT calculator and the ZATCA TLV Base64 QR generator run 100% locally inside your web browser. Your seller name, VAT registration number, and invoice amounts never leave your device and are never saved or logged by WisemixMedia.