---
title: Templates
project: OpenTemplates
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/opentemplates/1-0/guides/templates/
updated: 2026-11-19T07:56:21.394Z
---

# Templates

> Create, group, clone and remove the templates of a profile.

A template is the HTML of one kind of document, for example an invoice. It lives in a profile, and your apps call it by its ID: the profile identifier and the template identifier joined with a slash, for example `demo/invoice`.

Open **Profiles** and click a profile card to see its templates.

![The templates of the Demo project profile, grouped under Billing](/files/JapW2k5CY61f.webp)

Each card shows the name, the template ID and how many times the template has been rendered. Templates without a group come first; the others are listed under their group name. Click the template ID on a card to copy it.

## Create a template

**1.** Click **Create**.

**2.** Fill in the form:

![The Create template form](/files/JapW2m5DY60f.webp)

| Field | What it does |
|---|---|
| **Identifier** | Required. The second part of the template ID, for example `receipt` in `demo/receipt`. |
| **Name** | Required. The name you see in the interface. |
| **Group** | Optional. Choose an existing group or type a new one. Choose **Without group** for none. |

**3.** Click **SUBMIT**.

The new template starts with a short example. Click its card to [edit it](../template-editor/).

## The template menu

Click the gear on the right of a card.

![The menu of a template](/files/JapW2n5EY61f.webp)

- **Copy identifier**: copy the template ID, for example `demo/invoice`.
- **Edit**: change the identifier, name or group.
- **Update template**: open the [template editor](../template-editor/). Clicking the card does the same.
- **Clone**: create a copy named `... (CLONED)` with an identifier that ends in `_cloned`. Its form opens so you can rename it.
- **Export**: download the template as a JSON file. See [Export and import](../export-import/).
- **Remove**: remove the template, after you confirm.
