Changes

Jump to navigation Jump to search

Template Variables

19,300 bytes added, 11:56, 28 October 2022
no edit summary
[PROPERTYLOCATIONDESCRIPTIONBR] - property location description with line break
[PROPERTYDIRECTIONS] - property directions from ({{#fas:cog}} (SETTINGS) CHANNEL MANNAGER > PROPERTY CONTENT)
[PROPERTYHEADLINE] - property headline
[PROPERTYCANCELPOLICYBR] - property cancellation policy with line breaks
[PROPERTYHOUSERULES] - property house rules ({{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT) [PROPERTYHOUSERULESBR] - property house rules ({{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT) with line break 
[PROPERTYTEMPLATE1] - Property Template 1
[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
[PERMITID] - the permit ID
[CHECKINSTART] - check-in start time in 24hr format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in start') [CHECKINEND] - check-in end time in 24hr format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in end')
[CHECKINENDCHECKOUTEND] - check-in out end time in 24hr format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in out end')
[CHECKOUTENDCHECKINSTART12] - check-out end in start time in 24hr am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-out endin start')
[CHECKINSTART12CHECKINEND12] - check-in start end time in am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in startend')
[CHECKINEND12CHECKOUTEND12] - check-in out end time in am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in out end')
[CHECKOUTEND12PROPERTYDESCRIPTION1] - check-out end time in am/pm format (From Property Description 1 from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT 'Check-out end')
[PROPERTYDESCRIPTION1PROPERTYDESCRIPTION2] - Property Description 1 2 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCRIPTION2PROPERTYDESCBOOKPAGE1] - Property Description 2 Booking Page 1 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCBOOKPAGE1PROPERTYDESCBOOKPAGE2] - Property Description Booking Page 1 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCBOOKPAGE2PROPERTYGUESTDETAILSHEADER] - Property Description Booking Page 1 Guest Details Header from{{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYGUESTDETAILSHEADERPROPERTYGUESTENQUIRYHEADER] - Guest Details Enquiry Header from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYGUESTENQUIRYHEADERPROPERTYCONFIRMBOOKBUTTON] - Guest Enquiry Header Confirm Booking Button Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYCONFIRMBOOKBUTTONPROPERTYROOMNOTAVAIL] - Confirm Booking Button Room Not Available Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYROOMNOTAVAILPROPERTYROOMNOPRICE] - Room Not Available No Price Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYROOMNOPRICEPROPERTYNOROOMSAVAIL] - Room No Price Rooms Available Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYNOROOMSAVAILPROPERTYGROUP] - No Rooms Available Message from {#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENTshows the group keywords
== Room Variables ==
[ROOMNAMEOFFERBR] - room names of all booked rooms with offer name with line break
[ROOMNAMEOFFERINC] room names of all booked rooms with offer name inklincl. cancelled bookings
[ROOMNAMEOFFERINCBR] - room names of all booked rooms with offer name with line break
[ROOMTEMPLATE8] - ROOM Template 8
 
[ROOMTEMPLATE1BR] - ROOM Template 1 with linkbreak
 
[ROOMTEMPLATE2BR] - ROOM Template 2 with linkbreak
 
[ROOMTEMPLATE3BR] - ROOM Template 3 with linkbreak
 
[ROOMTEMPLATE4BR] - ROOM Template 4 with linkbreak
 
[ROOMTEMPLATE5BR] - ROOM Template 5 with linkbreak
 
[ROOMTEMPLATE6BR] - ROOM Template 6 with linkbreak
 
[ROOMTEMPLATE7BR] - ROOM Template 7 with linkbreak
 
[ROOMTEMPLATE8BR] - ROOM Template 8 with linkbreak
[ROOMMETAAUXTEXT] - room meta text setting for first booked room
[OFFERNAME1] - offer name for this booked room only
[OFFERNAMEINC] - offer name for this booked room only inluding including cancelled bookings
[OFFERDESCRIPTION1] - offer description 1 for all booked rooms
[OFFERDESCRIPTION1INC] - offer description 1 for all booked rooms inklincl. cancelled
[OFFERDESCRIPTION2] - offer description 2 for all booked rooms
[OFFERDESCRIPTION2INC] - offer description 2 for all booked rooms inklincl. cancelled
[OFFERDESCRIPTION1-1] - offer description 1 for this booked room
[OFFERSUMMARYINC] - summary offers including cancelled bookings
 
[UNITID] - ID of the unit (number)
[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
[ROOMDESCRIPTIONUNITSTATUS1] - Room description from {#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENTthe status of the unit
[ROOMDESCRIPTION] - Room description from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT [ROOMDESCRIPTION1] - Room description 1 from {{#fas:cog}} (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 {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMCLEANINGFEENUM] - Cleaning fee from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMSECURITYDEPOSITNUM] - Securty deposit from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMTAXPERCENTNUM] - Tax percentate from from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMTAXPERSONNUM] - Tax per Person Night from from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
== Booking Variables ==
[BOOKIDLAST8] - Last 8 digits of booking number
 
[BEDDING] - displays bedding info codes
[RANDOM1] - a 1 digit random number seeded from the booking number
[RANDOM8] - a 8 digit random number seeded from the booking number
 
[VOUCHERPHRASE1] - Voucher Phrase - change the nubmer to the voucher you want to print out.
 
[VOUCHERAMOUNT1] - Voucher Amount - change the nubmer to the voucher you want to print out.
=== Content from "Info" tab ===
[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
[GUESTMOBILENUM] - guests mobile number with all non-numeric characters removed
 
[MOBILELAST1] last digit of the guests mobile number, if mobile is empty the guests phone number will be used.
 
[MOBILELAST2] last 2 digits of the guests mobile number, if mobile is empty the guests phone number will be used.
 
[MOBILELAST3] last 3 digits of the guests mobile number, if mobile is empty the guests phone number will be used.
 
[MOBILELAST4] last 4 digits of the guests mobile number, if mobile is empty the guests phone number will be used.
 
[MOBILELAST5] last 5 digits of the guests mobile number, if mobile is empty the guests phone number will be used.
 
[MOBILELAST6] last 6 digits of the guests mobile number, if mobile is empty the guests phone number will be used.
[PHONELAST1] - last digit of the guests phone number if guest phone is empty it will use the guests mobile number
[PHONELAST6] - last 6 digits of the guests phone number if guest phone is empty it will use the guests 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
[GUESTCUSTOMQ1] - answer to custom question 1
 
[GUESTCUSTOMQ1BR] - answer to custom question 1 with line breaks <BR>
[GUESTCUSTOMQ2] - answer to custom question 2
 
[GUESTCUSTOMQsBR] - answer to custom question 2 with line breaks <BR>
[GUESTCUSTOMQ3] - answer to custom question 3
 
[GUESTCUSTOMQ3BR] - answer to custom question 3 with line breaks <BR>
[GUESTCUSTOMQ4] - answer to custom question 4
 
[GUESTCUSTOMQ4BR] - answer to custom question 4 with line breaks <BR>
[GUESTCUSTOMQ5] - answer to custom question 5
 
[GUESTCUSTOMQ5BR] - answer to custom question 5 with line breaks <BR>
[GUESTCUSTOMQ6] - answer to custom question 6
 
[GUESTCUSTOMQ6BR] - answer to custom question 6 with line breaks <BR>
[GUESTCUSTOMQ7] - answer to custom question 7
 
[GUESTCUSTOMQ7BR] - answer to custom question 7 with line breaks <BR>
[GUESTCUSTOMQ8] - answer to custom question 8
 
[GUESTCUSTOMQ8BR] - answer to custom question 8 with line breaks <BR>
[GUESTCUSTOMQ9] - answer to custom question 9
 
[GUESTCUSTOMQ9BR] - answer to custom question 9 with line breaks <BR>
[GUESTCUSTOMQ10] - answer to custom question 10
 
[GUESTCUSTOMQ10BR] - answer to custom question 10 with line breaks <BR>
[REFERENCE] - content of the booking reference field
[APISOURCETEXT] - human readable name of the channel
[BOOKINGDATEBOOKINGIP] - booking dateip address of booker's computer
[APIMESSAGE] - api message sent by originating channel [BOOKINGDATE] - booking date in guests language [BOOKINGTIMEDATE] - booking date and timein guests language
[BOOKINGDATEYYYY-MM-DD] - booking date in YYYY-MM-DD format
[BOOKINGIP] - ip address of booker's computer [APIMESSAGE] - api message sent by originating channelsee date and time variables below for custom time formats.
=== Content from "Charges and Payments" tab (also see "Invoice/Invoicee/Room") ===
[GUESTSADDRESSSBR1INC] - address of the first guest on the "guests" tab of this booking group incl. cancelled
===Cancellation and Guest Login===[CANCELURLGUESTSAFULLADDRESSSBR1INC] - URL to view the first address including city, postcode, sate and cancel country from the guests tab of the booking including cancelled bookings in international format
[CANCELDATEGUESTSAFULLADDRESSSBR1] - date until when the first address including city, postcode, sate and country from the guests tab of the booking is cancellable displaying a phrasein International format
[CANCELDATEYYYY-MM-DDGUESTSBFULLADDRESSSBR1INC] - date until when the first address including city, postcode, sate and country from the guests tab of the booking is cancellable displaying a date. If the date is including cancelled bookings in the past 00-00-0000 will be shown European format
[DAYSTOCANCELGUESTSBFULLADDRESSSBR1] - number the first address including city, postcode, sate and country from the guests tab of days until the booking can be cancelled / Anzahl der Tage bis zu denen stroniert werden kannin European format
[GUESTLOGINGUESTSNUMBOOKINGS1] - URL to view the total number of bookingsmade by the first guest, a group booking counts as one booking.
==Date and Time==[CURRENTDATEGUESTSNUMSTAYS1] - current datethe total number of bookings not cancelled and not in the future made by the first guest, a group booking counts as one booking.
[CURRENTDATEYYYY-MM-DDGUESTSCUSTOMQ1S] - current date in YYYY-MM-DD formatanswer to custom question 1 for all guests
[CURRENTDATE:{%A, %e %B, %Y}GUESTSCUSTOMQ1SINC] - current dateanswer to custom question 1 for all guests including cancelled bookings
[CURRENTDATE:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ2S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 2 for all guests
[CURRENTTIMEGUESTSCUSTOMQ2SINC] - current time and the display can be any valid PHP strftime format string.answer to custom question 2 for all guests including cancelled bookings
[CURRENTTIME:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ3S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 3 for all guests
[DAYSTOCHECKINGUESTSCUSTOMQ3SINC] - answer to custom question 3 for all guests including cancelled bookings number of days until check-in
[INADVANCEGUESTSCUSTOMQ4S] - number of days between booking and check-inanswer to custom question 4 for all guests
[GUESTSCUSTOMQ4SINC] - answer to custom question 4 for all guests including cancelled bookings
You can use PHP strftime format strings [GUESTSCUSTOMQ5S] - answer to create custom time formats. Information on PHP strftime strings is available at [http://php.net/manual/en/function.strftime.php http://php.net/manual/en/function.strftime.php]question 5 for all guests
[DAYSBETWEEN:2019-11-01:2019-11-10GUESTSCUSTOMQ5SINC] - this template variable will calculate the number of days between the :: the dates need answer to be in yyyy-mm-dd format. Template variables can be used custom question 5 for calculation.all guests including cancelled bookings
Example: [[DAYSBETWEEN:[FIRSTNIGHT:+5 days{%G-%m-%d}GUESTSCUSTOMQ6S]:[CURRENTDATE:{%G-%m-%d}]] will calculate the days between 5 days after check -in and today. answer to custom question 6 for all guests
[FIRSTNIGHT:{%A, %e %B, %Y}GUESTSCUSTOMQ6SINC] - answer to custom question 6 for all guests including cancelled bookings first night booked
[FIRSTNIGHT:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ7S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 7 for all guests
[LASTNIGHT:{%A, %e %B, %Y}GUESTSCUSTOMQ7SINC] - answer to custom question 7 for all guests including cancelled bookings last night booked
[LASTNIGHT:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ7S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 8 for all guests
[LEAVINGDAY:{%A, %e %B, %Y}GUESTSCUSTOMQ8SINC] - check-out answer to custom question 8 for all guests including cancelled bookings
[LEAVINGDAY:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ9S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 9 for all guests
[BOOKINGDATE:{%A, %e %B, %Y}GUESTSCUSTOMQ9SINC] - booking dateanswer to custom question 9 for all guests including cancelled bookings
[BOOKINGDATE:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ10S] - optional date offset and display format. The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.answer to custom question 10 for all guests
[MODIFYDATE:{%A, %e %B, %Y}GUESTSCUSTOMQ10SINC] - last booking modification date/time, the display can be any valid PHP strftime format string.answer to custom question 10 for all guests including cancelled bookings
===Cancellation, Management and Guest Login===[PAYMENTDATE:{%A, %e %B, %Y}CANCELLEDTIME] - most recent payment datewhen the booking was cancelled
[PAYMENTDATECANCELLEDTIME:+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 when the booking was cancelled display can be any valid PHP strftime format string. The second parameter specifies the payment to show, 0 or missing means the most recent payment. The third parameter specifies the invoicee.
== Booking Group variables ===== Custom Booking Group Table ===create your own booking group list by specifying the columns in the order you want them [CANCELURL] - URL to appear.view and cancel bookings
for example: [BOOKGROUP:PROP_ROOM_BREF_NAMECANCELDATE] - date until when the booking is cancellable displaying a phrase
column parameters[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
ADDR = Booking address[DAYSTOCANCEL] - number of days until booking can be cancelled
ADUL= [CANCELUNTIL] - shows the number of adultsdays between check-in and the last day which can be cancelled. If guest can always cancel it shows 0, if guest can never cancel it shows 9999
ARIV = Arrival date[GUESTLOGIN] - URL to view bookings
BREF = Booking number[TURNOVERDAYS] - days until next arrival into the same unit
CITY = Booking city [VACANTDAYS] days from previous checkout to check in of current booking
CHAR = Charges=Date and Time==
CHIL = the number of children[CURRENTDATE] - current date
COUN = Booking country [CURRENTDATEYYYY-MM-DD] - current date in YYYY-MM-DD format
DEPT = Departure [CURRENTDATE:{%A, %e %B, %Y}] - current date
EMAI = Booking Email [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.
FLAG = Booking flag text[CURRENTTIME] - current time and the display can be any valid PHP strftime format string.
FNAM = Booking first name[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
GADD = Guest address[INADVANCE] - number of days between booking and check-in
GCIT = Guest city[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.
GCOM = Guest companyExample: [[DAYSBETWEEN:[FIRSTNIGHT:+5 days{%G-%m-%d}]:[CURRENTDATE:{%G-%m-%d}]] will calculate the days between 5 days after check-in and today.
GCOU = Guest country[FIRSTNIGHT:{%A, %e %B, %Y}] - first night booked
GFLA = Guest flag text[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.
GFNA = Guest first name [LASTNIGHT:{%A, %e %B, %Y}] - last night booked
GLNA = Guest last name[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.
GMOB = Guest mobile[LEAVINGDAY:{%A, %e %B, %Y}] - check-out
GNAM = Guest full name[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.
GEMA = Guest Email[BOOKINGDATE:{%A, %e %B, %Y}] - booking date
GNOT = Guest note[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.
GPOS = Guest postcode[MODIFYDATE:{%A, %e %B, %Y}] - last booking modification date/time, the display can be any valid PHP strftime format string.
GREF = Guest Id[PAYMENTDATE:{%A, %e %B, %Y}] - most recent payment date
GSTA = Guest state[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.
GTEL = Guest phone[AUTHORIZEUNTIL] - date until which a card is authorized, this is extracted from the most recent authorize booking info code.
ICAN = Include cancelled bookings[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.
LNAM = Booking last name[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.
MOBI = Booking mobile
NAME = Booking full nameThe following codes can be used in any order between the {} brackets to create custom time and date formats.
NOTE = Booking note %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 %j Day of the year, 3 digits with leading zeros 001 to 366 %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) %U Week number of the given year, starting with the first Sunday as the first week 13 (for the 13th full week of the year) %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) %W A numeric representation of the week of the year, starting with the first Monday as the first week 46 (for the 46th week of the year beginning with a Monday) %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) %C Two digit representation of the century (year divided by 100, truncated to an integer) 19 for the 20th Century %g Two digit representation of the year going by ISO-8601:1988 standards (see %V) Example: 09 for the week of January 6, 2009 %G The full four-digit version of %g Example: 2008 for the week of January 3, 2009 %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 %k Hour in 24-hour format, with a space preceding single digits 0 through 23 %I Two digit representation of the hour in 12-hour format 01 through 12 %l (lower-case 'L') Hour in 12-hour format, with a space preceding single digits 1 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 "%I:%M:%S %p" Example: 09:34:17 PM for 21:34:17 %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 %T Same as "%H:%M:%S" Example: 21:34:17 for 09:34:17 PM %X Preferred time representation based on locale, without the date Example: 03:59:16 or 15:59:16 %z The time zone offset. Example: -0500 for US Eastern Time %Z The time zone abbreviation. Example: EST for Eastern Time %c Preferred date and time stamp based on locale Example: Tue Feb 5 00:45:10 2009 for February 5, 2009 at 12:45:10 AM %D Same as "%m/%d/%y" Example: 02/05/09 for February 5, 2009 %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 %x Preferred date representation based on locale, without the time Example: 02/05/09 for February 5, 2009 %n A newline character ("\n") %t A Tab character ("\t") %% A literal percentage character ("%")
ONAM = Offer Name = Booking Group variables ===== Custom Booking Group Table ===create your own booking group list by specifying the columns in the order you want them to appear.
ONLY = Just show the one bookingfor example: [BOOKGROUP:PROP_ROOM_BREF_NAME]
PAID = Paid amountcolumn parameters
PEOP 100% = the number of guests100% width
PHON ADDR = Booking phoneaddress
POST ADUL= Booking postcodethe number of adults
PROP ARIV = Property nameArrival date
RDE0 BOPR = Room description from {#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENTBold prices
RDE1 BREF = Room description 1 from {#fas:cog}} (SETTINGS) PROPERTIES> ROOMS > SETUPBooking number
RNAM CITY = Room Display Name ROOM = Room nameBooking city
STAT CHAC = Booking stateCharges with currency symbol
TOTA CHAR = Total priceCharges
UNI2 CHIL = Unit first additional information UNI3 = Unit second additional informationNumber of children
UNIT COUN = Unit nameBooking country
DEPT = Departure date
Connect the parameters with an underscore. EMAI = Booking Email
Examples: EXSP = extra space between rows
[BOOKGROUP:PROP_ROOM_BREF_NAME] will display the property name, room name, booking number and guest name in this order.FLAG = Booking flag text
FNAM = Booking first name
[BOOKGROUP:BREF_NAME_PROP_ROOM] will display the booking number, guest name property name and room name in this order.GADD = Guest address
GCIT === Booking Group Table with fixed content===[BOOKGROUPROOMLIST] - create a table of guest names including room type for a group bookingGuest city
[BOOKGROUPROOMLISTTOTAL] - create a table of guest names including room type for a group booking with guest totalsGCOM = Guest company
[BOOKGROUPROOMLISTCHARGETOTAL] - create a table of guest names including room type and charge for a group booking with guest totalsGCOU = Guest country
[BOOKGROUPNAMELIST] - create a table of guest names including room type and unit for a group bookingGFLA = Guest flag text
[BOOKGROUPNAMELISTTOTAL] - create a table of guest names including room type and unit for a group booking with guest totalsGFNA = Guest first name
[BOOKGROUPNAMELISTCHARGETOTAL] - create a table of guest names including room type and unit and charge for a group booking with guest totalsGLNA = Guest last name
[BOOKGROUPUNITLIST] - create a table of guest names including unit for a group bookingGMOB = Guest mobile
[BOOKGROUPUNITLISTTOTAL] - create a table of guest names including unit for a group booking with guest totalsGNAM = Guest full name
[BOOKGROUPUNITLISTCHARGETOTAL] - create a table of guest names including unit and charge for a group booking with guest totalsGEMA = Guest Email
GNOT == Invoice Variables ==[INVOICENUMBER] - invoice numberGuest note
[INVOICENUMBERS] - invoice number if invoicees are involvedGPOS = Guest postcode
[INVOICEDATE] - invoice dateGREF = Guest Id
[INVOICEDATE:+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 any valid PHP strftime format string. GSTA === Invoice Values ===These template variables will display a value form the invoice.Guest state
GTEL ==== Custom Invoice Values====You have the option to create a custom invoice variable to display a value from an invoice. Available content variables are: Guest phone
CHA - chargesICAN = Include cancelled bookings
CON - currency conversion. Example: CONEURUSD will convert the first currency (Euros) to the second currency (USD). CON1.234 would multiply the prices by 1.234 LNAM = Booking last name
DEC - Decimal points. Example: DEC, will show a comma as decimal point. If nothing is set the system will use the default for the languageMOBI = Booking mobile
DP0 - no decimal placesNAME = Booking full name
DP1 - 1 decimal placeNOHE = no header
DP2 - 2 decimal placesNOTE = Booking note
DP3 - 3 decimal placesONAM = Offer Name
DP4 - 4 decimal places ONLY = Just show the one booking
DESsome description - sum of values PAIC = Payment amount with "some description"currency symbol
INV - invoicee, add the invoicee number at the end. Example: INV20 to show invoicee number 20, INV0 will show items not assigned to an invoicee, INV-1 will show all items from the booking regardless of invoicee. You can combine INV[BOOKINGINVOICEEID]] to add the invoicee from the booking PAID = Paid amount
IT1 - item 1 in the invoicePEOP = Number of guests
IT2 - item 2 in the invoice PHON = Booking phone
IT3 - item 3 in the invoicePOST = Booking postcode
IT4 - item 4 in the invoicePROP = Property name
IT5 - RDE0 = item 5 in the invoiceRoom description from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
MUL - multiplier. ExampleRDE1 = Room description 1 from {{#fas: MUL1.2 will multiply all prices by 1.2 cog}} (SETTINGS) PROPERTIES> ROOMS > SETUP
NUM - show with decimal place (for scripts)RNAM = Room Display Name ROOM = Room name
THO - thousands separator. THO. will show a dot as thousand separator. If nothing is set RQTY = shows the system will use the default number of rooms for each booking and a total at the language bottom
UPS1 - upsell 1STAT = Booking state
UPS2 - upsell 2STUS = Status
UPS3 - upsell 3TOTA = Total price
UPS4 - upsell 4UNI2 = Unit first additional information UNI3 = Unit second additional information
UPS5 - upsell 5UNIT = Unit name
ONE - shows only items from the specified booking (not the booking group)
PAY - shows payments Connect the parameters with an underscore.
QTY - shows quantityExamples:
SEX - status excluded. Calculate the balance of all invoice items except for [BOOKGROUP:PROP_ROOM_BREF_NAME] will display the ones with these statusproperty name, the status items can be a comma separated list. Example: SEX status1room name,status2,status4 will not show items with booking number and guest name in this statusorder.
SIN - status included. Calculate the balance of all invoice items with matching status, the status items can be a comma separated list. Example: SIN status1,status2,status4 will only show items with this status.
VAT - VAT summary[BOOKGROUP:BREF_NAME_PROP_ROOM] will display the booking number, guest name property name and room name in this order.
=== Booking Group Table with fixed content===
[BOOKGROUPROOMLIST] - create a table of guest names including room type for a group booking
Connect the variables [BOOKGROUPROOMLISTTOTAL] - create a table of guest names including room type for a group booking with an underscore. guest totals
Examples: [BOOKGROUPROOMLISTCHARGETOTAL] - create a table of guest names including room type and charge for a group booking with guest totals
[INVOICEVAL:PAY_THOBOOKGROUPNAMELIST] will show payments with - create a thousands separatortable of guest names including room type and unit for a group booking
[INVOICEVAL:UPS1_UPS1BOOKGROUPNAMELISTTOTAL] will show the sum - create a table of upsell 1 guest names including room type and upsell 2unit for a group booking with guest totals
==== Standard Invoice Values====[INVOICEBALANCEBOOKGROUPNAMELISTCHARGETOTAL] - invoice balancecreate a table of guest names including room type and unit and charge for a group booking with guest totals
[INVOICEBALANCE:50%BOOKGROUPUNITLIST] - percentage create a table of invoice balanceguest names including unit for a group booking
[INVOICEBALANCE:-100BOOKGROUPUNITLISTTOTAL] - invoice balance create a table of guest names including unit for a group booking with offset amountguest totals
[INVOICEBALANCENUMBOOKGROUPUNITLISTCHARGETOTAL] - As per [INVOICEBALANCE] but the value is displayed with create a decimal point table of guest names including unit and no thousands separator (charge for calculation).a group booking with guest totals
== Invoice Variables ==[INVOICEBALANCENUM:INVOICENUMBER] - As per [INVOICEBALANCE:] but the value is displayed with a decimal point and no thousands separator (for calculation).invoice number
[INVOICEPARTBALANCE:status1,status2,!status4:10%INVOICENUMBERS] - 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.if invoicees are involved
[INVOICEPARTBALANCENUM:status1,status2,status4:10%INVOICEDATE] - As per INVOICEPARTBALANCE but the value is displayed with a decimal point and no thousands separator (for calculation).invoice date
[INVOICEBALANCE1INVOICEDATES] - invoice balance of one booking only, not the booking groupdate invoice number if invoicees are involved
[INVOICEBALANCE1NUMINVOICEDATE:+1day{%A, %e %B, %Y}] - As per [INVOICEBALANCE1] but optional date offset and display format. The offset can be any plus or minus any number of days and the value is displayed with a decimal point and no thousands separator (for calculation)display can be any valid PHP strftime format string.
[INVOICECHARGESINVOICEDATES:+1day{%A, %e %B, %Y}] - optional date offset and display format - invoice date invoice sum number if invoicees are involved, The offset can be any plus or minus any number of all charges days and the display can be any valid PHP strftime format string.
[INVOICECHARGES:50%] - === Invoice Values ===These template variables will display a value form the invoice sum of all charges with percentage multiplier.
==== Custom Invoice Values====You have the option to create a custom invoice variable to display a value from an invoice. [INVOICECHARGESINVOICEVAL with a selection of the following variables specifies the calculation:-100] - invoice sum of all charges with offset
[INVOICECHARGESNUM] CHA - As per [INVOICECHARGES] but the value is displayed with a decimal point and no thousands separator (for calculation)charges
[INVOICECHARGESNUM:] CON - As per [INVOICECHARGEScurrency conversion. Example:] but CONEURUSD will convert the value is displayed with a decimal point and no thousands separator first currency (for calculationEuros)to the second currency (USD). CON1.234 would multiply the prices by 1.234
[INVOICEPARTCHARGESDEC - Decimal points. Example:status1DEC,status2,!status4:10%] - Calculate the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be will show a comma separated listas decimal point. To exclude status items prefix them with an exclamation mark, If nothing is set the system will use the default 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.language
[INVOICEPARTCHARGESNUM:status1,status2,status4:10%] DP0 - As per INVOICEPARTCHARGES but the value is displayed with a no decimal point and no thousands separator (for calculation).places
[INVOICEPAYMENTS] DP1 - invoice sum of all payments 1 decimal place
[INVOICEPAYMENTS:50%] DP2 - invoice sum of all payments with percentage multiplier 2 decimal places
[INVOICEPAYMENTS:DP3 -100] - invoice sum of all payments with offset 3 decimal places
[INVOICEPAYMENTSNUM] DP4 - As per [INVOICEPAYMENTS] but the value is displayed with a 4 decimal point and no thousands separator (for calculation)places
[INVOICEPAYMENTSNUM:50%] DES - As per [INVOICEPAYMENTS:50%] but used as "DESsome description" - gives the sum of values containing the value is displayed with a decimal point and no thousands separator.description "some description"
[INVOICEPARTPAYMENTSINV - invoicee, add the invoicee number at the end. Example:status1INV20 to show invoicee number 20,status2INV0 will show items not assigned to an invoicee,!status4:10%] INV- Calculate 1 will show all items from the balance booking regardless of all invoice payments with matching status and apply optional multiplier or offsetinvoicee. The status items You 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 combine INV[BOOKINGINVOICEEID]] to add the number with invoicee from the percent (%) symbol or a numeric value offset.booking
[INVOICEPARTPAYMENTSNUM:status1,status2,status4:10%] IT1 - As per INVOICEPARTCHARGES but item 1 in the value is displayed with a decimal point and no thousands separator (for calculation).invoice
[INVOICEPENDPAY] IT2 - all (auto and manual) pending payments including failed item 2 in the invoice
[INVOICEPENDPAYNUM] IT3 - all (auto and manual) pending payments including failed but item 3 in the value is displayed with a decimal point and no thousands separator (for calculation).invoice
[INVOICEPENDPAY1234] IT4 - all (auto and manual) pending payments including failed for item 4 in the specified invoiceeinvoice
[INVOICEPENDPAYNUM1234] IT5 - all (auto and manual) pending payments including failed for item 5 in the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation).invoice
[INVOICEPENDPAYAUTO] MUL - auto pending payments before due date multiplier. Example: MUL1.2 will multiply all prices by 1.2
[INVOICEPENDPAYAUTONUM] NUM - auto pending payments before due date but the value is displayed show with a decimal point and no thousands separator place (for calculationscripts).
[INVOICEPENDPAYAUTO1234] auto pending payments before due date for THO - thousands separator. THO. will show a dot as thousand separator. If nothing is set the specified invoicee but system will use the value is displayed with a decimal point and no thousands separator (default for calculation)the language
[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)UPS1 - upsell 1
[INVOICEPENDPAYFAIL] UPS2 - failed pending payments (all also past)upsell 2
[INVOICEPENDPAYFAILNUM] UPS3 - failed pending payments (all also past) but the value is displayed with a decimal point and no thousands separator (for calculation)upsell 3
[INVOICEPENDPAYFAIL234] UPS4 - failed pending payments (all also past) for the specified invoicee upsell 4
[INVOICEPENDPAYFAILNUM234] UPS5 - 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)upsell 5
[INVOICECREDITS] ONE - invoice sum of all credit shows only items from the specified booking (negative itemsnot the booking group)
[INVOICECREDITS:50%] PAY - invoice sum of all credit items with percentage multiplier shows payments
[INVOICECREDITS:QTY -100] - invoice sum of all credit items with offset shows quantity
[INVOICECREDITSNUM] SEX - As per [INVOICECREDITS] but status excluded. Calculate the value is displayed balance of all invoice items except for the ones with these status, the status items can be a decimal point and no thousands separator (for calculation)comma separated list. Example: SEX status1,status2,status4 will not show items with this status.
[INVOICECREDITSNUM:] SIN - As per [INVOICECREDITS:] but status included. Calculate the value is displayed balance of all invoice items with matching status, the status items can be a decimal point and no thousands separator (for calculation)comma separated list. Example: SIN status1,status2,status4 will only show items with this status.
[INVOICEDEBITS] VAT - invoice sum of all debit items (positive items)VAT summary
[INVOICEDEBITS:50%] - invoice sum of all debit items with percentage multiplier
[INVOICEDEBITS:-100] - invoice sum of all debit items Connect the variables with offsetan underscore.
[INVOICEDEBITSNUM] - As per [INVOICEDEBITS] but the value is displayed with a decimal point and no thousands separator (for calculations) (for calculations)Examples:
[INVOICEDEBITSNUMINVOICEVAL:PAY_THO] - As per [INVOICEDEBITS:] but the value is displayed will show payments with a decimal point and no thousands separator (for calculations)
[INVOICEVATINVOICEVAL:UPS1_UPS2] - invoice will show the sum of all vat valueupsell 1 and upsell 2
==== Standard Invoice Values====[INVOICEVATNUMINVOICEBALANCE] - invoice sum of all vat value for calculations)balance
[INVOICEFIRSTITEMINVOICEBALANCE:50%] - price percentage of the item listed first in the invoicebalance
[INVOICEFIRSTITEMNUMINVOICEBALANCE:-100] - price of the item listed first in the invoice but the value is displayed balance with a decimal point and no thousands separator (for calculations)offset amount
[INVOICESECONDITEMINVOICEBALANCENUM] - price of the item listed second in As per [INVOICEBALANCE] but the invoicevalue is displayed with a decimal point and no thousands separator (for calculation).
[INVOICESECONDITEMNUMINVOICEBALANCENUM:] - price of the item listed second in the invoice As per [INVOICEBALANCE:] but the value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICETHIRDITEMINVOICEPARTBALANCE:status1,status2,!status4:10%] - price 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 item listed third in number with the invoicepercent (%) symbol or a numeric value offset.
[INVOICETHIRDITEMNUMINVOICEPARTBALANCENUM:status1,status2,status4:10%] - price of the item listed third in the invoice As per INVOICEPARTBALANCE but the value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICEUPSELL0INVOICEBALANCE1] - base price without upsell items or other charges added laterinvoice balance of one booking only, not the booking group
[INVOICEUPSELLNUM0INVOICEBALANCE1NUM] - as As per [INVOICEUPSELL1INVOICEBALANCE1] but the value is displayed with a decimal point and no thousands separator (for calculationscalculation)
[INVOICEUPSELL1INVOICECHARGES] - value invoice sum of upsell item 1 (number can be between 0 to 20)all charges
[INVOICEUPSELLNUM1INVOICECHARGES:50%] - as per [INVOICEUPSELL1] but the value is displayed invoice sum of all charges with a decimal point and no thousands separator (for calculations)percentage multiplier
[INVOICEUPSELLQTY1INVOICECHARGES:-100] - quantity invoice sum of upsell item 1 (number can be between 1 to 20)all charges with offset
[INVOICEUPSELLHEADLINE1INVOICECHARGESNUM] - headline of upsell item 1 As per [INVOICECHARGES] but the value is displayed with a decimal point and no thousands separator (number can be between 1 to 20for calculation)
[INVOICEUPSELLDESCRIPTION1INVOICECHARGESNUM:] - description of upsell item 1 As per [INVOICECHARGES:] but the value is displayed with a decimal point and no thousands separator (number can be between 1 to 20for calculation)
[INVOICEEXTRAITEMDESC1INVOICEPARTCHARGES:status1,status2,!status4:10%] - Name Calculate the balance of extra all invoice item 1 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 (number :) and it can be between 0 to 20a percentage by ending the number with the percent (%)symbol or a numeric value offset.
[INVOICEEXTRAITEM1INVOICEPARTCHARGESNUM:status1,status2,status4:10%] - As per INVOICEPARTCHARGES but the value of extra invoice item 1 is displayed with a decimal point and no thousands separator (number can be between 0 to 20for calculation) Note: the order goes by the order in the dropdown list not by the order the items are entered.
[INVOICEEXTRAITEM1INVOICEPAYMENTS] - value invoice sum 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. all payments
[INVOICEEXTRAITEMNUM1INVOICEPAYMENTS:50%] - as per [INVOICEEXTRAITEM1] but the value is displayed invoice sum of all payments with a decimal point and no thousands separator (for calculations).percentage multiplier
[INVOICEEXTRAITEMQTY1INVOICEPAYMENTS:-100] - quantity invoice sum 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. all payments with offset
[INVOICEGROSS:1INVOICEPAYMENTSNUM] - gross amount of the inserted VAT rate (number is As per [INVOICEPAYMENTS] but the VAT rate), value is displayed with a decimal point and no thousands separator (for calculationscalculation)
INVOICEGROSSNUM[INVOICEPAYMENTSNUM:150%] gross amount of - As per [INVOICEPAYMENTS:50%] but the inserted VAT rate (number value is the VAT rate)displayed with a decimal point and no thousands separator.
[INVOICENETINVOICEPARTPAYMENTS:1status1,status2,!status4:10%] - net amount 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 inserted VAT rate (number is with the VAT ratepercent (%)symbol or a numeric value offset.
[INVOICENETNUMINVOICEPARTPAYMENTSNUM:1status1,status2,status4:10%] - net amount of the inserted VAT rate (number is As per INVOICEPARTCHARGES but the VAT rate), value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICEVAT:1INVOICEPENDPAY] - VAT amount of the inserted VAT rate all (number is the VAT rateauto and manual)pending payments including failed
[INVOICEVATNUM:1INVOICEPENDPAYNEXTDATE] VAT amount - date of the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations)next pending payment
[INVOICEITEMBYDESCINVOICEPENDPAYNEXTDATE:Searchterm] - searches date of the invoice for items with this search term and adds them upnext pending payment display can be any valid PHP strftime format string. Information about PHP strftime Strings can be find found here: http://php.net/manual/de/function.strftime.php
[INVOICEITEMBYDESCNUM:SearchtermINVOICEPENDPAYNUM] - searches all (auto and manual) pending payments including failed but the invoice for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICEPAYMENTBYDESC:SearchtermINVOICEPENDPAY1234] - searches the all (auto and manual) pending payments including failed for the specified invoicee (-1 will include all items with this search term and adds them upregardless of invoicee)
[INVOICEPAYMENTBYDESCNUM:SearchtermINVOICEPENDPAYNUM1234] - searches the all (auto and manual) pending payments including failed for the specified invoicee (-1 will include all items with this search term and adds them up, regardless of invoicee) The value is displayed with a decimal point and no thousands separator (for calculationscalculation).
=== Invoice Table ===These template varibles will display an invoice table. ==== Standard Invoice Tables ====[INVOICETABLEINVOICEPENDPAYAUTO] - invoice table auto pending payments before due date
[INVOICETABLEVATINVOICEPENDPAYAUTONUM] - invoice table auto pending payments before due date but the value is displayed with vat information a decimal point and vat summaryno thousands separator (for calculation).
[INVOICETABLE:$1.1$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) (- invoice table and currency multiplier with optional new currency symbol before or after price.1 will include all items regardless of invoicee)
[INVOICETABLEPART:status1,status2,!status4INVOICEPENDPAYAUTONUM1234] - Invoice table showing only items auto pending payments before due date for the specified invoicee but the value is displayed with matching status. The status items can be a comma separated list. To exclude status decimal point and no thousands separator (for calculation) (-1 will include all items prefix them with an exclamation mark, for example !status1. regardless of invoicee)
[INVOICETABLE2INVOICEPENDPAYFAIL] - invoice table with status fieldfailed pending payments (all also past)
[INVOICETABLE2:$1.1$INVOICEPENDPAYFAILNUM] - invoice table failed pending payments (all also past) but the value is displayed with status field a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculation)
[INVOICETABLECHARGESINVOICEPENDPAYFAIL234] - invoice table showing charges onlyfailed pending payments (all also past) for the specified invoicee (-1 will include all items regardless of invoicee)
[INVOICETABLECHARGESINVOICEE1234INVOICEPENDPAYFAILNUM234] - invoice table showing charges only assigned to failed pending payments (all also past) for the specified invoicee, specify but the value is displayed with a decimal point and no thousands separator (for calculation) (-1 will include all items regardless of invoicee Id number.)
[INVOICETABLENOTOTINVOICEPENDPAYRULE1] - invoice table without grand totalshows all pending payment for this rule (exchange 1 for the rule number)
[INVOICETABLENOTOT:$1.1$INVOICEPENDPAYRULENUM1] - invoice table without grand total shows all pending payment for this rule (exchange 1 for the rule number) displayed with a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculation)
[INVOICETABLENOTOT2INVOICEPENDPAYMANUAL] - - invoice table with status field without grand totalmanual pending payments
[INVOICETABLENOTOT2:$1.1$INVOICEPENDPAYMANUALNUM] - - invoice table manual pending payments but the value is displayed with status field without grand total a decimal point and currency multiplier with optional new currency symbol before or after priceno thousands separator (for calculation).
[INVOICETABLEVAT:$1.1$INVOICEPENDPAYMANUALNOTDUE] - invoice table with vat information and currency multiplier with optional new currency symbol manual pending payments before or after price.due date
[INVOICETABLEVATCOMPACTINVOICEPENDPAYMANUALNOTDUENUM] - compact version of invoice table manual pending payments before due date but the value is displayed with vat information a decimal point and vat summaryno thousands separator (for calculation).
[INVOICETABLEVATCOMPACT:$1.1$INVOICEPENDPAYMANUALOVERDUE] manual - compact version of invoice table with vat information and vat summary and currency multiplier with optional new currency symbol before or pending payments after price.due date
[INVOICETABLEVATCOMPACTNOSUMINVOICEPENDPAYMANUALOVERDUENUM] manual - compact version of invoice table pending payments after due date but the value is displayed with vat information without vat summarya decimal point and no thousands separator (for calculation)
[INVOICETABLEVATCOMPACTNOSUM:$1.1$INVOICECREDITS] - compact version invoice sum of invoice table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.all credit items (negative items)
[INVOICETABLEVATNOSUMINVOICECREDITS:50%] - invoice table sum of all credit items with vat information without vat summarypercentage multiplier
[INVOICETABLEVATNOSUMINVOICECREDITS:$1.1$-100] - invoice table with vat information without vat summary and currency multiplier sum of all credit items with optional new currency symbol before or after price.offset
[INVOICETABLEDATEVATNOSUMINVOICECREDITSNUM] - invoice table As per [INVOICECREDITS] but the value is displayed with vat information a decimal point and date without vat summaryno thousands separator (for calculation)
[INVOICETABLEDATEVATNOSUMINVOICECREDITSNUM:$1.1$] - invoice table As per [INVOICECREDITS:] but the value is displayed with vat information and date without vat summary a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculation)
[INVOICETABLEVAT2INVOICEDEBITS] - invoice table with vat information and status field and vat summarysum of all debit items (positive items)
[INVOICETABLEVAT2INVOICEDEBITS:$1.1$50%] - invoice table sum of all debit items with vat information and status field and vat summary and currency percentage multiplier with optional new currency symbol before or after price.
[INVOICETABLEVAT2NOSUMINVOICEDEBITS:-100] - invoice table sum of all debit items with vat information and status field without vat summaryoffset
[INVOICETABLEVAT2NOSUM:$1.1$INVOICEDEBITSNUM] - invoice table As per [INVOICEDEBITS] but the value is displayed with vat information a decimal point and status field without vat summary and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculations) (for calculations)
[INVOICETABLEVATCHARGESINVOICEDEBITSNUM:] - invoice table showing charges only As per [INVOICEDEBITS:] but the value is displayed with vat information a decimal point and vat summaryno thousands separator (for calculations)
[INVOICETABLENOPRICEINVOICEVAT] - invoice table with no price informationsum of all vat value
[INVOICETABLEINVOICEEINVOICEVATNUM] - invoice table excluding items assigned to an invoicee.sum of all vat value for calculations)
[INVOICETABLEINVOICEE1234INVOICEFIRSTITEM] - price of the item listed first in the invoice table for a specific invoicee, specify the invoicee Id number.
[UPSELLTABLEINVOICEFIRSTITEMNUM] - table price of the item listed first in the invoice but the value is displayed with all upsell itemsa decimal point and no thousands separator (for calculations)
[UPSELLTABLEVATINVOICESECONDITEM] - table with all upsell items with vat information and vat summary price of the item listed second in the invoice
[UPSELLTABLENOREFUNDINVOICESECONDITEMNUM] - table price of the item listed second in the invoice but the value is displayed with all upsell items except refundable itemsa decimal point and no thousands separator (for calculations)
==== Custom Invoice Table ====You have [INVOICETHIRDITEM] - price of the item listed third in the option to create a custom invoice table. Available content variables are:
AMO [INVOICETHIRDITEMNUM] - shows price of the item listed third in the invoice but the net value is displayed with a decimal point and no thousands separator (price x quantityfor calculations)
CEX [INVOICEFOURTHITEM] - charges excluded (charges will not be shown)price of the item listed fourth in the invoice
CON [INVOICEFOURTHITEMNUM] - currency conversion. Example: CONEURUSD will convert price of the first currency (Euros) to item listed fourth in the invoice but the second currency value is displayed with a decimal point and no thousands separator (USDfor calculations). CON1.234 would multiply the prices by 1.234
CUA [INVOICEFIFTHITEM] - currency symbol showing after price of the numbers. Example: CUA€ will show € after item listed fifth in the figuresinvoice
CUB [INVOICEFIFTHITEMNUM] - currency symbol showing before price of the numbers. Example: CUB€ will show € before item listed fifth in the figuresinvoice but the value is displayed with a decimal point and no thousands separator (for calculations)
DAT [INVOICEUPSELL0] - adds a date columnbase price without upsell items or other charges added later
DEC [INVOICEUPSELLNUM0] - Decimal points. Example: DEC, will show as per [INVOICEUPSELL1] but the value is displayed with a comma as decimal point. If nothing is set the system will use the default and no thousands separator (for the languagecalculations)
DP0 [INVOICEUPSELL1] - no decimal placesvalue of upsell item 1 (number can be between 0 to 20)
DP1 [INVOICEUPSELLNUM1] - 1 as per [INVOICEUPSELL1] but the value is displayed with a decimal placepoint and no thousands separator (for calculations)
DP2 [INVOICEUPSELLQTY1] - 2 decimal placesquantity of upsell item 1 (number can be between 1 to 20)
DP3 [INVOICEUPSELLNAME1] - 3 decimal placesname of the headline field of upsell item 1 (number can be between 1 to 20)
DP4 [INVOICEUPSELLSTATUS1] - 4 decimal placesstautus of the headline field of upsell item 1 (number can be between 1 to 20)
GRP [INVOICEUPSELLHEADLINE1] - Group Totals. Displays the same items as a totalheadline (name and status if used of upsell item 1 (number can be between 1 to 20)
GRT [INVOICEUPSELLDESCRIPTION1] - Grand Totaldescription of upsell item 1 (number can be between 1 to 20)
INV - invoicee, add the invoicee number at the end. Example: INV20 to show invoicee number 20, INV0 will show items not assigned to an invoicee, INV[INVOICEUPSELLAMOUNTNUM1] -amout of upsell item 1 will show all items from the booking regardless of invoicee. You can combine INV[BOOKINGINVOICEEID]] to add the invoicee from the booking
LAN - language. Example LANDE will force the language to German
MUL - multiplier. Example: MUL1.2 will multiply all prices by 1.2
NIN - do not show invoice number and invoice date on locked invoices
NOC [INVOICEUPSELLTYPE1] - charges will not be displayed but their vat values are still calculated for the vat summary (VAT)type of upsell item 1
NOP [INVOICEUPSELLPER1] - payments will not be displayed per of upsell item 1
ONE [INVOICEUPSELLPERIOD1] - shows only items from the specified booking (not the booking group)period of upsell item 1
PAA - shows a column with payment amounts
PAY [INVOICEEXTRAITEMDESC1] - shows payments Name of extra invoice item 1 (number can be between 0 to 20)
PEN [INVOICEEXTRAITEM1] - shows pending payments descriptionvalue 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.
PPA [INVOICEEXTRAITEM1] - shows pending payments amount 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.
PRI [INVOICEEXTRAITEMNUM1] - shows prices in as per [INVOICEEXTRAITEM1] but the value is displayed with a columndecimal point and no thousands separator (for calculations).
QTY [INVOICEEXTRAITEMQTY1] - shows quantityof 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.
SEX [INVOICEGROSS:1] - status excluded. Calculate the balance gross amount of all invoice items except for the ones with these status, inserted VAT rate (number is the status items can be a comma separated list. Example: SEX status1VAT rate),status2,status4 will not show items value is displayed with this status.a decimal point and no thousands separator (for calculations)
SIN - status included. Calculate INVOICEGROSSNUM:1] gross amount of the balance of all invoice items with matching status, inserted VAT rate (number is the status items can be a comma separated list. Example: SIN status1,status2,status4 will only show items with this status.VAT rate)
STA[INVOICENET:1] - shows stausnet amount of the inserted VAT rate (number is the VAT rate)
THO [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. THO. will show a dot as thousand separator. If nothing is set the system will use the default (for the languagecalculations)
TOT [INVOICEVAT:1] - shows total amountsVAT amount of the inserted VAT rate (number is the VAT rate)
VAA - shows [INVOICEVATNUM:1] VAT amountsamount of the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations)
VAP [INVOICEITEMBYDESC:Searchterm] - shows VAT percents searches the invoice for items with this search term and adds them up
VAT [INVOICEITEMBYDESCNUM:Searchterm] - VAT summary 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
Connect [INVOICEPAYMENTBYDESCNUM:Searchterm] - searches the variables payments for items with an underscore. this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations)
Examples: === Invoice Table ===These template varibles will display an invoice table. ==== Standard Invoice Tables ====[INVOICETABLE] - invoice table
[INVOICE:PRI_QTY_CUA€INVOICETABLEVAT] will create an - invoice table with price vat information and quantity in Euros.vat summary
[INVOICEINVOICETABLE:PAY_TOT_CEX$1.1$] will create an - invoice table which will only show paymentsand currency multiplier with optional new currency symbol before or after price.
== Invoicee Variables ==[INVOICEEBALANCEINVOICETABLEPART:status1,status2,!status4] - invoice balance 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 unassigned invoice itemsexample !status1.
[INVOICEEBALANCENUMINVOICETABLE2] - invoice balance for unassigned invoice items displayed table with a decimal point and no thousands separator.status field
[INVOICEEBALANCE1234INVOICETABLE2:$1.1$] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with status field and currency multiplier with optional new currency symbol before or after price.
[INVOICEEBALANCENUM1234INVOICETABLECHARGES] - 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.table showing charges only
[INVOICEECHARGESINVOICETABLECHARGESINVOICEE1234] - invoice table showing charges for unassigned invoice itemsonly assigned to the specified invoicee, specify the invoicee Id number.
[INVOICEECHARGESNUMINVOICETABLENOTOT] - invoice charges for unassigned invoice items displayed with a decimal point and no thousands separator.table without grand total
[INVOICEECHARGES1234INVOICETABLENOTOT:$1.1$] - invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table without grand total and currency multiplier with optional new currency symbol before or after price.
[INVOICEECHARGESNUM1234INVOICETABLENOTOT2] - invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed table with a decimal point and no thousands separator.status field without grand total
[INVOICEEPAYMENTSINVOICETABLENOTOT2:$1.1$] - invoice payments for unassigned invoice itemstable with status field without grand total and currency multiplier with optional new currency symbol before or after price.
[INVOICEEPAYMENTSNUMINVOICETABLEVAT:$1.1$] - invoice payments for unassigned invoice items displayed table with a decimal point vat information and no thousands separatorcurrency multiplier with optional new currency symbol before or after price.
[INVOICEEPAYMENTS1234INVOICETABLEVATCOMPACT] - compact version of invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with vat information and vat summary
[INVOICEEPAYMENTSNUM1234INVOICETABLEVATCOMPACT:$1.1$] - compact version of invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with vat information and vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEENAMEINVOICETABLEVATCOMPACTNOSUM] - name compact version of the invoicee account the invoice is assigned to or blanktable with vat information without vat summary
[INVOICEECODEINVOICETABLEVATCOMPACTNOSUM:$1.1$] - code compact version of the invoicee account the invoice is assigned to table with vat information without vat summary and currency multiplier with optional new currency symbol before or blankafter price.
[INVOICEECURRENCYINVOICETABLEVATNOSUM] - currency of the invoicee account the invoice is assigned to if it is not the property default or blanktable with vat information without vat summary
[INVOICEETEMPLATE1INVOICETABLEVATNOSUM:$1.1$] - template value 1 of the invoice account the invoice is assigned to table with vat information without vat summary and currency multiplier with optional new currency symbol before or blankafter price.
[INVOICEETEMPLATE2INVOICETABLEDATEVATNOSUM] - template value 2 of the invoice account the invoice is assigned to or blanktable with vat information and date without vat summary
[INVOICEETEMPLATE3INVOICETABLEDATEVATNOSUM:$1.1$] - template value 3 of the invoice account the invoice is assigned to table with vat information and date without vat summary and currency multiplier with optional new currency symbol before or blankafter price.
[INVOICEETEMPLATE4INVOICETABLEVAT2] - template value 4 of the invoice account the invoice is assigned to or blanktable with vat information and status field and vat summary
[INVOICEETEMPLATE5INVOICETABLEVAT2:$1.1$] - template value 5 of the invoice account the invoice is assigned to table with vat information and status field and vat summary and currency multiplier with optional new currency symbol before or blankafter price.
[INVOICEETEMPLATE6INVOICETABLEVAT2NOSUM] - template value 6 of the invoice account the invoice is assigned to or blanktable with vat information and status field without vat summary
[INVOICEETEMPLATE7INVOICETABLEVAT2NOSUM:$1.1$] - template value 7 of the invoice account the invoice is assigned to table with vat information and status field without vat summary and currency multiplier with optional new currency symbol before or blankafter price.
[INVOICEETEMPLATE8INVOICETABLEVATCHARGES] - template value 8 of the invoice account the invoice is assigned to or blanktable showing charges only with vat information and vat summary
== Guest Variables ==[GUESTIDSINVOICETABLENOPRICE] - comma separated list of guest Id's connected to the bookinginvoice table with no price information
[GUESTFLAGTEXTSINVOICETABLEINVOICEE] - comma separated list of flag text values for each guest (when not empty) connected invoice table excluding items assigned to the bookingan invoicee.
== Payment Request Variables ==[PAYURLINVOICETABLEINVOICEE1234] - Creates invoice table for a payment url for the payment request for the amount in the booking deposit field if non zerospecific invoicee, otherwise specify the outstanding balanceinvoicee Id number.
[PAYURL:25%UPSELLTABLE] - Creates a payment url for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.table with all upsell items
[PAYURL:200UPSELLTABLEVAT] - Creates a payment url for the payment request url for a fixed amount. nt.table with all upsell items with vat information and vat summary
[PAYLINKUPSELLTABLENOREFUND] - 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.table with all upsell items except refundable items
[PAYLINK:25%] -Creates a payment link (HTML A tag) for ==== Custom Invoice Table ====You have the payment request for option to create a percentage of the outstanding balance. Use 100% to specify the full outstanding balancecustom invoice table.Available content variables are:
[PAYLINK:200] AMO - Creates a payment link shows the net value (HTML A tag) for the payment requestprice x quantity) for a fixed amount.
[PAYBUTTON] CEX - 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.charges excluded (charges will not be shown)
[PAYBUTTONCON - currency conversion. Example:25%] - Creates a payment button for CONEURUSD will convert the payment request for a percentage of first currency (Euros) to the outstanding balancesecond currency (USD). Use 100% to specify CON1.234 would multiply the full outstanding balance. Not recommended for emailsprices by 1.234
[PAYBUTTON:200] CUA - Creates a payment button for currency symbol showing after the payment request for a fixed amountnumbers. Example: CUA€ will show € after the figures
CUB - currency symbol showing before the numbers. Example: CUB€ will show € before the figures
[PAYPALURL] DAT - Creates adds a Paypal payment url for date column - you have the amount in option to control the booking deposit field if non zero, otherwise format of the outstanding balance.date using [[Template_Variables#Date_and_Time|date and time variables]] for example DAT{%d-%m-%Y}
[PAYPALURLDEC - Decimal points. Example:25%] - Creates DEC, will show a Paypal payment url comma as decimal point. If nothing is set the system will use the default for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.language
[PAYPALURL:200] DP0 - Creates a Paypal payment url for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.no decimal places
[PAYPALLINK] DP1 - Creates a Paypal payment link (HTML A tag) for the amount in the booking deposit field if non zero, otherwise the outstanding balance.1 decimal place
[PAYPALLINK:25%] DP2 - Creates a Paypal payment link (HTML A tag) for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.2 decimal places
[PAYPALLINK:200] DP3 - 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.3 decimal places
[PAYPALBUTTON] DP4 - Creates a Paypal payment button for the amount in the booking deposit field if non zero, otherwise the outstanding balance. Not recommended for emails.4 decimal places
[PAYPALBUTTON:25%] GAT - Creates a Paypal payment button sum for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. Not recommended for emails.each column
[PAYPALBUTTON:200] GRP - Creates a Paypal payment button for a fixed amount Group Totals. A zero amount will cause paypal to provide Displays the same items as a field to enter an amount. Not recommended for emails.total
== Text Operators ==GRT - Grand Total
INV - invoicee, add the invoicee number at the end. Example: INV20 to show invoicee number 20, INV0 will show items not assigned to an invoicee, INV-1 will show all items from the booking regardless of invoicee. You can combine INV[REPLACE|searchForThisText|replaceWithThisText|textToSearchBOOKINGINVOICEEID]] - replace "searchForThisText" with "replaceWithThisText" within to add the invoicee from the text "textToSearch"booking
== iCal Links ==These template variables LAN - language. Example LANDE will create iCal links which allow force the booking language to be added to a calendar.German
[ICALURL] MUL - Calendar linkmultiplier. Example: MUL1.2 will multiply all prices by 1.2
[ICALURL:16] NIN - Calendar link with check-in hour. Replace '16' with the hour check-in starts.do not show invoice number and invoice date on locked invoices
[ICALURL::10] NOC - Calendar link with check-out hour. Replace '10' with charges will not be displayed but their vat values are still calculated for the hour with the hour check-out ends.vat summary (VAT)
[ICALURL:::summary text] NOP - Calendar link with a summary textpayments will not be displayed
[ICALURL::::description text] ONE - Calendar link with a descriptive textshows only items from the specified booking (not the booking group)
Example:ORB - order by booking, this keeps the items for each booking (room) together in the table
Calendar link PAA - shows a column with check-in time 16:00, check-out time 10:00, the summary text "Booking" and the description text "Sunny Hotel":payment amounts
[ICALURL:16:10:Booking:Sunny Hotel]PAY - shows payments
== Mathematical Operators ==PEN - shows pending payments description
Place mathematical operators between two numbers <b>or between two template variables</b> that return a number.PPA - shows pending payments amount
[+] PRI - Example: 2 [+] 3 = 5shows prices in a column
[QTY -] - Example: 5 [-] 1 = 4shows quantity
[*] SEX - status excluded. Calculate the balance of all invoice items except for the ones with these status, the status items can be a comma separated list. Example: 3 [*] 4 = 12 SEX status1,status2,status4 will not show items with this status.
[/] SIN - status included. Calculate the balance of all invoice items with matching status, the status items can be a comma separated list. Example: 15 [/] 5 = 3 SIN status1,status2,status4 will only show items with this status.
[MIN] STA- Example: 2 [MIN] 3 = 2shows staus
[MAX] THO - Example: 2 [MAX] 3 = 3thousands separator. THO. will show a dot as thousand separator. If nothing is set the system will use the default for the language
Brackets are not supported as a way to control processing order, the processing order is fixed as *, /, +, TOT -, MIN, MAXshows total amounts
VAA - shows VAT amounts
=== Rounding and controlling decimal places ===VAP - shows VAT percents
==== Default ====VAT - VAT summary
2 [/] 3 = 0.66666666666667
==== Rounding to Connect the nearest integer ====variables with an underscore.
2 [/.0] 3 = 1Examples:
==== Rounding to 1,2,3 or 4 decimal place(s) ====[INVOICE:PRI_QTY_CUA€] will create an invoice table with price and quantity in Euros.
2 [/.1INVOICE:PAY_TOT_CEX] 3 = 0will create an invoice table which will only show payments.7
2 [/.2INVOICE:PRI_QTY_CUA_TOT_VAT_QTY_PAY_GRT_AMO_VAA] 3 = 0will create an invoice table with more information.67
2 [/.3INVOICE:SIN TRANSPORT] 3 will create an invoice table with the Invoice item description for any items with the Status = 0Transport.667
2 == Invoicee Variables ==[/.4INVOICEEBALANCE] 3 = 0- invoice balance for unassigned invoice items.6667
[INVOICEEBALANCENUM] - invoice balance for unassigned invoice items displayed with a decimal point and no thousands separator.
<b>This works on all operators including [MININVOICEEBALANCE1234] and [MAX]</b>- invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number).
Note: Always use [INVOICEEBALANCENUM1234] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the template variables ending with NUM. The math functions will only work with numbers required Invoicee Id number) displayed with a decimal point (not a decimal comma) and no thousands separator and no currency symbol.
== Currency Conversion ==[INVOICEECHARGES] - invoice charges for unassigned invoice items.
[CONVERT:EUR-USDINVOICEECHARGESNUM] - get the actual conversion rate between two currencies, this can be used invoice charges for unassigned invoice items displayed with math functions to show alternative currency values. All currencies supported by the booking page currency selector can be useda decimal point and no thousands separator.
Example: [INVOICECHARGESNUMINVOICEECHARGES1234] [*.2] [CONVERT:EUR-USD] will convert the invoice charge value from Euros charges for invoice items assigned to USD with two decimal pointsinvoicee 1234 (change 1234 to the required Invoicee Id number).
If you use the multiplier [INVOICEECHARGESNUM1234] - invoice charges for invoice items assigned to convert currencies for channels: invoicee 1234 For example hotel id 123456 (change 1234 to the required Invoicee Id number) displayed with a decimal point and a multiplier to convert USD to EUR at todays rate:no thousands separator.
123456*[CONVERT:USDINVOICEEPAYMENTS] -EUR]*invoice payments for unassigned invoice items.
or this to convert EUR to USD[INVOICEEPAYMENTSNUM] - invoice payments for unassigned invoice items displayed with a decimal point and no thousands separator.
123456*[CONVERT:EURINVOICEEPAYMENTS1234] -USD]invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)
123456*[CONVERT:USDINVOICEEPAYMENTSNUM1234] -EUR][/]0.85 will convert invoice payments for invoice items assigned to invoicee 1234 (change 1234 to Euros and divides the price by 0.85 which raises it by circa 15%required Invoicee Id number)
==Account Variables ([INVOICEENAME] - name of the invoicee account of the booking) ==invoice is assigned to or blank
[ACCOUNTIDINVOICEECODE] - code of the invoicee account id of the booked propertyinvoice is assigned to or blank
[ACCOUNTTEMPLATE1INVOICEECURRENCY] - Account Template 1currency of the invoicee account the invoice is assigned to if it is not the property default or blank
[ACCOUNTTEMPLATE2INVOICEENOTES] - Account Template 2value of the "Notes" field for the invoicee
[ACCOUNTTEMPLATE3INVOICEETEMPLATE1] - Account Template 3template value 1 of the invoice account the invoice is assigned to or blank
[ACCOUNTTEMPLATE4INVOICEETEMPLATE2] - Account Template 4 template value 2 of the invoice account the invoice is assigned to or blank
[COMMISSIONLIMITINVOICEETEMPLATE3] - shows template value 3 of the available commission amount for the owner invoice account of the bookinginvoice is assigned to or blank
[MASTERACCOUNTTEMPLATE1INVOICEETEMPLATE4] - Account Template 1 from master template value 4 of the invoice accountthe invoice is assigned to or blank
[MASTERACCOUNTTEMPLATE2INVOICEETEMPLATE5] - Account Template 2 from master template value 5 of the invoice accountthe invoice is assigned to or blank
[MASTERACCOUNTTEMPLATE3INVOICEETEMPLATE6] - Account Template 3 from master template value 6 of the invoice accountthe invoice is assigned to or blank
[MASTERACCOUNTTEMPLATE4INVOICEETEMPLATE7] - Account Template 4 from master template value 7 of the invoice accountthe invoice is assigned to or blank
==Account Variables (logged in [INVOICEETEMPLATE8] - template value 8 of the invoice account, only for display in control panel , not for auto actions the invoice is assigned to or emails etc.) ==These variables can for example used by resellers who added a custom tab to the bookings. blank
[LOGGEDINACCOUNTIDINVOICEETEMPLATE1BR] - template value 1 of the invoice account id of the logged in userinvoice is assigned to or blank with linkebreak
[LOGGEDINACCOUNTTEMPLATE1INVOICEETEMPLATE2BR] - Account Template 1template value 2 of the invoice account the invoice is assigned to or blank with linkebreak
[LOGGEDINACCOUNTTEMPLATE2INVOICEETEMPLATE3BR] - Account Template 2template value 3 of the invoice account the invoice is assigned to or blank with linkebreak
[LOGGEDINACCOUNTTEMPLATE3INVOICEETEMPLATE4BR] - Account Template 3template value 4 of the invoice account the invoice is assigned to or blank with linkebreak
[LOGGEDINACCOUNTTEMPLATE4INVOICEETEMPLATE5BR] - Account Template 4 template value 5 of the invoice account the invoice is assigned to or blank with linkebreak
[LOGGEDINAPIKEYINVOICEETEMPLATE6BR] - apiKeytemplate value 6 of the invoice account the invoice is assigned to or blank with linkebreak
[MASTERLOGGEDINACCOUNTTEMPLATE1INVOICEETEMPLATE7BR] - Account Template 1 from master template value 7 of the invoice accountthe invoice is assigned to or blank with linkebreak
[MASTERLOGGEDINACCOUNTTEMPLATE2INVOICEETEMPLATE8BR] - Account Template 2 from master template value 8 of the invoice accountthe invoice is assigned to or blank with linkebreak
[MASTERLOGGEDINACCOUNTTEMPLATE3] - Account Template 3 from master account
== Payment Request Variables ==[MASTERLOGGEDINACCOUNTTEMPLATE4PAYURL] - Account Template 4 from master accountCreates a payment url for the payment request for the amount in the booking deposit field if non zero, otherwise the outstanding balance.
== Smart Logic Template Variables ==[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.
IF style template variables will compare two values and display a text if the comparison is true and an alternative text if the comparison is false. Colons [PAYURL: are used between the two comparison values and the first text, 200] - Creates a pipe | is used between payment url for the two texts.Empty text is allowed if you do not want to display anything payment request url for a conditionfixed amount. nt.
[IF=:PAYLINK] - Creates a payment link (HTML A tag) for the payment request for the amount in the booking deposit field if this:equals this:display this text|non zero, otherwise display this text]the outstanding balance.
[IFINPAYLINK:if this:is contained in this:display this text|otherwise display this text25%]-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.
[IFLIKEPAYLINK:if this:is like this:display this text|otherwise display this text200]- Creates a payment link (HTML A tag) for the payment request) for a fixed amount.
[IF>:PAYBUTTON] - Creates a payment button for the payment request for the amount in the booking deposit field if this:is greater than this:display this text|non zero, otherwise display this text]the outstanding balance. Not recommended for emails.
[IF>=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 thisnon zero, otherwise the outstanding balance. [PAYPALLINK:is greater than or equal 25%] - Creates a Paypal payment link (HTML A tag) for a percentage of the outstanding balance. Use 100% to thisspecify the full outstanding balance. [PAYPALLINK:display this text|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 display this textthe 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.
Add a H to exclude a gateway from displaying. Example: [IF<:if thisPAYURL:is less than this200:display this text|otherwise display this textHST]will hide Stripe
[IF<=:if this:is less than or equal to this:display this text|otherwise display this text]= Text Operators ==
[IFBETWEEN:if this:is between this:and this:display this textREPLACE|searchForThisText|if it is lower display this textreplaceWithThisText|if it is higher display this textToSearch] - replace "searchForThisText" with "replaceWithThisText" within the text]"textToSearch"
[SUBSTR|startCharacterNumber|numberOfCharacters|textToGetSubstringFrom] - get a sub string from "textToGetSubstringFrom" starting at character "startCharacterNumber" (integer, 0 is the first char) with a length of "numberOfCharacters" (integer)  1. [SUBSTR|0|4|[GUESTPHONENUM]] This will test for the first 4 characters of the Guest phone number.  [TRIM| string to trim ] - remove whitespace from the start and end of " string to trim " == iCal Links ==These template variables will create iCal links which allow the booking to be added to a calendar. [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 with the hour check-out ends. [ICALURL:::summary text] - Calendar link with a summary text [ICALURL::::description text] - Calendar link with a descriptive text Example: Calendar link with check-in time 16:00, check-out time 10:00, the summary text "Booking" and the description text "Sunny Hotel": [ICALURL:16:10:Booking:Sunny Hotel] == Mathematical Operators == Place mathematical operators between two numbers <b>or between two template variables</b> that return a number. [+] - Example: 2 [+] 3 = 5 [-] - Example: 5 [-] 1 = 4 [*] - Example: 3 [*] 4 = 12 [/] - Example: 15 [/] 5 = 3 [MIN] - Example: 2 [MIN] 3 = 2 [MAX] - Example: 2 [MAX] 3 = 3 Brackets are not supported as a way to control processing order, the processing order is fixed as *, /, +, -, MIN, MAX If you want to use * and - in the same calculation, for example you need 20% of the result, then you will need to use the calculation below as a * calculation will be calculated first.  [INVOICECHARGESNUM][*]0.2[-][INVOICESECONDITEMNUM][*]0.2[-][COMMISSIONNUM][*]0.2 <span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span> Property Template 1-8 and Room Template 1-8 can be used to set calculations. If using Room Templates to make a calculation, then use Room Template 8 before Room Template 7. If you want to see the value 10. Set Room template 6 = [ROOMTEMPLATE7][+][ROOMTEMPLATE8] and enter 4 in Room template 7 and 6 in Room template 8.  You can set a calculation in Room Templates to show in Property Templates, but not the other way around. So "Property Template1" could pull the calculation of [ROOMTEMPLATE6] and the result = 10.  === Rounding and controlling decimal places === ==== Default ==== 2 [/] 3 = 0.66666666666667 ==== Rounding to the nearest integer ==== 2 [/.0] 3 = 1 ==== Rounding to 1,2,3 or 4 decimal place(s) ==== 2 [/.1] 3 = 0.7 2 [/.2] 3 = 0.67 2 [/.3] 3 = 0.667 2 [/.4] 3 = 0.6667  <b>This works on all operators including [MIN] and [MAX]</b>  Note: Always use the template variables ending with NUM. The math functions will only work with numbers with a decimal point (not a decimal comma) and no thousands separator and no currency symbol. == Currency Conversion == [CONVERT:EUR-USD] - get the actual conversion rate between two currencies, this can be used with math functions to show alternative currency values. All currencies supported by the booking page currency selector can be used. Example: [INVOICECHARGESNUM] [*.2] [CONVERT:EUR-USD] will convert the invoice charge value from Euros to USD with two decimal points. If you use the multiplier to convert currencies for channels: For example hotel id 123456 and a multiplier to convert USD to EUR at todays rate: 123456*[CONVERT:USD-EUR]* or this to convert EUR to USD 123456*[CONVERT:EUR-USD] 123456*[CONVERT:USD-EUR][/]0.85 will convert to Euros and divides the price by 0.85 which raises it by circa 15% ==Account Variables (account of the booking) == [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, only for display in control panel , not for auto actions or emails etc.) ==These variables can for example used by resellers who added a custom tab to the bookings.  [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 == Smart Logic Template Variables == IF style template variables will compare two values and display a text if the comparison is true and an alternative text if the comparison is false. Colons : are used between the two comparison values and the first text, a pipe | is used between the two texts.Empty text is allowed if you do not want to display anything for a condition. [IF=:if this:equals this:display this text|otherwise display this text] [IFIN:if this:is contained in this:display this text|otherwise display this text] [IFLIKE:if this:is like this:display this text|otherwise display this text] [IF>:if this:is greater than this:display this text|otherwise display this text] [IF>=:if this:is greater than or equal to this:display this text|otherwise display this text] [IF<:if this:is less than this:display this text|otherwise display this text] [IF<=:if this:is less than or equal to this:display this text|otherwise display this text] [IFBETWEEN:if this:is between this:and this:display this text|if it is lower display this text|if it is higher display this text]  You can use IF variables inside other IF variables to create complex logic but the internal IF: must be processed before the external IFThey There are special versions of each IF constructed with ^ and ~ separators like [IF=^this^this^same~different] <span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span>Only one IF of each type can be used to create complex logic. The special versions are processed first so should be used as the internal IF so it's result can be processed by the outer if. The special versions can also be used if you expect : or | characters within your data.   IF's are processed in the following order from left to right so choose an internal one that is different and processed before the external one.i.e. all the [IF=: ^ will be processed first, then all the [IFIN^ etc.  [IF=^[IFIN^[IFLIKE^[IF>^[IF>=^[IF<^[IF<=^[IFBETWEEN^[IF=:[IFIN:[IFLIKE:[IF>: etc[IF>=:[IF<:[IF<=:[IFBETWEEN:  === Examples === Template variables can be used inside this template variable as per the examples <span style="color: #019cde">comparison in blue</span>, <span style="color: #75d5ad">positive result in green</span>, <span style="color: #fe746c">negative result in red</span>: 1. [<span style="color: #019cde">IF=:[GUESTNAME]</span><span style="color: #75d5ad">:Miller</span><span style="color: #75d5ad"><span style="color: #75d5ad">:yes</span> <span style="color: #fe746c">|no</span>] If the guestname is Miller the text "yes" will display. If the guest name is not Miller the text "no" will display 2.[<span style="color: #019cde"> IF>:[NUMADULT]:2</span><span style="color: #75d5ad">:please contact us about you bedding requirements|</span>] If the number of adults is higher than 2 the text"please contact us about you bedding requirements" will display. If the number of adults is lower than or equal 2 nothing will display. 3. [<span style="color: #019cde">IF<:[NUMADULT]:3</span><span style="color: #75d5ad">:|linen for two adults is included free of charge</span>] If the number of adults is lower than 3 nothing will display. If the number of adults is not lower than 3 the text "linen for two adults is included free of charge" will display.  4. [<span style="color: #019cde">IF<=:[NUMADULT]:2</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|no</span>] 5. [<span style="color: #019cde">IF>=:[NUMADULT]:2</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|no</span>] 6. [<span style="color: #019cde">IFBETWEEN:[NUMADULT]:1:3</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|too low|too high</span>] 7. [<span style="color: #019cde">IFLIKE:[GUESTTITLE]</span><span style="color: #75d5ad">:Mr:Dear</span><span style="color: #fe746c">|Hi</span>] IFLIKE works like IF= except it is case insensitive and removes any spaces from the start and end of the words 8. [<span style="color: #019cde">IFIN:John:[GUESTFIRSTNAME]</span><span style="color: #75d5ad">:Hi John</span><span style="color: #fe746c">|Your name does not contain John?</span>] If the first word is contained in the second word the first option is displayed, otherwise the second option is displayed 9. [<span style="color: #019cde">IFIN:CHECKIN:[BOOKINGINFOITEMS]</span><span style="color: #75d5ad">:[BOOKINGINFOCODETEXT:CHECKIN]</span><span style="color: #fe746c">|</span>] If the Booking Info Code CHECKIN has been added to the booking then you will see the value in the text (date/time) otherwise blank.
[Using multiple IF=:[IFIN:[IFLIKE:[IF>:[IF>=:[IF<:[IF<=:[IFBETWEENstatements to display special messages :-
10. [<span style="color: #019cde">IFIN:DEPOSIT:[BOOKINGINFOCODES]:|[IF=:[GUESTCOUNTRY2]:AU</span><span style="color: #75d5ad">:Credit card details are required </span><span style="color: #fe746c">|A deposit is required]|No deposit is required</span>]
Template variables can be used inside this template variable as per You want to display a special message to Australians if the examples <span style="color: #019cde">comparison in blue</span>booking has a DEPOSIT info item code, <span style=if a deposit is required from a non Australia they get "color: #75d5adA deposit is required">positive result in green</span>, <span style=and if no deposit is required they see "color: #fe746cNo deposit is required">negative result in red</span>:
111. [<span style="color: #019cde">IF=<:[GUESTNAMEINADVANCE]</span><span style="color: #75d5ad">|[IFIN:TRANSFER:[BOOKINGINFOCODES]:Miller3</span><span style="color: #75d5ad"><span style="color: #75d5ad">Payment Due Date:yesASAP </span> <span style="color: #fe746c">|noPayment Due Date: [FIRSTNIGHT:- 30days]]|</span>]
If the guestname is Miller the text "yes" will You want displaya special message to your guests 3 days before checkin with a Booking Info Code = TRANSFER. If the guest name is not Miller the text "no" will display
212.[<span style="color: #019cde"> IF>=:[NUMADULTSTATUS]:2Confirmed:PAID|[IF<^[INADVANCE]^30</span><span style="color: #75d5ad">^Payment Due Date:please contact us about you bedding requirements|As soon as possible</span><span style="color: #fe746c">~Payment Due Date: [FIRSTNIGHT:- 30 days]]</span>]
If You want to display a special message for your guests for any bookings with Status not = Confirmed, and if the number of adults checkin date is higher more than 2 30 days in advance, then send the textmessage with "please contact us about you bedding requirementsPayment Due Date : " will display. If or that the number of adults "Payment is lower than or equal 2 nothing will displaydue As soon as possible".
313. [<span style="color: #019cde">IF<IFBETWEEN:[NUMADULTTURNOVERDAYS]:0:3:</span><span style="color: #75d5ad">yes|</span><span style="color:|linen for two adults is included free of charge#fe746c">no</span>]
If You want to test if the number of adults days until next arrival into the same unit is lower than between 0 and 3 nothing will displaydays. If the number of adults is not lower than 3 Could be used for offering Late Checkouts or additional days to the text "linen for two adults guest where there is included free of charge" will displaya gap between bookings.
414. [<span style="color: #019cde">IF<=>:[NUMADULTVACANTDAYS]:21:</span><span style="color: #75d5ad">:yes|</span><span style="color: #fe746c">|no</span>]
5You want to test if there is 1 day from the previous checkout to check in of current booking. Could be used for offering Early Checkouts or additional days to the guest where there is a gap between bookings. [<span style="color: #019cde">IF>=:[NUMADULT]:2</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|no</span>]
615. [<span style="color: #019cde">IFBETWEENIF=:[NUMADULTLEAVINGDAY:{%a}]:Sun:|[IF>=^[TURNOVERDAYS]^1:3</span><span style="color: #75d5ad">:^yes</span><span style="color: #fe746c">|too low|too high~no]</span>]
7You want to test if the leaving date is a Sunday and it there is a gap for 1 or more days between the current booking and the next booking. [<span style="color: #019cde">IFLIKE:[GUESTTITLE]</span><span style="color: #75d5ad">:Mr:Dear|Hi</span>]
IFLIKE works like 16. [<span style="color: #019cde">[IF= except it is case insensitive and removes any spaces from the start and end of the words:[LEAVINGDAY:{%u}]:1:yes|[IF=^[LEAVINGDAY:{%u}]^3</span><span style="color: #75d5ad">^yes</span><span style="color: #fe746c">]</span>]
8You want to test if the leaving date is a Monday or a Wednesday to send a specific message to the guest, for example a reminder that it is bin collection day. [<span style="color: #019cde">IFIN:John:[GUESTFIRSTNAME]</span><span style="color: #75d5ad">:Hi John</span><span style="color: #fe746c">|Your name does not contain John?</span>]
If the first word is contained in the second word the first option is displayed, otherwise the second option is displayed17. [<span style="color: #019cde">[IF=:[LEAVINGDAY:{%u}]:1:yes|[IF=^[LEAVINGDAY:{%u}]^3^yes][IF=^[LEAVINGDAY:{%u}]^6</span><span style="color: #75d5ad">^yes</span><span style="color: #fe746c">]</span>]
9You have different cleaning teams for different days of the week, and you want to send a message to the appropriate team if leaving date is a Monday, Wednesday or Saturday. [<span style="color: #019cde">IFIN:CHECKIN:[BOOKINGINFOITEMS]</span><span style="color: #75d5ad">:[BOOKINGINFOCODETEXT:CHECKIN]</span><span style="color: #fe746c">|</span>]
If == Write out the Booking Info Code CHECKIN has been added to the booking then you will see the value number in the text (date/time) otherwise blankWords. ==
[INWORDS] - writes out a number in words. This works in English only.
Expamles:
[INWORDS] 10 will write out then"ten"
[INWORDS] [INVOICEPAYMENTSNUM] will write out the invoice sum of all payments
[INWORDS] [INVOICEPAYMENTSNUM] [+] 10 will write out the invoice sum of all payments plus 10
 
Example: You want to display a special message to Australians if the booking has a DEPOSIT info item code, if a deposit is required from a non Australia they get "A deposit is required" and if no deposit is required they see "No deposit is required"
 
[<span style="color: #019cde">IFIN:DEPOSIT:[BOOKINGINFOCODES]:I[IF=:[GUESTCOUNTRY2]:AU</span><span style="color: #75d5ad">:Credit card details are required </span><span style="color: #fe746c">|A deposit is required]|No deposit is required</span>]
== Encoding Template Variables ==

Navigation menu