# Frequently asked billing questions: credit notes, proformas and Verifactu/TicketBAI

> Why an invoice can't be deleted, how to issue a credit note, why partial credit notes don't exist yet, what the Issue button does with Verifactu/TicketBAI, and what happens to proformas and quotes once issued.

## Quick summary

Clear answers to the most common invoicing questions, checked against how Lueira actually works and against the guides already published in the help center.

- **Why can't I delete an invoice or reuse its number?** Once issued (it has a number), the regulations require consecutive numbering with no gaps. It's corrected with a credit note, never by deleting.
- **How do I issue a credit note for an invoice or a ticket?** Use the Correct button on the order. It creates a new document with negative amounts, linked to the original. It can't be undone.
- **Can I correct just part of the amount?** No, not today. A credit note always cancels 100% of the original document; to charge less, you need to cancel the whole thing and issue a new one for the correct amount.
- **What does the Issue button do with Verifactu or TicketBAI?** Issue numbers the document and automatically sends it to the tax authority in the same step. There's no separate second "Approve" click.
- **Can I review the invoice before it's sent to the tax authority?** Yes: create the document as a draft first (next to the Issue button, dropdown "Save as draft") and review it at your own pace. It's only numbered and sent when you click Issue.
- **Can I delete a proforma or a quote?** Only while it's a draft. Once issued, it's voided (marked "VOIDED"), but its number stays in the series just like an invoice.

## 1. Why an invoice can't be deleted or its number reused

This is **not a bug**, it's intentional, to comply with invoicing regulations:

- While a document is a **draft**, it can be freely deleted or changed: it has no number assigned yet, so there's nothing to "free up" in the series.
- Once it's **issued** (given a number), the document is fixed forever. If you delete the order, the document still exists with its number: that's why gaps appear in the numbering if someone deletes invoiced orders.
- If the document has also been **validated by Verifactu/TicketBAI** (accepted by the tax authority), it can't be deleted under any circumstances, even if it hasn't been submitted yet.
- The only way to correct it is with a **credit note (corrective invoice or ticket)**.

This is already explained well in the guide [I can't delete an invoice or reuse its number: what to do](lueira-guide:78122187-c86c-4d24-a94e-a1eed7d7fd92?locale=en).

## 2. How to issue a credit note for an invoice or a ticket

1. You need a **credit note numbering pattern** set up (it can be created the first time you click Correct, or beforehand from Settings > Document numbering).
2. From the order, click **Correct** in the Invoicing block.
3. A new document is generated with the same data as the original but **negative**, linked to it. The original is marked "Corrected" and loses the Correct button (a document can only be corrected once).
4. The credit note's date can't be **earlier than the original document's date or later than today**: the system won't let you proceed if you try, it's not just an on-screen warning.
5. **It can't be undone.** If there's a mistake, you need to write to support.
6. Issuing a credit note **doesn't refund money**: if the customer already paid, the refund is handled separately, from Refund in the order's Payments block.

More detail in [Correcting an invoice or a ticket and setting up its numbering](lueira-guide:f80bbb23-f185-4e1f-86c6-4ebdf94aa154?locale=en).

## 3. Partial credit notes: they don't exist yet

When issuing a credit note, the system **reverses the sign of every line, all the VAT and the total** of the original document: there's no way to indicate that only part should be cancelled. In other words, **a credit note always cancels 100% of the document**.

**How to handle it today, until partial credit notes exist:**

1. Correct the whole document (cancels the full amount).
2. Issue a new invoice or ticket for the correct amount.

This is a known limitation, with an improvement planned for some cases (for example, some regional tax authorities do allow correcting only the difference).

## 4. What "Issue" actually does with Verifactu or TicketBAI

When you click **Issue** on a draft, the document is **numbered and automatically sent to the tax agency or the relevant regional tax authority**, in the same step. There's no separate second "Approve" click.

That's why we recommend creating the document as a **draft** first (dropdown next to the Issue button → "Save as draft") and reviewing it at your own pace before issuing it: once issued, it's numbered and sent, and it can't be undone.

![Documents panel: dropdown next to the Issue button with the options “Issue and download” and “Save as draft”](https://media.support.lueira.com/images/311f362b-0a2b-4642-908a-07c61f574874.png)

As long as the document stays a **draft**, nothing is sent: it can be reviewed, changed and deleted freely. The automatic submission also happens when a payment is completed in the online store with **automatic invoicing** turned on (the document is signed and sent before being attached to the confirmation email, with no manual step).

More detail in [Verifactu and TicketBAI in Lueira](lueira-guide:67c7d72c-c920-4265-98ad-a7dabdffa92f?locale=en).

## 5. Proformas and quotes: what happens once they're issued

While a proforma or a quote stays a **draft**, it can be created, changed or deleted as many times as needed.

Once it's **issued** (no longer a draft), it can no longer be deleted. It can be **voided** — the PDF is regenerated with a "VOIDED" notice — but its number stays fixed in the series, just like an invoice.

In other words, the same rule that "an issued number is never freed" also applies to proformas and quotes, not only to invoices and tickets.

Source: https://help.lueira.com/en/articles/dudas-frecuentes-facturacion-rectificativas-proformas-verifactu
