← Back to blog

Check VAT Totals Against Invoices in Google Sheets

· Sean Harkin, Co-Founder, Sheetminer
VAT Google Sheets invoices reconciliation sales tax

If you need to check VAT totals against your invoices before filing, the real problem is rarely the arithmetic. It is that the figures in your sheet were typed or pasted from PDFs, and one of them is wrong. You only find out when the VAT column is a few euro off the return, and then you are re-reading every invoice to find which one.

This post sets up a sheet where every VAT figure is checked two ways, and shows how to find the odd one out quickly.

What goes wrong with VAT columns

Three things cause almost every mismatch:

  • Transposed or dropped digits. 123.40 becomes 132.40. The row still looks plausible.
  • Net and gross mixed up. One invoice’s total is pasted into the Net column, so the VAT looks too low.
  • A missing invoice. The column adds up fine. It just does not include everything.

None of these are visible if you only look at the column total. You need checks at row level and at document level.

The sheet layout

One row per invoice:

Invoice no.SupplierNetVATTotalCheck
1041Acme Supplies400.0092.00492.00OK
1042North Print120.0027.60148.60CHECK

The Check column uses a cross-foot formula:

=IF(ABS(C2+D2-E2)>0.01,"CHECK","OK")

Row 1042 above is flagged: 120.00 plus 27.60 is 147.60, not 148.60. Either the total or the VAT was copied wrong, and you know which row to open.

Get the figures out of the PDFs without retyping

The cross-foot check proves a row is consistent. It cannot prove the row matches the invoice. For that, take the figures from the document instead of typing them.

With Sheetminer, upload the invoices in the Extract tab of the sidebar. Then:

  1. Select the VAT cell in your sheet.
  2. Use Text Snip to drag a box over the VAT amount on the invoice. It writes the value into the cell.
  3. Use Sum Snip on a column of amounts, for example every VAT line in a multi-rate summary. It adds them and shows the addition under Formula so you can see what was included.
  4. For a supplier you see every month, use AI Snip to fill Invoice no., Supplier, Net, VAT and Total in one run, and save the fields as a template.

Each cell keeps a link to the box it came from. Select a cell, open the Inspect tab, and the source is highlighted on the document. That is the document-level check: you are looking at the invoice, not at your memory of it. For more on the extraction side, see extracting invoice data from PDFs to Google Sheets.

How do I find the one invoice that is off?

Work from the cheapest check to the most expensive:

  1. Filter the Check column to CHECK. Any row where Net plus VAT does not equal Total.
  2. Compare the count. Number of invoices in the sheet against the number in your folder. A missing invoice never shows up as an error.
  3. Sum the VAT column and compare to the return. If it differs by a round figure, look for a missing or duplicated invoice. If it differs by an odd figure, look for a digit error.
  4. Inspect the remaining suspects. Click the VAT cell, open Inspect, and compare the highlighted source to the value.

Most mismatches end at step 1 or 2.

Worked example

A quarter with 6 invoices has a VAT column that totals 38.00 more than the return. The Check column flags none of the rows, so the rows are internally consistent. The invoice count is 6 in the sheet and 6 in the folder. The difference is a round figure, so a duplicate is likely, and sorting by Invoice no. shows 1043 entered twice. Remove one and the column ties to the return. Without the Check column and the count, that is a re-read of every invoice.

Keep a record you can show

If the tax authority asks, the useful thing is a trail from each figure to its document. The same linking helps in an audit, see the expense audit template and building an invoice audit trail.