> For the complete documentation index, see [llms.txt](https://help.ingeneo.septeo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ingeneo.septeo.com/ingeneo-entreprise/module-gestion-des-achats/lettrage-et-lettrage-partiel/lautomatisation-de-la-categorisation-au-moment-du-lettrage.md).

# L'automatisation de la catégorisation au moment du lettrage

## Lettrer une facture catégorisée avec une transaction à catégoriser

La catégorisation automatique des transactions ou des factures au moment du lettrage permet de gagner du temps et en efficacité. Cela permet d'avoir également plus de précision dans vos différentes vues en lien avec vos catégories de trésorerie.

Les règles sont simples :

* Si vous lettrez **une facture "catégorisée"** avec **une transaction "à catégoriser"**, alors la transaction prendra la catégorie de la facture.
* Si vous lettrez **une facture "à catégoriser"** avec **une transaction "catégorisée"**, alors la facture prendra la catégorie de la transaction.
* Si la facture et la transaction sont toutes les deux catégorisées ou toutes les deux à catégoriser, il ne se passera rien.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.ingeneo.septeo.com/ingeneo-entreprise/module-gestion-des-achats/lettrage-et-lettrage-partiel/lautomatisation-de-la-categorisation-au-moment-du-lettrage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
