Deleting a purchase document takes its stock and cost effect away, but the document isn't erased: you can restore it later. Locking does the opposite: it keeps a document exactly as it is until someone unlocks it.
Delete a purchase document
- Go to Purchases → Purchase Documents (or Purchase Orders, or Purchase Returns) and open the document.
- Open the actions menu at the top and choose Delete.
- Confirm.
The confirmation says the action can't be undone, but the document is moved to the deleted documents and can be restored.
To delete several documents at once, select them on the list, open Actions and choose Delete (n). Mitoni confirms that the selected records "will be moved to deleted records and can be restored later". Locked documents in the selection are skipped.
What happens when you delete a purchase
- The stock the purchase added is taken out of the warehouse again.
- The purchase's item costs are removed and the cost of its items is recalculated without it.
- The purchase no longer counts in the vendor balance or in reports.
Deleting a purchase return puts its stock back and adds its amount back to the vendor balance. Deleting a purchase order changes nothing in stock or balances.
Note: Deleting a purchase doesn't delete the vendor payment made for it. Delete or adjust the payment separately if it was also entered by mistake.
Restore a deleted purchase document
- Go to the list, for example Purchases → Purchase Documents.
- Open Actions and choose Show Deleted Documents.
- Open the document and select Restore, or select several documents and choose Restore from Actions.
The document returns to the active list and its stock movements come back.
Important: Restoring a purchase doesn't recalculate item cost. After you restore a purchase, open it and select Save so Mitoni recalculates the cost of its items from the purchase date, or run Inventory → Recalculate Cost for a period that includes the purchase date.
To go back to the normal list, choose Show All Active Documents.
Lock a purchase document
Lock a document when it is final, for example after you have checked a month's purchases with your accountant. A locked document can't be edited or deleted.
- Open the document.
- Open the actions menu and choose Lock Document.
If the document has unsaved changes, Mitoni asks whether to Save & Lock or only Lock without saving them.
To lock several documents, select them on the list, open Actions and choose Lock Documents (n). Locked documents show a Locked badge.
Unlock a purchase document
Open the document and choose Unlock Document, or select documents on the list and choose Unlock Documents (n). Documents with the Fiscal locked badge can't be unlocked.
See who changed a purchase document
Open the document and choose Changes History from the actions menu to see every change, who made it and when. On the list, Actions → Changes History shows changes for the documents in the selected date range. Changes History isn't available on the Basic plan.
Attach files to a purchase
On the Enterprise plan, purchases and purchase returns have Attachments in the actions menu. Use them to keep the vendor's invoice or delivery note with the document.
- Open the saved purchase and choose Attachments.
- Select + Add File and choose a PDF, Excel or Word file of up to 20 MB.
Files on a locked or deleted document can only be downloaded. Deleting a file takes effect immediately.
Troubleshooting
Delete is greyed out or the document can't be changed. The document is locked. Unlock it first, if you are allowed to. Purchase orders with the status Cancelled or Received can't be deleted or changed at all.
A selected document wasn't deleted in a bulk delete. Locked documents are skipped. Unlock them and delete again.
The document can't be unlocked. It has the Fiscal locked badge. Fiscal locks are permanent.
Item costs look wrong after restoring a purchase. Restoring doesn't recalculate cost. Open the restored purchase and select Save.
"This document may have been deleted by another user." Someone deleted the document while you had it open. Find it under Show Deleted Documents and restore it if needed.
