Requiply
Export templates

Add or edit export template

Build a printable rental document: give it a name, lay out the body, and insert booking, customer, item table, and organization variables.

This page is where you build a printable booking or task document: the name it appears under and the HTML body Requiply fills with booking or task data when the document is generated.

You reach it from Settings → Bookings → Export templates by clicking Create template, the empty-state button, or the edit pencil icon on a template card.

Booking settings needed. Adding, editing, or deleting export templates needs Booking settings in the member's permission group, which the Administrators group always has. Other members are redirected to the access-denied screen.

The screen is split in two: the editable fields on the left, and a sticky Live preview on the right that renders the document as a printed page with sample booking data substituted in.

Template details on the left, live preview on the right. The preview renders the document as a printed page with sample booking data.

Add vs. edit

ModeWhat happens
AddCreates a new template. The body editor starts in HTML mode.
EditLoads the saved name and body, picks the editor mode that matches the stored body, and shows the Delete action.

While the page is saving, a full-screen overlay blocks the form so the template cannot be submitted twice. On the edit page the form appears only after the template has loaded; if it cannot be loaded, Requiply shows an error toast and returns you to Export templates.

Template details

A helper note above the fields reads: "Click a variable to add it to the field you are editing."

Template name

The display name for the document.

  • Required
  • 1 to 50 characters
  • Used as the card title on the list page, as the label in the booking Export dialog, and as the downloaded file name
  • Shows Name is required when missing and Name is too long when over the limit

Because staff pick this name from the Export dialog, use something they will recognize under pressure: Rental agreement, Handover act, Packing list.

Template for

Template for, under the name, decides what the document is printed from: Bookings or Tasks. The hint reads Uses booking or sale data. or Uses task data: units, services, status and dates. A new template starts on Bookings, or on Tasks when you click Create template on the list's Tasks tab or in a task's Task document dialog.

A task document: 1 Template for set to Tasks, 2 the body with task macros, 3 the preview printed for a sample task.

On a task document, Insert variable lists the task variables, the preview prints a sample task, and the AI buttons draft with the task variables. A document that email or message templates already attach keeps its kind: saving a new Template for fails with The type was not changed: automations or other templates already use this template. Remove it from them first.

Template language

Template language sits under Template for. Leave it on Organization language (English) to follow your organization language, or pick a language for this template only, for example an English rental agreement in a Polish organization. Table headers, rate names, dates and amounts follow this language. The live preview and the AI assistant use it too.

1 One template can be in another language than the rest of the organization.

Document body

The HTML body of the document.

  • No length validation
  • Dual-mode editor controlled by a Rich text / HTML toggle
  • Rich text mode is a Quill editor with bold, italic, underline, ordered list, bullet list, link, and code-block formatting
  • HTML mode is a monospaced auto-resizing textarea for full documents and pasted markup

A helper note reads: "HTML mode is best for full documents like contracts. Rich text works for simple pages."

Tip: Contracts and acts belong in HTML mode. The rich-text editor normalizes markup it doesn't recognize, which will flatten a carefully built table or signature block.

Inserting variables

The Insert variable dropdown sits next to the body label. It is searchable (type part of a label, token, or key to filter), and each option shows the friendly label above the raw token.

The list contains every built-in booking, client, and organization variable plus one entry per custom field configured on the Client, Booking, or Organization level, labelled with its level (for example Passport number (Client)). It includes the rental days, item totals, sold goods totals, logo, and QR code variables: {{bookingDays}}, {{bookingItemsQuantity}}, {{bookingItemsTotal}}, {{bookingItemsFullPriceTotal}}, Total of sold items {{bookingSaleTotal}}, Booking total without sold items {{bookingRentTotal}}, {{organizationLogoUrl}}, and Booking QR code {{bookingQr}}. The complete list is documented on the Export templates page.

On a task document the dropdown lists the task variables instead, with {{taskItems}} and {{taskServices}} marked (table), plus task and organization custom fields, and client custom fields with Maintenance for clients on. Column lists for task tables are described under Task tables.

Totals of a numeric product or unit field, such as {{groupFieldTotal_weight_kg}} for the total weight, are not in the dropdown. Type them by hand, see Product and unit field totals.

How a token is inserted depends on the editor mode:

  • In HTML mode, the token is appended on a new line.
  • In Rich text mode, a simple token is appended as its own paragraph; the table variables {{bookingItems}} and {{bookingServices}} are appended after a blank paragraph so the table sits on its own line.

Tokens are appended at the end of the body. Reposition them by editing the body directly.

Table variables take a column list

{{bookingItems}}, {{bookingServices}}, and {{bookingSaleItems}} accept an optional list of columns in square brackets, so one template can print a short client-facing summary and another a full handover act:

{{bookingItems[index, name, serial, qty, price, total]}}
{{bookingItems[index, sku, name, qty, blank:Condition, blank:Signature]}}
{{bookingItems[index, image:Photo, name:Equipment, qty, full_price_total, total, totals]}}

The dropdown inserts the plain token; type the bracket list yourself. Every available column, including the product image, full_price_total, custom unit and product fields, and the blank:Label hand-filled column, is listed under Choosing the table columns. Three more things the list can do:

  • Your own header. Write it after the column name with a colon, such as name:Equipment or qty:Units. A header cannot contain a comma or ]. See Your own column headers.
  • A totals row. Add totals and the table ends with a Total: row that adds up the quantity, deposits, full price totals, line totals, and numeric custom field columns. See Totals row.
  • Photos. image prints each product's default photo as a thumbnail, and is left out when no product on the booking has a photo.

