# Correct or cancel an invoice

> Edit a draft, cancel and duplicate a sent invoice, reduce what the customer owes with a credit note, or refund what they paid.

A draft can be edited freely. A sent invoice keeps its number: to correct it, cancel and duplicate
it, or reduce what the customer owes with a credit note.

The owner, an Administrator, a Finance member or a custom role with **Manage invoices** can do it.
Only the credit note asks for the [security code](https://docs.wajub.com/dashboard#the-security-code).

## Edit a draft

On the page of a draft that has received no payment, **Edit draft** reopens the form. A sent invoice
can no longer be edited. Drafts you do not need are deleted from the list, with
[**Delete drafts**](https://docs.wajub.com/dashboard/invoices/export-and-bulk#bulk-actions).

## Correct a sent invoice

1. **Cancel the invoice**

   On the invoice's page, choose **Cancel invoice** in the menu to the right of the buttons. The
   &#x2A;*Cancel this invoice?** dialog reminds you that the customer will no longer be able to pay it,
   that no reminder will go out and that it keeps its number. What has already been paid is not
   refunded. Confirm with **Cancel invoice**: it moves to **Cancelled**, and this is final.

2. **Duplicate it**

   In the same menu, **Duplicate as a new draft** creates a draft with the same customer and the
   same lines, and opens it for editing with **Invoice duplicated successfully**.

3. **Correct it, then send the draft**

   Correct what needs correcting, then [send the invoice](https://docs.wajub.com/dashboard/invoices/create#after-creating-it):
   it gets a new number.

## Issue a credit note

A credit note reduces what the customer owes without cancelling the invoice, for example for a
returned item or a discount granted afterwards. It has a number from its own sequence, can be
downloaded as a PDF and cannot be cancelled.

1. **Open Issue a credit note**

   On a sent invoice's page, choose **Issue a credit note** in the menu to the right of the
   buttons. The dialog opens.

2. **Enter the amount and the reason**

   The **Amount to credit** goes up to what the invoice is still worth. The **Reason**, required,
   is printed on the credit note. Below the fields, the dialog shows the effect on the invoice:
   **Invoice status after**, **Credited in all** and **Amount due after**.

   ![The Issue a credit note dialog, scrolled down to its effect: the reason Trade discount, the Send to the customer box ticked with the customer's address, then, for a credit note of FCFA 10,000, the amount the invoice asks for dropping to FCFA 164,000, the invoice status after Overdue, FCFA 0 paid, FCFA 10,000 credited in all and FCFA 164,000 due after.](https://docs.wajub.com/dashboard/en/light/invoices-credit-note.webp)

   *The dialog shows the credit note's effect before you issue it.*

3. **Choose whether to send it**

   **Send to the customer** emails it, with the PDF attached. If the invoice has no email address,
   give the customer the credit note's PDF yourself.

4. **Issue the credit note**

   Click "Issue a credit note of" followed by the amount, then enter the security code. A message
   confirms the credit note's number, which appears under **Credit notes** on the invoice's page,
   with its PDF.

The invoice then shows **Partially credited** and only asks for its amount due. If the credit note
covers what was left due after a partial payment, it moves to **Paid**. Credited in full, it moves
to **Cancelled** if nothing had been paid, and to **Refunded** otherwise: then give the money back
to the customer as below.

## Refund the customer

A credit note gives no money back. To give back what the customer paid online, open the payment
from **History** with **Open payment**, then [refund it](https://docs.wajub.com/dashboard/payments/refund). Once its
online payments are refunded in full, the invoice moves to **Refunded**, unless a payment was
recorded on it by hand. A payment received outside Wajub is given back outside Wajub.
