# The Credit notes

## Context:&#x20;

BRED Germany recently ordered 100 office footrests for a total amount of €8,000.

MASOCIETE sent an invoice for €8,000 and BRED Germany made the payment.

After delivery, BRED Germany discovers that 10 footrests are defective, amounting to €800. Informed of the situation, MASOCIETE accepts the return of the 10 footrests and issues a credit note for refund.

## Implementation in Simax&#x20;

First, you need to create the order and the invoice.

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

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

Now you can create a credit note for the invoice by selecting the relevant invoice and clicking on **\[\[Credit note]]**.

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

The credit note line must be modified according to the items being returned. In our case, there will be 10 footrests to return.

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

Finish by clicking **\[\[Save]]**.

Note that we can see the details of the invoice linked to the credit note in **\[Related documents].**

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

The credit note can be viewed in **Sales > Invoicing > Credit Notes.**

<figure><img src="/files/J3Gu7QXqlmQ3PhYsVOgm" 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/documentation-simax-anglais/invoicing/the-credit-notes.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.
