# Return to supplier

In order for a return to be possible, the status of the purchase order must be completed. If the status of the purchase order is 'received', there won't be a return to supplier button.&#x20;

![](/files/-LJP1FtVw_YamYnO5qLi)

Once you generate a supplier invoice, the button will appear.&#x20;

![](/files/-LJP2Rt0LQfq8f55iQXN)

Once you click on it and confirm, a window will appear where you can change the quantity of products you are returning. You can return the whole or partial quantity and if you are not returning some products that are on the list, just change the quantity to zero.

![](/files/-LJP3CbvyvCceFPjM5G5)

When you post the document, a new document will appear', and it will keep the same number as the purchase order, but it will have 'returned' as a status.

![](/files/-LJP4IsLN06L4l7HNGUH)

Now, when you open the stock card for this product, you will be able to see that the returned quantity has been deducted from your stock.

![](/files/-LJP5d-OtduApz95id2W)

&#x20;


---

# 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://learn.erpag.com/project/purchasing/return-to-supplier.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.
