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.
{{sequential_invoice_number}} to the PDF template if it is not already there.| Setting | What it does | Example |
|---|---|---|
| Prefix | Text before the number | INV- → INV-0001 |
| Suffix | Optional text after the number | -UK → INV-0001-UK |
| Number padding | Digit width | 4 → 0001 |
| Include year | Adds the current year | INV-2026-0001 |
| Year placement | After prefix or before suffix | INV-2026-0001 or INV-0001-2026 |
| Next invoice number | Value used for the next new invoice | Change only if you need to skip ahead |
| Replace order code | Makes {{invoice_code}} print the sequential number | Off by default |
The Settings tab shows a live preview of the next number.
| Placeholder | Output |
|---|---|
{{sequential_invoice_number}} | Always the sequential value when the feature is enabled. |
{{invoice_code}} | PMPro order code, unless “Replace order code” is on. |
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.
Numbering is a Settings option, not a separate template type.
Fix: Enable Sequential Invoice Numbers, then put {{sequential_invoice_number}} on the template.
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.