# Write-off

In ERPAG, you can issue a write-off on every invoice.

If you want to reduct the total amount of an invoice or your invoice is partially paid and you do not expect to receive the rest of the payment and you want to write it off, or you just want to write-off the petty cash, go to:

```
Sales > Sales orders
```

Select the wanted invoice from the list and open it. Click on the payment button from teh right-hand side of your screen.

![](/files/-LK6pPlqlm6KmwbqdksD)

Now, select the write-off from the drop-down menu and record the payment.

![](/files/-LK6qhwc4p7hbWgUIPO7)

The status of the invoice will be changed to 'paid'.

![](/files/-LK6rJ8aAVGowxXBPbLS)

In case you receive a write-off from your supplier, you can register it by opening the specific suppliers invoice or the purchase order and going through the same steps as in sales.                                              Click on the payment button, select 'write-off' from the drop-down menu and record the payment.           The status of the document will change to 'paid'.&#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/untitled/write-off.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.