The live preview renders the columns, headers, and totals row you picked with sample data, so you can see the shape of the table before saving.

Sold items

With Sales on, {{bookingSaleItems}} prints the goods sold on the booking, such as memory cards or batteries, net of returns, and {{bookingSaleTotal}} prints their total, which is already part of {{bookingTotal}}. Both print nothing on a booking without sold goods, so one template works for every booking. {{bookingRentTotal}} prints the booking total without the sold goods (rent, services, discounts, and adjustments), so a summary can show the rent, the goods, and the amount to pay on separate lines. In the live preview they show sample amounts of 525 and 250 in your currency. The columns are listed under Sold items table columns.

Search the Insert variable dropdown for sold: 1 the total of the goods sold, 2 the booking total without them.

AI assistance

Four buttons sit under the body label:

ButtonWhat it does
Create with Requiply AssistantOpens the built-in Requiply Assistant in document-designer mode, already aware of this page's variables and your current draft. Its generated documents can be applied straight into the editor.
Open prompt in ChatGPTOpens ChatGPT in a new tab with a prompt that explains every available variable.
Open prompt in ClaudeOpens Claude in a new tab with the same prompt.
Copy AI promptCopies that prompt to the clipboard for any other tool.

Only the first one writes back to the form. When the assistant produces a document, its preview card carries an Apply to editor button that replaces the template name and body and switches the editor to HTML mode. The external options are copy-and-paste round trips.

The four AI buttons, left to right: Requiply Assistant, ChatGPT, Claude, and copy prompt.

Live preview

The preview card on the right is sticky on wide screens and renders the body on a white, page-shaped sheet so you can judge the printed result.

Sample values are built from:

  • The active interface language
  • The organization's currency, name, email, and phone
  • A built-in fixed set of sample booking data: client, dates, totals, items, and services. The sample booking runs 3 days with 3 units, and each sample product shows a grey placeholder picture in the image column
  • A type-appropriate sample for each custom field (for example 123 for a number field, Yes for a checkbox)
  • For {{groupFieldTotal_…}} and {{itemFieldTotal_…}}, the field's sample value times the 3 sample units

A task document is previewed with a sample task instead: task #128 Lens cleaning and calibration, a camera with a serial number and a client's lens, two services, a 10% client discount, parts and materials, and a partial payment. The hint above the preview then reads Preview uses sample task data.

{{organizationLogoUrl}} is empty in the preview, so a logo wrapped in {{#if organizationLogoUrl}} does not show there. Export a real booking to check the logo.

{{bookingQr}} shows a sample QR code at the size you set with size=, so you can check where it sits. The sample opens no booking; the exported document carries the booking's own code. See Printing the booking QR code.

A hint above the preview notes that it uses sample booking data.

Conditional {{#if …}} blocks are resolved in the preview too, so a block whose variable has no sample value disappears exactly as it would in a real export.

The preview never touches a real booking and never produces a PDF. It is a layout and spelling check: a misspelled token renders as the literal {{bookingTotl}} text.

Validation

  • Template name is required and must be 1–50 characters
  • Document body has no validation

Errors appear under the affected field.

Saving changes

Click Save to store the template.

On success, a toast confirms Document template "<name>" created or … updated and you return to Export templates. On the edit page, only the fields you actually changed are written. If saving fails, an error toast appears and the form stays open.

Click Cancel to leave without saving.

Deleting a template

The edit page has a red Delete action. It opens a confirmation dialog headed Delete document template asking Are you sure you want to delete "<name>"?.

Confirming deletes the template immediately. Export templates are not referenced by workflows, so there is no reference check to wait for. A toast confirms the deletion and you return to the list. The template disappears from the booking Export dialog for the whole organization.

Common scenarios

Drafting a rental agreement from scratch

  1. Open Create template and name it Rental agreement.
  2. Keep the editor in HTML mode.
  3. Build the sections: parties, booking period, equipment, charges, responsibilities, signatures.
  4. Insert {{organizationName}}, {{clientName}}, {{bookingStartDateTime}}, {{bookingEndDateTime}}, and {{bookingItems[index, name, serial, qty, price, total]}}.
  5. Wrap the deposit paragraph in {{#if bookingDeposit}}…{{/if}}.
  6. Check the preview, then save.

Letting the assistant do the first draft

  1. Click Create with Requiply Assistant.
  2. Use a starter such as Draft a rental agreement, or describe the document you need.
  3. Review the print preview the assistant returns.
  4. Click Apply to editor, adjust the wording, and save.

Translating an existing document

  1. Open the template's edit page.
  2. Click Create with Requiply Assistant and ask for a translation. The assistant already has your current draft.
  3. Apply the result and save, or save it as a second template so you keep both languages. Set Template language on the copy, so its dates, amounts and table headers match the text.

Tips and cautions

Tip: Put {{bookingItems}} on its own line. On its own it expands into a table of SKU, name, quantity, price, and total; add a bracket list such as {{bookingItems[index, name:Equipment, serial, qty, total, totals]}} to choose the columns, rename their headers, and add a totals row.
Heads up: There is no version history. Editing a template changes what every future export produces, and the previous body cannot be restored.
Heads up: Applying an assistant-generated document replaces both the name and the whole body. Copy anything you want to keep before applying.
Copyright © 2026