Skip to main content
With document numbering on, Foliant doesn’t number an order the moment it’s placed. A document gets its number the first time it’s made for a real order: when you print it, download it, export it, or Foliant emails it. From then on it keeps that number, every time you print or download it again. Document numbering in Documents & printing settings

What issues a number

Each order has one number per document type. If two of your templates are invoices, they both show the same invoice number for an order.

What gets numbered

Templates with Document type set to Other (not numbered) never get a number. Batch documents, such as pick lists for many orders, are never numbered.

Cancelled orders

When an order is cancelled in Shopify, its invoice number is voided. The number stays used and is never given to another order. The invoice then shows the number marked as void. Credit notes for the order’s refunds stay valid. If the invoice was already issued and locked, it isn’t voided: it stays exactly as issued, and you correct it with a credit note. See Lock issued invoices.

Numbers and PDF delivery emails

A PDF delivery email numbers the document when the email goes out. If you email invoices when an order is placed and the order is later cancelled, that leaves a voided number in your sequence. For invoices, sending when the order is paid is usually a better choice.

Good to know

  • Turning numbering off doesn’t take numbers away. Documents that already have a number keep it.
  • Numbers use your store’s time zone for {year} and {month} and for the yearly or monthly restart.
  • Two people printing the same order at the same time still get one number. Foliant never skips or repeats a number.