Template variables are short codes in square brackets that Beds24 replaces with information from each booking, such as the guest's name, the check-in date or the invoice balance. Use them in any text setting that allows them: confirmation messages, Auto Action emails and SMS, invoices, booking templates and more.
Table of Contents
- How template variables work
- Property variables
- Room variables
- Booking variables
- Date and time variables
- Booking group variables
- Invoice variables
- Invoicee variables
- Payment request variables
- iCal links
- Account variables
- Encoding variables
- Use template variables in an HTML editor
- Logic, calculations and text functions
How template variables work
- Copy each variable exactly as shown, including the square brackets and upper case.
-
Date offset: add a number of days after a colon to date variables, for example
[FIRSTNIGHT:-3 days]. -
Price offset: add a percentage or a fixed amount, with or without a minus sign, after a colon to price variables, for example
[PRICE:-10]or[INVOICEBALANCE:25%]. - Line breaks: variables ending in BR show each detail on its own line. Use them in the HTML section of the Messaging tab.
- Calculations: variables ending in NUM show the value with a decimal point, no thousands separator and no currency symbol. Always use these in calculations. See Template variable logic and calculations.
Property variables
| Variable | Shows |
|---|---|
[PROPERTYNAME] |
Property name |
[PROPERTYADDRESS] |
Property address |
[PROPERTYCITY] |
Property city |
[PROPERTYSTATE] |
Property state |
[PROPERTYCOUNTRY] |
Property country |
[PROPERTYEMAIL] |
Property email |
[PROPERTYWEB] |
Property web site |
[PROPERTYPHONE] |
Property phone |
[PROPERTYFAX] |
Property fax |
[PROPERTYCONTACTLASTNAME] |
Property contact last name |
[PROPERTYCONTACTFIRSTNAME] |
Property contact first name |
[PROPERTYID] |
Property id number |
[PROPERTYPOSTCODE] |
Property post code |
[PROPERTYCURRENCY] |
Property currency code |
[PROPERTYCURRENCYFRONT] |
Property currency symbol before number |
[PROPERTYCURRENCYBACK] |
Property currency symbol after number |
[PROPERTYLATITUDE] |
Property latitude |
[PROPERTYLONGITUDE] |
Property longitude |
[PROPERTYLOCATIONDESCRIPTION] |
Property location description |
[PROPERTYLOCATIONDESCRIPTIONBR] |
Property location description with line break |
[PROPERTYDIRECTIONS] |
Property directions from Settings > Channel Manager > Property Content |
[PROPERTYHEADLINE] |
Property headline |
[PROPERTYDESCRIPTION] |
Property description |
[PROPERTYGENERALPOLICY] |
Property rental policy |
[PROPERTYGENERALPOLICYBR] |
Property rental policy with line break |
[PROPERTYLEGALPOLICY] |
Property rental policy / obsolete |
[PROPERTYCANCELPOLICY] |
Property cancellation policy |
[PROPERTYCANCELPOLICYBR] |
Property cancellation policy with line breaks |
[PROPERTYHOUSERULES] |
Property house rules from Settings > Channel Manager > Property Content |
[PROPERTYHOUSERULESBR] |
Property house rules from Settings > Channel Manager > Property Content with line break |
[PROPERTYTEMPLATE1] |
Property Template 1 |
[PROPERTYTEMPLATE2] |
Property Template 2 |
[PROPERTYTEMPLATE3] |
Property Template 3 |
[PROPERTYTEMPLATE4] |
Property Template 4 |
[PROPERTYTEMPLATE5] |
Property Template 5 |
[PROPERTYTEMPLATE6] |
Property Template 6 |
[PROPERTYTEMPLATE7] |
Property Template 7 |
[PROPERTYTEMPLATE8] |
Property Template 8 |
[PROPERTYTEMPLATE1BR] |
Property Template 1 with line breaks |
[PROPERTYTEMPLATE2BR] |
Property Template 2 with line breaks |
[PROPERTYTEMPLATE3BR] |
Property Template 3 with line breaks |
[PROPERTYTEMPLATE4BR] |
Property Template 4 with line breaks |
[PROPERTYTEMPLATE5BR] |
Property Template 5 with line breaks |
[PROPERTYTEMPLATE6BR] |
Property Template 6 with line breaks |
[PROPERTYTEMPLATE7BR] |
Property Template 7 with line breaks |
[PROPERTYTEMPLATE8BR] |
Property Template 8 with line breaks |
[BOOKINGCOMHOTELID] |
Booking.com hotel id |
[EXPEDIACOMHOTELID] |
Expedia.com hotel id |
[PERMITID] |
The permit ID |
[CHECKINSTART] |
Check-in start time in 24hr format from Settings > Channel Manager > Property Content (Check-in start) |
[CHECKINEND] |
Check-in end time in 24hr format from Settings > Channel Manager > Property Content (Check-in end) |
[CHECKOUTEND] |
Check-out end time in 24hr format from Settings > Channel Manager > Property Content (Check-out end) |
[CHECKINSTART12] |
Check-in start time in am/pm format from Settings > Channel Manager > Property Content (Check-in start) |
[CHECKINEND12] |
Check-in end time in am/pm format from Settings > Channel Manager > Property Content (Check-in end) |
[CHECKOUTEND12] |
Check-out end time in am/pm format from Settings > Channel Manager > Property Content (Check-out end) |
[PROPERTYDESCRIPTION1] |
Property Description 1 from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYDESCRIPTION2] |
Property Description 2 from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYDESCBOOKPAGE1] |
Property Description Booking Page 1 from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYDESCBOOKPAGE2] |
Property Description Booking Page 2 from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYGUESTDETAILSHEADER] |
Guest Details Header from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYGUESTENQUIRYHEADER] |
Guest Enquiry Header from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYCONFIRMBOOKBUTTON] |
Confirm Booking Button Message from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYROOMNOTAVAIL] |
Room Not Available Message from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYROOMNOPRICE] |
Room No Price Message from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYNOROOMSAVAIL] |
No Rooms Available Message from Settings > Booking Engine > Property Booking Page > Content |
[PROPERTYGROUP] |
Shows the group keywords |
Room variables
| Variable | Shows |
|---|---|
[ROOMID] |
Room id number |
[ROOMNAME] |
Room names of all booked rooms (not for cancelled bookings use ROOMNAMEINC if used for cancelled bookings) |
[ROOMNAMEBR] |
Room names with line break |
[ROOMNAMEINC] |
Room names of all booked rooms including for cancelled bookings |
[ROOMNAMEINCBR] |
Room names with line break |
[ROOMNAME1] |
Room name of first booked room |
[ROOMNAMES] |
Room names including quantity of each booked room |
[ROOMNAMESNC] |
Room names including quantity of each booked room without cancelled rooms |
[ROOMNAMESBR] |
Room names with line break |
[ROOMNAMESNCBR] |
Room names with line break without cancelled rooms |
[ROOMNAMEOFFER] |
Room names of all booked rooms with offer name |
[ROOMNAMEOFFERBR] |
Room names of all booked rooms with offer name with line break |
[ROOMNAMEOFFERINC] |
Room names of all booked rooms with offer name incl. cancelled bookings |
[ROOMNAMEOFFERINCBR] |
Room names of all booked rooms with offer name with line break |
[ROOMTYPEDESC] |
Room accommodation type first booked room |
[ROOMTYPEDESCS] |
Room accommodation type all booked rooms |
[ROOMTYPEDESCSINC] |
Room accommodation type all booked rooms including cancelled bookings |
[ROOMSIZE] |
Size of the room |
[ROOMTEMPLATE1] |
ROOM Template 1 |
[ROOMTEMPLATE2] |
ROOM Template 2 |
[ROOMTEMPLATE3] |
ROOM Template 3 |
[ROOMTEMPLATE4] |
ROOM Template 4 |
[ROOMTEMPLATE5] |
ROOM Template 5 |
[ROOMTEMPLATE6] |
ROOM Template 6 |
[ROOMTEMPLATE7] |
ROOM Template 7 |
[ROOMTEMPLATE8] |
ROOM Template 8 |
[ROOMTEMPLATE1BR] |
ROOM Template 1 with line break |
[ROOMTEMPLATE2BR] |
ROOM Template 2 with line break |
[ROOMTEMPLATE3BR] |
ROOM Template 3 with line break |
[ROOMTEMPLATE4BR] |
ROOM Template 4 with line break |
[ROOMTEMPLATE5BR] |
ROOM Template 5 with line break |
[ROOMTEMPLATE6BR] |
ROOM Template 6 with line break |
[ROOMTEMPLATE7BR] |
ROOM Template 7 with line break |
[ROOMTEMPLATE8BR] |
ROOM Template 8 with line break |
[ROOMMETAAUXTEXT] |
Room auxiliary text setting for first booked room from Settings > Properties > Rooms > Setup > Display |
[ROOMMETAAUXTEXTS] |
Room auxiliary text setting for all booked rooms |
[ROOMMETAAUXTEXTSINC] |
Room auxiliary text setting for all booked rooms, incl. cancelled bookings |
[INTERNALROOMNAME] |
Internal room name as used in the control panel, this is not the translated room name shown on the booking page |
[OFFERID] |
ID of the booked offer |
[OFFERNAME] |
Booked offer name for all booked rooms |
[OFFERNAME1] |
Offer name for this booked room only |
[OFFERNAMEINC] |
Offer name for this booked room only including cancelled bookings |
[OFFERDESCRIPTION1] |
Offer description 1 for all booked rooms |
[OFFERDESCRIPTION1INC] |
Offer description 1 for all booked rooms incl. cancelled |
[OFFERDESCRIPTION2] |
Offer description 2 for all booked rooms |
[OFFERDESCRIPTION2INC] |
Offer description 2 for all booked rooms incl. cancelled |
[OFFERDESCRIPTION1-1] |
Offer description 1 for this booked room |
[OFFERDESCRIPTION2-1] |
Offer description 2 for this booked room |
[OFFERSUMMARY] |
Summary offers |
[OFFERSUMMARYINC] |
Summary offers including cancelled bookings |
[UNITID1] |
ID of the unit (number) for this booking number (coming soon) |
[UNITNAME] |
Unit names of all the assigned room types in the booking group (cancelled bookings are not shown) |
[UNITNAMEINC] |
Unit names of all the assigned room types in the booking group including cancelled bookings |
[UNITNAME:1] |
Additional information (first) about the unit for all the assigned room types in the booking group (cancelled bookings are not shown) |
[UNITNAME:2] |
Additional information (second) about the unit for all the assigned room types in the booking group (cancelled bookings are not shown) |
[UNITNAME1] |
Unit name of the assigned room for this booking number |
[UNITNAME1:1] |
Additional information about the assigned room for this booking number / add the additional information on each line after a | symbol where you set the unit names |
[UNITSTATUS1] |
The status of the unit |
[ROOMDESCRIPTION] |
Room description from Settings > Channel Manager > Property Content > Room Content |
[ROOMDESCRIPTION1] |
Room description 1 from Settings > Properties > Rooms > Setup |
[LEAVINGDAYAVAIL] |
Returns yes or no, can be used to trigger an Auto Action |
[NUMROOMSAVAIL] |
Returns the number of available rooms (-1 if overbooked), can be used to trigger an Auto Action |
[ROOMRACKRATENUM] |
Rack Rate from Settings > Channel Manager > Property Content > Room Content |
[ROOMCLEANINGFEENUM] |
Cleaning fee from Settings > Channel Manager > Property Content > Room Content |
[ROOMSECURITYDEPOSITNUM] |
Security deposit from Settings > Channel Manager > Property Content > Room Content |
[ROOMTAXPERCENTNUM] |
Tax percentage from Settings > Channel Manager > Property Content > Room Content |
[ROOMTAXPERSONNUM] |
Tax per Person Night from Settings > Channel Manager > Property Content > Room Content |
Booking variables
| Variable | Shows |
|---|---|
[VIEWBOOKING] |
Create a URL to log into the control panel and view this booking (for hosts, not intended to be sent to guests) |
[BOOKID] |
Booking reference number |
[BOOKIDS] |
Booking reference numbers of all bookings in a group |
[BOOKIDSINC] |
Booking reference of all bookings in a group including cancelled bookings |
[GROUPID] |
Booking reference of the master booking |
[REFERENCENUMBER] |
Booking reference (same as [BOOKID]) |
[BOOKIDLAST1] |
Last 1 digit of booking number |
[BOOKIDLAST2] |
Last 2 digits of booking number |
[BOOKIDLAST3] |
Last 3 digits of booking number |
[BOOKIDLAST4] |
Last 4 digits of booking number |
[BOOKIDLAST5] |
Last 5 digits of booking number |
[BOOKIDLAST6] |
Last 6 digits of booking number |
[BOOKIDLAST7] |
Last 7 digits of booking number |
[BOOKIDLAST8] |
Last 8 digits of booking number |
[BEDDING] |
Displays bedding info codes |
[RANDOM1] |
A 1 digit random number seeded from the booking number |
[RANDOM2] |
A 2 digit random number seeded from the booking number |
[RANDOM3] |
A 3 digit random number seeded from the booking number |
[RANDOM4] |
A 4 digit random number seeded from the booking number |
[RANDOM5] |
A 5 digit random number seeded from the booking number |
[RANDOM6] |
A 6 digit random number seeded from the booking number |
[RANDOM7] |
A 7 digit random number seeded from the booking number |
[RANDOM8] |
A 8 digit random number seeded from the booking number |
[VOUCHERPHRASE1] |
Voucher Phrase - change the number to the voucher you want to print out. |
[VOUCHERAMOUNT1] |
Voucher Amount - change the number to the voucher you want to print out. |
Info tab
| Variable | Shows |
|---|---|
[BOOKINGINFOITEMS] |
Booking Info Codes - Codes and text |
[BOOKINGINFOITEMSBR] |
Booking Info Codes - Codes and text with line break |
[BOOKINGINFOTEXTS] |
Booking Info Codes - Text only |
[BOOKINGINFOTEXTSBR] |
Booking Info Codes - Text only with line break |
[BOOKINGINFOCODES] |
Booking Info Codes - Codes only |
[BOOKINGINFOCODESBR] |
Booking Info Codes - Codes only with line break |
[BOOKINGINFOCODETEXT:infoCode] |
The most recent Text value of the specified Booking Info Code, "infoCode" in this example |
[BOOKINGINFOCODEDATE:infoCode] |
The most recent date value of the specified Booking Info Code, "infoCode" in this example, supports custom date/time formats {%A, %e %B, %Y} after the infoCode |
[INTERNALNOTES] |
Content from "Internal Notes" on the Info Tab |
[INTERNALNOTESBR] |
Content from "Internal Notes" on the Info Tab with line break |
[INTERNALNOTESHR] |
Content from "Internal Notes" on the Info Tab with separating line |
Summary tab
| Variable | Shows |
|---|---|
[STATUS] |
Status of booking |
[SUBSTATUS] |
Sub status of the booking |
[FIRSTNIGHT] |
First night booked |
[FIRSTNIGHTSHORT] |
First night booked in 1 Apr 2016 format |
[FIRSTNIGHTYYYY-MM-DD] |
First night booked in YYYY-MM-DD format |
[LASTNIGHT] |
Last night booked |
[LASTNIGHTSHORT] |
Last night booked in 1 Apr 2016 format |
[LASTNIGHTYYYY-MM-DD] |
Last night booked in YYYY-MM-DD format |
[LEAVINGDAY] |
Check-out day |
[LEAVINGDAYSHORT] |
Check-out day in 1 Apr 2016 format |
[LEAVINGDAYYYYY-MM-DD] |
Check-out day in YYYY-MM-DD format |
[NUMNIGHT] |
Number of nights |
[NUMNIGHTS] |
Number of nights sum across group booking |
[NUMNIGHTSINC] |
Number of nights sum across group booking incl. cancelled |
[GUESTTITLE] |
Guest title on the "summary" tab of the booking |
[GUESTFIRSTNAME] |
First name on the "summary" tab of the booking |
[GUESTNAME] |
Last name on the "summary" tab of the booking |
[GUESTNAMES] |
Name of all guests in the booking on the "summary" tab of the booking |
[GUESTNAMESINC] |
Name of all guests in the booking on the "summary" tab of the booking incl. cancelled bookings |
[GUESTNAMESINCBR] |
Name of all guests in the booking on the "summary" tab of the booking incl. cancelled bookings with line break on the "summary" tab of the booking |
[GUESTFULLNAME] |
Title, first name, last name on the "summary" tab of the booking |
[GUESTFULLNAMES] |
Titles, first names, last names of all guests in the booking on the "summary" tab of the booking |
[GUESTFULLNAMESBR] |
Titles, first names, last names of all guests in the booking with line break on the "summary" tab of the booking |
[GUESTFULLNAMESINC] |
Titles, first names, last names of all guests in the booking on the "summary" tab of the booking incl. cancelled |
[GUESTFULLNAMESINCBR] |
Titles, first names, last names of all guests in the booking with line break on the "summary" tab of the booking incl. cancelled |
[GUESTCOMMENTS] |
Comments in the booking |
[GUESTCOMMENTSBR] |
Comments in the booking with line breaks |
[NOTES] |
Notes |
[NOTESBR] |
Notes with line breaks |
[GUESTARRIVALTIME] |
Arrival time |
[NUMADULT] |
Number of adults in this room or in group if master booking (not for cancelled bookings use NUMADULTINC if used for cancelled bookings) |
[NUMADULTINC] |
Number of adults in this room or in group if master booking incl. cancelled bookings |
[NUMADULT1] |
Number of adults in this room |
[NUMCHILD] |
Number of children in this room or in group if master booking (not for cancelled bookings use NUMCHILDINC if used for cancelled bookings) |
[NUMCHILDINC] |
Number of children in this room or in group if master booking including cancelled bookings |
[NUMCHILD1] |
Number of children in this room |
[NUMPEOPLE] |
Number of guests in this room or in group if master booking |
[NUMPEOPLEINC] |
Number of guests in this room or in group if master booking incl. cancelled bookings |
[NUMPEOPLE1] |
Number of people in this room |
[GUESTPHONE] |
Guest's phone number |
[GUESTPHONENUM] |
Guest's phone number with all non-numeric characters removed |
[GUESTMOBILE] |
Guest's mobile number |
[GUESTMOBILENUM] |
Guest's mobile number with all non-numeric characters removed |
[MOBILELAST1] |
Last digit of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[MOBILELAST2] |
Last 2 digits of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[MOBILELAST3] |
Last 3 digits of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[MOBILELAST4] |
Last 4 digits of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[MOBILELAST5] |
Last 5 digits of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[MOBILELAST6] |
Last 6 digits of the guest's mobile number, if mobile is empty the guest's phone number will be used. |
[PHONELAST1] |
Last digit of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[PHONELAST2] |
Last 2 digits of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[PHONELAST3] |
Last 3 digits of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[PHONELAST4] |
Last 4 digits of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[PHONELAST5] |
Last 5 digits of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[PHONELAST6] |
Last 6 digits of the guest's phone number if guest phone is empty it will use the guest's mobile number |
[GUESTSMS:49] |
Attempt to convert the guest mobile number into a format suitable for SMS, if country code is missing add the one supplied in the template variable, if mobile number is empty use guest phone number instead. |
[GUESTCOMPANY] |
Company name |
[GUESTCOMPANYBR] |
Company name with line breaks |
[GUESTFAX] |
Guest's fax number |
[GUESTFAXNUM] |
Guest's fax number with all non-numeric characters removed |
[GUESTADDRESS] |
Guest's address |
[GUESTADDRESSBR] |
Guest's address with line breaks |
[GUESTSADDRESSSBR1INC] |
Guest's address with line breaks incl. cancelled bookings |
[GUESTPOSTCODE] |
Guest's postcode |
[GUESTCITY] |
Guest's city |
[GUESTSTATE] |
Guest's state |
[GUESTCOUNTRY] |
Guest's country from free text field is not empty, otherwise from selector list |
[GUESTCOUNTRYHL] |
Guest's country from free text field is not empty, otherwise from selector list in hosts language |
[GUESTCOUNTRYGL] |
Guest's country from free text field is not empty, otherwise from selector list in guests language |
[GUESTCOUNTRYSELECT] |
Guest's country from selector list |
[GUESTCOUNTRYSELECTHL] |
Guest's country from selector list in hosts language |
[GUESTCOUNTRYSELECTGL] |
Guest's country from selector list in guests language |
[GUESTCOUNTRYTEXT] |
Guest's country from free text field |
[GUESTCOUNTRY2] |
Guest's country from selector list as two letter code |
Details tab
| Variable | Shows |
|---|---|
[MESSAGE] |
The content of the booking message field |
[MESSAGEBR] |
The content of the booking message field with line breaks |
[GUESTCUSTOMQ1] |
Answer to custom question 1 |
[GUESTCUSTOMQ1BR] |
Answer to custom question 1 with line breaks |
[GUESTCUSTOMQ2] |
Answer to custom question 2 |
[GUESTCUSTOMQ2BR] |
Answer to custom question 2 with line breaks |
[GUESTCUSTOMQ3] |
Answer to custom question 3 |
[GUESTCUSTOMQ3BR] |
Answer to custom question 3 with line breaks |
[GUESTCUSTOMQ4] |
Answer to custom question 4 |
[GUESTCUSTOMQ4BR] |
Answer to custom question 4 with line breaks |
[GUESTCUSTOMQ5] |
Answer to custom question 5 |
[GUESTCUSTOMQ5BR] |
Answer to custom question 5 with line breaks |
[GUESTCUSTOMQ6] |
Answer to custom question 6 |
[GUESTCUSTOMQ6BR] |
Answer to custom question 6 with line breaks |
[GUESTCUSTOMQ7] |
Answer to custom question 7 |
[GUESTCUSTOMQ7BR] |
Answer to custom question 7 with line breaks |
[GUESTCUSTOMQ8] |
Answer to custom question 8 |
[GUESTCUSTOMQ8BR] |
Answer to custom question 8 with line breaks |
[GUESTCUSTOMQ9] |
Answer to custom question 9 |
[GUESTCUSTOMQ9BR] |
Answer to custom question 9 with line breaks |
[GUESTCUSTOMQ10] |
Answer to custom question 10 |
[GUESTCUSTOMQ10BR] |
Answer to custom question 10 with line breaks |
[REFERENCE] |
Content of the booking reference field |
[NUMROOM] |
The quantity of rooms booked (first room type only) |
[NUMROOMS] |
The quantity of rooms booked (sum of all rooms and room types) |
[NUMROOMSINC] |
The quantity of rooms booked (sum of all rooms and room types) inc. cancelled |
[FLAG] |
Flag |
[STATUSCODE] |
'Status Code' (Under tab 'Detail'. Can be a value between 0-100.) |
[ORIGINALREFERRER] |
Original referrer |
[REFERRER] |
Referrer |
[APIREF] |
The booking number at the originating channel |
[APISOURCE] |
Beds24 channel number |
[APISOURCETEXT] |
Human readable name of the channel |
[BOOKINGIP] |
Ip address of booker's computer |
[APIMESSAGE] |
Api message sent by originating channel from the Channel Info setting |
[BOOKINGDATE] |
Booking date in guests language |
[BOOKINGTIMEDATE] |
Booking date and time in guests language |
[BOOKINGDATEYYYY-MM-DD] |
Booking date in YYYY-MM-DD format |
For custom date formats, see Date and time format codes.
Charges and Payments tab
| Variable | Shows |
|---|---|
[BOOKINGINVOICEEID] |
Invoicee id assigned to this booking, this comes from the booking invoicee setting, not from the bookings invoice items |
[RATEDESC] |
Rate description (in the booking popup under the tab (Charges & Payments) |
[RATEDESCBR] |
Name of the rate with HTML <BR> to force new lines |
[PRICE] |
Value in price field (number entered in the price field of the booking) with currency symbol |
[PRICENC] |
Value in price field (number entered in the price field of the booking) without currency symbol (do not use in calculations, use PRICENUM) |
[PRICE:10%] |
Percentage value of Price |
[PRICE:-10] |
Price with offset amount |
[PRICENUM] |
As per [PRICE] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation). |
[PRICENUM:] |
As per [PRICE:] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[PRICELESSCOMMISSION] |
Value in price field less value in commission field with currency symbol |
[PRICELESSCOMMISSIONNUM] |
As per [PRICELESSCOMMISSION] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[PRICELESSTAX] |
Value in price field less value in tax field with currency symbol |
[PRICELESSTAXNUM] |
As per [PRICELESSTAX] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[AVPRICE] |
Average Nightly Price with currency symbol |
[AVPRICENUM] |
Average Nightly Price with a decimal point and no thousands separator and no currency symbols (for calculation) |
[AVPRICE:20%] |
Percentage value of Average Nightly Price |
[AVPRICE:15] |
Average Nightly Price with offset amount |
[BASEPRICE] |
Lodging Price |
[BASEPRICENUM] |
Same as [BASEPRICE] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[BASEGROUPPRICE] |
Lodging Price for Group |
[BASEGROUPPRICENUM] |
Same as BASEGROUPPRICE] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[BASEVAT] |
Lodging Price vat amount |
[BASEVATNUM] |
Same as [BASEVAT] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[BASEGROUPVAT] |
Lodging Price vat amount for Group |
[BASEGROUPVATNUM] |
Same as BASEGROUPVAT] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[AVBASEPRICE] |
Average Nightly Lodging Price |
[AVBASEPRICENUM] |
Same as [AVBASEPRICE] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[AVBASEGROUPPRICE] |
Average Nightly Lodging Price for Group |
[AVBASEGROUPPRICENUM] |
Same as [AVBASEGROUPPRICE] with a decimal point and no thousands separator and no currency symbols (for calculation) |
[DEPOSIT] |
Value in deposit field with currency symbol |
[DEPOSITNUM] |
As per [DEPOSIT] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[TAX] |
Value in tax field with currency symbol |
[TAXNUM] |
As per [TAX] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation). |
[COMMISSION] |
Value in commission field with currency symbol |
[COMMISSIONNUM] |
As per [COMMISSION] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[COMMISSIONGROUP] |
Value of the commission of the complete group booking with currency symbol |
[COMMISSIONGROUPNUM] |
As per [COMMISSIONGROUP] but the value is displayed with a decimal point and no thousands separator and no currency symbols (for calculation) |
[GUESTVOUCHER] |
Voucher code used with booking |
[CARDLASTFOUR] |
Last 4 digits of card |
[CARDFIRSTSIX] |
First 6 digits of card |
Invoice tab
| Variable | Shows |
|---|---|
[BOOKINGINVOICEEID] |
Invoicee id assigned to this booking, this comes from the booking invoicee setting, not from the bookings invoice items |
[BOOKINGINVOICEENAME] |
Invoicee name assigned to this booking, this comes from the booking invoicee setting, not from the bookings invoice items |
Group Invoice tab
| Variable | Shows |
|---|---|
[GROUPNOTE] |
Group note |
Mail & Actions tab
| Variable | Shows |
|---|---|
[GUESTEMAIL] |
Guest's email address on the "Mail & Action" tab of the booking |
[GUESTLANGUAGE] |
Guest language |
[EMAIL:00] |
Status of an Auto Action email. Replace 00 with the number of the Auto Action. This shows if the email has been sent and if so, the time it was sent. |
Guests tab
| Variable | Shows |
|---|---|
[GUESTSID] |
All IDs of this booking |
[GUESTSID1] |
ID of the first guest |
[GUESTSIDS] |
All IDs for all bookings in the group |
[GUESTSNAME] |
Name of all guests listed on the "guests" tab of this booking |
[GUESTSNAMES] |
Name of all guests listed on the "guests" tab of the booking of the group booking |
[GUESTSNAMESINC] |
Name of all guests listed on the "guests" tab of the booking of the group booking incl. cancelled |
[GUESTSFIRSTNAMES] |
First name of all guests listed on the "guests" tab of this booking last separated by an & |
[GUESTSFIRSTNAMESINC] |
First name of all guests listed on the "guests" tab of this booking incl. cancelled |
[GUESTSLASTNAMES] |
Last name of all guests listed on the "guests" tab of this booking |
[GUESTSLASTNAMESINC] |
Last name of all guests listed on the "guests" tab of this booking incl. cancelled |
[GUESTSADDRESSSBR1] |
Address of the first guest on the "guests" tab of this booking group |
[GUESTSADDRESSSBR1INC] |
Address of the first guest on the "guests" tab of this booking group incl. cancelled |
[GUESTSAFULLADDRESSSBR1INC] |
The first address including city, postcode, state and country from the guests tab of the booking including cancelled bookings in international format |
[GUESTSAFULLADDRESSSBR1] |
The first address including city, postcode, state and country from the guests tab of the booking in International format |
[GUESTSBFULLADDRESSSBR1INC] |
The first address including city, postcode, state and country from the guests tab of the booking including cancelled bookings in European format |
[GUESTSBFULLADDRESSSBR1] |
The first address including city, postcode, state and country from the guests tab of the booking in European format |
[GUESTSNUMBOOKINGS1] |
The total number of bookings made by the first guest, a group booking counts as one booking. |
[GUESTSNUMSTAYS1] |
The total number of bookings not cancelled and not in the future made by the first guest, a group booking counts as one booking. |
[GUESTSCUSTOMQ1S] |
Answer to custom question 1 for all guests |
[GUESTSCUSTOMQ1SINC] |
Answer to custom question 1 for all guests including cancelled bookings |
[GUESTSCUSTOMQ2S] |
Answer to custom question 2 for all guests |
[GUESTSCUSTOMQ2SINC] |
Answer to custom question 2 for all guests including cancelled bookings |
[GUESTSCUSTOMQ3S] |
Answer to custom question 3 for all guests |
[GUESTSCUSTOMQ3SINC] |
Answer to custom question 3 for all guests including cancelled bookings |
[GUESTSCUSTOMQ4S] |
Answer to custom question 4 for all guests |
[GUESTSCUSTOMQ4SINC] |
Answer to custom question 4 for all guests including cancelled bookings |
[GUESTSCUSTOMQ5S] |
Answer to custom question 5 for all guests |
[GUESTSCUSTOMQ5SINC] |
Answer to custom question 5 for all guests including cancelled bookings |
[GUESTSCUSTOMQ6S] |
Answer to custom question 6 for all guests |
[GUESTSCUSTOMQ6SINC] |
Answer to custom question 6 for all guests including cancelled bookings |
[GUESTSCUSTOMQ7S] |
Answer to custom question 7 for all guests |
[GUESTSCUSTOMQ7SINC] |
Answer to custom question 7 for all guests including cancelled bookings |
[GUESTSCUSTOMQ8S] |
Answer to custom question 8 for all guests |
[GUESTSCUSTOMQ8SINC] |
Answer to custom question 8 for all guests including cancelled bookings |
[GUESTSCUSTOMQ9S] |
Answer to custom question 9 for all guests |
[GUESTSCUSTOMQ9SINC] |
Answer to custom question 9 for all guests including cancelled bookings |
[GUESTSCUSTOMQ10S] |
Answer to custom question 10 for all guests |
[GUESTSCUSTOMQ10SINC] |
Answer to custom question 10 for all guests including cancelled bookings |
Cancellation, turnover and guest login
| Variable | Shows |
|---|---|
[CANCELLEDTIME] |
Date when the booking was cancelled |
[CANCELLEDTIME:{%A, %e %B, %Y}] |
Date when the booking was cancelled |
[CANCELURL] |
URL to view and cancel bookings |
[CANCELDATE] |
Date until when the booking is cancellable displaying a phrase |
[CANCELDATEYYYY-MM-DD] |
Date until when the booking is cancellable displaying a date. If the date is in the past 00-00-0000 will be shown |
[DAYSTOCANCEL] |
Number of days from today until booking can no longer be cancelled (Not applicable for OTA bookings) |
[CANCELUNTIL] |
Shows the number of days between check-in and the last day the booking can be cancelled. If guest can always cancel it shows 0, if guest can never cancel it shows 999. (Not applicable for OTA bookings) |
[GUESTLOGIN] |
URL to view bookings |
[TURNOVERDAYS] |
Days until next arrival into the same unit not considering black bookings |
[TURNOVERDAYSB] |
Days until next arrival into the same unit considering black bookings |
[VACANTDAYS] |
Days from previous checkout to check in of current booking not considering black bookings |
[VACANTDAYSB] |
Days from previous checkout to check in of current booking considering black bookings |
Date and time variables
| Variable | Shows |
|---|---|
[CURRENTDATE] |
Current date |
[CURRENTDATEYYYY-MM-DD] |
Current date in YYYY-MM-DD format |
[CURRENTDATE:{%A, %e %B, %Y}] |
Current date |
[CURRENTDATE:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[CURRENTTIME] |
Current time. |
[CURRENTTIME:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[DAYSTOCHECKIN] |
Number of days until check-in |
[INADVANCE] |
Number of days between booking and check-in |
[DAYSBETWEEN:2019-11-01:2019-11-10] |
This template variable will calculate the number of days between the :: the dates need to be in yyyy-mm-dd format. Template variables can be used for calculation. |
| Variable | Shows |
|---|---|
[FIRSTNIGHT:{%A, %e %B, %Y}] |
First night booked |
[FIRSTNIGHT:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[LASTNIGHT:{%A, %e %B, %Y}] |
Last night booked |
[LASTNIGHT:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[LEAVINGDAY:{%A, %e %B, %Y}] |
Check-out |
[LEAVINGDAY:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[BOOKINGDATE:{%A, %e %B, %Y}] |
Booking date |
[BOOKINGDATE:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. |
[MODIFYDATE:{%A, %e %B, %Y}] |
Last booking modification date/time. |
[PAYMENTDATE:{%A, %e %B, %Y}] |
Most recent payment date |
[PAYMENTDATE:+1day{%A, %e %B, %Y}:1:1000] |
Optional date offset and display format. The offset can be any plus or minus any number of days and the display can be in a custom format. The second parameter specifies the payment to show, 0 or missing means the most recent payment. The third parameter specifies the invoicee. |
[AUTHORIZEUNTIL] |
Date until which a card is authorized, this is extracted from the most recent authorize booking info code. |
[AUTHORIZEUNTIL{%A, %e %B, %Y}] |
Custom format date until which a card is authorized, this is extracted from the most recent authorize booking info code. |
[FORMATDATE:[any template variable that creates a date]{%A, %e %B, %Y}] |
Custom format the date. The date value could be included by inserting a different template variable containing a date. |
For example, [[DAYSBETWEEN:[FIRSTNIGHT:+5 days{%G-%m-%d}]:[CURRENTDATE:{%G-%m-%d}]] calculates the number of days between 5 days after check-in and today.
Date and time format codes
Use these codes in any order between the {} brackets to create your own date and time formats, for example [FIRSTNIGHT:{%A, %e %B, %Y}].
| Code | Shows | Values |
|---|---|---|
%a |
An abbreviated textual representation of the day | Sun through Sat |
%A |
A full textual representation of the day | Sunday through Saturday |
%d |
Two-digit day of the month (with leading zeros) | 01 to 31 |
%e |
Day of the month, with a space preceding single digits. | 1 to 31 |
%u |
ISO-8601 numeric representation of the day of the week | 1 (for Monday) through 7 (for Sunday) |
%w |
Numeric representation of the day of the week | 0 (for Sunday) through 6 (for Saturday) |
%V |
ISO-8601:1988 week number of the given year, starting with the first week of the year with at least 4 weekdays, with Monday being the start of the week | 01 through 53 (where 53 accounts for an overlapping week) |
%b |
Abbreviated month name, based on the locale | Jan through Dec |
%B |
Full month name, based on the locale | January through December |
%h |
Abbreviated month name, based on the locale (an alias of %b) | Jan through Dec |
%m |
Two digit representation of the month | 01 (for January) through 12 (for December) |
%y |
Two digit representation of the year | Example: 09 for 2009, 79 for 1979 |
%Y |
Four digit representation for the year | Example: 2038 |
%H |
Two digit representation of the hour in 24-hour format | 00 through 23 |
%I |
Two digit representation of the hour in 12-hour format | 01 through 12 |
%M |
Two digit representation of the minute | 00 through 59 |
%p |
UPPER-CASE 'AM' or 'PM' based on the given time | Example: AM for 00:31, PM for 22:23 |
%P |
Lower-case 'am' or 'pm' based on the given time | Example: am for 00:31, pm for 22:23 |
%R |
Same as "%H:%M" | Example: 00:35 for 12:35 AM, 16:44 for 4:44 PM |
%S |
Two digit representation of the second | 00 through 59 |
%F |
Same as "%Y-%m-%d" (commonly used in database datestamps) | Example: 2009-02-05 for February 5, 2009 |
%s |
Unix Epoch Time timestamp (same as the time() function) | Example: 305815200 for September 10, 1979 08:40:00 AM |
%% |
A literal percentage character ("%") | % |
Booking group variables
Custom booking group table
Create your own booking group list by listing the columns in the order you want them, connected with underscores. For example, [BOOKGROUP:PROP_ROOM_BREF_NAME] shows the property name, room name, booking number and guest name, in this order. [BOOKGROUP:BREF_NAME_PROP_ROOM] shows the booking number, guest name, property name and room name.
| Code | Shows |
|---|---|
100% |
100% width |
ADDR |
Booking address |
ADUL |
The number of adults |
ARIV |
Arrival date |
BOPR |
Bold prices |
BREF |
Booking number |
BRL1 |
Last digit of booking number |
BRL2 |
Last 2 digits of booking number |
BRL3 |
Last 3 digits of booking number |
BRL4 |
Last 4 digits of booking number |
BRL5 |
Last 5 digits of booking number |
BRL6 |
Last 6 digits of booking number |
CITY |
Booking city |
CHAC |
Charges with currency symbol |
CHAR |
Charges |
CHIL |
Number of children |
COUN |
Booking country |
DEPT |
Departure date |
EMAI |
Booking Email |
EXSP |
Extra space between rows |
FLAG |
Booking flag text |
FNAM |
Booking first name |
GADD |
Guest address |
GCIT |
Guest city |
GCOM |
Guest company |
GCOU |
Guest country |
GFLA |
Guest flag text |
GFNA |
Guest first name |
GLNA |
Guest last name |
GMOB |
Guest mobile |
GNAM |
Guest full name |
GEMA |
Guest Email |
GNOT |
Guest note |
GPOS |
Guest postcode |
GREF |
Guest Id |
GSTA |
Guest state |
GTEL |
Guest phone |
ICAN |
Include cancelled bookings |
LNAM |
Booking last name |
MOBI |
Booking mobile |
NAME |
Booking full name |
NOHE |
No header |
NOTE |
Booking note |
NUMN |
Number of nights booked |
ONAM |
Offer Name |
ONLY |
Just show the one booking |
PAIC |
Payment amount with currency symbol |
PADD |
Property Address |
PAID |
Paid amount |
PCIT |
Property City |
PEOP |
Number of guests |
PHON |
Booking phone |
POST |
Booking postcode |
PROP |
Property name |
RDE0 |
Room description from Settings > Channel Manager > Property Content > Room Content |
RDE1 |
Room description 1 from Settings > Properties > Rooms > Setup |
RNAM |
Room Display Name |
ROOM |
Room name |
RQTY |
Shows the number of rooms for each booking and a total at the bottom |
STAT |
Booking state |
STUS |
Status |
TEXT |
Prints a plain text table instead of HTML |
TOTA |
Total price |
UNI2 |
Unit first additional information |
UNI3 |
Unit second additional information |
UNIT |
Unit name |
Booking group tables with fixed content
| Variable | Shows |
|---|---|
[BOOKGROUPROOMLIST] |
Create a table of guest names including room type for a group booking |
[BOOKGROUPROOMLISTTOTAL] |
Create a table of guest names including room type for a group booking with guest totals |
[BOOKGROUPROOMLISTCHARGETOTAL] |
Create a table of guest names including room type and charge for a group booking with guest totals |
[BOOKGROUPNAMELIST] |
Create a table of guest names including room type and unit for a group booking |
[BOOKGROUPNAMELISTTOTAL] |
Create a table of guest names including room type and unit for a group booking with guest totals |
[BOOKGROUPNAMELISTCHARGETOTAL] |
Create a table of guest names including room type and unit and charge for a group booking with guest totals |
[BOOKGROUPUNITLIST] |
Create a table of guest names including unit for a group booking |
[BOOKGROUPUNITLISTTOTAL] |
Create a table of guest names including unit for a group booking with guest totals |
[BOOKGROUPUNITLISTCHARGETOTAL] |
Create a table of guest names including unit and charge for a group booking with guest totals |
Invoice variables
| Variable | Shows |
|---|---|
[INVOICENUMBER] |
Invoice number |
[INVOICENUMBERS] |
Invoice number if invoicees are involved |
[INVOICEDATE] |
Invoice date |
[INVOICEDATES] |
Invoice date invoice number if invoicees are involved |
[INVOICEDATE:+1day{%A, %e %B, %Y}] |
Optional date offset and display format. The offset can be any plus or minus any number of days. |
[INVOICEDATES:+1day{%A, %e %B, %Y}] |
Optional date offset and display format - invoice date invoice number if invoicees are involved, The offset can be any plus or minus any number of days. |
Invoice values
These variables show a value from the invoice.
Custom invoice values
Create your own invoice value with [INVOICEVAL:...] and a combination of these codes, connected with underscores. For example, [INVOICEVAL:PAY_THO] shows payments with a thousands separator, and [INVOICEVAL:UPS1_UPS2] shows the sum of upsell 1 and upsell 2.
| Code | Shows |
|---|---|
CHA |
Charges |
CON |
Currency conversion. For example, CONEURUSD converts the first currency (Euros) to the second currency (USD). CON1.234 multiplies the prices by 1.234 |
DEC |
Decimal points. For example, DEC, shows a comma as decimal point. If not set, the default for the language is used |
DP0 |
No decimal places |
DP1 |
1 decimal place |
DP2 |
2 decimal places |
DP3 |
3 decimal places |
DP4 |
4 decimal places |
DES |
Used as DESsome description: gives the sum of values containing the description "some description" |
INV |
Invoicee, add the invoicee number at the end. For example, INV20 to show invoicee number 20, INV0 shows items not assigned to an invoicee, INV-1 shows all items from the booking regardless of invoicee. Use INV[BOOKINGINVOICEEID] for the invoicee set in the booking |
IT1 |
Item 1 in the invoice |
IT2 |
Item 2 in the invoice |
IT3 |
Item 3 in the invoice |
IT4 |
Item 4 in the invoice |
IT5 |
Item 5 in the invoice |
MUL |
Multiplier. For example, MUL1.2 multiplies all prices by 1.2 |
NUM |
Show with decimal place (for scripts) |
THO |
Thousands separator. THO. shows a dot as thousand separator. If not set, the default for the language is used |
UPS1 |
Upsell 1 |
UPS2 |
Upsell 2 |
UPS3 |
Upsell 3 |
UPS4 |
Upsell 4 |
UPS5 |
Upsell 5 |
ONE |
Shows only items from the specified booking (not the booking group) |
PAY |
Shows payments |
QTY |
Shows quantity |
SEX |
Status excluded. Calculates the balance of all invoice items except for the ones with these statuses. Separate several statuses with commas. For example, SEX status1,status2,status4 doesn't show items with this status. |
SIN |
Status included. Calculates the balance of all invoice items with a matching status. Separate several statuses with commas. For example, SIN status1,status2,status4 only shows items with this status. |
VAT |
VAT summary |
Standard invoice values
| Variable | Shows |
|---|---|
[INVOICEBALANCE] |
Invoice balance |
[INVOICEBALANCE:50%] |
Percentage of invoice balance |
[INVOICEBALANCE:-100] |
Invoice balance with offset amount |
[INVOICEBALANCENUM] |
As per [INVOICEBALANCE] but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEBALANCENUM:] |
As per [INVOICEBALANCE:] but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPARTBALANCE:status1,status2,!status4:10%] |
Calculate the balance of all invoice items with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset is optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset. |
[INVOICEPARTBALANCENUM:status1,status2,status4:10%] |
As per INVOICEPARTBALANCE but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEBALANCE1] |
Invoice balance of one booking only, not the booking group |
[INVOICEBALANCE1NUM] |
As per [INVOICEBALANCE1] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICECHARGES] |
Invoice sum of all charges |
[INVOICECHARGES:50%] |
Invoice sum of all charges with percentage multiplier |
[INVOICECHARGES:-100] |
Invoice sum of all charges with offset |
[INVOICECHARGESNUM] |
As per [INVOICECHARGES] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICECHARGESNUM:] |
As per [INVOICECHARGES:] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICEPARTCHARGES:status1,status2,!status4:10%] |
Calculate the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset. |
[INVOICEPARTCHARGESNUM:status1,status2,status4:10%] |
As per INVOICEPARTCHARGES but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPAYMENTS] |
Invoice sum of all payments |
[INVOICEPAYMENTS:50%] |
Invoice sum of all payments with percentage multiplier |
[INVOICEPAYMENTS:-100] |
Invoice sum of all payments with offset |
[INVOICEPAYMENTSNUM] |
As per [INVOICEPAYMENTS] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICEPAYMENTSNUM:50%] |
As per [INVOICEPAYMENTS:50%] but the value is displayed with a decimal point and no thousands separator. |
[INVOICEPARTPAYMENTS:status1,status2,!status4:10%] |
Calculate the balance of all invoice payments with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset. |
[INVOICEPARTPAYMENTSNUM:status1,status2,status4:10%] |
As per INVOICEPARTCHARGES but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAY] |
All (auto and manual) pending payments including failed |
[INVOICEPENDPAYNEXTDATE] |
Date of the next pending payment |
[INVOICEPENDPAYNUM] |
All (auto and manual) pending payments including failed but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAY1234] |
All (auto and manual) pending payments including failed for the specified invoicee (-1 will include all items regardless of invoicee) |
[INVOICEPENDPAYNUM1234] |
All (auto and manual) pending payments including failed for the specified invoicee (-1 will include all items regardless of invoicee) The value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAYAUTO] |
Auto pending payments before due date |
[INVOICEPENDPAYAUTONUM] |
Auto pending payments before due date but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAYAUTO1234] |
Auto pending payments before due date for the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation) (-1 will include all items regardless of invoicee) |
[INVOICEPENDPAYAUTONUM1234] |
Auto pending payments before due date for the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation) (-1 will include all items regardless of invoicee) |
[INVOICEPENDPAYFAIL] |
Failed pending payments (all also past) |
[INVOICEPENDPAYFAILNUM] |
Failed pending payments (all also past) but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICEPENDPAYFAIL234] |
Failed pending payments (all also past) for the specified invoicee (-1 will include all items regardless of invoicee) |
[INVOICEPENDPAYFAILNUM234] |
Failed pending payments (all also past) for the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation) (-1 will include all items regardless of invoicee) |
[INVOICEPENDPAYRULE1] |
Shows all pending payment for this rule (exchange 1 for the rule number) |
[INVOICEPENDPAYRULENUM1] |
Shows all pending payment for this rule (exchange 1 for the rule number) displayed with a decimal point and no thousands separator (for calculation) |
[INVOICEPENDPAYMANUAL] |
Manual pending payments |
[INVOICEPENDPAYMANUALNUM] |
Manual pending payments but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAYMANUALNOTDUE] |
Manual pending payments before due date |
[INVOICEPENDPAYMANUALNOTDUENUM] |
Manual pending payments before due date but the value is displayed with a decimal point and no thousands separator (for calculation). |
[INVOICEPENDPAYMANUALOVERDUE] |
Manual pending payments after due date |
[INVOICEPENDPAYMANUALOVERDUENUM] |
Manual pending payments after due date but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICECREDITS] |
Invoice sum of all credit items (negative items) |
[INVOICECREDITS:50%] |
Invoice sum of all credit items with percentage multiplier |
[INVOICECREDITS:-100] |
Invoice sum of all credit items with offset |
[INVOICECREDITSNUM] |
As per [INVOICECREDITS] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICECREDITSNUM:] |
As per [INVOICECREDITS:] but the value is displayed with a decimal point and no thousands separator (for calculation) |
[INVOICEDEBITS] |
Invoice sum of all debit items (positive items) |
[INVOICEDEBITS:50%] |
Invoice sum of all debit items with percentage multiplier |
[INVOICEDEBITS:-100] |
Invoice sum of all debit items with offset |
[INVOICEDEBITSNUM] |
As per [INVOICEDEBITS] but the value is displayed with a decimal point and no thousands separator (for calculations) (for calculations) |
[INVOICEDEBITSNUM:] |
As per [INVOICEDEBITS:] but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEVAT] |
Invoice sum of all vat value |
[INVOICEVATNUM] |
Invoice sum of all vat value for calculations) |
[INVOICEFIRSTITEM] |
Price of the item listed first in the invoice |
[INVOICEFIRSTITEMNUM] |
Price of the item listed first in the invoice but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICESECONDITEM] |
Price of the item listed second in the invoice |
[INVOICESECONDITEMNUM] |
Price of the item listed second in the invoice but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICETHIRDITEM] |
Price of the item listed third in the invoice |
[INVOICETHIRDITEMNUM] |
Price of the item listed third in the invoice but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEFOURTHITEM] |
Price of the item listed fourth in the invoice |
[INVOICEFOURTHITEMNUM] |
Price of the item listed fourth in the invoice but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEFIFTHITEM] |
Price of the item listed fifth in the invoice |
[INVOICEFIFTHITEMNUM] |
Price of the item listed fifth in the invoice but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEUPSELL0] |
Base price without upsell items or other charges added later |
[INVOICEUPSELLNUM0] |
As per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEUPSELL1] |
Value of upsell item 1 (number can be between 0 to 20) |
[INVOICEUPSELLNUM1] |
As per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEUPSELLQTY1] |
Quantity of upsell item 1 (number can be between 1 to 20) |
[INVOICEUPSELLNAME1] |
Name of the headline field of upsell item 1 (number can be between 1 to 20) |
[INVOICEUPSELLSTATUS1] |
Stautus of the headline field of upsell item 1 (number can be between 1 to 20) |
[INVOICEUPSELLHEADLINE1] |
Headline (name and status if used of upsell item 1 (number can be between 1 to 20) |
[INVOICEUPSELLDESCRIPTION1] |
Description of upsell item 1 (number can be between 1 to 20) |
[INVOICEUPSELLAMOUNTNUM1] |
Amout of upsell item 1 |
[INVOICEUPSELLTYPE1] |
Type of upsell item 1 |
[INVOICEUPSELLPER1] |
Per of upsell item 1 |
[INVOICEUPSELLPERIOD1] |
Period of upsell item 1 |
[INVOICEEXTRAITEMDESC1] |
Name of extra invoice item 1 (number can be between 0 to 20) |
[INVOICEEXTRAITEM1] |
Value of extra invoice item 1 (number can be between 0 to 20) Note: the order goes by the order in the dropdown list not by the order the items are entered. |
[INVOICEEXTRAITEMNUM1] |
As per [INVOICEEXTRAITEM1] but the value is displayed with a decimal point and no thousands separator (for calculations). |
[INVOICEEXTRAITEMQTY1] |
Quantity of extra invoice item 1 (number can be between 0 to 20) Note: the order goes by the order in the dropdown list not by the order the items are entered. |
[INVOICEGROSS:1] |
Gross amount of the inserted VAT rate (number is the VAT rate) |
[INVOICEGROSSNUM:1] |
Gross amount of the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICENET:1] |
Net amount of the inserted VAT rate (number is the VAT rate) |
[INVOICENETNUM:1] |
Net amount of the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEVAT:1] |
VAT amount of the inserted VAT rate (number is the VAT rate) |
[INVOICEVATNUM:1] |
VAT amount of the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEITEMBYDESC:Searchterm] |
Searches the invoice for items with this search term and adds them up |
[INVOICEITEMBYDESCNUM:Searchterm] |
Searches the invoice for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations) |
[INVOICEPAYMENTBYDESC:Searchterm] |
Searches the payments for items with this search term and adds them up |
[INVOICEPAYMENTBYDESCNUM:Searchterm] |
Searches the payments for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations) |
Invoice tables
These variables show an invoice table. Don't place them inside paragraph tags, see Use template variables in an HTML editor.
Standard invoice tables
| Variable | Shows |
|---|---|
[INVOICETABLE] |
Invoice table |
[INVOICETABLEVAT] |
Invoice table with vat information and vat summary |
[INVOICETABLE:$1.1$] |
Invoice table and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEPART:status1,status2,!status4] |
Invoice table showing only items with matching status. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. |
[INVOICETABLE2] |
Invoice table with status field |
[INVOICETABLE2:$1.1$] |
Invoice table with status field and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLECHARGES] |
Invoice table showing charges only |
[INVOICETABLECHARGESINVOICEE1234] |
Invoice table showing charges only assigned to the specified invoicee, specify the invoicee Id number. |
[INVOICETABLENOTOT] |
Invoice table without grand total |
[INVOICETABLENOTOT:$1.1$] |
Invoice table without grand total and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLENOTOT2] |
Invoice table with status field without grand total |
[INVOICETABLENOTOT2:$1.1$] |
Invoice table with status field without grand total and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVAT:$1.1$] |
Invoice table with vat information and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVATCOMPACT] |
Compact version of invoice table with vat information and vat summary |
[INVOICETABLEVATCOMPACT:$1.1$] |
Compact version of invoice table with vat information and vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVATCOMPACTNOSUM] |
Compact version of invoice table with vat information without vat summary |
[INVOICETABLEVATCOMPACTNOSUM:$1.1$] |
Compact version of invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVATNOSUM] |
Invoice table with vat information without vat summary |
[INVOICETABLEVATNOSUM:$1.1$] |
Invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEDATEVATNOSUM] |
Invoice table with vat information and date without vat summary |
[INVOICETABLEDATEVATNOSUM:$1.1$] |
Invoice table with vat information and date without vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVAT2] |
Invoice table with vat information and status field and vat summary |
[INVOICETABLEVAT2:$1.1$] |
Invoice table with vat information and status field and vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVAT2NOSUM] |
Invoice table with vat information and status field without vat summary |
[INVOICETABLEVAT2NOSUM:$1.1$] |
Invoice table with vat information and status field without vat summary and currency multiplier with optional new currency symbol before or after price. |
[INVOICETABLEVATCHARGES] |
Invoice table showing charges only with vat information and vat summary |
[INVOICETABLENOPRICE] |
Invoice table with no price information |
[INVOICETABLEINVOICEE] |
Invoice table excluding items assigned to an invoicee. |
[INVOICETABLEINVOICEE1234] |
Invoice table for a specific invoicee, specify the invoicee Id number. |
[UPSELLTABLE] |
Table with all upsell items |
[UPSELLTABLEVAT] |
Table with all upsell items with vat information and vat summary |
[UPSELLTABLENOREFUND] |
Table with all upsell items except refundable items |
Custom invoice table
Create your own invoice table with [INVOICE:...] and a combination of these codes, connected with underscores.
| Code | Shows |
|---|---|
AMO |
Shows the net value (price x quantity) |
CEX |
Charges excluded (charges will not be shown) |
CON |
Currency conversion. For example, CONEURUSD converts the first currency (Euros) to the second currency (USD). CON1.234 multiplies the prices by 1.234 |
CUA |
Currency symbol showing after the numbers. For example, CUA€ shows € after the figures |
CUB |
Currency symbol showing before the numbers. For example, CUB€ shows € before the figures |
DAT |
Adds a date column. Set the date format with date and time format codes, for example DAT{%d-%m-%Y} |
DEC |
Decimal points. For example, DEC, shows a comma as decimal point. If not set, the default for the language is used |
DP0 |
No decimal places |
DP1 |
1 decimal place |
DP2 |
2 decimal places |
DP3 |
3 decimal places |
DP4 |
4 decimal places |
GAT |
Sum for each column |
GRP |
Group Totals. Displays the same items as a total |
GRT |
Grand Total |
INV |
Invoicee, add the invoicee number at the end. For example, INV20 to show invoicee number 20, INV0 shows items not assigned to an invoicee, INV-1 shows all items from the booking regardless of invoicee. Use INV[BOOKINGINVOICEEID] for the invoicee set in the booking |
LAN |
Language. Example LANDE will force the language to German |
MUL |
Multiplier. For example, MUL1.2 multiplies all prices by 1.2 |
NIN |
Do not show invoice number and invoice date on locked invoices |
NOC |
Charges will not be displayed but their vat values are still calculated for the vat summary (VAT) |
NOP |
Payments will not be displayed |
ONE |
Shows only items from the specified booking (not the booking group) |
ORB |
Order by booking, this keeps the items for each booking (room) together in the table |
PAA |
Shows a column with payment amounts |
PAY |
Shows payments |
PEN |
Shows pending payments description |
PPA |
Shows pending payments amount |
PRI |
Shows prices in a column |
QTY |
Shows quantity |
SEX |
Status excluded. Calculates the balance of all invoice items except for the ones with these statuses. Separate several statuses with commas. For example, SEX status1,status2,status4 doesn't show items with this status. |
SIN |
Status included. Calculates the balance of all invoice items with a matching status. Separate several statuses with commas. For example, SIN status1,status2,status4 only shows items with this status. |
STA |
Shows status |
THO |
Thousands separator. THO. shows a dot as thousand separator. If not set, the default for the language is used |
TOT |
Shows total amounts |
VAA |
Shows VAT amounts |
VAP |
Shows VAT percents |
VAT |
VAT summary |
Examples:
| Variable | Shows |
|---|---|
[INVOICE:PRI_QTY_CUA€] |
An invoice table with price and quantity in euros |
[INVOICE:PAY_TOT_CEX] |
An invoice table with payments only |
[INVOICE:PRI_QTY_CUA_TOT_VAT_QTY_PAY_GRT_AMO_VAA] |
An invoice table with more information |
[INVOICE:SIN TRANSPORT] |
An invoice table with the items that have the status Transport |
Invoicee variables
| Variable | Shows |
|---|---|
[INVOICEEBALANCE] |
Invoice balance for unassigned invoice items. |
[INVOICEEBALANCENUM] |
Invoice balance for unassigned invoice items displayed with a decimal point and no thousands separator. |
[INVOICEEBALANCE1234] |
Invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number). |
[INVOICEEBALANCENUM1234] |
Invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed with a decimal point and no thousands separator. |
[INVOICEECHARGES] |
Invoice charges for unassigned invoice items. |
[INVOICEECHARGESNUM] |
Invoice charges for unassigned invoice items displayed with a decimal point and no thousands separator. |
[INVOICEECHARGES1234] |
Invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number). |
[INVOICEECHARGESNUM1234] |
Invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed with a decimal point and no thousands separator. |
[INVOICEEPAYMENTS] |
Invoice payments for unassigned invoice items. |
[INVOICEEPAYMENTSNUM] |
Invoice payments for unassigned invoice items displayed with a decimal point and no thousands separator. |
[INVOICEEPAYMENTS1234] |
Invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) |
[INVOICEEPAYMENTSNUM1234] |
Invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) |
[INVOICEENAME] |
Name of the invoicee account the invoice is assigned to or blank |
[INVOICEECODE] |
Code of the invoicee account the invoice is assigned to or blank |
[INVOICEECURRENCY] |
Currency of the invoicee account the invoice is assigned to if it is not the property default or blank |
[INVOICEENOTES] |
Value of the "Notes" field for the invoicee |
[INVOICEETEMPLATE1] |
Template value 1 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE2] |
Template value 2 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE3] |
Template value 3 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE4] |
Template value 4 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE5] |
Template value 5 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE6] |
Template value 6 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE7] |
Template value 7 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE8] |
Template value 8 of the invoice account the invoice is assigned to or blank |
[INVOICEETEMPLATE1BR] |
Template value 1 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE2BR] |
Template value 2 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE3BR] |
Template value 3 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE4BR] |
Template value 4 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE5BR] |
Template value 5 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE6BR] |
Template value 6 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE7BR] |
Template value 7 of the invoice account the invoice is assigned to or blank with linkebreak |
[INVOICEETEMPLATE8BR] |
Template value 8 of the invoice account the invoice is assigned to or blank with linkebreak |
Payment request variables
| Variable | Shows |
|---|---|
[PAYURL] |
Creates a payment url for the payment request for the amount in the booking deposit field if non zero, otherwise the outstanding balance. |
[PAYURL:25%] |
Creates a payment url for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. |
[PAYURL:200] |
Creates a payment url for the payment request url for a fixed amount. nt. |
[PAYLINK] |
Creates a payment link (HTML A tag) for the payment request for the amount in the booking deposit field if non zero, otherwise the outstanding balance. |
[PAYLINK:25%] |
Creates a payment link (HTML A tag) for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. |
[PAYLINK:200] |
Creates a payment link (HTML A tag) for the payment request) for a fixed amount. |
[PAYBUTTON] |
Creates a payment button for the payment request for the amount in the booking deposit field if non zero, otherwise the outstanding balance. Not recommended for emails. |
[PAYBUTTON:25%] |
Creates a payment button for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. Not recommended for emails. |
[PAYBUTTON:200] |
Creates a payment button for the payment request for a fixed amount. |
[PAYPALURL] |
Creates a Paypal payment url for the amount in the booking deposit field if non zero, otherwise the outstanding balance. |
[PAYPALURL:25%] |
Creates a Paypal payment url for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. |
[PAYPALURL:200] |
Creates a Paypal payment url for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount. |
[PAYPALLINK] |
Creates a Paypal payment link (HTML A tag) for the amount in the booking deposit field if non zero, otherwise the outstanding balance. |
[PAYPALLINK:25%] |
Creates a Paypal payment link (HTML A tag) for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. |
[PAYPALLINK:200] |
Creates a Paypal payment link (HTML A tag) for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount. |
[PAYPALBUTTON] |
Creates a Paypal payment button for the amount in the booking deposit field if non zero, otherwise the outstanding balance. Not recommended for emails. |
[PAYPALBUTTON:25%] |
Creates a Paypal payment button for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. Not recommended for emails. |
[PAYPALBUTTON:200] |
Creates a Paypal payment button for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount. Not recommended for emails. |
To hide a payment gateway, add H and the gateway code. For example, [PAYURL:200:HST] hides Stripe.
iCal links
These variables create iCal links that let the guest add the booking to their calendar.
| Variable | Shows |
|---|---|
[ICALURL] |
Calendar link |
[ICALURL:16] |
Calendar link with check-in hour. Replace 16 with the hour check-in starts. |
[ICALURL::10] |
Calendar link with check-out hour. Replace 10 with the hour check-out ends. |
[ICALURL:::summary text] |
Calendar link with a summary text |
[ICALURL::::description text] |
Calendar link with a description text |
For example, [ICALURL:16:10:Booking:Sunny Hotel] creates a calendar link with check-in at 16:00, check-out at 10:00, the summary text Booking and the description text Sunny Hotel.
Account variables: account of the booking
| Variable | Shows |
|---|---|
[ACCOUNTUSERNAME] |
Username of the account owning the booking |
[LOGGEDINACCOUNTUSERNAME] |
Username of the person logged in |
[ACCOUNTID] |
Account id of the booked property |
[ACCOUNTTEMPLATE1] |
Account Template 1 |
[ACCOUNTTEMPLATE2] |
Account Template 2 |
[ACCOUNTTEMPLATE3] |
Account Template 3 |
[ACCOUNTTEMPLATE4] |
Account Template 4 |
[COMMISSIONLIMIT] |
Shows the available commission amount for the owner account of the booking |
[MASTERACCOUNTTEMPLATE1] |
Account Template 1 from master account |
[MASTERACCOUNTTEMPLATE2] |
Account Template 2 from master account |
[MASTERACCOUNTTEMPLATE3] |
Account Template 3 from master account |
[MASTERACCOUNTTEMPLATE4] |
Account Template 4 from master account |
Account variables: logged-in account
These variables show details of the account that is logged in. They work only for display in the control panel, not in Auto Actions or emails. Resellers can use them, for example, in a custom tab they added to bookings.
| Variable | Shows |
|---|---|
[LOGGEDINACCOUNTID] |
Account id of the logged in user |
[LOGGEDINACCOUNTTEMPLATE1] |
Account Template 1 |
[LOGGEDINACCOUNTTEMPLATE2] |
Account Template 2 |
[LOGGEDINACCOUNTTEMPLATE3] |
Account Template 3 |
[LOGGEDINACCOUNTTEMPLATE4] |
Account Template 4 |
[LOGGEDINAPIKEY] |
ApiKey |
[MASTERLOGGEDINACCOUNTTEMPLATE1] |
Account Template 1 from master account |
[MASTERLOGGEDINACCOUNTTEMPLATE2] |
Account Template 2 from master account |
[MASTERLOGGEDINACCOUNTTEMPLATE3] |
Account Template 3 from master account |
[MASTERLOGGEDINACCOUNTTEMPLATE4] |
Account Template 4 from master account |
Encoding variables
| Variable | Shows |
|---|---|
[ENCODEURL:value] |
Encode value for URL data format |
[ENCODEJSON:value] |
Encode value for JSON data format |
Tip: always use the variables ending in NUM when numbers are involved. Calculations only work with numbers that have a decimal point (not a decimal comma), no thousands separator and no currency symbol.
Use template variables in an HTML editor
Don't place variables that create tables, such as [INVOICETABLE], inside paragraph tags (<p>). This can break the layout of the table.
- Insert the variable as usual.
- Click the </> (code view) button in the editor toolbar.
- Find the variable and move it outside the paragraph tags.
For example, change <p>[INVOICETABLE]</p> to <p></p>[INVOICETABLE].
Logic, calculations and text functions
Show text only when a condition is met, calculate with numbers, convert currencies and change text with IF variables, mathematical operators and text functions. See Template variable logic and calculations.