Invoicing is off by default. Until you turn it on there is no invoice button and no credit notes.
How do I turn on invoicing and issue an invoice?
!The Invoice Format card in Settings: the Invoicing enabled switch, Prefix INV, Number template {prefix}-{yy}{mm}{dd}-{seq:4}, the Sequence reset buttons Daily, Monthly, Yearly and Never, a preview of the next invoice number, and Save.
Only Global Admin and Admin can change invoicing settings or run a backfill.
Issuing a sales invoice: 1. Open Settings (Invoice Format section) → 2. Switch Invoicing enabled on (then Save) → 3. Open a shipped order (Shipping page or Orders list) → 4. Click Sales invoice (number is allocated) → 5. Print the invoice.
- On the Orders page and the Shipping page, hover a Shipped row and click the Sales invoice icon.
- No icon on a row? Invoicing is off in Settings, or the order is not Shipped (Unshipped, Pending and Cancelled orders cannot be invoiced; a voided sale is Cancelled, so it gets a credit note).
- Each order gets one invoice number. Clicking again returns the same invoice.
- Anyone who can see Orders can issue and print an invoice (Global Admin, Admin, Ops, Accountant, Logistics, Marketing).
- An order with no currency cannot be invoiced, and no number is used up.
Why does my invoice number have a date in it?
The number is built from a template, and the default includes a date:
{prefix}-{yy}{mm}{dd}-{seq:4} → INV-260814-0003That is INV, year 26, month 08, day 14, then the 4-digit counter: the 3rd invoice for orders placed on 14 August 2026. The date is the order's purchase date in UTC (not the day you click), so a late-evening order can show the next day.
How do I change the invoice number format?
In Settings, Invoice Format, edit these. A live preview shows the next number before you save.
- Prefix: 1 to 6 characters, A-Z, 0-9,
-or_(lowercase is uppercased). - Number template: must contain
{seq}or{seq:4}, may not use unknown placeholders, and the longest number it could produce may not exceed 64 characters. - Sequence reset: when the counter restarts (next section).
Changing the format only affects invoices issued from now on. Issued numbers never change.
Placeholders:
{prefix}: your prefix.{seq}: the counter (7);{seq:4}pads it (0007, any width).{yyyy},{yy},{mm},{dd},{hh},{ss}: date parts (2026,26, month, day, hour, seconds) of the order's purchase time in UTC.{channel}: the sales channel, lowercase.{order_id}: the last 10 characters of the channel's order id.
Example: prefix INV and {prefix}-{yyyy}-{seq:5} gives INV-2026-00001, INV-2026-00002.
When does the invoice counter go back to 1?
Choose under Sequence reset:
- Daily (default): restarts every day.
- Monthly: on the 1st.
- Yearly: on 1 January.
- Never: one counter forever (remove the date placeholders).
Rules:
- The reset follows the order's purchase date (UTC).
- Daily, Monthly and Yearly need the template to show the period, or numbers would repeat: Daily needs year, month and day, Monthly needs year and month, Yearly needs a year. Settings refuses to save otherwise.
- Once invoices exist, changing the reset also requires changing the prefix or template, so numbers are not reused.
Are invoice numbers guaranteed to have no gaps?
Not strictly. Invoice numbers come from a fast database counter, so a number can occasionally be skipped. Credit note numbers are strictly gap-free. If your accountant needs a provably unbroken invoice sequence, ask support.
What is a credit note, and why didn't my void make one?
A credit note records the reversal of an in-store (manual) sale. Voiding one is Admin / Global Admin only, with Void sale on the order page.
What a void does: If Invoicing enabled?: Order Cancelled, stock back → Credit note issued. Otherwise: Order Cancelled, stock back → No credit note.
- With invoicing off the void still cancels the sale, returns stock and pushes it to your channels; only the credit note is not produced.
- The original invoice is never deleted or renumbered.
- Credit note numbers look like
INV-CN-2026-00001: your prefix,-CN-, the 4-digit year, and a 5-digit counter that resets every year, whatever your Sequence reset is.
Can I create invoices for past orders?
Yes, once invoicing is enabled. After you save with the switch newly on, a backfill picker appears; you can also use Run backfill again in Settings. Choose one:
- From next order forward: touches nothing in the past.
- Last 30 days, Start of current month, Start of current year: by order purchase date.
- Skip: only future orders.
It only touches Shipped orders that have no invoice yet, oldest first, and never changes a number already issued. One run handles at most 5,000 orders and stops after about 25 seconds; if it stops early, run it again.
Related
- Pending orders and the auto-flagged label
- Stock intake — shipping, customs and other invoice costs, landed cost and PrestaShop cost price