6 min readAccounting & Invoices

In short: When a customer returns goods and the order already had an invoice, refunding the money isn’t enough – you need a credit note (a corrective invoice). WooCommerce’s refund gives the money back and changes the status, but creates no document. Below we explain when a credit note is needed, what it must include, how to handle returning some items or refunding part of the amount, and how to have credit notes issued automatically for every refund.

When do you need a credit note?

You issue a credit note whenever, after the invoice was issued, what was sold or the price changes. In an online shop that usually means:

  • a full return, e.g. under the 14-day right of withdrawal in the EU,
  • a partial return – the customer sends back one of several items,
  • a partial refund – a discount for damaged packaging or a late delivery,
  • a mistake on the invoice – wrong price, quantity or VAT rate.

Credit note or correction note?

Some countries, including Poland, used to allow the buyer to fix minor formal errors with a “correction note”. For invoices issued in Poland’s KSeF system, correction notes are no longer used – every error is fixed with a corrective invoice. The simplest approach is one rule: every change = a credit note.

WooCommerce refund vs. credit note – what’s the difference?

The Refund button on a WooCommerce order does three things: returns the money (manually or through the payment gateway), optionally restocks the items and changes the order status if the whole order is refunded. It doesn’t create any accounting document. The credit note has to be issued separately – manually or automatically at the refund.

Refunding an item on a WooCommerce order – choosing items and a reason
A WooCommerce refund: choose the items and a reason – but the refund itself creates no document.

What must a credit note include?

  • a title showing it’s a correction, e.g. “Credit note”,
  • its own sequential number from the credit note series and an issue date,
  • the number of the invoice being corrected (and, for KSeF invoices, its KSeF number),
  • the reason, e.g. “Goods returned”,
  • seller and buyer details,
  • the correction amounts: the net, VAT and gross difference by VAT rate.
PDF credit note for a WooCommerce refund
A credit note with the corrected invoice number, the reason and the correction amounts.

How to handle partial returns and partial refunds

Returning some items is simple: the credit note covers only the returned products, with their VAT rates.

Refunding part of the amount, e.g. a 10 EUR goodwill refund on an order with products at 23% and 8% VAT, means splitting that amount across the rates. The fairest and most common method is a split proportional to the value of the items at each rate. It’s easy to get wrong by hand, so it’s best left to the system.

Credit notes and KSeF

If the invoice went to KSeF, the credit note must go there too. An invoice in KSeF can’t be changed or deleted, so a credit note is the only way to fix a mistake. More in how to send WooCommerce invoices to KSeF automatically.

How to issue credit notes automatically for refunds, step by step

WooCommerce doesn’t issue invoices or credit notes, so you need a plugin. We’ll show it with PDF Invoices, Credit Notes & KSeF for WooCommerce.

Step 1: switch on credit notes

Go to WooCommerce → Invoices → Settings, section Credit note (refunds). Switch credit notes on, set the number pattern, e.g. CN/{n}/{MM}/{YYYY}, and tick Issue automatically for each refund.

WooCommerce credit note settings – automatically for every refund
Credit notes: number pattern, issuing for every refund and attaching to the refund e-mail.

Step 2: attach the credit note to the e-mail

Choose to attach the credit note to the WooCommerce “Refunded order” e-mail. The customer gets the refund notice together with the document.

Step 3: refund the order

On the order, click Refund, choose the items or enter an amount and add a reason. When the refund is saved, the plugin issues a credit note for the invoice – with the corrected invoice number, the reason and the amounts. A partial refund is split proportionally across the order’s VAT rates.

Step 4: check the documents on the order

The Invoices & documents box on the order shows the invoice and the credit note – and, if you use KSeF, their status in the system.

Invoice and credit note on a WooCommerce order
The “Invoices & documents” box on the order: the invoice, the credit note and buttons to issue documents.

Things to watch out for

  • A credit note needs an invoice. If the order had no invoice, there’s nothing to correct.
  • Give a reason for the refund. The reason from the refund form goes on the credit note – “Goods returned” beats an empty field.
  • Several refunds on one order. Each refund gets its own credit note, so the history stays clear.
  • VAT reporting. When the credit note is reported for VAT depends on the situation. Agree the rules with your accountant.

Frequently asked questions

Does a WooCommerce refund create a credit note?

No. WooCommerce returns the money and changes the status, but creates no documents. The credit note has to be issued separately or automatically at the refund.

Do I have to split a partial refund across VAT rates?

Yes, if the order contains products at different rates. The amount is usually split in proportion to the value of the items at each rate.

Can I edit the invoice instead of issuing a credit note?

No. An issued invoice isn’t edited. Mistakes are fixed with a credit note – and for KSeF invoices that’s the only option.

Will the customer get the credit note by e-mail?

Yes, if you attach it to the WooCommerce “Refunded order” e-mail. They can also download it in their account.

Will the credit note go to KSeF?

Yes, if the invoice was sent to KSeF and the KSeF module is switched on.

PDF Invoices, Credit Notes & KSeF for WooCommerce
Automatic invoices, a credit note for every refund, pro formas, a register with a monthly accountant pack and KSeF sending – straight from your shop. Try it free for 7 days.

← All posts

Leave a comment

A question or your own experience? Write it here – we reply personally. Your e-mail address will not be published; your comment appears after approval.

Custom features

Missing a feature? We will build it for your store

Every one of our plugins started with a real store’s need. Tell us what you need – we will adapt an existing plugin or build a new feature, compatible with WooCommerce, HPOS and WPML.

Custom WooCommerce functionality

Partner program

Recommend the plugins you use and earn 20%

Every wpAsist customer gets their own link and discount code. We pay 20% on every sale from your recommendation and another 20% every time that customer renews. Building stores for clients? The developer program pays 33%.

More about the partner program
Przemek Szczęch – developer of wpAsist plugins

Hi, I’m Przemek

I started out in 2009 with affiliate programs, and a year later I made it onto GVO’s list of top-selling partners worldwide. Since 2014 I have been building stores and websites for clients: setting up analytics, improving conversions, connecting systems, driving traffic with SEO and Ads, and turning the numbers into a clear picture of what really sells.

Since 2019 I have been writing my own WooCommerce plugins for the needs of real stores. Missing a feature? Get in touch – my best plugins started with a client’s question.

E-mail: help@wpasist.eu