Skip to main content

Free tool · VAT

VAT rounding checker: does line-by-line VAT match VAT on the total?

Two correct methods can differ by a halala, fils or baisa or two. Enter your invoice lines, pick your country and see whether adding VAT line by line and on the invoice total give the same figure.

Last updated:

Published:

Compare VAT per line with VAT on the invoice total

In shortThis free checker adds VAT to each invoice line and rounds it, then works out VAT once on the whole total, and shows the difference between the two. It offers Saudi Arabia, the UAE, Oman and Bahrain with their standard rates and exact 2- or 3-decimal rounding. It reports the gap; it does not decide which method is right.

Country
Invoice lines
Line total: – · VAT on the line: –

United Arab Emirates: standard VAT 5%, in UAE dirham (AED). The tool shows both methods and does not decide which one is right.

Everything stays in your browser. Nothing is uploaded or saved.

Result

Enter the figures to see the result.

The two methods, and why they can differ

In shortLine by line, the VAT of each line is rounded to the smallest unit and the results are added. On the total, the lines are added first and the VAT is worked out and rounded once. When a line's VAT falls exactly half-way between two units, rounding each line can add up to a unit more than rounding the total.

Formulas
line net   = round_half_up(quantity * unit price)
per line   = sum( round_half_up(line net * rate / 100) )
on total   = round_half_up( sum(line net) * rate / 100 )
difference = per line - on total

Why a half-way line matters

A line of AED 12.30 at 5% has VAT of exactly half a unit before rounding, so each line rounds up. Three such lines gain three halves, while the total, AED 36.90, loses only one half and rounds once. That is how the two methods end up one unit apart.

Line totals are exact first

Each line total is the quantity, up to three decimals, times the unit price in whole minor units, rounded half-up once. Only then is VAT worked out, so the two methods start from identical line totals and differ only in where the rounding happens.

Worked examples in each VAT country

In shortThree lines of AED 12.30 at 5% have VAT of AED 0.62 each when rounded line by line, AED 1.86 in all, but worked out once on the AED 36.90 total the VAT is AED 1.85. The difference is AED 0.01. Every figure comes from the checker's own functions.

Three half-way lines in four countries

Three identical lines whose VAT falls half-way between two units, in each country's currency
CountryEach line (rate)VAT on one lineVAT line by lineVAT on the totalDifference
Saudi ArabiaSAR 12.30 (15%)SAR 1.85SAR 5.55SAR 5.54SAR 0.01
United Arab EmiratesAED 12.30 (5%)AED 0.62AED 1.86AED 1.85AED 0.01
OmanOMR 12.310 (5%)OMR 0.616OMR 1.848OMR 1.847OMR 0.001
BahrainBHD 12.305 (10%)BHD 1.231BHD 3.693BHD 3.692BHD 0.001
Each gap is one minor unit: a halala, a fils or a baisa. The lines are chosen so that their VAT is exactly half-way, which is when the two methods disagree.

Three Omani lines

OMR 1.011 + OMR 2.011 + OMR 3.011 is OMR 6.033 before VAT. Rounded line by line the VAT adds up to OMR 0.303; worked out once on the total it is OMR 0.302. The difference is OMR 0.001, a single baisa, which is easy to miss when you reconcile.

Rates and decimals by country

In shortThe checker uses each country's standard VAT rate and currency decimals: 15% and 2 decimals in Saudi Arabia, 5% and 2 in the UAE, 5% and 3 in Oman, 10% and 3 in Bahrain. With 3 decimals a gap shows up as a single baisa or fils. Rates were reviewed on 20 November 2026; confirm them with the tax authority.

This site's regulatory notes for Oman say that totals must be exact to the baisa and that line-level and invoice-level rounding must be consistent, which is why a one-baisa gap is worth settling. Confirm what applies to you with the Oman Tax Authority. Details for the other countries: Saudi Arabia, UAE, Bahrain.

Currency, decimals and standard VAT in the four countries offered
CountryCurrency and decimalsStandard VATAuthority
Saudi ArabiaSAR, 2 decimals15%ZATCA
United Arab EmiratesAED, 2 decimals5%FTA / MoF
OmanOMR, 3 decimals5%OTA
BahrainBHD, 3 decimals10%NBR
Qatar and Kuwait have no VAT in force, so there is nothing to round and they are not offered.

What the result leaves out, and which method to use

In shortThe checker does not decide which method your business should use; that is for your accountant and the tax authority's guidance. It treats every line as taxed at the standard rate, with no discounts, zero-rated or exempt lines, and shows one invoice at a time. Check that your software applies the same method every time.

  • Agree one method

    The tool shows both so you can see the difference. Which one your business uses is something to agree with your accountant, and to check against your tax authority's guidance. Then apply it every time.

  • Every line at the standard rate

    Lines that are zero-rated or exempt, or invoices with a discount, need a different calculation. Enter only the taxed lines here, or ask your accountant how the invoice should be split.

  • Small gaps add up

    A small difference on one invoice grows over a month, and it shows up when you reconcile your VAT summary with your invoices. Check a few invoices before the end of a period, not on filing day.

  • Your software must do the same

    The desktop app keeps 2- and 3-decimal amounts exact and builds VAT return reports from your own data; see the accounting module and the GCC VAT setup guide, then download the app.

Basis of the figures

In shortAmounts are converted to whole minor units before any multiplication, and every rounding is half-up, to the currency's smallest unit. Rates come from this site's country data, reviewed on 20 November 2026. The checker quotes no regulator rule about which rounding method is required, only the standard rates, and your tax authority has the final say.

Browsers hold decimals as binary floating-point numbers, so a plain calculation can round a half-way amount the wrong way. Working in whole minor units with integer arithmetic keeps the result exact. For a single add-or-extract on one price, use the GCC VAT calculator.

Frequently asked questions

Which method is the right one?

The tool does not decide. It shows both so you can see the difference. The method your business uses is something to agree with your accountant and to check against your tax authority's guidance; the important part is to use the same method on every invoice.

How can two correct methods give different VAT?

Rounding happens in a different place. Line by line rounds each line's VAT and adds the results; on the total adds the lines first and rounds once. When a line's VAT is exactly half a unit, as with three lines of AED 12.30 at 5%, the two come out AED 0.01 apart.

Why does a baisa or fils matter?

A small difference on one invoice grows over a month, and it shows up when you reconcile your VAT summary with your invoices. With 3-decimal currencies such as OMR and BHD a single baisa or fils is visible in the totals, so it is worth settling one method.

What should I do if the two methods differ?

Ask your accountant which method your business uses, then check that your invoicing software does the same. Agree one method, apply it on every invoice, and check the tax authority's guidance for your country if you are unsure what it expects.

Which countries and rates does it use?

Saudi Arabia 15%, Bahrain 10%, the UAE 5% and Oman 5%, the standard rates in this site's country data reviewed on 20 November 2026. Qatar and Kuwait have no VAT in force and are not offered. Confirm rates with your tax authority before you file.

Is what I enter sent anywhere?

No. The calculation runs in your browser with no network request and nothing is stored. Closing or reloading the page clears what you typed. The only thing that can leave the page is a result you choose to copy or download.

No install needed

Download RaqamBooks and run your business offline

Install it on your own computer, keep your data local and avoid per-user monthly cloud fees. Early version for Windows 10/11 and macOS 13 or later (Apple chip and Intel chip).

Download for WindowsWindows 10/11 · 64-bit · choose your country edition
Download for macOSmacOS 13+ · Apple chip or Intel chip · choose your country edition
Try the demo (opens in a new tab)Runs in your browser · sample data

All downloads, checksums and install guideSee pricingTalk to us