# Archive documents
You can archive sales, purchase, and service orders, quotes, return orders, and blanket orders. If you're using Project Management features, you can also archive your projects. You can archive documents and projects several times. A different archived version saves each time.
For sales documents, if the original still exists and isn't posted, you can use the Restore action to overwrite it with an archived version.
> NOTE
> You can only restore sales documents and projects. The action isn't available for archived purchase documents.
For archived documents where the original is deleted, you can reuse the content by copying the data, for example, by using the Copy Document action.
To explore archived documents, select Search (Alt+Q) in the upper-right corner, enter Archive, and then choose the related link. If the archive you're interested in doesn't display right away in the Go to Reports and Analysis section, you might need to choose Show more.
## To set up automatic document archiving
You can automate archiving to create a new version of the archived document when someone does the following things:
 Changes the status or deletes a document or project.
 Prints, downloads, or sends a document by email.
 Converts a quote to an order or invoice.
 Posts an order.
The following steps describe how to set up automatic archiving of sales documents from the Sales & Receivables Setup page. The steps are similar for purchase documents and projects.
 For purchase documents, use the Purchases & Payables Setup page.
 For projects, use the Project Setup page.
 For services, use the Service Management Setup page.
1. Select Search (Alt+Q) in the upper-right corner, enter Sales & Receivables Setup, and then choose the related link.
2. On the Archiving FastTab, specify whether to turn on automatic archiving for the various types of sales documents. Hover over a field to read a short description.
The following table describes the options for the Archive Quotes field.
Option|Description
Never|Don't archive sales quotes when they're deleted.
Question|Prompt the user to choose whether to archive sales quotes when they're deleted.
Always|Archive a sales quote automatically when you delete it.
## To manually archive a sales order
The following procedure describes how to manually archive a sales order. The steps are similar for all documents and projects that you can archive.
1. Select Search (Alt+Q) in the upper-right corner, enter Sales Orders, and then choose the related link.
2. Open a sales order that you want to archive.
3. Choose the Archive Document action.
The sales order is archived. You can view it on the Sales Order Archives page.
## To restore a nonposted sales document or a project from the archive
You can restore a sales document only if the original still exists and its status is Open. A sales order must not have related posted shipments or invoices. Reopen a released document before you restore it.
To restore a project, the original project must still exist and must not have the Completed status. It must not have project ledger entries or sales document lines linked to it.
The following procedure describes how to restore an archived sales order to the original sales order. The steps are similar for all orders, blanket orders, return orders, and quotes.
1. Select Search (Alt+Q) in the upper-right corner, enter Sales Order Archives, and then choose the related link.
2. Select the archived sales order, or version of it, that you want to restore, and then choose the Restore action.
The contents of the original sales order or project are replaced with the archived version.
## To delete archived versions
Use a retention policy to clean up archived versions that you no longer need. Retention policies let administrators define how long they want to store data. For example, they can set up a policy that deletes data after an expiration date. See Define Retention Policies<admin-data-retention-policies>.
There are a few things to note about creating retention policies for archived documents and projects:
 If the original document isn't deleted, you can't delete its archived versions through the retention policy. Archived versions don't expire as long as the original exists.
 When you set up the retention policy, you can specify that you want the policy to delete all archived versions except the most recent. For example, you might have 10 versions and want to keep a copy of the latest.
 Business Central calculates the expiration date for documents based on the date of the most recent archived version.
## Related information
across-how-to-track-document-lines
sales-manage-sales
General Business Functionality<ui-across-business-areas>
Work with Business Central<ui-work-product>
Find free e-learning modules for Business Central here<https://learn.microsoft.com/training/dynamics365/business-central>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/across-how-to-archive-documents, MicrosoftDocs/dynamics365smb-docs at 46907ac (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/across-how-to-archive-documents/
