In this guide

An agreed total can hide two errors

Your invoice register and output VAT ledger both show SAR 300. One sales document is missing from the ledger, and another appears twice. A monthly subtotal gives no warning because both carry SAR 150 VAT. A document-level comparison finds both.

Join sales documents to postings at the right level

Use the final invoice and credit or debit note register and the output VAT ledger for a defined entity and period. Keep stable internal document ID, type, currency, VAT category, taxable amount, VAT and reference to each posting. Retain document date and posting date separately. If one invoice generates several accounting lines, group the relevant lines at document and tax-category level first, preserving the number and references of the source lines. Investigate legitimate timing differences and multi-line postings before labelling a row as a posting error.

Document in the test fileVAT per registerVAT per ledgerFinding
A-1001500Source document has no posting
A-101150300Two postings of 150
Total300300Two items for review

The example is an unfiled period. Both are ordinary domestic sales assumed to be in the same tax period and currency. Differences by row are SAR +150 and −150 when calculated as register less ledger. Preserve the signs on credit notes and compare them as their own document type.

Let AI trace differences and keep the filing decision with the reviewer

Compare the invoice register and VAT postings by document ID, type, currency and VAT category. Report missing documents, extra postings, repeated references and amount differences with source rows. Show unmatched rows even when the grand totals agree. Flag any possible period difference for review.

Have the reviewer inspect the original invoice and posted journal, correct verified errors through normal approval, and rerun the match. The resulting reconciliation supports the output VAT workpaper. A full return also needs the other applicable sales, purchases, adjustments and checks.

Sources

Sources checked ·