rustedf.cloud
Menu

Free quote template: a proposal in HTML and PDF

Published 2 min read

Free quote template as a PDF: prepared-for block, scope of work, price table, terms and signature lines

Free template

Use this template for free

Create a free account, click New template in the portal and pick it from the gallery. Then send your own data from the API.

Download the HTMLDownload the sample data

A quote, or a proposal, is the document that decides whether a job starts. This one is a clean layout in HTML and CSS: it states what is included, what it costs, how long the offer lasts and what the terms are, and it ends with space for both sides to sign. You can use it as it is or change it. Below you can download the sample PDF and copy the code.

What is in the template

  • A colored band and the company name at the top.
  • The title and the quote number.
  • A prepared-for block with the customer, the date of the quote and the date until which it is valid, both written in the long form of the reader’s language.
  • A short introduction in your own words.
  • A scope of work list, one line per deliverable.
  • An investment table with a price per item and a total, formatted in the right currency.
  • A terms paragraph, for payment and start dates.
  • Two signature lines, one for your company and one for the customer.

How to use it

In the portal. Create a free account, click New template and pick the quote from the gallery. You get a live preview and can edit it with blocks or as code.

From the API. Download the HTML and the sample data and send both in one request. This example uses jq to put the files in the body:

Terminal window
curl -X POST https://api.rustedf.com/v1/render \
-H "Authorization: Bearer $RUSTEDF_KEY" \
-H "Content-Type: application/json" \
-d "$(jq -n --rawfile html quote.html --slurpfile data quote-data-en.json \
'{html: $html, data: $data[0], locale: $data[0].locale}')" \
-o quote.pdf

When you like it, save the HTML as a template and call it by its id, so a proposal can be produced the moment a request comes in.

Make it yours

  • Scope and lines. Both are lists in the data. Add or remove entries and the document follows: the loops draw one bullet or one row for each.
  • Validity. The valid_until date makes the offer expire on a day you choose.
  • Terms. Write them in the terms field, for example the share paid on approval, the share paid on delivery and the start date.
  • Colors and fonts. The blue band is a hex color in the CSS. The template names Lato and Poppins, and any Google Fonts family works by name.
  • Language. Labels come from the t object, so a Portuguese or Spanish proposal is the same template with another t and another locale.

A note on keeping the signatures together

A quote ends with two signature lines. If your scope grows and the document runs to a second page, add break-inside: avoid to the signature block, so the two lines are never split away from the terms. See the guide on page breaks for how.

See Templates and Supported HTML and CSS.

The template code

<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <style>
      @page { size: A4; margin: 16mm; }
      body { font-family: Lato, sans-serif; font-size: 9.5pt; color: #1b1b1b; line-height: 1.5; }
      h1, .brand, .big, .label { font-family: Poppins, Lato, sans-serif; }
      table { width: 100%; border-collapse: collapse; }
      td, th { vertical-align: top; }
      .muted { color: #666666; }

      .band { height: 14mm; background: #1d3fa6; margin: 0 0 8mm 0; }
      .brand { font-size: 12pt; font-weight: bold; margin: 0; }
      h1 { font-size: 24pt; font-weight: bold; margin: 6mm 0 1mm 0; line-height: 1.05; }
      .label { font-size: 7pt; font-weight: bold; letter-spacing: 1.2pt; text-transform: uppercase; color: #666666; margin: 0 0 1.2mm 0; }
      .value { margin: 0; font-size: 10pt; }

      .meta td { padding: 0 6mm 0 0; width: 33%; }
      h2 { font-family: Poppins, Lato, sans-serif; font-size: 11pt; font-weight: bold; margin: 9mm 0 2.5mm 0; padding-bottom: 1.5mm; border-bottom: 2px solid #1b1b1b; }
      ul { margin: 0; padding-left: 5mm; }
      li { margin: 0 0 1.6mm 0; }

      .price td { padding: 2.6mm 2mm; border-bottom: 1px solid #d9d9d9; }
      .price .total td { border-bottom: 0; border-top: 2px solid #1b1b1b; padding-top: 3.2mm; }
      .right { text-align: right; }
      .big { font-size: 14pt; font-weight: bold; }

      .sign { margin-top: 10mm; }
      .sign td { width: 45%; padding-top: 2mm; border-top: 1px solid #1b1b1b; }
      .sign .gap { width: 10%; border-top: 0; }
    </style>
  </head>
  <body>
    <div class="band"></div>
    <p class="brand">{{ company.name }}</p>
    <p class="muted">{{ company.line1 }}</p>

    <h1>{{ t.title }}</h1>
    <p class="muted">{{ t.number }} {{ number }}</p>

    <table class="meta" style="margin-top: 6mm">
      <tr>
        <td>
          <p class="label">{{ t.prepared_for }}</p>
          <p class="value"><strong>{{ customer.name }}</strong><br />{{ customer.line1 }}</p>
        </td>
        <td>
          <p class="label">{{ t.date }}</p>
          <p class="value">{{ issued | date(style="long") }}</p>
        </td>
        <td>
          <p class="label">{{ t.valid_until }}</p>
          <p class="value">{{ valid_until | date(style="long") }}</p>
        </td>
      </tr>
    </table>

    <p style="margin-top: 7mm">{{ intro }}</p>

    <h2>{{ t.scope }}</h2>
    <ul>
      {% for item in scope %}
      <li>{{ item }}</li>
      {% endfor %}
    </ul>

    <h2>{{ t.investment }}</h2>
    <table class="price">
      {% for line in lines %}
      <tr>
        <td>{{ line.name }}</td>
        <td class="right">{{ line.amount | currency(code=currency) }}</td>
      </tr>
      {% endfor %}
      <tr class="total">
        <td class="big">{{ t.total }}</td>
        <td class="right big">{{ total | currency(code=currency) }}</td>
      </tr>
    </table>

    <h2>{{ t.terms }}</h2>
    <p class="muted">{{ terms }}</p>

    <table class="sign">
      <tr>
        <td>{{ t.sign_company }}</td>
        <td class="gap"></td>
        <td>{{ t.sign_customer }}</td>
      </tr>
    </table>
  </body>
</html>

The sample data

{
  "locale": "en-US",
  "currency": "USD",
  "number": "Q-2025-031",
  "issued": "2025-03-14",
  "valid_until": "2025-04-14",
  "company": {
    "name": "Aurora Studio",
    "line1": "482 Acacia Street · Austin, TX"
  },
  "customer": {
    "name": "Northwind Traders Inc.",
    "line1": "1500 Congress Avenue, Austin, TX"
  },
  "intro": "Thank you for the opportunity. This proposal covers the redesign of your brand and the launch of your new online store.",
  "scope": [
    "Brand identity: logo, palette and usage guide",
    "Packaging design for six products",
    "Online store design and build",
    "Two rounds of revisions on every deliverable"
  ],
  "lines": [
    {
      "name": "Brand identity",
      "amount": "2400.00"
    },
    {
      "name": "Packaging design",
      "amount": "1920.00"
    },
    {
      "name": "Online store",
      "amount": "3200.00"
    }
  ],
  "total": "7520.00",
  "terms": "50% on approval and 50% on delivery. Work starts within five business days of approval. Prices exclude sales tax.",
  "t": {
    "title": "Quote",
    "number": "No.",
    "prepared_for": "Prepared for",
    "date": "Date",
    "valid_until": "Valid until",
    "scope": "Scope of work",
    "investment": "Investment",
    "total": "Total",
    "terms": "Terms",
    "sign_company": "Aurora Studio",
    "sign_customer": "Northwind Traders Inc."
  }
}

← All posts