# Editing an invoice

To open an invoice for editing, you need to click on the "Edit" button next to the invoice on the client's page or on the invoice list page.

Before the editing page opens, a warning will appear: "If prices for services have changed since the last invoice modification, the invoice will be recalculated based on the new prices (after saving). Are you sure you want to make changes to the invoice?"

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

Only after confirmation, the invoice editing page will open.

The invoice editing page is similar to the invoice creation page with some exceptions:

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

1 — Warning about possible price changes.&#x20;

2 — Invoice status.&#x20;

3 — Old invoice price without discounts.&#x20;

4 — Old invoice price with discounts.&#x20;

5 — "Save Changes" button.&#x20;

6 — "Open Invoice in a New Window" button.

In the image, you can see that the "Create Invoice" button remains available, so if needed, the invoice can be duplicated with minor modifications.


---

# 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/edit-invoice.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.
