# Archive documents

Every documents’ list contains each document that has ever been entered. We have left them for reporting purposes (e.g. we need information about gross sales of shipped sales orders). But if you have more than one year in the system, it is hard to find data that you need (e.g. we want to filter packed sales orders or we need to see only not completed documents in the list).

The solution is an **archive document** option.

When a document has the status “Completed” or “Voided”, button “Archive document” will be shown.

![](/files/-LUjzsXmieNjTturjCNv)

&#x20;The result will be a new status - “archived” and the document will be removed from the list.

![](/files/-LUjzwdenEE8LNmx2B_k)

If you want to undo, you can use the option “unarchive document”.

Also, if you need to see archived documents on the list, you have the option “Show – Archived”.

![](/files/-LUk--fDhKZjJ8xl1LGF)

This option has three cases.&#x20;

1. &#x20;     .   Archived documents are hidden;
2. &#x20;         Archived documents are showed with regular documents;
3. &#x20;         Only archived documents are shown.

Note: Color of archived documents is gray in the list.

You can use “bulk action” to archive/unarchive multiple documents. Also, you can use the same option to archive documents that don’t have status “completed”.

![](/files/-LUk-5Bhj45hbDVSXTnu)

&#x20;For now, archiving documents can be done manually. It’s in our plan to make archiving an automatic process for documents that have been completed a year ago.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.erpag.com/project/products-and-services/archive-documents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
