Automation of Quotes

Generate PDF Quotations including datasheet with Carbone

Download Template

Download data sample

  • Template type document docx simple
  • Carbone min. v5.0.0+
  • Features table loop attached files
  • Target quote contract custom

Overview

Learn how to generate professional quotes with these key features:

  • Perform automatic price calculations
  • Automatically attach supporting documents (like datasheets) to your quotes
  • Create clean, professional-looking documents

Step-by-Step Guide

Follow these steps to create automated quotes with file attachments using Carbone:

1. Create the Layout Structure

You can start by inserting a main table in your document. This table will serve as the layout framework, allowing you to organize and control the positioning of elements

2. Implement Automatic Calculations

Add these calculations to automate pricing:

  • Calculate subtotals (quantity × unit price):

    {d.products[i].quantity:mul(.price)}
  • Calculate the total sum of all items:

    {d.products[].quantity:mul(.price):aggSum}
  • Format currency values properly:

    {d.products[i].quantity:mul(.price):formatC}
  • Store calculations for later use:

    {d.products[].quantity:mul(.price):aggSum:set(c.subtotal)}
    {d.products[].quantity:mul(.price):aggSum:mul(0.2):set(c.taxes)}

You can then reference stored values in other calculations:

{c.taxes:add(.subtotal):formatC}

3. Attach Files to Your Document

Use the :appendFile formatter to automatically attach files to your generated document. Simply reference the file's URL in your template:

{d.products[i].datasheet:appendFile}

Check out these similar templates to learn more:

Trusted by 600+ paid customers in 40+ countries

Finance
Healthcare
Public
Retail
Industries
Energy
Software
Telecom
1dior.png
22thales.png
23younited.png
2danfoss.png
3cma-cgm.png
3illumina.svg
4KparK.png
6scalingo.png
7defense.png
8bmw.png
8telus.png
bestseller.png
flagship_bioscience.png
insly.png
ninox.png
sodexo.png