The customer booking invoice variable

Learn more about the advanced communications customer booking invoice variable.

Jubrine Fortuno avatar
Written by Jubrine Fortuno
Updated over a week ago

Overview

Variable name

How to type the variable

What the variable does

Customer booking invoice

{{invoice}}

Inputs the following data: payment lines, payment status, unit price quantity etc.


What is the booking invoice?

A booking invoice displays all the information on a payment that a customer has made for a booking. This can be useful to send to the customer as a summary so that they have a record of what they have paid for.

Please note- this variable will only work for the Send customers an email when payment is made for a booking email.


How will this display within our communications?

Here is an example of an english email template set up with the customer booking invoice variable:

or

<p>Hi {{customer_firstname}},</p>
<p>Find below the details of your recent payment:</p>
<table border="0" cellpadding="5px" cellspacing="0" style="font-size:12px">
<thead >
<tr >
<td style="border-bottom:1px solid #333"><strong>Quantity</strong></td>
<td style="border-bottom:1px solid #333; padding-left:8px;"><strong>Description </strong></td>
<td style="border-bottom:1px solid #333; padding-left:8px; text-align:center;"><strong>Price </strong></td>
</tr>
</thead>
<tfoot>
<tr>
<td style="border-top:1px solid #333"><strong>Total</strong></td>
<td style="border-top:1px solid #333">&nbsp;</td>
<td style="border-top:1px solid #333;text-align:right;"><strong>{{invoice.total | currency}}</strong></td>
</tr>
</tfoot>
<tbody>
{% for line in invoice.lines %}
<tr>
<td>{{line.quantity}}</td>
<td style="padding-left: 8px;">{{line.description}}</td>
<td style="padding-left: 8px;">{{line.unit_price | currency}}</td>
</tr>
{% endfor %}
</tbody>
</table>

<p>If you have any questions please don't hesitate to get in touch. The remainder of the service price will be taken when you arrive for your booking.</p>

<p>Thanks,<br>
Lothian Tours</p>

When a customer books, they will then automatically receive a booking confirmation email. As well as that email they will receive an email confirming their payment which will be constructed using the template we have saved above. This will then display as so:


We would love to hear any feedback πŸ‘‚

Did this answer your question?