# Filtering

At Hostware, starting from v1.1.6, we have improved filtering. You can check at the invoices index page at *Accounting > Invoices.*&#x20;

<figure><img src="/files/gtRwiC7rqyq5V0ikppBa" alt=""><figcaption></figcaption></figure>

At first the filters are not shown, you have to click the button to open them, as you can see below:

<figure><img src="/files/EWyaXKaYjTHyEQmx8XHx" alt=""><figcaption></figcaption></figure>

There you can see the filters for Invoices. As you can see you can filterby status, payment period etc.\
The invoices which are then shown must fulfill ALL condiotions set in filters.\
You can see the reset button which just resets the filters.\
\
After you select the filters, you can apply them, save those filters in a template or export the current filtered data(in this case Invoices):<br>

<figure><img src="/files/Y8R6qZPH5P0QJD0XmOhR" alt=""><figcaption></figcaption></figure>

### Filter templates

If there is a certain combination of filters that you use more often, you don\`t have to manually set those filters everytime you go to e.g. invoices page. You can save the current set filters in a template, by clicking the *Save Filters* button shown above, which opens a modal as you can see below:<br>

<figure><img src="/files/ZElu1xrgZce4wpm1yCcZ" alt=""><figcaption></figcaption></figure>

If you select a template in the dropdown, than it will update that template, if not, than it will create a new template.\
Now when we go to the invoices page, you can see that we can select our filter template, which will be applied when clicked:

<figure><img src="/files/eSoAaqjiKuFwguu4kdE0" alt=""><figcaption></figcaption></figure>

You can also delete the selected filter template, by clicking the delete icon on the right which opens a confirm modal:<br>

<figure><img src="/files/mikKQqWweMhmsl8k5iv2" alt=""><figcaption></figcaption></figure>

### Export data

You can export the currently filtered data by clicking the *Export data* button, which will open a modal:

<figure><img src="/files/2v5igMSVMO1Yfbzfw9Zf" alt=""><figcaption></figcaption></figure>

Here you can select the type in which you want to export to, and which fields you want to include in the export. In the case of CSV format, you can also choose if you want to include the header in the export, which is basically the first line with the name fields


---

# 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://docs.hostware.io/system-and-configuration/filtering.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.
