A document for the return of goods from the customer is created when the customer rejects the goods and returns them for any reason based on the sales document to the supplier.
As a result of saving the documents of goods return from the customer, the internal department of the enterprise, from which the goods were sold, receives the goods specified in the return document on the Goods tab. The supplier specifies the customer: a legal entity or an individual.
In fact, the goods are received at self-cost, which is calculated for the linked delivery note.
Since this relation is stored in the return document, if for some reason the self-cost of the expenditure changes (for example, the document is created retroactively), then the return amount will be automatically changed.
Return from the customer does not change the order of write-off of goods.

Let us consider an example.

The customer returns 1 bottle of wine. Open the delivery note according to which the goods were sold. In this document, the self-cost of goods is 231 rubles.

Create a return from customer document and link it to the delivery note. Save the return from customer document.

In the Price field of the Self-cost section, the price of 231 rubles is displayed. Thus, in fact, the goods are returned at their self-cost.
The write-off self-cost is calculated according to FIFO: in our case, it is taken from the receipt note.

If you change the price in the receipt note, the return amount will automatically change, but the self-cost will remain the same.