Find the block
- In the Shopify admin, open an order.
- 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.
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.- Open the order in the Shopify admin.
- In Document numbers, click Issue & lock next to the invoice.
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.