Software Engineering

How to Use a VAT Calculator to Stay Compliant with ZATCA and Saudi E-Invoicing

Key takeaways

  • To add VAT, multiply the net price by 1.15; to remove it, divide the gross by 1.15. The VAT inside a gross price is about 13.043%, not 15%.
  • ZATCA requires the VAT amount in Saudi riyals on every invoice, rounded to the nearest halala, even when the invoice is in a foreign currency.
  • Round the VAT amount, not the rate or the price, and use one rounding method (line or invoice level) consistently.
  • Zero-rated, exempt and reverse-charge transactions need a different VAT category and treatment, not a 15% calculator.
  • In Phase 2, ZATCA validates the figures inside every e-invoice, so VAT logic belongs in the invoicing system, not a spreadsheet.

A VAT calculator is the fastest way to add or remove Saudi Arabia's 15% VAT correctly. To add VAT, multiply the net price by 1.15. To take VAT out of a VAT-inclusive amount, divide by 1.15 and subtract. Never take 15% off the gross price: it overstates the VAT and is one of the most common errors on Saudi invoices.

The standard VAT rate in Saudi Arabia has been 15% for supplies made from 1 July 2020, up from the 5% rate that applied when VAT was introduced in 2018, according to ZATCA's guide to the rate change. ZATCA requires the VAT amount on every tax invoice in Saudi riyals, rounded to the nearest halala. Getting the arithmetic right is only half the job. The invoice fields, the VAT category of each supply, the exchange rate used on foreign-currency invoices and the rounding method all carry compliance weight that a simple calculator cannot handle on its own.

This guide covers the formulas, worked examples in SAR, what ZATCA requires on a tax invoice, the cases where a 15% calculator gives the wrong answer, and how to build the logic into your invoicing system. For a quick sum, use our free Saudi VAT calculator.

How does the 15% VAT formula work?

The forward formula is Gross = Net × 1.15. Multiplying by 1.15 adds exactly 15% of the VAT-exclusive amount, which is the taxable value. VAT is always calculated on the net price, never on a price that already includes VAT.

The reverse formula is where most mistakes happen. To remove VAT from a VAT-inclusive price, divide by 1.15: Net = Gross ÷ 1.15. SAR 115 ÷ 1.15 = SAR 100, so the VAT inside SAR 115 is SAR 15. If you multiply the gross by 0.15 instead, you get SAR 17.25, which is wrong. The VAT share of a gross price is 15/115, about 13.043%, not 15%.

Once you have both figures, take the VAT as the difference: VAT = Gross − Net. Working this way after the division keeps the net, the VAT and the total consistent, instead of letting small differences build up when VAT is calculated separately on hundreds of spreadsheet lines. Step by step:

  1. Start from the net (VAT-exclusive) amount, or divide a VAT-inclusive amount by 1.15 to get it.
  2. Multiply the net by 0.15 to get the VAT at full precision.
  3. Round the VAT to the nearest halala, that is two decimal places.
  4. Add the rounded VAT to the net to get the total payable.

What does ZATCA require on a tax invoice?

A tax invoice, the full version used for business customers, must show among other details: the issue date and a sequential invoice number; the supplier's name, address and VAT registration number; the customer's name, address and VAT number; a description and quantity of the goods or services; the taxable amount; the VAT rate; the VAT amount in SAR; and the total including VAT. ZATCA's guideline on tax invoicing and records also requires invoices to be issued in Arabic, alongside any other language. An invoice without the Arabic information is not treated as a valid tax invoice.

The invoice itself can be in any currency, but the VAT amount must be shown in Saudi riyals, converted at the exchange rate set by the Saudi Central Bank on the date the tax becomes due. VAT figures are rounded to the nearest halala, and the same rounded figures go into your VAT return. In practice: calculate at full precision, round the VAT amount (not the rate and not the price), and check that the rounded net plus the rounded VAT equal the invoice total.

