Custom Sequential Invoice Numbers

PDF Invoices

From version 2.1, PDF Invoices can print sequential numbers such as INV-0001 or INV-2026-0001. The Paid Memberships Pro order code stays the same unless you choose to replace it in the template.

In this guide

  1. Enable sequential numbers
  2. Settings
  3. Placeholders
  4. Existing PDFs
  5. Common mistakes

Enable sequential numbers

  1. Go to Settings → PMPro PDF Invoices → Settings.
  2. Find Sequential Invoice Numbers.
  3. Check Use sequential invoice numbers instead of random order codes.
  4. Save settings.
  5. Add {{sequential_invoice_number}} to the PDF template if it is not already there.

Settings

SettingWhat it doesExample
PrefixText before the numberINV- → INV-0001
SuffixOptional text after the number-UK → INV-0001-UK
Number paddingDigit width4 → 0001
Include yearAdds the current yearINV-2026-0001
Year placementAfter prefix or before suffixINV-2026-0001 or INV-0001-2026
Next invoice numberValue used for the next new invoiceChange only if you need to skip ahead
Replace order codeMakes {{invoice_code}} print the sequential numberOff by default

The Settings tab shows a live preview of the next number.

Placeholders

PlaceholderOutput
{{sequential_invoice_number}}Always the sequential value when the feature is enabled.
{{invoice_code}}PMPro order code, unless “Replace order code” is on.

Existing PDFs

Turning this on does not rewrite PDFs already stored. Generate Missing or Regenerate All on the Tools tab after you are happy with the sample.

Common mistakes

Looking for a “new template” just to change the number

Numbering is a Settings option, not a separate template type.

Fix: Enable Sequential Invoice Numbers, then put {{sequential_invoice_number}} on the template.

Editing Next Invoice Number on a live store without a plan

Raising the next number leaves a gap. Lowering it can duplicate a number already printed.

Fix: Leave Next Invoice Number alone unless you are migrating from another sequence.