# Advance payment

In ERPAG, for every sales order or purchase order, you can receive the total amount or the part of the amount in advance for services or goods not yet delivered.

{% hint style="info" %}
An advance payment can be registered only for a document that is not invoiced.
{% endhint %}

To register an advance payment for a document that is not yet invoiced, open that document and click on the 'advance payment' button on the right-hand side of the screen and type in the amount and the description if needed.

![](/files/-LK6wNSJQfTTF8TtXotu)

![](/files/-LK6wfq3zDHc5kdWalmj)

Once you record the payment the status of the document will change to 'advanced payment'.

![](/files/-LK6yMhX4wVV-zHKB7Y4)


---

# 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/advance-payment.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.
