Quote templates
Quote templates can be added or modified from the Business page of the Customization menu. They are Word documents in docx format.
Two sample quote templates are provided: Quote, a simple one-page quote, and Sales proposal, a quote that includes product presentation pages.
Creating a quote template
To create a quote template, you can either start from one of the samples provided or start from a blank document.
Document templates contain merge fields representing the quote information (number, date, amount, etc...). When a quote is generated, the merge fields are replaced with the quote data.
Adding a merge field
To insert a merge field in Word:
- From the Insert toolbar, click Text and then the Field option

- Select MergeField in the Mail Merge category, then enter the field name.

Formatting
The format of a merge field can be changed using switches.
For example, you can capitalize the first letter of the contact's title by adding the \* FirstCap switch:
MERGEFIELD ContactTitle \* FirstCapThe list of switches is available in the Microsoft Office documentation
Conditional merge field (IF)
You can display different text depending on the value of a merge field by using an IF field. For example, this lets you adapt the form of address, display text only if a field is filled in, or handle any other conditional case.
The syntax of an IF field is as follows:
IF MERGEFIELD NomDuChamp = "valeur" "Texte si vrai" "Texte si faux"To insert an IF field in Word:
- Press Ctrl+F9 (or Cmd+F9 on Mac) to insert field braces
{ } - Inside the braces, type the IF condition. To insert the nested merge field, press Ctrl+F9 again at the desired location to create nested braces.
- The result should look like this in Word (when field codes are shown with Alt+F9):
{ IF { MERGEFIELD ContactTitle } = "Monsieur" "Cher" "Chère" }- Press Alt+F9 to hide the field codes and see the result.
Examples
Adapt the greeting to the contact's title:
{ IF { MERGEFIELD ContactTitle } = "Monsieur" "Cher Monsieur" "Chère Madame" }Display a section only if a field is filled in:
{ IF { MERGEFIELD DeliveryTime } <> "" "Délai de livraison : { MERGEFIELD DeliveryTime }" "" }Display text depending on the amount:
{ IF { MERGEFIELD TotalAmount } > "10000" "Livraison offerte" "Frais de livraison en sus" }Image fields
Two template fields insert an image rather than text: SalesPersonPhoto (the salesperson's photo) and SignatureImage (the quote signature).
Their name must be preceded by the Image: prefix, otherwise no image is inserted in the generated quote:
MERGEFIELD Image:SignatureImage \* MERGEFORMATUnless otherwise specified, the signature is inserted in a 200 × 200 point frame, while the salesperson's photo keeps the dimensions of the original image.
To force a size, add the height and then the width after the field name, separated by a vertical bar |:
MERGEFIELD Image:SignatureImage|300|200 \* MERGEFORMATThis field inserts the signature in a frame 300 points high and 200 points wide. The order is always height then width.
TIP
Dimensions are expressed in points: 1 cm is approximately 28.35 points.
| Desired size | Value to enter |
|---|---|
| 2 cm | 57 |
| 3 cm | 85 |
| 5 cm | 142 |
| 7 cm | 200 |
| 10 cm | 283 |
So Image:SignatureImage|85|142 inserts a signature 3 cm high by 5 cm wide.
WARNING
Both dimensions are required: Image:SignatureImage|300 is not enough, and the default size is then applied.
The field name must not contain any spaces around the vertical bars, and the decimal separator is the period, not the comma (|85.5|142).
The image proportions are not preserved: both dimensions are applied as is. To avoid distorting a signature, enter a height and width that respect its original ratio.
List of header and footer fields
The two image fields in the list, Image:SalesPersonPhoto and Image:SignatureImage, are written with the Image: prefix and accept a size: see Image fields.
| Name | Description |
|---|---|
| QuoteNumber | Quote number |
| SalesPersonName | Salesperson's name |
| SalesPersonEmail | Salesperson's email address |
| SalesPersonPhone | Salesperson's phone number |
| Image:SalesPersonPhoto | Salesperson's photo |
| CompanyName | Company name |
| BillingEmail | Company's billing email address |
| AccountReferenceCode | Company reference code |
| RegistrationNumber | Company identification number (SIRET) |
| Address | Company address |
| ContactFirstName | Contact's first name |
| ContactLastName | Contact's last name |
| ContactTitle | Contact's title |
| ContactPhone | Contact's phone number |
| ContactEmail | Contact's email address |
| Date | Quote date |
| DateMonthYear | Month and year of the quote (e.g. August 2026) |
| ExpirationDate | Expiration date |
| Description | Quote subject |
| DeliveryTime | Delivery time |
| DeliveryMethod | Delivery method |
| Comment | Comment |
| TotalFixedAmount | Total fixed amount excl. VAT |
| TotalFixedVat | Fixed VAT amount |
| TotalFixedAmountIncludingTaxes | Total fixed amount incl. VAT |
| TotalRecurringAmount | Total recurring amount excl. VAT |
| TotalRecurringVat | Recurring VAT amount |
| TotalRecurringAmountIncludingTaxes | Total recurring amount incl. VAT |
| TotalAmount | Total amount excl. VAT (fixed + recurring) |
| TotalVat | VAT amount (fixed + recurring) |
| TotalAmountIncludingTaxes | Total amount incl. VAT (fixed + recurring) |
| SignatureIssuer | Name of the person who signed the quote |
| SignatureDate | Quote signature date |
| Image:SignatureImage | Signature |
Quote lines
For quote lines, add the TableStart:Products and TableEnd:Products merge fields to the document template: all the content between these fields will be duplicated for each product of the quote during generation.

You can group quote lines by product line. In this case, use the TableStart:ProductLines and TableEnd:ProductLines merge fields.

List of line fields for products
| Name | Description |
|---|---|
| TableStart:Products | Start of a product line |
| TableEnd:Products | End of a product line |
| Name | Product name |
| ReferenceCode | Product reference code |
| Description | Product description |
| Comment | Comment |
| ProductLineName | Name of the product's product line |
| Quantity | Quantity |
| UnitPrice | Unit price |
| DiscountedUnitPrice | Unit price after discount |
| DiscountAmount | Discount amount |
| DiscountRate | Discount % |
| Amount | Amount excl. VAT |
| VatRate | VAT rate |
List of line fields for product lines
| Name | Description |
|---|---|
| TableStart:ProductLines | Start of a product line row |
| TableEnd:ProductLines | End of a product line row |
| Name | Product line name |
| TotalFixedAmount | Total fixed amount excl. VAT |
| TotalVat | Fixed VAT amount |
| TotalAmountIncludingTaxes | Total fixed amount incl. VAT |
| TotalRecurringAmount | Total recurring amount excl. VAT |
| TotalRecurringVat | Recurring VAT amount |
| TotalRecurringAmountIncludingTaxes | Total recurring amount incl. VAT |
| TotalAmount | Total amount excl. VAT (fixed + recurring) |
| TotalVat | VAT amount (fixed + recurring) |
| TotalAmountIncludingTaxes | Total amount incl. VAT (fixed + recurring) |
Using a quote field inside a line
Inside a TableStart:Products or TableStart:ProductLines region, only the fields of the current line are available: a header field such as DateMonthYear would remain empty there.
To access a quote field anyway, prefix its name with Document.:
MERGEFIELD Document.DateMonthYearThe prefix works everywhere — in a lines region, in a product lines region, in product pages, and inside an IF field:
{ IF { MERGEFIELD ProductLineName } = "NomDeLaFamille" "{ MERGEFIELD Document.DateMonthYear }" "" }The name following the prefix is that of a field in the List of header and footer fields table. An unknown name produces an empty value.
WARNING
The prefix only works for text fields. SalesPersonPhoto and SignatureImage are image fields and cannot be used with Document.: they are written with the Image: prefix, see Image fields.
Cleaning up empty rows and tables
When a template distributes products across several tables using IF fields (for example, one table per product line), each table still receives one row per product of the quote: products that do not match the condition leave an empty row there.
Two special texts let you remove these rows and tables after generation. They are written as normal text in the template; they are not merge fields.
##CELL_TO_DELETE##
After generation, any table row in which all cells are empty or contain this text is deleted.
Place it in the "false" branch of the IF fields in each cell of the row:
{ IF { MERGEFIELD ProductLineName } = "NomDeLaFamille" "{ MERGEFIELD Name }" "##CELL_TO_DELETE##" }This way, for a product that does not belong to the NomDeLaFamille product line, all the cells of the row contain the special text and the row disappears. If even a single cell of the row contains something else, the row is kept.
##DELETE_TABLE_IF_EMPTY##
This text is placed in the first cell of the first row of the table, i.e. in its header. It is processed after ##CELL_TO_DELETE##:
- if only the header row remains, the entire table is removed from the document;
- if at least one data row remains, the special text is simply erased and the table is kept.
This is what makes a product line table disappear completely when the quote contains no product from that product line.
The table can be nested inside another table: only the table carrying the text is affected, never the table that contains it.
WARNING
##DELETE_TABLE_IF_EMPTY## is always removed from the generated document, even when it does not trigger any deletion.
This is not the case for ##CELL_TO_DELETE##: if the row is kept because one of its cells contains something else, the text remains visible in the cells that carry it. You must therefore place it in all the cells of the row, otherwise it will appear as is in the quote.
Product pages
You can also insert product presentation pages in the quote.
To do so, create a presentation document for each product, then add these documents from the product editing window (in the Products page of the Customization menu) 
Then, in the quote template, add a ProductPages merge field.
When the quote is generated, this field is replaced with the content of the documents of each product in the quote.
List of product page fields
| Name | Description |
|---|---|
| Name | Product name |
| Description | Product description |
| Comment | Comment |
| WebLink | Hyperlink |
| ProductLineName | Name of the product's product line |
| Quantity | Quantity |
| UnitPrice | Unit price |
| DiscountAmount | Discount amount |
| DiscountRate | Discount % |
| Amount | Amount excl. VAT |
| VatRate | VAT rate |