A simplified tax invoice can be issued for sales to consumers who are not registered for VAT, whatever the amount, and for other supplies below SAR 1,000. It needs fewer details: the issue date; the supplier's name, address and VAT number; a description of the goods or services; the amount payable; and either the VAT amount in SAR or a clear statement that the price includes VAT at 15%. Under e-invoicing, both types must also be generated as structured XML with the right VAT category on each line, and simplified invoices carry a QR code, as set out in ZATCA's detailed e-invoicing guideline.

Worked examples: adding and removing 15% VAT

The table below shows how a 15% VAT calculator behaves at common net prices. Look at the SAR 123.45 row: the VAT is 18.5175, which rounds to 18.52, giving a total of 141.97. The SAR 499.95 row is just as useful: VAT of 74.9925 rounds to 74.99, not 75.00. Rounding happens on the VAT figure, not on the net price.

Net price (SAR)Exact VATVAT roundedTotal incl. VAT
10.001.50001.5011.50
25.003.75003.7528.75
99.9914.998515.00114.99
123.4518.517518.52141.97
499.9574.992574.99574.94
1,000.00150.0000150.001,150.00
10,000.001,500.00001,500.0011,500.00

For VAT-inclusive prices, the next table shows the division step. The SAR 1,150 example is the clearest: the VAT included is SAR 150, not SAR 172.50. Applying 15% to the gross is a systematic error that turns up often on retail receipts and supplier credit notes.

Gross incl. VAT (SAR)Net amountVAT included
11.5010.001.50
28.7525.003.75
115.00100.0015.00
575.00500.0075.00
1,150.001,000.00150.00

Line-level or invoice-level rounding?

Invoices with several lines can differ by one halala depending on where you round. Take three lines with net prices of SAR 9.99, SAR 12.37 and SAR 7.65. Rounding the VAT on each line gives SAR 1.50, SAR 1.86 and SAR 1.15, a total of SAR 4.51. Calculating on the subtotal of SAR 30.01 gives SAR 4.5015, which rounds to SAR 4.50. Neither is an arithmetic mistake; they are two methods. Pick one, configure it in your invoicing system, document it, and make sure every line and total on the invoice reconciles under that method. In Phase 2, ZATCA validates the figures inside every e-invoice it receives: standard tax invoices are cleared before they reach the buyer, and simplified invoices are reported within 24 hours.

Where a 15% VAT calculator gives the wrong answer

Services bought from abroad (reverse charge)

When a VAT-registered business in Saudi Arabia buys taxable services from a supplier that is not resident in the Kingdom, the foreign supplier does not charge Saudi VAT. Under the reverse charge mechanism the Saudi buyer accounts for the VAT itself: it calculates 15% on the value of the service (Net × 0.15, not Net × 1.15), declares it as output VAT and, where the normal deduction conditions are met, deducts the same amount as input VAT. ZATCA's guideline on imports and exports places both in Box 9 of the VAT return, imports subject to VAT accounted for through the reverse charge mechanism. Because the supplier's invoice shows no Saudi VAT, these amounts are easy to miss.

Zero-rated and exempt supplies

Zero-rated supplies are taxable at 0%: the invoice shows VAT at 0% and the supplier can still recover the related input VAT. Exempt supplies carry no VAT, and the related input VAT is generally not recoverable. Certain exports can be zero-rated, while certain financial services and residential rent are exempt. Running these lines through a 15% calculator overcharges the customer, and on an e-invoice each line must carry the VAT category that matches the supply. Our guide to VAT on commercial rent shows how this plays out for property.

Foreign-currency invoices

When an invoice is issued in USD, EUR or another currency, the prices can stay in that currency, but the VAT must be stated in SAR at the Saudi Central Bank rate for the date the tax becomes due, which is the date of supply or the invoice date, whichever comes first. Not the payment date, and not a fixed internal rate. The converted figure is then rounded to the nearest halala. Keep a record of the rate you used: in a review, it is the basis for the SAR VAT figure that went into your return.

