> For the complete documentation index, see [llms.txt](https://learn.withessential.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.withessential.com/administration/using-the-essential-assistant/editing-a-quote-or-invoice-through-the-assistant.md).

# Editing a quote or invoice through the Assistant

You can ask the Essential Assistant to change a quote or invoice while you're viewing it. Open a draft, open the assistant, and describe the change in plain language, for example adding a line item, updating a quantity or price, applying a discount, or editing the description.

When the assistant has a change ready, it shows a proposal card in the chat. The card has a one-line summary at the top and lists each individual change underneath, such as the lines or discounts being added or updated, so you can review exactly what it intends to do before anything happens.

This proposal flow also applies while the draft's editor is open. When you approve, Essential saves any unsaved edits before applying the proposal. If those edits cannot be saved, correct them first and confirm again. If a saved change affects what the proposal would edit, Essential keeps your saved work and asks you to request a fresh proposal.

Nothing on your quote or invoice changes until you act on the card. Click Confirm to apply the changes to the draft, or Reject to discard them. Either way, the card updates to show the outcome: Applied, Discarded, or, if something went wrong, Couldn't apply. After confirmation, the page refreshes to reflect the new lines, discounts, or description.

Changes run after confirmation even if you close the chat. The open document refreshes when they finish, and changed lines and discounts are highlighted. Older proposals may still show **Approve**.

The Assistant can only edit a quote or invoice while it's a draft. Once it's finalized, signed, sent, or otherwise out of draft, the Assistant won't propose changes to it - get it back to a draft first if you need to make further edits. If you ever want to undo an applied change, you can ask the assistant for a follow-up edit and approve that proposal too.

> **Where to find it:** Open the Essential Assistant from any quote or invoice draft. Ask it to change the draft, then use the Confirm or Reject buttons on the proposal card that appears in the chat.

## Related guides

* [Using the Essential Assistant](/administration/using-the-essential-assistant.md)
* [What your customers see in the Customer Portal](/administration/what-your-customers-see-in-the-customer-portal.md)
* [The property-access form your customers fill out to approve, deny, or redirect upcoming work](/administration/what-your-customers-see-in-the-customer-portal/the-property-access-form-your-customers-fill-out-to-approve-deny-or-redirect-upcoming-work.md)
* [What the Essential Assistant can and can't do](/administration/using-the-essential-assistant/what-the-essential-assistant-can-and-cant-do.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://learn.withessential.com/administration/using-the-essential-assistant/editing-a-quote-or-invoice-through-the-assistant.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
