> For the complete documentation index, see [llms.txt](https://docs.yoplanning.support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yoplanning.support/yoplanning-academie/yoplanning-au-quotidien/manipulation-et-gestion-des-commandes-dans-yoplanning/informations-generales-sur-les-avoirs-et-leur-fonctionnement..md).

# Informations générales sur les avoirs et leur fonctionnement.

### **Qu'est-ce qu'un avoir ?**

Un **avoir** est un document comptable qui sert à annuler ou corriger une facture déjà émise. Il peut être utilisé pour rectifier une erreur (comme une mauvaise quantité ou un prix incorrect) ou pour rembourser un client en cas d'annulation de commande. En France, l'avoir est encadré par des règles comptables strictes et doit mentionner la facture qu'il corrige.

### **Distinction entre un avoir et un crédit client**

Il est essentiel de différencier un **avoir** d'un **crédit client** ou d'un **bon d'achat**. Tant qu'une facture n'est pas validée, toute modification ou annulation concerne un crédit client. Ce crédit peut ensuite être utilisé pour de futures commandes, mais il ne remplace pas une facture légale.

**Avant de générer un avoir**, vérifiez si une facture a été validée. Si c'est le cas et que vous souhaitez la modifier ou l'annuler, il est nécessaire de créer un avoir. Consultez [le guide pour générer un avoir depuis une facture sur Yoplanning](https://docs.yoplanning.support/yoplanning-academie/yoplanning-au-quotidien/les-questions-de-comptabilite/generer-un-avoir-depuis-une-facture-sur-yoplanning.pro.md) pour plus de détails.

**Gestion des commandes sans facture**

Si la prestation liée à la commande n'a pas encore fait l'objet d'une facture, toute modification ou annulation de commande correspond à la création d'un **crédit client**. Ce crédit peut être utilisé ultérieurement pour d'autres prestations. Pour gérer les crédits clients, référez-vous à [ce guide sur la création et l'utilisation d'un crédit client dans Yoplanning](https://docs.yoplanning.support/yoplanning-academie/yoplanning-au-quotidien/manipulation-et-gestion-des-commandes-dans-yoplanning/creer-un-credit-pour-un-client-ou-utiliser-un-credit-existant.md).

***

Utilisez ces distinctions pour assurer une gestion correcte de la comptabilité et des documents dans YoPlanning.


---

# 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://docs.yoplanning.support/yoplanning-academie/yoplanning-au-quotidien/manipulation-et-gestion-des-commandes-dans-yoplanning/informations-generales-sur-les-avoirs-et-leur-fonctionnement..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.
