> ## Documentation Index
> Fetch the complete documentation index at: https://docs.leadtobill.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF Templates

> Design the layout of your quote and invoice PDFs with letterheads, fonts, styles, and fields, and set the template your documents use

## Overview

[**PDF templates**](https://app.leadtobill.com/settings/pdf-templates) decide how
your quotes and invoices look when they are rendered. Each template is a page
layout with a header, content, and footer that you edit visually: place text,
images, and tables, insert document fields such as the customer's address or the
total, put your letterhead PDF behind it, and use your own fonts. The template
marked **Default** for your workspace language is used for every new document.
Changing a template never alters documents that were already sent.

> [card] [Open PDF templates](https://app.leadtobill.com/settings/pdf-templates)
>
> Go straight to your PDF templates in LeadToBill.

## Before you start

* **Admins only.** Creating, editing, duplicating, and deleting templates and
  setting the default are for workspace admins. Collaborators and Controllers see
  the list. **Not available to
  Timekeepers.** See [Roles](https://docs.leadtobill.com/guides/roles.md).
* **Your letterhead as a PDF**, if you use one — unprotected, with fonts embedded,
  ideally exported as PDF/A. Up to 10 MB.
* **Fonts as .ttf or .otf files** (up to 5 MB each), if you want something other
  than the built-in Inter. Name the files `Family-Regular`, `Family-Bold`,
  `Family-Italic`, and `Family-BoldItalic` so they group into one family.
* **Images as .png or .jpg** (up to 10 MB), such as a logo.

## Steps

**1. Find your templates**

Open **Administration → PDF templates**. The table lists every template with
its **Type**, **Name**, **Language**, **Status**, and **Modified** date. A solid
**Default** badge marks the template documents actually use — the default for
your workspace language. An outlined **Default** is the default for another
language and takes effect only if that becomes the workspace language.
**Filter** narrows the list by **Type** and by **Status** (**Active**,
**Default**, **Not default**).

**Download sample PDF** gives you the saved template rendered with sample data
and a **SAMPLE** watermark. **Admins only.**

**2. Create a template**

**Admins only.** Select **New template**. Give it a **Name**, choose the
**Document type** (**Quote** or **Invoice**) and **Language** (DE, EN, or FR), and
pick what to **Start from**: the **Built-in default layout**, a **Blank
template**, or any existing template — even one of the other document type,
in which case fields that type does not have are removed from the copy. The
template is created straight away and opens in the editor.

**3. Get to know the editor**

The editor fills the page. The canvas in the middle shows the **Header**,
**Content**, and **Footer** zones with sample values; switch on **Show
placeholders** to see the raw field names instead. The inspector on the right
has four tabs: **Element**, **Styles**, **Page**, and **Files**. A breadcrumb
above the canvas shows where the selected element sits, and the structure tree
on the left (**Toggle structure tree**) lists everything on the page.

Click an element to select it; a **+** on its edges adds a neighbour, and drag
and drop moves it. **Delete** or **Backspace** removes the selection, **Escape**
climbs to the parent, and **⌘/Ctrl+Z** undoes. Elements you can add are
**Text**, **Rich text**, **Row**, **Column**, **Image**, **Table**, and **Item
table** — rows and columns are the containers you arrange everything else in.

**4. Insert document fields**

Fields are written as placeholders in curly braces, for example
`{Customer.DisplayName}` or `{Total:C}`. Double-click a **Text** element to edit
it, or use the **Element** tab: the **Field** button opens a searchable list of
everything the document knows — the document itself (title, number, dates,
totals, notes, payment terms), the **Customer** and **Contact** (name, address,
VAT number, email…), and the **Project**. Page numbers (`{pageNumber}`,
`{totalPages}`) are offered for plain text in the header and footer.

Select **Format** next to a placeholder to pick how it is shown — **Currency**,
**Percent**, **Date, long**, and so on. **Rich text** elements offer bold,
italic, underline, a heading, and lists.

A **Condition** on any element renders it only when a field has a value —
`Project`, or `!DueDate` to show it when the field is empty.

**5. Lay out the item table**

The **Item table** lists the document's items. Its **Columns** each bind a
**Header** to a **Field** — description, quantity, unit price, VAT percentage,
line total — with a **Format**, a relative **Width**, and an alignment. Add a
column with the **+** beside a selected column header.

**Rows** are the summary lines under the table, such as `Subtotal {Subtotal:C}`
and `Total {Total:C}`; each cell can span several columns. The formatting slots
**Table header**, **Cells**, **Zebra rows**, **Subtotal**, **Heading**, and
**Sub-item** give each kind of row its own style, background, border, and
spacing, and **Indent** sets how far sub-items are indented. The canvas shows a
realistic sample with a heading, a group with sub-items, and a subtotal.

**6. Define styles**

The **Styles** tab holds the typography: **Font**, **Bold**, **Italic**,
**Underline**, **Size (pt)**, **Line height**, and **Text color**. **Default** is
what every element inherits unless it has its own style, and **Heading 2** is
used for headings inside rich text; both are always present. Add your own with
**+** and assign them in an element's **Style** field. Background colours,
margins, padding, and borders belong to the element, not the style.

**7. Add your letterhead, fonts, and images**

In the **Files** tab, **Upload files** or drop them onto the button. Files go
into one pool shared by all templates. After uploading a letterhead PDF you are
asked **Use as letterhead?** — choose **This template only**, **All
templates**, or **Just upload**. A new font family gets the same offer as the
**Default** style's font.

On the **Page** tab, choose the **Letterhead** for this template, the **Page
size**, **Orientation**, **Unit**, **Page margins**, and **Page background
color**. The letterhead is not drawn on the canvas — check **Preview**.

A letterhead is checked when you upload it: password-protected PDFs and PDFs
with fonts that are not embedded are refused, with instructions on how to
export a usable copy.

**8. Preview, save, and set the default**

Switch to **Preview** for the actual PDF output, unsaved changes included, with
a **PREVIEW** watermark; select **Refresh** after further edits. **Save** stores
the template — the validation counter shows any **errors** or **notes**, such as
a field name that is not known, but saving is never blocked.

Back in the list, open a template's menu and choose **Set as default**. From
then on new quotes or invoices of that type render with it.

## Good to know

**Documents use the default for the workspace language.** The language of the
customer or document plays no part. A default template in another language shows
an outlined **Default** badge and waits until that language becomes the workspace
language under [Workspace profile](https://docs.leadtobill.com/settings/workspace-profile.md).

**Sent documents never change.** A quote or invoice that has been sent keeps the
PDF stored at the time. Templates affect drafts and future documents only.

**Files are shared, deletions are explained.** Deleting a file another template
still uses opens **"… is still in use"** listing those templates and what
happens — a letterhead is removed from them, a font falls back to Inter, an image
element becomes an empty placeholder — before you choose **Delete anyway**. Deleting
a template never deletes files.

**Duplicating is the safe way to experiment.** **Duplicate** creates **Copy of …**
that is not a default; edit it freely and **Set as default** when you are happy.

**Name, description, and language can change later.** **Rename / details** in a
template's menu opens **Template details**.

**German, English, and French are built in.** Each of the three languages has a
built-in default layout to start from, and each can be the workspace language.

**Leaving the editor asks first.** With unsaved changes, any link out of the
editor opens **Discard changes** with **Keep editing** and **Discard**.

**Number and date formats follow the template language.** A German template
prints `1.234,56 €` and `24.09.2026`; an English one uses English number and date formats.

## FAQ

**Why can I see templates but not edit them?**
Only admins can edit PDF templates and download their sample PDFs.

**Which template will my next invoice use?**
The one with the solid **Default** badge for the **Invoice** type — the default in
your workspace language.

**Can I choose a different template for one particular quote?**
No. Documents always use the default template for their type. Set another
template as default before creating the document if you need a different layout.

**Why is my letterhead upload refused?**
The PDF is either password-protected or uses fonts that are not embedded. Export
it again — in Word via **File → Export → Create PDF/XPS → Options → ISO
19005-compliant (PDF/A)**, in Illustrator or InDesign with a PDF/A preset — and
upload that copy.

**I deleted the default template. What happens now?**
Documents fall back to the built-in layout, and LeadToBill creates a fresh default
template from it the next time a document is rendered.

**Why does a field print nothing?**
Its name is not one the document knows; the validation counter lists it as a note.
Use the **Field** button to insert fields instead of typing their names.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.