Skip to main content
An issued invoice shouldn’t be edited. When you refund all or part of an order, you correct the invoice with a credit note instead. In Foliant, a credit note is a template with Document type set to Credit note. Each refund of an order gets its own credit note, with its own number from the credit note series.

Before you start

  • Make sure you have a credit note template. Foliant’s built-in templates include Refund / credit note. In the template’s settings, Document type should be Credit note.
  • To number credit notes, turn on Number credit notes in Settings › Documents & printing. See Set up document numbering.

Create a credit note for a refund

  1. Refund the order in Shopify as usual.
  2. Print, download or email the credit note template for that order.
The credit note is for the order’s most recent refund. A PDF delivery email sent when an order is refunded makes the credit note for that refund. The credit note gets its number the first time it’s made, like any numbered document. An order without a refund has nothing to credit, so it doesn’t get a credit note number. If you refund the same order again later, the new refund gets a new credit note with the next number.

Credit notes and locked invoices

With locked invoices on, credit notes are issued and locked too. With When the document is first generated or When the order is paid, a credit note is issued the first time it’s generated. With Only when I issue it, Issue & lock on the order locks the invoice only, so credit notes aren’t locked. On the Issued invoices page:
  • A credit note’s total shows as a negative amount: the refund total.
  • Under its number, the credit note shows which invoice it corrects, for example “Corrects INV-2026-0042”.

Good to know

  • A cancelled order’s credit notes stay valid documents, even though its invoice number is voided.
  • When a locked invoice’s order is cancelled, the invoice stays as issued. Use a credit note for the cancellation’s refund.