# Expense reports and AI

Automatic import of expense reports using AI, saving time and reducing data entry errors.

With AI, it is possible to read an image file in order to analyze its content.

This feature allows you to automatically import an expense report into Simax.

{% hint style="success" %}
Please note: to use this feature, you must have your OpenAI API key (<https://platform.openai.com/api-keys>), which you can enter in Settings > Plug-ins and options > \[Installation] > OpenAI API key.
{% endhint %}

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

The use of the EDM module is recommended for storing expense reports, but it is not mandatory (**Settings > Plug-ins and options, check | Document management |** then **\[\[ Save ]]**).

To import an expense report, go to **HR > Expense Reports > Import Expense Report.**

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

Select the file to import, the collaborator, and, if necessary, the project, then click **\[\[ OK ]]**.

The AI will analyze the content and automatically determine the allocation, the amount excluding tax, and the VAT.

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

You can then add mileage expenses by clicking on **\[\[ Add KM ]]**, add other expenses via **\[\[ Add expenses to NF ]]**, or finalize directly by clicking on \[**\[ Finish ]].**

Once the operation is complete, an expense report is created and accessible in **HR > Expense reports > Expense reports.**

<figure><img src="/files/1M2yFG36HpXenBtZYCva" alt=""><figcaption></figcaption></figure>

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

For each expense report line, the details include the source file, if the EDM module is activated.

![](/files/DveP21TVfTi9jZTZX34n)<br>


---

# 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://doc.simax.fr/documentation-simax-anglais/human-resources/expense-reports-and-ai.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.
