Video
Where do I find it?
Account > Templates > PDF Templates
What does it mean?
PDF templates are used to create the tickets and receipts for the BoxOffice and Webshop. Initially you will see a set of default templates, however, you can change the design by editing the template and/or the body.
For that, it would be useful to have basic knowledge of HTML, however you can use external tools to convert text to HTML code and vice versa, f.e. https://onlinehtmleditor.dev/
When a sales agent sells a product, the supplier's PDF layout is used.
What should I do?
You can change the text body and template here for both BoxOffice and Webshop by clicking on the 'Edit' button, for the invoice and for the Ticket.
You can use the PDF tokens in the text body. Please, take a look at the list of tokens here.
You can also change the text body per language in the 'Translations' tab, so you can offer your tickets and receipts in different languages for your customers. Customers who book on the webshop in English will receive the tickets and invoice in English, and so on.
How to add a payment link to the email template?
Please, visit our support article here.
How to add the pickup point information on the PDF template?
Please, visit our support article here.
Important note: If you want to change the standard template, please do it first in our test environment in order to test if the PDF ticket is correctly generated. Once you have tested it and everything is correct, then you can implement the same solution in the Live environment.
Please, contact our Support team here in order to give you access to our UAT environment.
For more information about this topic, please visit our support article about PDF tickets here.
How to add an itemised tax breakdown to the Invoice (receipt) PDDF?
This is the default receipt block printed under the ticket lines:
<section class="total-vat-section"><!-- Sub Total + Discount + Total -->
#if ({{SUB_TOTAL}})
<div class="total">Subtotal {{SUB_TOTAL}}</div>
#end
#if ({{SUB_DISCOUNT}})
<div>Discount {{SUB_DISCOUNT}}</div>
#end
#if (!${fees})
#if (${isReservation})
<div class="total">Pay On Redeem {{TOTAL}}</div>
#else
<div class="total">Total {{TOTAL}}</div>
#end
#end
</section>
<section class="total-vat-section"><!-- Vats involved in the booking -->
#foreach( {{VAT}} in {{VATS}} )
<div>{{VAT}}.vatDescription</div>
#end
</section>
It renders as:
Total USD 100.00 Including 7.75% VAT USD 7.19 based on USD 92.81
To print an itemised tax breakdown, replace the two sections above with this one. The net amount and the tax lines go before the total:
<section class="total-vat-section"><!-- Sub Total + Discount + Tax breakdown + Total -->
#if ({{SUB_TOTAL}})
<div class="total">Subtotal {{SUB_TOTAL}}</div>
#end
#if ({{SUB_DISCOUNT}})
<div>Discount {{SUB_DISCOUNT}}</div>
#end
#if ({{NET_TOTAL}})
<div>Sales Price (Net Amount) {{NET_TOTAL}}</div>
#end
#foreach( {{VAT}} in {{VATS}} )
<div>{{VAT}}.name ({{VAT}}.percent%) {{VAT}}.vatAmountWithCurrency</div>
#end
#if (!${fees})
#if (${isReservation})
<div class="total">Pay On Redeem {{TOTAL}}</div>
#else
<div class="total">Total {{TOTAL}}</div>
#end
#end
</section>It renders as:
Sales Price (Net Amount) USD 92.81 Sales Tax (7.75%) USD 7.19 Total USD 100.00
Important notes:
The labels ("Sales Price (Net Amount)", "Total") are plain text in the template, so they can be worded as your country’s tax authority requires.
The tax rate name and percentage come from the tax rate assigned to the products (Settings > Tax rates).
#if ({{NET_TOTAL}})hides the net line when the booking has no tax, so the same template still works for tax-free products.Prices are stored tax-included. The net amount is calculated at print time as total minus tax, so the figures always add up to the printed total.