Skip to main content
Document numbers live in Foliant, not in Shopify. To see them while you work on an order, Foliant adds a Document numbers block to the order page in the Shopify admin. It lists every number Foliant issued for that order: its invoice, the credit notes of its refunds and its quote.

Find the block

  1. In the Shopify admin, open an order.
  2. Look for the Document numbers block from Foliant on the order page. If you don’t see it, check the order page’s app blocks for Foliant - Document numbers.
The block shows on every order. An order that hasn’t been printed, downloaded, exported or emailed yet has no number, so the block only shows Edit invoice details.

What the block shows

Each line shows:
  • The document type: Invoice, Credit note or Quote.
  • The number, such as INV-2026-0042.
  • The date it was issued.
  • A Void badge when the order was cancelled and its invoice number voided.
  • A Locked badge when the document was issued and locked. Under the list, Foliant explains: “Issued document: the original PDF is kept and can’t change.”
  • An E-invoice badge when the issued PDF carries e-invoice data, or No e-invoice data when it was issued without it while the setting was on. See Add e-invoice data to issued invoices.

Issue and lock an invoice

When locked invoices are on, an invoice that has a number but isn’t locked yet shows Issue & lock.
  1. Open the order in the Shopify admin.
  2. In Document numbers, click Issue & lock next to the invoice.
Foliant creates the invoice PDF, keeps it as the issued original and adds the Locked badge. Use this when you chose Only when I issue it for when documents are locked, or to lock an invoice before your chosen moment comes. If Foliant can’t issue the invoice, the block shows why, for example when no template has Document type set to Invoice, or invoice numbering is off.

Edit the invoice details

Until the order’s invoice is issued, the block has Edit invoice details. It opens a form where you correct the PO number, addresses, company, VAT number, note and due date the invoice prints, then Save (or Save and issue, with locked invoices on). See Edit invoice details before an invoice is issued. When the next print will issue the invoice, the block reminds you: “Check the invoice details first: printing issues the invoice.” Once the invoice is issued and locked, the button is gone: the invoice can’t change any more.

When the buyer’s VAT status changed

If your plan includes the tax compliance toolkit, Foliant checks business buyers’ VAT numbers. When a locked invoice printed one status for the buyer’s VAT number, and a later check gives a different answer, the block shows a warning: Buyer’s VAT status changed. It names the invoice, the VAT number, what the invoice printed and what VIES says now. Locked invoices don’t change. If the invoice needs correcting, issue a credit note. See Check your buyers’ VAT numbers.

Good to know

  • If your store has no Foliant plan, the block shows “Choose a plan in Foliant to see this.”
  • Draft orders don’t have this block. A draft order’s quote number shows on its page in Foliant. See Send quotes and turn them into orders.