Deleting a sale moves it to the deleted records, where you can restore it later. Locking a sale protects it from edits and deletion until it is unlocked.
Delete a sale
- Open the sale under Sales → Sales.
- Choose Actions → Delete.
- If the sale has linked payments, Mitoni asks "Sale Document has linked payments. Do you want to delete the linked payments as well?":
- Delete Sale & Payments — also deletes the payments, so the cash box or bank account goes back down.
- Delete Sale Only — keeps the payments. They stay under Sales → Customer Payments and still count towards the customer's balance.
- If the sale has no payments, confirm in the Delete Sale Document window.
Delete isn't offered on a locked sale.
Mitoni shows "Sale document deleted". The sale's stock write-off and cost are removed, so the stock goes back up.
Note: The confirmation says the action cannot be undone, but a deleted sale can be restored as described below. Its deleted payments are not restored with it.
Delete several sales at once
- Go to Sales → Sales and select the sales with the checkboxes.
- Choose Actions → Delete.
- Confirm in the Delete selected sales documents window.
Mitoni moves the selected sales to the deleted records. Bulk delete removes the sales only; their linked payments stay. Locked sales can't be selected.
Restore a deleted sale
- Go to Sales → Sales and choose Actions → Show Deleted Documents.
- To restore one sale, open it and click Restore (it replaces the Save button on a deleted sale), then confirm in the Restore Sale Document window.
- To restore several, select them and choose Actions → Restore, then confirm in the Restore selected sales documents window.
The sale returns with its lines, stock write-off and cost.
Important: Restoring a sale doesn't restore payments that were deleted with it. Add them again with Add Payment on the sale. See Take payment for a sale.
Lock a sale
Lock sales that have been reported or checked, so they can't be changed by mistake.
- One sale: open it and choose Actions → Lock Document. If you have unsaved changes, Mitoni asks "Would you like to Save changes and Lock?": choose Save & Lock to save and lock them, or Lock to lock the sale as it was saved. Mitoni then returns to the Sales list.
- Several sales: select them in Sales → Sales and choose Actions → Lock Documents. Mitoni warns that they "can no longer be edited or deleted until unlocked".
A locked sale shows a lock icon next to Document No. Its Actions menu no longer offers Delete, Print Document, Duplicate or other changes, and its row in the Sales list can't be selected for bulk actions.
Unlock a sale
Open the sale under Sales → Sales and choose Actions → Unlock Document.
Note: Locked sales can't be selected in the Sales list, so Actions → Unlock Documents stays unavailable there. Unlock each sale from its own page.
Fiscalized sales from the till
When the till signs a sale with a fiscal device, the sale arrives locked and marked Fiscal locked. A fiscalized sale can never be unlocked, edited or deleted, because it has already been reported to the tax authority. To correct it, record a sales return.
Troubleshooting
"Document is locked". Unlock the sale first. If it is Fiscal locked, use a sales return instead.
I can't select a sale in the list. The sale is locked. Open it and choose Actions → Unlock Document, then delete it.
Stock is still wrong after deleting a sale. Check whether the sale was restored, or whether another sale for the same items exists. Deleting a sale always removes its own write-off.
The customer has a credit balance after I deleted a sale. Payments you kept with Delete Sale Only still reduce the customer's balance, now without a sale to cover. Delete them under Sales → Customer Payments if they were also wrong.

