# Factur-X à Facture d’achat

MASOCIETE a passé une commande auprès de la société Ma Jolie Boutique comprenant : 20 nougats, 15 biscuits et 20 litres d’huile d’olive.

Une fois la commande reçue, MASOCIETE a obtenu la facture X au format PDF, qu’elle importe directement dans son système SIMAX. Celle-ci apparaît alors dans la liste des factures d’achat.

Pour importer la facture X, nous allons dans **Achat > Factures fournisseur > Importer une facture d'achat.**

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

Et **\[\[OK]]**.

La facture est actuellement visible dans les factures d’achat car a été créée automatiquement par Simax selon les informations dans la factur-x du fournisseur.

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

Dont ci-après les détails :

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

Nous pouvons bien voir que la facture importée est bien rattachée à la commande, voir **\[Pièces Liées]** de la facture.

<figure><img src="/files/9vPWIpnl1Rw4mc2VLnEg" alt=""><figcaption></figcaption></figure>


---

# 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/fonctionnelle/divers/facture-et-factur-x/factur-x-a-facture-dachat.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.
