---
title: "Insert a quote, an order or an invoice into a message"
weight: 87
description: "Put in an email the reference, summary or lines of a Dolibarr document, with its PDF and the online signature link, without retyping anything."
source_hash: "fc92b6b7"
---

# Insert a quote, an order or an invoice into a message

Replying "here is our quote" usually means opening the document in Dolibarr, copying its amounts and finding its PDF. Capmail does it for you, from the document itself: nothing is retyped, so nothing is mistyped.

## Before starting

- You must have the right to send emails from Capmail.
- Only the document types you can view in Dolibarr are offered (quote, order, invoice, project, ticket). If your rights are limited to your own customers, only their documents appear.

## Steps

1. Open the reply form (or **New email**).
2. Above the message, click **Insert a Dolibarr object**.
3. Choose the document type. The list shows the documents of the message's third party: the one of the email you are replying to, or the recipient chosen in a new email. Without a third party, all the documents you can view are offered. The search field filters by reference or label.
4. Click the document (a double-click inserts it directly).
5. Choose the presentation:
   - **Reference**: one line, with the incl. tax amount;
   - **Summary card**: the reference, dates (quote validity, invoice due date), totals and status;
   - **Compact table**: the same information on one line;
   - **Lines table**: each line of the document (quantity, unit price, total) and the totals. Offered for a quote, an order or an invoice.
6. Tick **Attach the PDF** to add the document's PDF to the message attachments.
7. For a quote, tick **Add the online signature link** if you want the customer to sign from the email.
8. Click **Insert**. The block is inserted at the cursor position; you can edit it like the rest of the message.

![Choice of the quote to insert into a reply](screenshots/fonction-inserer-objet.webp)

![Quote inserted: its lines in the message, its PDF as attachment](screenshots/fonction-inserer-objet-resultat.webp)

## Good to know

- **The attached PDF is the last one generated** by Dolibarr for this document. If none exists, a message tells you: generate it from the document card, then try again.
- **The online signature link** is only offered if your administrator has enabled online signing of commercial proposals in Dolibarr.
- The block is formatted for most mail clients: a simple table, without image or style sheet.
- The [quick reply](/capmail/action-repondre-mail) under the message does not have this button: click **Full form**.

## See also

- [What do you want to do?](/capmail/actions)
- [Reply to an email](/capmail/action-repondre-mail)
- [Attach a file to a message](/capmail/action-joindre-fichier)
- [Attach an email to a quote, an order, an invoice or a project](/capmail/action-rattacher-objet)