How integrated invoicing removes VAT errors

A standalone calculator handles a single invoice well. It breaks down when a business processes hundreds of invoices with mixed supply types, foreign currencies and line rounding done differently by different staff. An outdated spreadsheet formula, a copy-and-paste error or an inconsistent rounding method can create the same discrepancy across a whole VAT period, and the larger the volume, the larger the error.

Integrated e-invoicing, POS and ERP systems apply VAT logic to each transaction as it happens rather than at period end. A well-configured system applies the right formula and VAT category to standard-rated, zero-rated, exempt and reverse-charge transactions, uses one rounding method on every document, converts foreign-currency VAT at the correct rate, and keeps the records that support every figure in your return.

Amwaj Solutions builds ZATCA-ready invoicing into the POS, ERP and accounting systems businesses already use. See our ZATCA e-invoicing integration service, the complete e-invoicing guide for Saudi Arabia, and what the Wave 25 deadline means for smaller businesses.

Getting VAT right is an engineering problem, not just arithmetic

The two core formulas are simple: multiply by 1.15 to add VAT, divide by 1.15 to take it out. ZATCA's rules add structure on top: VAT stated in SAR, rounding to the nearest halala, Arabic on every invoice and a VAT category that matches the supply. Those rules apply to every invoice, every period and every transaction type.

The real risk is consistency rather than the formula. Does every invoice in your system use the same rounding method, the correct VAT category and the right exchange rate? When the answer depends on a spreadsheet, the chance of a systematic error grows with volume. If you want this logic built into your invoicing and ERP workflow, our team can review how your current systems calculate and report VAT. This article is general guidance, not tax advice: confirm specific cases with ZATCA or a qualified tax adviser.

Software Engineering

Frequently Asked Questions

What is the VAT rate in Saudi Arabia?

The standard VAT rate in Saudi Arabia is 15%. It applies to supplies made from 1 July 2020; before that the rate was 5%, from the introduction of VAT in 2018. Some supplies are zero-rated, such as certain exports, and some are exempt, such as residential rent and certain financial services, so not every line on an invoice carries 15%.

How do I remove 15% VAT from a total price?

Divide the VAT-inclusive total by 1.15 to get the net price, then subtract the net from the total to get the VAT. For example, SAR 1,150 ÷ 1.15 = SAR 1,000, so the VAT is SAR 150. Do not multiply the total by 0.15: that gives SAR 172.50 and overstates the VAT, because VAT is only about 13.043% of a gross price.

Do we need to show VAT in Saudi riyals on a foreign-currency invoice?

Yes. An invoice can be issued in any currency, but the VAT amount must be stated in Saudi riyals, converted at the exchange rate set by the Saudi Central Bank on the date the tax becomes due, which is the date of supply or the invoice date, whichever is earlier. Round the converted VAT to the nearest halala and keep a record of the rate used.

Should VAT be rounded per line or on the invoice total?

Either method can be valid, but they can differ by a halala on multi-line invoices. ZATCA requires VAT figures rounded to the nearest halala, and the same rounded figures go into the VAT return. Choose one method, configure it in your invoicing system, document it, and make sure every line and total reconciles, because ZATCA validates the figures in each e-invoice.

When can a business issue a simplified tax invoice?

A simplified tax invoice can be issued for sales to consumers who are not registered for VAT, whatever the amount, and for other supplies below SAR 1,000. It must show the issue date, the supplier's name, address and VAT number, the goods or services, the amount payable and the VAT in SAR or a statement that the price includes 15% VAT. Under e-invoicing it also needs a QR code.

What VAT mistakes cause problems with ZATCA?

Common problems are taking 15% off a gross price, VAT amounts that do not reconcile with line totals, the wrong VAT category for zero-rated, exempt or reverse-charge supplies, VAT on foreign-currency invoices converted at the wrong date or rate, missing Arabic information, and rounding applied inconsistently. Building the rules into the invoicing system prevents most of them.

Back to Blog