Key takeaways
- An invoice number's job is to identify one invoice, so every number must be unique and easy to trace back to a partner and a period.
- EU rules for full VAT invoices call for a unique sequential number, while UK guidance asks for a unique identification number; check which applies to you.
- Pick one format (for example INV-2026-001), write it down, and never reuse or edit a number once an invoice is sent.
- Fix a mistake with a document that clearly references the original invoice, not by overwriting the first one.
- If you automate invoices, give each series one owner and don't let two automations draw from the same series at once.
Invoice numbering rules for affiliate networks come down to one idea: each invoice gets a number nobody else has used, and you can explain the pattern to an accountant in one sentence. Networks send many invoices at month-end, one per partner, so small gaps in the system turn into duplicates fast. This guide covers what the rules say, how to choose a format, and how to keep the series clean when software creates the numbers.
This is general information, not tax advice. Rules differ by country, so check with your accountant.
What do invoice numbering rules actually require?
The rules are shorter than most people expect. The European Commission's VAT invoicing page lists a "unique sequential number identifying the invoice" as a required element of a full invoice. It does not mention series. GOV.UK says an invoice must include "a unique identification number" and, on the page we read, does not say whether numbers must be sequential or whether gaps are allowed.
So two things hold in both sources: the number must be unique, and it must identify that invoice. Whether you need an unbroken sequence depends on your jurisdiction and the kind of invoice.
How do you choose a numbering format?
Pick the format once, then stop touching it. These are the patterns people use most, with an example of each.
Common invoice number formats
A partner code in the number, such as a short partner ID, makes search easier. It also makes the pattern longer, so only add it if someone will actually search by it.
Should affiliate and advertiser invoices share a series?
A network usually deals with two sides: it bills advertisers and it receives or generates statements for affiliates. These are different documents with different readers.
Many teams keep one series per document type, so an affiliate statement never collides with an advertiser invoice. The cost is a second counter to maintain. If both live in one series, everything sorts in one place, but a gap is harder to explain because it could belong to either side.
Either way, write the choice down. The month-end invoicing checklist shows where numbering fits in the sequence of month-end steps.
How should you handle gaps and corrections?
Mistakes happen: a draft is voided, a partner's payout is wrong, a number is typed twice. Treat the number as permanent once an invoice leaves your hands.
The European Commission page has no dedicated correction section for full invoices. For simplified invoices it says a credit note or similar document must carry a specific, unambiguous reference to the initial invoice and the details being amended. That is a sensible habit for any invoice: a correction points back to the original.
Fixing a wrong invoice
- 1Spot the errorWrong amount, partner or period
- 2Keep the originalDo not edit or reuse its number
- 3Issue a correctionNew number, clear reference to the original
- 4Note it in your logOne line saying what changed and why
For year-end, where a clean cut matters most, see closing the books on affiliate payouts.
What changes when software creates the numbers?
Automation removes typing mistakes but adds a new risk: two runs grabbing the same number. AffZero's Generate Invoice Number step builds a local sequence for one automation. You paste two to four recent invoice numbers, and it works out the next one. Per the docs, INV-2026-044 to INV-2026-046 produces INV-2026-047.
Three limits from the docs are worth knowing as of November 2026. The step doesn't check your records for uniqueness. It doesn't describe automatic yearly resets, so you state the reset rule in the pattern description. And you should avoid running automations that share a local sequence at the same time.
Set up numbering you can trust
- 1
Write the pattern down
One sentence your accountant could repeat back.
- 2
Name the series
One per document type, with one owner each.
- 3
Seed it with recent numbers
Give the last two to four real invoice numbers.
- 4
Add an approval step
Have a person check the first runs before invoices go out.
- 5
Log every number issued
A sheet row per invoice makes gaps visible.
A full invoice run also needs payout data and a template. Our year-end guide covers the reconciliation that comes first.
What should you do this week?
Do this now
If you already automate invoices, AffZero's invoicing guides show the steps in context, with the numbering step as one part of a larger run.
Frequently asked questions
Do invoice numbers have to be sequential?+
It depends on where you operate. The European Commission lists a unique sequential number as a required element of a full VAT invoice. UK guidance on invoices asks for a unique identification number. Ask your accountant which rule applies to your business.
Should I restart numbering every year?+
Either approach can work. A yearly series such as INV-2026-001 makes year-end easier to read, and one continuous series is simpler to run. What matters is that no number repeats and the pattern is written down.
What if I skip a number by mistake?+
Record why it was skipped, such as a voided draft, and keep that note with your records. Don't renumber sent invoices to close the gap. Check with your accountant what your country expects.