> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/documentation-simax-anglais/functional/purchase/invoice.md).

# Invoice

## Context:&#x20;

After receiving the supplier order, **CartonPACK** and **COTONOUX** delivered the products ordered by **MASOCIETE**.

Following receipt, the corresponding purchase invoices were issued by **CartonPACK** and **COTONOUX to MASOCIETE.**

With regard to **CartonPACK**, a credit note for **€500** was issued due to **500 boxes** found to be defective during the receipt inspection.

## Implementation on SIMAX

### Invoicing a delivery receipt

#### Purchase invoice

To create the purchase invoice, we will select the delivery receipt and **\[\[Purchase Invoice]].**

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

And **\[\[Save]].**

<figure><img src="/files/8MzRUBLcfzd11rsbvSBP" alt=""><figcaption></figcaption></figure>

The invoice is now visible in the list of purchase invoices.

### Credit note

To request a credit note for a $50 invoice, go to **Purchase > Supplier Invoice > Purchase invoice.**

Next, select the purchase invoice and then click on **\[\[Credit Note]].**

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

Let's change the credit note amount and **\[\[Save]].**

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

The credit note is visible in the list.

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


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.simax.fr/documentation-simax-anglais/functional/purchase/invoice.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
