How do I delete a document?
A quote that didn’t go ahead, a duplicated sales order, a draft document left half-done: they are deleted from the list, by ticking them, or from the document itself. An issued invoice is the exception: it doesn’t disappear, it is voided, keeps its number and its voiding is reported to the Tax Agency.
What happens when each document is deleted?
It depends on the document, and the confirmation window tells you before doing anything.
| Document | What happens |
|---|---|
| Any draft document | It is deleted. It hadn’t moved anything. |
| Quote, sales order, delivery note, work order | It is deleted. First, what it moved is undone: stock, reservations and whatever it had taken from its source document. |
| Purchase documents, including the supplier invoice | It is deleted, first undoing stock, payments open items, input VAT and accounting. |
| Sales issued invoice or credit note | It is voided. What it moved is undone, but it keeps its number and its voiding is sent to Veri*Factu. It stays in the list with the status Voided. |
| Sales invoice already voided or replaced | It can’t be: it is kept as it is, as the regulations require. |
| Advance payment invoice | It can’t be done from here: it is voided by voiding the advance payment, in Receipts. |
A sales invoice isn’t deleted because its number is consecutive and has already been reported to the Tax Agency: making it disappear would leave a gap in the series. More detail in void or fix a registered invoice (in Spanish).
How do I delete several documents from the list?
- Go to the Sales or Purchases list of the type you want.
- Tick the box of each document. The box tells you what can be done with that row: issue, convert, delete or void. With Select all you tick everything the filter shows.
- Click Delete in the action bar. The number in brackets is how many of the ticked ones can be deleted.
- The window says how many are going to be deleted, how many invoices are going to be voided and which ones can’t be deleted, with the reason for each.
- Click Delete (or Void, if everything ticked is issued invoices). When it finishes, the result appears document by document, and you can download it with Export CSV.
The same ticked documents work for the other bulk actions: Issue and Convert.
How do I delete the document I have open?
With Delete, the last option in the Other menu on the document bar. On a sales issued invoice it is called Void. The same confirmation as in the list opens. If the document is deleted, you go back to the list; if it is voided, it stays open and now shows as voided.
How do I delete many documents by dates or numbers?
With Bulk delete, in the list bar (it may be inside the ··· menu). It deletes documents of the type of the list you are in.
- Choose Which documents: only drafts, only issued ones or all of them. Drafts only comes ticked, which is the usual end-of-month tidy-up.
- Narrow it down with From date / To date, Series, From no. / To no. and the customer or supplier range. An empty range doesn’t filter.
- Click OK. Nothing is deleted yet: the same confirmation appears, with how many are included.
- Click Delete to do it, or Cancel to go back to the ranges.
What do I need to be able to delete?
Full access permission on sales or purchases. With edit permission you can issue and convert, but the Delete button doesn’t appear.
Can a deletion be undone?
No. That is why the confirmation says so first. A deleted document can’t be recovered, and a voided invoice doesn’t come back to life: if it was needed, another one is issued.
What happens if one fails?
Each document is deleted separately. If thirty-seven out of forty go through and three can’t, the thirty-seven stay deleted and the result says why the other three didn’t. The one that fails stays exactly as it was.
If you tick a sales order and the delivery note that came from it at the same time, the delivery note is deleted first, which gives what was delivered back to the sales order, and then the sales order.
If something goes wrong
| What you see | What has happened | What to do |
|---|---|---|
| The Delete button doesn’t appear | Nothing deletable is ticked, or your permission isn’t full access | Tick something that can be deleted or ask for the permission |
| ‘… has already taken quantity from this document’ | Another document came from this one (a delivery note from a sales order, an invoice from a delivery note) | First delete or void the one that came from it |
| ‘It cannot be deleted: it is still used by documents that were created from it’ | There is a draft made from this document | Delete that draft first |
| ‘It cannot be deleted: it is still used by journal entries’ or ‘VAT register lines’ | It is a purchase invoice from a period that is already closed | Correct it with a purchase credit note |
| The invoice doesn’t disappear, it shows Voided | That is expected: an issued invoice isn’t deleted | Nothing; its voiding is sent to Veri*Factu |
| ‘It has receipts’ | The document has money collected or paid applied to it | First undo the receipt in Receipts |
See also: Issue an invoice · Convert several documents at once · Correct an invoice
More about Invoicing
- How do I make the consignment note for a shipment?
- How do I charge shipping or expenses without VAT?
- Setting up numbering series
- How do I convert several documents at once?
- Why is my invoice one cent out and how do I fix it?
- How do I turn a quote into a sales order, a delivery note or an invoice?
- Can I leave a document half-done and go to another screen?
- How do I issue an invoice?
- How do I deliver a sales order in several deliveries?
- How do I invoice a fee that repeats every month?
- How do I invoice several delivery notes at once?
- Pro forma invoices