CORAA
University · GST and revenue

Invoice Sequence Gap Finder.

Paste invoice, credit note or voucher numbers, one per line. The tool groups them into series by the text before the final number, then lists missing numbers and numbers used twice. A gap is a question for the client, not a finding.

Document numbers

Each series is the text before the last run of digits, so INV/26-27/ and CN/26-27/ are tested separately. Gaps are looked for only between the lowest and highest number seen. A number missing at the start or end of the year will not show, so compare the first and last numbers with the client's records.

Gaps and duplicates
Numbers read11
Series found2
Missing numbers in total5
Numbers used more than once1
Lines with no number at the end1
SeriesCountFirstLastMissingMissing rangesRepeated
INV/26-27/7INV/26-27/0001INV/26-27/00104INV/26-27/0004 to INV/26-27/0005; INV/26-27/0008 to INV/26-27/0009INV/26-27/0007
CN/26-27/3CN/26-27/001CN/26-27/0041CN/26-27/003

Lines without a trailing number: Cancelled.

A missing number is a document someone should be able to explain.

Invoices are meant to run in an unbroken series. A missing number can be a cancelled invoice, a test entry, a voided print, or a sale that was left out of the books. A repeated number can be a reissue or a second invoice under the same number. Ask for the cancelled copy or the explanation for each gap, and check that cancelled documents were reported correctly. Check the current invoice numbering rules that apply to your client.

Revenue recognition testerGST 2B reconciliation checker

How the gaps are found

Each number is split into a prefix and the final run of digits. Numbers with the same prefix form a series, so invoices and credit notes are checked on their own.

Within a series the digits are sorted. A jump of more than one between neighbours is a gap, and the numbers skipped are listed. Two equal numbers are reported as repeated.

Zero padding is kept when the numbers are shown again. Lines that do not end in a number are listed but not tested.

Worked example — one series with a gap and a repeat

Invoice numbers 1, 2, 3, 6, 7, 7 and 10 in one series.

Inputs
Numbers pasted7 lines
SeriesINV/26-27/
Output
Missing4 to 5 and 8 to 9
Repeated7
Four numbers are missing and one is used twice. Ask for the cancelled copies, and for both documents numbered 7.

Common mistakes

Mixing series in one list
The tool separates series by prefix, but a prefix typed two ways, such as INV/ and Inv/, becomes two series. Clean the list first.
Missing the first and last numbers
Gaps are found only between the numbers you paste. Check the opening and closing number with the client.
Assuming every gap is a problem
Cancelled and voided documents explain many gaps. The point is to ask and see the evidence.

Frequently asked questions

What can I paste?+
Document numbers, one per line. You can paste a full column from a sales register; the first column on each line is used.
Does it check the legal numbering format?+
No. Check the current rules on invoice numbering that apply to your client.
Is my data uploaded?+
No. Everything is processed in your browser.

Authoritative sources

CBIC — GST law, rules and notifications — Invoice rules change by notification. Check the current text.
Always confirm against the latest version of the source. Regulations evolve and amendments are common.
Related calculators
GST 2B reconciliation checker →Year-end cut-off tester →Order-to-cash audit workbook →
Share this tool
Last reviewed: 2026-10-17 · For informational purposes only — not professional advice.