I can't delete an invoice or reuse its number: what to do
Why an issued invoice still exists after you delete the order, and how to correct it with a credit note or avoid it with proformas.
On this page
I can't delete an invoice or reuse its number
You issued an invoice or a simplified invoice, deleted it (for example by deleting the order), and now Lueira won't let you use that number again, or you see gaps in your numbering. This is intentional. Here is why, and what to do.
1. Why it happens
An issued invoice can't be deleted and its number can't be reused, even if it has not been submitted to the tax authority.
The regulations require invoice numbering to be consecutive and without gaps.
If you delete the order, the document remains issued with its number. It doesn't disappear: that is why the program won't let you use that number again.
This applies equally to ordinary and simplified invoices, and it is the same requirement for any invoicing software.
2. How to cancel or correct an issued invoice
The correct way is to issue a credit note (corrective invoice): a new document, linked to the original, with the amounts in negative. Credit notes have their own numbering (for example, FSR for simplified invoices and FR for ordinary ones, depending on your configuration). The steps are in Correcting an invoice or a ticket and setting up its numbering.
3. How to avoid it: use proforma invoices
If you are not yet sure the document is correct, use a proforma invoice. It has no tax value and is not submitted anywhere, so you can create, edit or delete it as many times as you need. When the document is correct, you issue the final invoice and that is when the number is assigned. See Invoicing: tickets, invoices and quotes in orders.
4. I have already deleted orders with an issued invoice
Write to us with the numbers of the affected invoices. We can review your numbering and recover those documents so that you can correct them.
Related guides
- Orders navigationView the status of all your orders, invoices or payments
- How to create ordersWe show you how to create orders and add every type of product to them.
- Creating a lesson booking from the admin: several days, a second teacher and line priceHow to create a lesson order from the admin: add private or group sessions, book several days in a row, add a second teacher without losing the charge for the second lesson and change the price of a line.
- Order statusesThis section gives you an overview of the status an order is in
- Order lifecycle: statuses, payment and confirmationA complete explanation of the order and payment statuses in Lueira, how they relate to each other, and when an order is confirmed automatically or manually depending on the payment method.
- Deleted and cancelled orders: the difference, how to see them and how to ask for them to be restoredThe difference between cancelling and deleting an order, where to find cancelled orders, how to find out who changed or deleted an order with Change tracking, and what to do so support can restore an order deleted by mistake.