How to use Toursys DocuBuilder tags and labels.

Generate the document template 

What are Toursys Custom Labels, also known as tags, and how to use them?

Replacement tags are keywords or special codes inserted into a document template that are automatically replaced with specific information during the document generation process. These tags allow documents to be automatically personalized with dynamic data, such as names, dates, addresses, or other information that varies depending on the user or context.

How They Work

The following section will explain all the different ways a label can be used. 

Format: {text}

Description: This label is used to insert plain text into the document.

Example: 

{quotation_name}

Example in document

Results: 

2. Lists

Example: 

{#service_list}

 {supplier_code}   

 {service_name}   

 {quotation_line_date}

 {quotation_line_end_date}

{/service_list}

This will generate as many rows as there are items in the service list of the itinerary, each service will print with the information requested. In this example, it would print a list of all the services of the itinerary, each with a supplier code, service name, start date and end date.

Example in document: 

Result

3. Mathematical Operations Label

Example:  

{$ attribute1 + attribute2 | format:2:,:.}

If attribute1 is 10.2 and attribute2 is 5000, the result would be: 5,010.20

Example in document: 

Results

4. Image Label

Example: 

Basic embedding:

{%image1}

Specifying size (width and height):

{%image2 | size:250:100}

Specifying maximum size (max width and max height):

{%image3 | maxSize:300:500}

Example in document: 

Results

5. Dates

Example: 

{quotation_start_year_day} = Monday, Tuesday, Wednesday, Thursday, Friday

{quotation_start_year_month} = January, February, March, etc.

{quotation_start_year_year} = 2024, 2025, 2026, etc.

Current accepted formats to download the templates:

You can see and download the following Toursys Document Template we have as an example: 

You can also see common mistakes you can avoid: 

Toursys DocuBuilder Manual. Copyright 2024.