# Add Invoice Payment

Add Invoice Payment is available when viewing recent invoices from the main menu section and when viewing invoices in the patient record.&#x20;

To make a payment, you need to open the required invoice and click on the "Add Payment" button in the upper left corner as shown in the image:

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

After clicking on the button, a pop-up window will appear:&#x20;

* At the top is a summary of the invoice details;&#x20;
* Below is the invoice payment history;&#x20;
* Next is a form to add a new payment.

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

In the history, you can cancel any of the operations, but once canceled, it cannot be restored.

To add a new payment, you need to specify the date of payment (by default, the current date is set), select the payment method from the list, and specify the amount.&#x20;

When full payment is reached, the status of the invoice will automatically change to "Paid in full".


---

# 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://maxbasev.gitbook.io/santa-maria-dashboard/en/menu/invoices-section/add-invoice-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.
