
Before you start
- Locking only applies to numbered documents. Turn on Number invoices (and Number credit notes if you use them) in document numbering.
- At least one template needs Document type set to Invoice or Credit note. Quotes are never locked.
- Check your invoice template before you turn locking on. Invoices issued after that keep the look and details they had when they were issued.
- An order’s details, such as a PO number or a wrong address, can be corrected before its invoice is issued. See Edit invoice details before an invoice is issued.
Turn on locked invoices
- In Foliant, go to Settings › Documents & printing.
- In Locked invoices, turn on Lock issued invoices and credit notes.
- Choose when documents are locked in Lock documents (see below).
- Set Keep issued documents for, in years.
- Click Save.
Choose when documents are locked
Until a document is issued, Foliant keeps creating it fresh from the current order and template, like any other document.
How long issued documents are kept
Keep issued documents for is a number of years, from 1 to 30. The default is 10. How long you must keep invoices depends on your country; check with your accountant. The period is set for each document when it’s issued. If you change it later, documents already issued keep the period they were issued with. See Download the archive and how long documents are kept.What a locked document keeps
- The PDF exactly as it was issued, byte for byte.
- The order details it was made from, and the template version used.
- Your legal details as they printed at the time. Changing them in Settings › Tax & legal later doesn’t change issued invoices.
Turn locking off
Turn off Lock issued invoices and credit notes and save. New invoices aren’t locked any more. Documents already issued stay locked: Foliant still serves their stored PDF, and they stay on the Issued invoices page. The page then shows “Locking is off, so new invoices aren’t locked. Documents already issued stay locked.”Good to know
- Each order has one issued invoice, whichever invoice template you use to open it.
- When a locked invoice’s order is cancelled, the invoice isn’t voided. It stays as issued, and the refund is corrected with a credit note.
- After you turn locking on, the Locked invoices section links to View issued invoices.
- On the Starter, Growth and Scale plans, the same section can add e-invoice data (ZUGFeRD / Factur-X) to every issued document. See Add e-invoice data to issued invoices.