Changes

Jump to navigation Jump to search

Template Variables

18,183 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')
[CHECKOUTEND] - check-out end time in 24hr format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-out end')
[CHECKINSTART12] - check-in start time in am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in start')
[CHECKINEND12] - check-in end time in am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-in end')
[CHECKOUTEND12] - check-out end time in am/pm format (From {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT 'Check-out end')
[PROPERTYDESCRIPTION1] - Property Description 1 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCRIPTION2] - Property Description 2 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCBOOKPAGE1] - Property Description Booking Page 1 from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYDESCBOOKPAGE2] - Property Description Booking Page 1 from{{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYGUESTDETAILSHEADER] - Guest Details Header from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYGUESTENQUIRYHEADER] - Guest Enquiry Header from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYCONFIRMBOOKBUTTON] - Confirm Booking Button Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYROOMNOTAVAIL] - Room Not Available Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYROOMNOPRICE] - Room No Price Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYNOROOMSAVAIL] - No Rooms Available Message from {{#fas:cog}} (SETTINGS) BOOKING ENGINE > PROPERTY BOOKING PAGE > CONTENT
[PROPERTYGROUP] - shows the group keywords
[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
[UNITSTATUS1] - the status if 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
[ROOMRACKRATENUMNUMROOMSAVAIL] - Rack Rate from {#fas:cog}} returns the number of available rooms (SETTINGS-1 if overbooked) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT, can be used to trigger an Auto Action
[ROOMCLEANINGFEENUMROOMRACKRATENUM] - Cleaning fee Rack Rate from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMSECURITYDEPOSITNUMROOMCLEANINGFEENUM] - Securty deposit Cleaning fee from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
[ROOMTAXPERCENTNUMROOMSECURITYDEPOSITNUM] - Tax percentate from 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 ==
[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
[PHONELAST1MOBILELAST1] - last digit of the guests phone mobile number , if guest phone mobile is empty it will use the guests mobile phone numberwill be used.
[PHONELAST2MOBILELAST2] - last 2 digits of the guests phone mobile number , if guest phone mobile is empty it will use the guests mobile phone numberwill 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 [PHONELAST2] - last 2 digits of the guests phone number if guest phone is empty it will use the guests mobile number [PHONELAST3] - last 3 digits of the guests phone number if guest phone is empty it will use the guests mobile number
[PHONELAST4] - last 4 digits 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
[BOOKINGIP] - ip address of booker's computer [APIMESSAGE] - api message sent by originating channel [BOOKINGDATE] - booking datein 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[GUESTSAFULLADDRESSSBR1INC] - the first address including city, Management postcode, sate and Guest Login===country from the guests tab of the booking including cancelled bookings in international format [CANCELURLGUESTSAFULLADDRESSSBR1] - URL to view the first address including city, postcode, sate and cancel bookings country from the guests tab of the booking in International format
[CANCELDATEGUESTSBFULLADDRESSSBR1INC] - date until when the first address including city, postcode, sate and country from the guests tab of the booking is cancellable displaying a phraseincluding cancelled bookings in European format
[CANCELDATEYYYY-MM-DDGUESTSBFULLADDRESSSBR1] - 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 in the past 00-00-0000 will be shownEuropean format
[DAYSTOCANCELGUESTSNUMBOOKINGS1] - the total number of days until bookings made by the first guest, a group booking can be cancelled / Anzahl der Tage bis zu denen stroniert werden kanncounts as one booking.
[GUESTLOGINGUESTSNUMSTAYS1] - URL to view the total number of bookingsnot cancelled and not in the future made by the first guest, a group booking counts as one booking.
[TURNOVERDAYSGUESTSCUSTOMQ1S] - days until next arrival into the same unit.answer to custom question 1 for all guests
==Date and Time==[GUESTSCUSTOMQ1SINC] - answer to custom question 1 for all guests including cancelled bookings
Many date template variables support PHP strftime format strings between {} brackets [GUESTSCUSTOMQ2S] - answer to create custom date 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 2 for all guests
[GUESTSCUSTOMQ2SINC] - answer to custom question 2 for all guests including cancelled bookings
[CURRENTDATEGUESTSCUSTOMQ3S] - current dateanswer to custom question 3 for all guests
[CURRENTDATEYYYY-MM-DDGUESTSCUSTOMQ3SINC] - current date answer to custom question 3 for all guests including cancelled bookings in YYYY-MM-DD format
[CURRENTDATE:{%A, %e %B, %Y}GUESTSCUSTOMQ4S] - current dateanswer to custom question 4 for all guests
[CURRENTDATE:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ4SINC] - 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 4 for all guests including cancelled bookings
[CURRENTTIMEGUESTSCUSTOMQ5S] - current time and the display can be any valid PHP strftime format string.answer to custom question 5 for all guests
[CURRENTTIME:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ5SINC] - 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 5 for all guests including cancelled bookings
[DAYSTOCHECKINGUESTSCUSTOMQ6S] - number of days until check-inanswer to custom question 6 for all guests
[INADVANCEGUESTSCUSTOMQ6SINC] - number of days between booking and check-inanswer to custom question 6 for all guests including cancelled bookings
[DAYSBETWEEN:2019-11-01:2019-11-10GUESTSCUSTOMQ7S] - 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 7 for calculation.all guests
Example: [[DAYSBETWEEN:[FIRSTNIGHT:+5 days{%G-%m-%d}GUESTSCUSTOMQ7SINC]:[CURRENTDATE:{%G-%m-%d}]] will calculate the days between 5 days after check-in and today. answer to custom question 7 for all guests including cancelled bookings
[FIRSTNIGHT:{%A, %e %B, %Y}GUESTSCUSTOMQ7S] - first night bookedanswer to custom question 8 for all guests
[FIRSTNIGHT:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ8SINC] - 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 including cancelled bookings
[LASTNIGHT:{%A, %e %B, %Y}GUESTSCUSTOMQ9S] - last night bookedanswer to custom question 9 for all guests
[LASTNIGHT:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ9SINC] - 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 including cancelled bookings
[LEAVINGDAY:{%A, %e %B, %Y}GUESTSCUSTOMQ10S] - check-out answer to custom question 10 for all guests
[LEAVINGDAY:+1day{%A, %e %B, %Y}GUESTSCUSTOMQ10SINC] - 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 including cancelled bookings
===Cancellation, Management and Guest Login===[BOOKINGDATE:{%A, %e %B, %Y}CANCELLEDTIME] - date when the booking datewas cancelled
[BOOKINGDATECANCELLEDTIME:+1day{%A, %e %B, %Y}] - 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.
[MODIFYDATE:{%A, %e %B, %Y}CANCELURL] - last booking modification date/time, the display can be any valid PHP strftime format string.URL to view and cancel bookings
[PAYMENTDATE:{%A, %e %B, %Y}CANCELDATE] - most recent payment dateuntil when the booking is cancellable displaying a phrase
[PAYMENTDATE:+1day{%A, %e %B, %Y}:1:1000CANCELDATEYYYY-MM-DD] - optional date offset and display format. The offset can be any plus or minus any number of days and until when the display can be any valid PHP strftime format stringbooking is cancellable displaying a date. The second parameter specifies If the payment to show, 0 or missing means date is in the most recent payment. The third parameter specifies the invoicee.past 00-00-0000 will be shown
[FORMATDATE:[any template variable that creates a date]{%A, %e %B, %Y}DAYSTOCANCEL] - format the date in the strftime format. The date value could number of days until booking can be included by inserting a different template variable containing a date.cancelled
== Booking Group variables ===== Custom Booking Group Table ===create your own booking group list by specifying [CANCELUNTIL] - shows the columns number of days between check-in and the order you want them to appearlast day which can be cancelled.If guest can always cancel it shows 0, if guest can never cancel it shows 9999
for example: [BOOKGROUP:PROP_ROOM_BREF_NAMEGUESTLOGIN] - URL to view bookings
column parameters[TURNOVERDAYS] - days until next arrival into the same unit
100% = 100% width[VACANTDAYS] days from previous checkout to check in of current booking
ADDR = Booking address=Date and Time==
ADUL= the number of adults[CURRENTDATE] - current date
ARIV = Arrival [CURRENTDATEYYYY-MM-DD] - current date in YYYY-MM-DD format
BOPR = Bold prices[CURRENTDATE:{%A, %e %B, %Y}] - current date
BREF = Booking [CURRENTDATE:+1day{%A, %e %B, %Y}] - optional date offset and display format. The offset can be any plus or minus any numberof days and the display can be in a custom format.
CITY = Booking city [CURRENTTIME] - current time and the display can be any valid PHP strftime format string.
CHAC = Charges with currency symbol[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.
CHAR = Charges[DAYSTOCHECKIN] - number of days until check-in
CHIL = Number [INADVANCE] - number of childrendays between booking and check-in
COUN = Booking country [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.
DEPT = Departure dateExample: [[DAYSBETWEEN:[FIRSTNIGHT:+5 days{%G-%m-%d}]:[CURRENTDATE:{%G-%m-%d}]] will calculate the days between 5 days after check-in and today.
EMAI = Booking Email [FIRSTNIGHT:{%A, %e %B, %Y}] - first night booked
EXSP = extra space between rows[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.
FLAG = Booking flag text[LASTNIGHT:{%A, %e %B, %Y}] - last night booked
FNAM = Booking first 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.
GADD = Guest address[LEAVINGDAY:{%A, %e %B, %Y}] - check-out
GCIT = Guest city[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.
GCOM = Guest company[BOOKINGDATE:{%A, %e %B, %Y}] - booking date
GCOU = Guest country[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.
GFLA = Guest flag text[MODIFYDATE:{%A, %e %B, %Y}] - last booking modification date/time, the display can be any valid PHP strftime format string.
GFNA = Guest first name [PAYMENTDATE:{%A, %e %B, %Y}] - most recent payment date
GLNA = Guest last name[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.
GMOB = Guest mobile[AUTHORIZEUNTIL] - date until which a card is authorized, this is extracted from the most recent authorize booking info code.
GNAM = Guest full name[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.
GEMA = Guest Email[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.
GNOT = Guest note
GPOS = Guest postcodeThe following codes can be used in any order between the {} brackets to create custom time and date formats.
GREF = Guest Id %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 ("%")
GSTA = Guest state= 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.
GTEL = Guest phonefor example: [BOOKGROUP:PROP_ROOM_BREF_NAME]
ICAN = Include cancelled bookingscolumn parameters
LNAM 100% = Booking last name100% width
MOBI ADDR = Booking mobileaddress
NAME ADUL= Booking full namethe number of adults
NOHE ARIV = no headerArrival date
NOTE BOPR = Booking noteBold prices
ONAM BREF = Offer Name Booking number
ONLY CITY = Just show the one bookingBooking city
PAIC CHAC = Payment amount Charges with currency symbol
PAID CHAR = Paid amountCharges
PEOP CHIL = Number of guestschildren
PHON COUN = Booking phonecountry
POST DEPT = Booking postcodeDeparture date
PROP EMAI = Property nameBooking Email
RDE0 EXSP = Room description from {#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENTextra space between rows
RDE1 FLAG = Room description 1 from {#fas:cog}} (SETTINGS) PROPERTIES> ROOMS > SETUPBooking flag text
RNAM FNAM = Room Display Name ROOM = Room Booking first name
STAT GADD = Booking stateGuest address
TOTA GCIT = Total priceGuest city
UNI2 GCOM = Unit first additional information UNI3 = Unit second additional informationGuest company
UNIT GCOU = Unit nameGuest country
GFLA = Guest flag text
Connect the parameters with an underscore. GFNA = Guest first name
Examples: GLNA = Guest last name
[BOOKGROUP:PROP_ROOM_BREF_NAME] will display the property name, room name, booking number and guest name in this order.GMOB = Guest mobile
GNAM = Guest full name
[BOOKGROUP:BREF_NAME_PROP_ROOM] will display the booking number, guest name property name and room name in this order.GEMA = Guest Email
GNOT === Booking Group Table with fixed content===[BOOKGROUPROOMLIST] - create a table of guest names including room type for a group bookingGuest note
[BOOKGROUPROOMLISTTOTAL] - create a table of guest names including room type for a group booking with guest totalsGPOS = Guest postcode
[BOOKGROUPROOMLISTCHARGETOTAL] - create a table of guest names including room type and charge for a group booking with guest totalsGREF = Guest Id
[BOOKGROUPNAMELIST] - create a table of guest names including room type and unit for a group bookingGSTA = Guest state
[BOOKGROUPNAMELISTTOTAL] - create a table of guest names including room type and unit for a group booking with guest totalsGTEL = Guest phone
[BOOKGROUPNAMELISTCHARGETOTAL] - create a table of guest names including room type and unit and charge for a group booking with guest totalsICAN = Include cancelled bookings
[BOOKGROUPUNITLIST] - create a table of guest names including unit for a group bookingLNAM = Booking last name
[BOOKGROUPUNITLISTTOTAL] - create a table of guest names including unit for a group booking with guest totalsMOBI = Booking mobile
[BOOKGROUPUNITLISTCHARGETOTAL] - create a table of guest names including unit and charge for a group booking with guest totalsNAME = Booking full name
NOHE == Invoice Variables ==[INVOICENUMBER] - invoice numberno header
[INVOICENUMBERS] - invoice number if invoicees are involvedNOTE = Booking note
[INVOICEDATE] - invoice dateONAM = Offer Name
[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. === Invoice Values ==ONLY =These template variables will display a value form Just show the invoice.one booking
PAIC ==== Custom Invoice Values====You have the option to create a custom invoice variable to display a value from an invoice. Available content variables are: Payment amount with currency symbol
CHA - chargesPAID = Paid amount
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 PEOP = Number of guests
DEC - Decimal points. Example: DEC, will show a comma as decimal point. If nothing is set the system will use the default for the languagePHON = Booking phone
DP0 - no decimal placesPOST = Booking postcode
DP1 - 1 decimal placePROP = Property name
DP2 - 2 decimal placesRDE0 = Room description from {{#fas:cog}} (SETTINGS) CHANNEL MANAGER > PROPERTY CONTENT > ROOM CONTENT
DP3 - 3 decimal placesRDE1 = Room description 1 from {{#fas:cog}} (SETTINGS) PROPERTIES> ROOMS > SETUP
DP4 - 4 decimal places RNAM = Room Display Name ROOM = Room name
DESsome description - sum RQTY = shows the number of values with "some description"rooms for each booking and a total at the bottom
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 STAT = Booking state
IT1 - item 1 in the invoiceSTUS = Status
IT2 - item 2 in the invoice TOTA = Total price
IT3 - item 3 in the invoiceUNI2 = Unit first additional information UNI3 = Unit second additional information
IT4 - item 4 in the invoiceUNIT = Unit name
IT5 - item 5 in the invoice
MUL - multiplierConnect the parameters with an underscore. Example: MUL1.2 will multiply all prices by 1.2
NUM - show with decimal place (for scripts)Examples:
THO - thousands separator. THO. [BOOKGROUP:PROP_ROOM_BREF_NAME] will show a dot as thousand separatordisplay the property name, room name, booking number and guest name in this order. If nothing is set the system will use the default for the language
UPS1 - upsell 1
UPS2 - upsell 2[BOOKGROUP:BREF_NAME_PROP_ROOM] will display the booking number, guest name property name and room name in this order.
UPS3 === Booking Group Table with fixed content===[BOOKGROUPROOMLIST] - upsell 3create a table of guest names including room type for a group booking
UPS4 [BOOKGROUPROOMLISTTOTAL] - upsell 4create a table of guest names including room type for a group booking with guest totals
UPS5 [BOOKGROUPROOMLISTCHARGETOTAL] - upsell 5create a table of guest names including room type and charge for a group booking with guest totals
ONE [BOOKGROUPNAMELIST] - shows only items from the specified create a table of guest names including room type and unit for a group booking (not the booking group)
PAY [BOOKGROUPNAMELISTTOTAL] - shows payments create a table of guest names including room type and unit for a group booking with guest totals
QTY [BOOKGROUPNAMELISTCHARGETOTAL] - shows quantitycreate a table of guest names including room type and unit and charge for a group booking with guest totals
SEX [BOOKGROUPUNITLIST] - status excluded. Calculate the balance create a table of all invoice items except guest names including unit for the ones with these status, the status items can be a comma separated list. Example: SEX status1,status2,status4 will not show items with this status.group booking
SIN [BOOKGROUPUNITLISTTOTAL] - status included. Calculate the balance create a table of all invoice items with matching status, the status items can be guest names including unit for a comma separated list. Example: SIN status1,status2,status4 will only show items group booking with this status. guest totals
VAT [BOOKGROUPUNITLISTCHARGETOTAL] - VAT summarycreate a table of guest names including unit and charge for a group booking with guest totals
== Invoice Variables ==
[INVOICENUMBER] - invoice number
Connect the variables with an underscore. [INVOICENUMBERS] - invoice number if invoicees are involved
Examples: [INVOICEDATE] - invoice date
[INVOICEVAL:PAY_THOINVOICEDATES] will show payments with a thousands separator- invoice date invoice number if invoicees are involved
[INVOICEVALINVOICEDATE:UPS1_UPS1+1day{%A, %e %B, %Y}] will show the sum - optional date offset and display format. The offset can be any plus or minus any number of upsell 1 days and upsell 2the display can be any valid PHP strftime format string.
==== Standard Invoice Values====[INVOICEBALANCEINVOICEDATES:+1day{%A, %e %B, %Y}] - optional date offset and display format - invoice date invoice balancenumber if invoicees are involved, The offset can be any plus or minus any number of days and the display can be any valid PHP strftime format string.
[INVOICEBALANCE:50%] - percentage of === Invoice Values ===These template variables will display a value form the invoice balance.
==== Custom Invoice Values====You have the option to create a custom invoice variable to display a value from an invoice. [INVOICEBALANCEINVOICEVAL with a selection of the following variables specifies the calculation:-100] - invoice balance with offset amount
[INVOICEBALANCENUM] CHA - As per [INVOICEBALANCE] but the value is displayed with a decimal point and no thousands separator (for calculation).charges
[INVOICEBALANCENUM:] CON - As per [INVOICEBALANCEcurrency conversion. Example:] but CONEURUSD will convert the first currency (Euros) to the value is displayed with a decimal point and no thousands separator second currency (for calculationUSD).CON1.234 would multiply the prices by 1.234
[INVOICEPARTBALANCEDEC - Decimal points. Example:status1DEC,status2,!status4:10%] - Calculate the balance of all invoice items 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, for example !status1. The offset If nothing is optional and can be specified after a second colon (:) and it can be a percentage by ending set the system will use the number with default for the percent (%) symbol or a numeric value offset.language
[INVOICEPARTBALANCENUM:status1,status2,status4:10%] DP0 - As per INVOICEPARTBALANCE but the value is displayed with a no decimal point and no thousands separator (for calculation).places
[INVOICEBALANCE1] DP1 - invoice balance of one booking only, not the booking group1 decimal place
[INVOICEBALANCE1NUM] DP2 - As per [INVOICEBALANCE1] but the value is displayed with a 2 decimal point and no thousands separator (for calculation)places
[INVOICECHARGES] DP3 - invoice sum of all charges 3 decimal places
[INVOICECHARGES:50%] DP4 - invoice sum of all charges with percentage multiplier4 decimal places
[INVOICECHARGES:DES -100] used as "DESsome description" - invoice gives the sum of all charges with offset values containing the description "some description"
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[INVOICECHARGESNUMBOOKINGINVOICEEID] - As per [INVOICECHARGES] but to add the invoicee from the value is displayed with a decimal point and no thousands separator (for calculation)booking
[INVOICECHARGESNUM:] IT1 - As per [INVOICECHARGES:] but item 1 in the value is displayed with a decimal point and no thousands separator (for calculation)invoice
[INVOICEPARTCHARGES:status1,status2,!status4:10%] IT2 - Calculate item 2 in the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset.
[INVOICEPARTCHARGESNUM:status1,status2,status4:10%] IT3 - As per INVOICEPARTCHARGES but item 3 in the value is displayed with a decimal point and no thousands separator (for calculation).invoice
[INVOICEPAYMENTS] IT4 - item 4 in the invoice sum of all payments
[INVOICEPAYMENTS:50%] IT5 - item 5 in the invoice sum of all payments with percentage multiplier
[INVOICEPAYMENTSMUL - multiplier. Example:-100] - invoice sum of MUL1.2 will multiply all payments with offset prices by 1.2
[INVOICEPAYMENTSNUM] NUM - As per [INVOICEPAYMENTS] but the value is displayed show with a decimal point and no thousands separator place (for calculationscripts)
[INVOICEPAYMENTSNUM:50%] THO - As per [INVOICEPAYMENTS:50%] but the value is displayed with thousands separator. THO. will show a decimal point and no thousands dot as thousand separator.If nothing is set the system will use the default for the language
[INVOICEPARTPAYMENTS:status1,status2,!status4:10%] UPS1 - Calculate the balance of all invoice payments with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the number with the percent (%) symbol or a numeric value offset.upsell 1
[INVOICEPARTPAYMENTSNUM:status1,status2,status4:10%] UPS2 - As per INVOICEPARTCHARGES but the value is displayed with a decimal point and no thousands separator (for calculation).upsell 2
[INVOICEPENDPAY] UPS3 - all (auto and manual) pending payments including failedupsell 3
[INVOICEPENDPAYNUM] UPS4 - all (auto and manual) pending payments including failed but the value is displayed with a decimal point and no thousands separator (for calculation).upsell 4
[INVOICEPENDPAY1234] UPS5 - all (auto and manual) pending payments including failed for the specified invoiceeupsell 5
[INVOICEPENDPAYNUM1234] ONE - all (auto and manual) pending payments including failed for shows only items from the specified invoicee but booking (not the value is displayed with a decimal point and no thousands separator (for calculationbooking group).
[INVOICEPENDPAYAUTO] PAY - auto pending shows payments before due date
[INVOICEPENDPAYAUTONUM] QTY - auto pending payments before due date but the value is displayed with a decimal point and no thousands separator (for calculation).shows quantity
[INVOICEPENDPAYAUTO1234] auto pending payments before due date SEX - status excluded. Calculate the balance of all invoice items except for the specified invoicee but ones with these status, the value is displayed status items can be a comma separated list. Example: SEX status1,status2,status4 will not show items with a decimal point and no thousands separator (for calculation)this status.
[INVOICEPENDPAYAUTONUM1234] auto pending payments before due date for SIN - status included. Calculate the specified invoicee but balance of all invoice items with matching status, the value is displayed status items can be a comma separated list. Example: SIN status1,status2,status4 will only show items with a decimal point and no thousands separator (for calculation)this status.
[INVOICEPENDPAYFAIL] VAT - failed pending payments (all also past)VAT summary
[INVOICEPENDPAYFAILNUM] - failed pending payments (all also past) but the value is displayed with a decimal point and no thousands separator (for calculation)
[INVOICEPENDPAYFAIL234] - failed pending payments (all also past) for Connect the specified invoicee variables with an underscore.
[INVOICEPENDPAYFAILNUM234] - failed pending payments (all also past) for the specified invoicee but the value is displayed with a decimal point and no thousands separator (for calculation)Examples:
[INVOICEPENDPAYRULE1INVOICEVAL:PAY_THO] - shows all pending payment for this rule (exchange 1 for the rule number)will show payments with a thousands separator
[INVOICEPENDPAYRULENUM1INVOICEVAL:UPS1_UPS2] - shows all pending payment for this rule (exchange will show the sum of upsell 1 for the rule number) displayed with a decimal point and no thousands separator (for calculation)upsell 2
==== Standard Invoice Values====[INVOICECREDITSINVOICEBALANCE] - invoice sum of all credit items (negative items)balance
[INVOICECREDITSINVOICEBALANCE:50%] - percentage of invoice sum of all credit items with percentage multiplier balance
[INVOICECREDITSINVOICEBALANCE:-100] - invoice sum of all credit items balance with offset amount
[INVOICECREDITSNUMINVOICEBALANCENUM] - As per [INVOICECREDITSINVOICEBALANCE] but the value is displayed with a decimal point and no thousands separator (for calculation).
[INVOICECREDITSNUMINVOICEBALANCENUM:] - As per [INVOICECREDITSINVOICEBALANCE:] but the value is displayed with a decimal point and no thousands separator (for calculation).
[INVOICEDEBITSINVOICEPARTBALANCE:status1,status2,!status4:10%] - invoice sum Calculate the balance of all debit 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 (positive items:) and it can be a percentage by ending the number with the percent (%)symbol or a numeric value offset.
[INVOICEDEBITSINVOICEPARTBALANCENUM:50status1,status2,status4:10%] - invoice sum of all debit items As per INVOICEPARTBALANCE but the value is displayed with percentage multipliera decimal point and no thousands separator (for calculation).
[INVOICEDEBITS:-100INVOICEBALANCE1] - invoice sum balance of all debit items with offsetone booking only, not the booking group
[INVOICEDEBITSNUMINVOICEBALANCE1NUM] - As per [INVOICEDEBITSINVOICEBALANCE1] but the value is displayed with a decimal point and no thousands separator (for calculations) (for calculationscalculation)
[INVOICEDEBITSNUM:INVOICECHARGES] - As per [INVOICEDEBITS:] but the value is displayed with a decimal point and no thousands separator (for calculations)invoice sum of all charges
[INVOICEVATINVOICECHARGES:50%] - invoice sum of all vat valuecharges with percentage multiplier
[INVOICEVATNUMINVOICECHARGES:-100] - invoice sum of all vat value for calculations)charges with offset
[INVOICEFIRSTITEMINVOICECHARGESNUM] - price of the item listed first in As per [INVOICECHARGES] but the invoicevalue is displayed with a decimal point and no thousands separator (for calculation)
[INVOICEFIRSTITEMNUMINVOICECHARGESNUM:] - price of the item listed first in the invoice As per [INVOICECHARGES:] but the value is displayed with a decimal point and no thousands separator (for calculationscalculation)
[INVOICESECONDITEMINVOICEPARTCHARGES:status1,status2,!status4:10%] - price Calculate the balance of all invoice charges with matching status and apply optional multiplier or offset. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. The offset optional and can be specified after a second colon (:) and it can be a percentage by ending the item listed second in number with the invoicepercent (%) symbol or a numeric value offset.
[INVOICESECONDITEMNUMINVOICEPARTCHARGESNUM:status1,status2,status4:10%] - price of the item listed second in the invoice As per INVOICEPARTCHARGES but the value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICETHIRDITEMINVOICEPAYMENTS] - price invoice sum of the item listed third in the invoiceall payments
[INVOICETHIRDITEMNUMINVOICEPAYMENTS:50%] - price invoice sum of the item listed third in the invoice but the value is displayed all payments with a decimal point and no thousands separator (for calculations)percentage multiplier
[INVOICEUPSELL0INVOICEPAYMENTS:-100] - base price without upsell items or other charges added laterinvoice sum of all payments with offset
[INVOICEUPSELLNUM0INVOICEPAYMENTSNUM] - as As per [INVOICEUPSELL1INVOICEPAYMENTS] but the value is displayed with a decimal point and no thousands separator (for calculationscalculation)
[INVOICEUPSELL1INVOICEPAYMENTSNUM:50%] - As per [INVOICEPAYMENTS:50%] but the value of upsell item 1 (number can be between 0 to 20)is displayed with a decimal point and no thousands separator.
[INVOICEUPSELLNUM1INVOICEPARTPAYMENTS:status1,status2,!status4:10%] - as per [INVOICEUPSELL1] but Calculate the value is displayed 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 decimal point second colon (:) and no thousands separator it can be a percentage by ending the number with the percent (for calculations%)symbol or a numeric value offset.
[INVOICEUPSELLQTY1INVOICEPARTPAYMENTSNUM:status1,status2,status4:10%] - quantity of upsell item 1 As per INVOICEPARTCHARGES but the value is displayed with a decimal point and no thousands separator (number can be between 1 to 20for calculation).
[INVOICEUPSELLHEADLINE1INVOICEPENDPAY] - headline of upsell item 1 all (number can be between 1 to 20auto and manual)pending payments including failed
[INVOICEUPSELLDESCRIPTION1INVOICEPENDPAYNEXTDATE] - description date of upsell item 1 (number can be between 1 to 20)the next pending payment
[INVOICEEXTRAITEMDESC1INVOICEPENDPAYNEXTDATE:] - Name date of extra invoice item 1 (number the next pending payment display can be between 0 to 20)any valid PHP strftime format string. Information about PHP strftime Strings can be find found here: http://php.net/manual/de/function.strftime.php
[INVOICEEXTRAITEM1INVOICEPENDPAYNUM] - all (auto and manual) pending payments including failed 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.
[INVOICEEXTRAITEM1INVOICEPENDPAY1234] - value of extra invoice item 1 all (number can be between 0 to 20auto and manual) Note: the order goes by the order in the dropdown list not by the order pending payments including failed for the specified invoicee (-1 will include all items are entered. regardless of invoicee)
[INVOICEEXTRAITEMNUM1INVOICEPENDPAYNUM1234] - as per [INVOICEEXTRAITEM1] but all (auto and manual) pending payments including failed for the specified invoicee (-1 will include all items regardless of invoicee) The value is displayed with a decimal point and no thousands separator (for calculationscalculation).
[INVOICEEXTRAITEMQTY1INVOICEPENDPAYAUTO] - quantity of extra invoice item 1 (number can be between 0 to 20) auto Note: the order goes by the order in the dropdown list not by the order the items are entered. pending payments before due date
[INVOICEGROSS:1INVOICEPENDPAYAUTONUM] - gross amount of auto pending payments before due date but the inserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculationscalculation).
INVOICEGROSSNUM:1[INVOICEPENDPAYAUTO1234] gross amount of auto pending payments before due date for the specified invoicee but the inserted VAT rate value is displayed with a decimal point and no thousands separator (number is the VAT ratefor calculation) (-1 will include all items regardless of invoicee)
[INVOICENET:1INVOICEPENDPAYAUTONUM1234] 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) (- net amount 1 will include all items regardless of the inserted VAT rate (number is the VAT rateinvoicee)
[INVOICENETNUM:1INVOICEPENDPAYFAIL] - net amount of the inserted VAT rate failed pending payments (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculationsall also past)
[INVOICEVAT:1INVOICEPENDPAYFAILNUM] - VAT amount of failed pending payments (all also past) but the inserted VAT rate value is displayed with a decimal point and no thousands separator (number is the VAT ratefor calculation)
[INVOICEVATNUM:1INVOICEPENDPAYFAIL234] VAT amount of the inserted VAT rate - failed pending payments (number is all also past) for the VAT rate), value is displayed with a decimal point and no thousands separator specified invoicee (for calculations-1 will include all items regardless of invoicee)
[INVOICEITEMBYDESC:SearchtermINVOICEPENDPAYFAILNUM234] - searches failed pending payments (all also past) for the specified invoicee but the invoice value is displayed with a decimal point and no thousands separator (for calculation) (-1 will include all items with this search term and adds them upregardless of invoicee)
[INVOICEITEMBYDESCNUM:SearchtermINVOICEPENDPAYRULE1] - searches the invoice shows all pending payment for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator rule (exchange 1 for calculationsthe rule number)
[INVOICEPAYMENTBYDESC:SearchtermINVOICEPENDPAYRULENUM1] - searches shows all pending payment for this rule (exchange 1 for the payments for items rule number) displayed with this search term a decimal point and adds them upno thousands separator (for calculation)
[INVOICEPAYMENTBYDESCNUM:SearchtermINVOICEPENDPAYMANUAL] - searches the manual pending payments for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations)
=== Invoice Table ===These template varibles will display an invoice table. ==== Standard Invoice Tables ====[INVOICETABLEINVOICEPENDPAYMANUALNUM] - invoice table manual pending payments but the value is displayed with a decimal point and no thousands separator (for calculation).
[INVOICETABLEVATINVOICEPENDPAYMANUALNOTDUE] - invoice table with vat information and vat summarymanual pending payments before due date
[INVOICETABLE:$1.1$INVOICEPENDPAYMANUALNOTDUENUM] - invoice table manual pending payments before due date but the value is displayed with a decimal point and currency multiplier with optional new currency symbol before or after priceno thousands separator (for calculation).
[INVOICETABLEPART:status1,status2,!status4INVOICEPENDPAYMANUALOVERDUE] - Invoice table showing only items with matching status. The status items can be a comma separated list. To exclude status items prefix them with an exclamation mark, for example !status1. manual pending payments after due date
[INVOICETABLE2INVOICEPENDPAYMANUALOVERDUENUM] - invoice table manual pending payments after due date but the value is displayed with status fielda decimal point and no thousands separator (for calculation)
[INVOICETABLE2:$1.1$INVOICECREDITS] - invoice table with status field and currency multiplier with optional new currency symbol before or after price.sum of all credit items (negative items)
[INVOICETABLECHARGESINVOICECREDITS:50%] - invoice table showing charges onlysum of all credit items with percentage multiplier
[INVOICETABLECHARGESINVOICEE1234INVOICECREDITS:-100] - invoice table showing charges only assigned to the specified invoicee, specify the invoicee Id number.sum of all credit items with offset
[INVOICETABLENOTOTINVOICECREDITSNUM] - invoice table without grand totalAs per [INVOICECREDITS] but the value is displayed with a decimal point and no thousands separator (for calculation)
[INVOICETABLENOTOTINVOICECREDITSNUM:$1.1$] - invoice table without grand total As per [INVOICECREDITS:] but the value is displayed with a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculation)
[INVOICETABLENOTOT2INVOICEDEBITS] - invoice table with status field without grand totalsum of all debit items (positive items)
[INVOICETABLENOTOT2INVOICEDEBITS:$1.1$50%] - invoice table sum of all debit items with status field without grand total and currency percentage multiplier with optional new currency symbol before or after price.
[INVOICETABLEVATINVOICEDEBITS:$1.1$-100] - invoice table with vat information and currency multiplier sum of all debit items with optional new currency symbol before or after price.offset
[INVOICETABLEVATCOMPACTINVOICEDEBITSNUM] - compact version of invoice table As per [INVOICEDEBITS] but the value is displayed with vat information a decimal point and vat summaryno thousands separator (for calculations) (for calculations)
[INVOICETABLEVATCOMPACTINVOICEDEBITSNUM:$1.1$] - compact version of invoice table As per [INVOICEDEBITS:] but the value is displayed with vat information and vat summary a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculations)
[INVOICETABLEVATCOMPACTNOSUMINVOICEVAT] - compact version invoice sum of invoice table with vat information without all vat summaryvalue
[INVOICETABLEVATCOMPACTNOSUM:$1.1$INVOICEVATNUM] - compact version invoice sum of invoice table with vat information without all vat summary and currency multiplier with optional new currency symbol before or after price.value for calculations)
[INVOICETABLEVATNOSUMINVOICEFIRSTITEM] - price of the item listed first in the invoice table with vat information without vat summary
[INVOICETABLEVATNOSUM:$1.1$INVOICEFIRSTITEMNUM] - price of the item listed first in the invoice table but the value is displayed with vat information without vat summary a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculations)
[INVOICETABLEDATEVATNOSUMINVOICESECONDITEM] - price of the item listed second in the invoice table with vat information and date without vat summary
[INVOICETABLEDATEVATNOSUM:$1.1$INVOICESECONDITEMNUM] - price of the item listed second in the invoice table 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 calculations)
[INVOICETABLEVAT2INVOICETHIRDITEM] - price of the item listed third in the invoice table with vat information and status field and vat summary
[INVOICETABLEVAT2:$1.1$INVOICETHIRDITEMNUM] - price of the item listed third in the invoice table but the value is displayed with vat information a decimal point and status field and vat summary and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculations)
[INVOICETABLEVAT2NOSUMINVOICEFOURTHITEM] - price of the item listed fourth in the invoice table with vat information and status field without vat summary
[INVOICETABLEVAT2NOSUM:$1.1$INVOICEFOURTHITEMNUM] - price of the item listed fourth in the invoice table but the value is displayed with vat information and status field without vat summary a decimal point and currency multiplier with optional new currency symbol before or after price.no thousands separator (for calculations)
[INVOICETABLEVATCHARGESINVOICEFIFTHITEM] - price of the item listed fifth in the invoice table showing charges only with vat information and vat summary
[INVOICETABLENOPRICEINVOICEFIFTHITEMNUM] - price of the item listed fifth in the invoice table but the value is displayed with a decimal point and no price informationthousands separator (for calculations)
[INVOICETABLEINVOICEEINVOICEUPSELL0] - invoice table excluding base price without upsell items assigned to an invoicee.or other charges added later
[INVOICETABLEINVOICEE1234INVOICEUPSELLNUM0] - invoice table as per [INVOICEUPSELL1] but the value is displayed with a decimal point and no thousands separator (for a specific invoicee, specify the invoicee Id number.calculations)
[UPSELLTABLEINVOICEUPSELL1] - table with all value of upsell itemsitem 1 (number can be between 0 to 20)
[UPSELLTABLEVATINVOICEUPSELLNUM1] - table with all upsell items as per [INVOICEUPSELL1] but the value is displayed with vat information a decimal point and vat summary no thousands separator (for calculations)
[UPSELLTABLENOREFUNDINVOICEUPSELLQTY1] - table with all quantity of upsell items except refundable itemsitem 1 (number can be between 1 to 20)
==== Custom Invoice Table ====You have [INVOICEUPSELLNAME1] - name of the option headline field of upsell item 1 (number can be between 1 to create a custom invoice table. Available content variables are: 20)
AMO [INVOICEUPSELLSTATUS1] - shows stautus of the net value headline field of upsell item 1 (price x quantitynumber can be between 1 to 20)
CEX [INVOICEUPSELLHEADLINE1] - charges excluded headline (charges will not name and status if used of upsell item 1 (number can be shownbetween 1 to 20)
CON [INVOICEUPSELLDESCRIPTION1] - currency conversion. Example: CONEURUSD will convert the first currency description of upsell item 1 (Euros) number can be between 1 to the second currency (USD20). CON1.234 would multiply the prices by 1.234
CUA [INVOICEUPSELLAMOUNTNUM1] - currency symbol showing after the numbers. Example: CUA€ will show € after the figuresamout of upsell item 1
CUB - currency symbol showing before the numbers. Example: CUB€ will show € before the figures
DAT - adds a date column
DEC - Decimal points. Example: DEC, will show a comma as decimal point. If nothing is set the system will use the default for the language
DP0 [INVOICEUPSELLTYPE1] - no decimal placestype of upsell item 1
DP1 [INVOICEUPSELLPER1] - per of upsell item 1 decimal place
DP2 [INVOICEUPSELLPERIOD1] - 2 decimal placesperiod of upsell item 1
DP3 - 3 decimal places
DP4 [INVOICEEXTRAITEMDESC1] - 4 decimal placesName of extra invoice item 1 (number can be between 0 to 20)
GAT [INVOICEEXTRAITEM1] - sum for each columnvalue 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.
GRP [INVOICEEXTRAITEM1] - Group Totals. Displays 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 same items as a total are entered.
GRT [INVOICEEXTRAITEMNUM1] - Grand Total as per [INVOICEEXTRAITEM1] but the value is displayed with a decimal point and no thousands separator (for calculations).
INV [INVOICEEXTRAITEMQTY1] - invoicee, add the invoicee quantity of extra invoice item 1 (number at the end. Example: INV20 can be between 0 to show invoicee number 20, INV0 will show items ) Note: the order goes by the order in the dropdown list not assigned to an invoicee, INV-1 will show all by the order the items from the booking regardless of invoiceeare entered. You can combine INV[BOOKINGINVOICEEID]] to add the invoicee from the booking
LAN [INVOICEGROSS:1] - language. Example LANDE will force gross amount of the language to Germaninserted VAT rate (number is the VAT rate), value is displayed with a decimal point and no thousands separator (for calculations)
MUL - multiplier. ExampleINVOICEGROSSNUM: MUL1.2 will multiply all prices by 1.2] gross amount of the inserted VAT rate (number is the VAT rate)
NIN [INVOICENET:1] - do not show invoice net amount of the inserted VAT rate (number and invoice date on locked invoicesis the VAT rate)
NOC [INVOICENETNUM:1] - charges will not be displayed but their vat values are still calculated for net amount of the vat summary inserted VAT rate (number is the VATrate), value is displayed with a decimal point and no thousands separator (for calculations)
NOP [INVOICEVAT:1] - payments will not be displayed VAT amount of the inserted VAT rate (number is the VAT rate)
ONE - shows only items from [INVOICEVATNUM:1] VAT amount of the specified booking inserted VAT rate (not number is the booking groupVAT rate), value is displayed with a decimal point and no thousands separator (for calculations)
PAA [INVOICEITEMBYDESC:Searchterm] - shows a column searches the invoice for items with payment amounts this search term and adds them up
PAY [INVOICEITEMBYDESCNUM:Searchterm] - shows payments 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)
PEN [INVOICEPAYMENTBYDESC:Searchterm] - shows pending searches the payments descriptionfor items with this search term and adds them up
PPA [INVOICEPAYMENTBYDESCNUM:Searchterm] - shows pending searches the payments amount for items with this search term and adds them up, value is displayed with a decimal point and no thousands separator (for calculations)
PRI === Invoice Table ===These template varibles will display an invoice table. ==== Standard Invoice Tables ====[INVOICETABLE] - shows prices in a columninvoice table
QTY [INVOICETABLEVAT] - shows quantityinvoice table with vat information and vat summary
SEX [INVOICETABLE:$1.1$] - 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: SEX status1,status2,status4 will not show items table and currency multiplier with this statusoptional new currency symbol before or after price.
SIN [INVOICETABLEPART:status1,status2,!status4] - status included. Calculate the balance of all invoice Invoice table showing only items with matching status, the . The status items can be a comma separated list. Example: SIN status1,status2,status4 will only show To exclude status items prefix them with this statusan exclamation mark, for example !status1.
STA[INVOICETABLE2] - shows stausinvoice table with status field
THO [INVOICETABLE2:$1.1$] - thousands separator. THO. will show a dot as thousand separatorinvoice table with status field and currency multiplier with optional new currency symbol before or after price. If nothing is set the system will use the default for the language
TOT [INVOICETABLECHARGES] - shows total amountsinvoice table showing charges only
VAA [INVOICETABLECHARGESINVOICEE1234] - shows VAT amountsinvoice table showing charges only assigned to the specified invoicee, specify the invoicee Id number.
VAP [INVOICETABLENOTOT] - shows VAT percentsinvoice table without grand total
VAT [INVOICETABLENOTOT:$1.1$] - VAT summaryinvoice table without grand total and currency multiplier with optional new currency symbol before or after price.
[INVOICETABLENOTOT2] - invoice table with status field without grand total
Connect the variables [INVOICETABLENOTOT2:$1.1$] - invoice table with an underscorestatus field without grand total and currency multiplier with optional new currency symbol before or after price.
Examples[INVOICETABLEVAT: $1.1$] - invoice table with vat information and currency multiplier with optional new currency symbol before or after price.
[INVOICE:PRI_QTY_CUA€INVOICETABLEVATCOMPACT] will create an - compact version of invoice table with price vat information and quantity in Euros.vat summary
[INVOICEINVOICETABLEVATCOMPACT:PAY_TOT_CEX$1.1$] will create an - compact version of invoice table which will only show paymentswith vat information and vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICE:PRI_QTY_CUA_TOT_VAT_QTY_PAY_GRT_AMO_VAAINVOICETABLEVATCOMPACTNOSUM] will create an - compact version of invoice table with more vat information.without vat summary
== Invoicee Variables ==[INVOICEEBALANCEINVOICETABLEVATCOMPACTNOSUM:$1.1$] - compact version of invoice balance for unassigned invoice itemstable with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEEBALANCENUMINVOICETABLEVATNOSUM] - invoice balance for unassigned invoice items displayed table with a decimal point and no thousands separator.vat information without vat summary
[INVOICEEBALANCE1234INVOICETABLEVATNOSUM:$1.1$] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with vat information without vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEEBALANCENUM1234INVOICETABLEDATEVATNOSUM] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed table with a decimal point vat information and no thousands separator.date without vat summary
[INVOICEECHARGESINVOICETABLEDATEVATNOSUM:$1.1$] - invoice charges for unassigned invoice itemstable with vat information and date without vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEECHARGESNUMINVOICETABLEVAT2] - invoice charges for unassigned invoice items displayed table with a decimal point vat information and status field and no thousands separator.vat summary
[INVOICEECHARGES1234INVOICETABLEVAT2:$1.1$] - invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with vat information and status field and vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEECHARGESNUM1234INVOICETABLEVAT2NOSUM] - invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed table with a decimal point vat information and no thousands separator.status field without vat summary
[INVOICEEPAYMENTSINVOICETABLEVAT2NOSUM:$1.1$] - invoice payments for unassigned invoice itemstable with vat information and status field without vat summary and currency multiplier with optional new currency symbol before or after price.
[INVOICEEPAYMENTSNUMINVOICETABLEVATCHARGES] - invoice payments for unassigned invoice items displayed table showing charges only with a decimal point vat information and no thousands separator.vat summary
[INVOICEEPAYMENTS1234INVOICETABLENOPRICE] - invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)table with no price information
[INVOICEEPAYMENTSNUM1234INVOICETABLEINVOICEE] - invoice payments for invoice table excluding items assigned to an invoicee 1234 (change 1234 to the required Invoicee Id number).
[INVOICEENAMEINVOICETABLEINVOICEE1234] - name of invoice table for a specific invoicee, specify the invoicee account the invoice is assigned to or blankId number.
[INVOICEECODEUPSELLTABLE] - code of the invoicee account the invoice is assigned to or blanktable with all upsell items
[INVOICEECURRENCYUPSELLTABLEVAT] - currency of the invoicee account the invoice is assigned to if it is not the property default or blanktable with all upsell items with vat information and vat summary
[INVOICEETEMPLATE1UPSELLTABLENOREFUND] - template value 1 of the invoice account the invoice is assigned to or blanktable with all upsell items except refundable items
[INVOICEETEMPLATE2] - template value 2 of the invoice account ==== Custom Invoice Table ====You have the option to create a custom invoice is assigned to or blanktable. Available content variables are:
[INVOICEETEMPLATE3] AMO - template shows the net value 3 of the invoice account the invoice is assigned to or blank(price x quantity)
[INVOICEETEMPLATE4] CEX - template value 4 of the invoice account the invoice is assigned to or blankcharges excluded (charges will not be shown)
[INVOICEETEMPLATE5] CON - template value 5 of currency conversion. Example: CONEURUSD will convert the invoice account first currency (Euros) to the invoice is assigned to or blanksecond currency (USD). CON1.234 would multiply the prices by 1.234
[INVOICEETEMPLATE6] CUA - template value 6 of currency symbol showing after the invoice account numbers. Example: CUA€ will show € after the invoice is assigned to or blankfigures
[INVOICEETEMPLATE7] CUB - template value 7 of currency symbol showing before the invoice account numbers. Example: CUB€ will show € before the invoice is assigned to or blankfigures
DAT - adds a date column - you have the option to control the format of the date using [[INVOICEETEMPLATE8Template_Variables#Date_and_Time|date and time variables]] for example DAT{%d-%m- template value 8 of the invoice account the invoice is assigned to or blank%Y}
== Guest Variables ==[GUESTIDS] DEC - Decimal points. Example: DEC, will show a comma separated list of guest Id's connected to as decimal point. If nothing is set the bookingsystem will use the default for the language
[GUESTFLAGTEXTS] DP0 - comma separated list of flag text values for each guest (when not empty) connected to the bookingno decimal places
== Payment Request Variables ==[PAYURL] DP1 - Creates a 1 payment url for the payment request for the amount in the booking deposit field if non zero, otherwise the outstanding balance.decimal place
[PAYURL:25%] DP2 - Creates a payment url for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.2 decimal places
[PAYURL:200] DP3 - Creates a payment url for the payment request url for a fixed amount. nt.3 decimal places
[PAYLINK] DP4 - 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.4 decimal places
[PAYLINK:25%] GAT -Creates a payment link (HTML A tag) sum for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.each column
[PAYLINK:200] GRP - Creates a payment link (HTML A tag) for Group Totals. Displays the payment request) for same items as a fixed amount.total
[PAYBUTTON] GRT - 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.Grand Total
[PAYBUTTONINV - invoicee, add the invoicee number at the end. Example:25%] INV20 to show invoicee number 20, INV0 will show items not assigned to an invoicee, INV- Creates a payment button for 1 will show all items from the payment request for a percentage booking regardless of the outstanding balanceinvoicee. Use 100% You can combine INV[BOOKINGINVOICEEID]] to specify add the full outstanding balance. Not recommended for emails.invoicee from the booking
[PAYBUTTON:200] LAN - Creates a payment button for language. Example LANDE will force the payment request for a fixed amount. language to German
[PAYPALURL] MUL - Creates a Paypal payment url for the amount in the booking deposit field if non zero, otherwise the outstanding balancemultiplier.Example: MUL1.2 will multiply all prices by 1.2
[PAYPALURL:25%] NIN - Creates a Paypal payment url for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.do not show invoice number and invoice date on locked invoices
[PAYPALURL:200] NOC - Creates a Paypal payment url charges will not be displayed but their vat values are still calculated for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.the vat summary (VAT)
[PAYPALLINK] NOP - Creates a Paypal payment link (HTML A tag) for the amount in the booking deposit field if non zero, otherwise the outstanding balance.payments will not be displayed
[PAYPALLINK:25%] ONE - Creates a Paypal payment link shows only items from the specified booking (HTML A tagnot the booking group) for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.
[PAYPALLINK:200] ORB - Creates a Paypal payment link order by booking, this keeps the items for each booking (HTML A tagroom) for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.together in the table
[PAYPALBUTTON] PAA - Creates shows a Paypal column with payment button for the amount in the booking deposit field if non zero, otherwise the outstanding balance. Not recommended for emails.amounts
[PAYPALBUTTON:25%] PAY - Creates a Paypal payment button for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. Not recommended for emails.shows payments
[PAYPALBUTTON:200] PEN - 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.shows pending payments description
Add a H to exclude a gateway from displaying. Example: [PAYURL:200:HST] will hide StripePPA - shows pending payments amount
== Text Operators ==PRI - shows prices in a column
[REPLACE|searchForThisText|replaceWithThisText|textToSearch] QTY - replace "searchForThisText" with "replaceWithThisText" within the text "textToSearch"shows quantity
== iCal Links ==These template variables will create iCal links which allow SEX - status excluded. Calculate the balance of all invoice items except for the ones with these status, the booking to status items can be added to a calendarcomma separated list. Example: SEX status1,status2,status4 will not show items with this status.
[ICALURL] SIN - Calendar linkstatus 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.
[ICALURL:16] STA- Calendar link with check-in hour. Replace '16' with the hour check-in starts.shows staus
[ICALURL::10] THO - Calendar link with check-out hourthousands separator. THO. will show a dot as thousand separator. Replace '10' with If nothing is set the system will use the hour with default for the hour check-out ends.language
[ICALURL:::summary text] TOT - Calendar link with a summary textshows total amounts
[ICALURL::::description text] VAA - Calendar link with a descriptive textshows VAT amounts
Example:VAP - shows VAT percents
Calendar link with checkVAT -in time 16:00, check-out time 10:00, the VAT summary text "Booking" and the description text "Sunny Hotel":
[ICALURL:16:10:Booking:Sunny Hotel]
== Mathematical Operators ==Connect the variables with an underscore.
Place mathematical operators between two numbers <b>or between two template variables</b> that return a number.Examples:
[+] - ExampleINVOICE: 2 [+PRI_QTY_CUA€] 3 = 5will create an invoice table with price and quantity in Euros.
[-] - ExampleINVOICE: 5 [-PAY_TOT_CEX] 1 = 4will create an invoice table which will only show payments.
[*] - ExampleINVOICE: 3 [*PRI_QTY_CUA_TOT_VAT_QTY_PAY_GRT_AMO_VAA] 4 = 12will create an invoice table with more information.
[/] - ExampleINVOICE: 15 [/SIN TRANSPORT] 5 will create an invoice table with the Invoice item description for any items with the Status = 3Transport.
== Invoicee Variables ==[MININVOICEEBALANCE] - Example: 2 [MIN] 3 = 2invoice balance for unassigned invoice items.
[MAXINVOICEEBALANCENUM] - Example: 2 [MAX] 3 = 3invoice balance for unassigned invoice items displayed with a decimal point and no thousands separator.
Brackets are not supported as a way [INVOICEEBALANCE1234] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to control processing order, the processing order is fixed as *, /, +, -, MIN, MAXrequired Invoicee Id number).
[INVOICEEBALANCENUM1234] - invoice balance for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number) displayed with a decimal point and no thousands separator.
=== Rounding and controlling decimal places ===[INVOICEECHARGES] - invoice charges for unassigned invoice items.
==== Default ====[INVOICEECHARGESNUM] - invoice charges for unassigned invoice items displayed with a decimal point and no thousands separator.
2 [/INVOICEECHARGES1234] 3 = 0- invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number).66666666666667
==== Rounding [INVOICEECHARGESNUM1234] - invoice charges for invoice items assigned to invoicee 1234 (change 1234 to the nearest integer ====required Invoicee Id number) displayed with a decimal point and no thousands separator.
2 [/INVOICEEPAYMENTS] - invoice payments for unassigned invoice items.0] 3 = 1
==== Rounding to 1,2,3 or 4 [INVOICEEPAYMENTSNUM] - invoice payments for unassigned invoice items displayed with a decimal place(s) ====point and no thousands separator.
2 [/.1INVOICEEPAYMENTS1234] 3 = 0.7- invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)
2 [/.2INVOICEEPAYMENTSNUM1234] 3 = 0.67- invoice payments for invoice items assigned to invoicee 1234 (change 1234 to the required Invoicee Id number)
2 [/.3INVOICEENAME] 3 = 0.667- name of the invoicee account the invoice is assigned to or blank
2 [/.4INVOICEECODE] 3 = 0.6667- code of the invoicee account the invoice is assigned to or blank
[INVOICEECURRENCY] - currency of the invoicee account the invoice is assigned to if it is not the property default or blank
<b>This works on all operators including [MININVOICEENOTES] and [MAX]</b>- value of the "Notes" field for the invoicee
Note: Always use [INVOICEETEMPLATE1] - template value 1 of 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.invoice account the invoice is assigned to or blank
== Currency Conversion ==[INVOICEETEMPLATE2] - template value 2 of the invoice account the invoice is assigned to or blank
[CONVERT:EUR-USDINVOICEETEMPLATE3] - get template value 3 of the actual conversion rate between two currencies, this can be used with math functions invoice account the invoice is assigned to show alternative currency values. All currencies supported by the booking page currency selector can be used.or blank
Example: [INVOICECHARGESNUMINVOICEETEMPLATE4] [*.2] [CONVERT:EUR-USD] will convert template value 4 of the invoice account the invoice charge value from Euros is assigned to USD with two decimal points.or blank
If you use [INVOICEETEMPLATE5] - template value 5 of the multiplier to convert currencies for channels: For example hotel id 123456 and a multiplier to convert USD invoice account the invoice is assigned to EUR at todays rate:or blank
123456*[CONVERT:USDINVOICEETEMPLATE6] -EUR]*template value 6 of the invoice account the invoice is assigned to or blank
[INVOICEETEMPLATE7] - template value 7 of the invoice account the invoice is assigned to or this to convert EUR to USDblank
123456*[CONVERT:EURINVOICEETEMPLATE8] -USD]template value 8 of the invoice account the invoice is assigned to or blank
123456*[CONVERT:USDINVOICEETEMPLATE1BR] -EUR][/]0.85 will convert template value 1 of the invoice account the invoice is assigned to Euros and divides the price by 0.85 which raises it by circa 15%or blank with linkebreak
==Account Variables ([INVOICEETEMPLATE2BR] - template value 2 of the invoice account of the booking) ==invoice is assigned to or blank with linkebreak
[ACCOUNTIDINVOICEETEMPLATE3BR] - template value 3 of the invoice account id of the booked propertyinvoice is assigned to or blank with linkebreak
[ACCOUNTTEMPLATE1INVOICEETEMPLATE4BR] - Account Template 1template value 4 of the invoice account the invoice is assigned to or blank with linkebreak
[ACCOUNTTEMPLATE2INVOICEETEMPLATE5BR] - Account Template 2template value 5 of the invoice account the invoice is assigned to or blank with linkebreak
[ACCOUNTTEMPLATE3INVOICEETEMPLATE6BR] - Account Template 3template value 6 of the invoice account the invoice is assigned to or blank with linkebreak
[ACCOUNTTEMPLATE4INVOICEETEMPLATE7BR] - Account Template 4 template value 7 of the invoice account the invoice is assigned to or blank with linkebreak
[COMMISSIONLIMITINVOICEETEMPLATE8BR] - shows template value 8 of the available commission amount for the owner invoice account of the bookinginvoice is assigned to or blank with linkebreak
[MASTERACCOUNTTEMPLATE1] - Account Template 1 from master account
== Payment Request Variables ==[MASTERACCOUNTTEMPLATE2PAYURL] - Account Template 2 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.
[MASTERACCOUNTTEMPLATE3PAYURL:25%] - Account Template 3 from master accountCreates a payment url for the payment request for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.
[MASTERACCOUNTTEMPLATE4PAYURL:200] - Account Template 4 from master accountCreates a payment url for the payment request url for a fixed amount. nt.
==Account Variables [PAYLINK] - Creates a payment link (logged in account, only HTML A tag) for the payment request for display the amount in control panel the booking deposit field if non zero, not for auto actions or emails etc.) ==These variables can for example used by resellers who added a custom tab to otherwise the bookingsoutstanding balance.
[LOGGEDINACCOUNTIDPAYLINK:25%] - account id Creates a payment link (HTML A tag) for the payment request for a percentage of the logged in useroutstanding balance. Use 100% to specify the full outstanding balance.
[LOGGEDINACCOUNTTEMPLATE1PAYLINK:200] - Account Template 1Creates a payment link (HTML A tag) for the payment request) for a fixed amount.
[LOGGEDINACCOUNTTEMPLATE2PAYBUTTON] - Account Template 2Creates 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.
[LOGGEDINACCOUNTTEMPLATE3PAYBUTTON:25%] - Account Template 3Creates 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.
[LOGGEDINACCOUNTTEMPLATE4PAYBUTTON:200] - Account Template 4 Creates a payment button for the payment request for a fixed amount.
[LOGGEDINAPIKEYPAYPALURL] - apiKeyCreates a Paypal payment url for the amount in the booking deposit field if non zero, otherwise the outstanding balance.
[MASTERLOGGEDINACCOUNTTEMPLATE1PAYPALURL:25%] - Account Template 1 from master accountCreates a Paypal payment url for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.
[MASTERLOGGEDINACCOUNTTEMPLATE2PAYPALURL:200] - Account Template 2 from master accountCreates a Paypal payment url for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.
[MASTERLOGGEDINACCOUNTTEMPLATE3PAYPALLINK] - Account Template 3 from master accountCreates a Paypal payment link (HTML A tag) for the amount in the booking deposit field if non zero, otherwise the outstanding balance.
[MASTERLOGGEDINACCOUNTTEMPLATE4PAYPALLINK:25%] - Account Template 4 from master accountCreates a Paypal payment link (HTML A tag) for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance.
== Smart Logic Template Variables ==[PAYPALLINK:200] - Creates a Paypal payment link (HTML A tag) for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.
IF style template variables will compare two values and display [PAYPALBUTTON] - Creates a text if Paypal payment button for the amount in the comparison is true and an alternative text booking deposit field if the comparison is false. Colons : are used between the two comparison values and the first textnon zero, a pipe | is used between otherwise the two textsoutstanding balance.Empty text is allowed if you do not want to display anything Not recommended for a conditionemails.
[IF=PAYPALBUTTON:if this:equals this:display this text|otherwise display this text25%]- Creates a Paypal payment button for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. Not recommended for emails.
[IFINPAYPALBUTTON:if this:is contained in this:display this text|otherwise display this text200]- 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: [IFLIKE:if thisPAYURL:is like this200:display this text|otherwise display this textHST]will hide Stripe
[IF>:if this:is greater than this:display this text|otherwise display this text]== Text Operators ==
[IF>=:if this:is greater than or equal to this:display this textREPLACE|searchForThisText|replaceWithThisText|otherwise display this textToSearch] - replace "searchForThisText" with "replaceWithThisText" within the text]"textToSearch"
[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 textSUBSTR|startCharacterNumber|numberOfCharacters|otherwise display this texttextToGetSubstringFrom]- get a sub string from "textToGetSubstringFrom" starting at character "startCharacterNumber" (integer, 0 is the first char) with a length of "numberOfCharacters" (integer)
[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]
1. [SUBSTR|0|4|[GUESTPHONENUM]]
You can use IF 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 inside other IF variables to will create complex logic but iCal links which allow the internal IF: must booking to be processed before the external IFadded to a calendar. [ICALURL] - Calendar link They are processed [ICALURL:16] - Calendar link with check-in hour. Replace '16' with the following order from left to right so choose an internal one that is different and processed before the external onehour check-in starts.i[ICALURL::10] - Calendar link with check-out hour.eReplace '10' with the hour with the hour check-out ends. all the  [ICALURL:::summary text] - Calendar link with a summary text [IF=ICALURL::::description text] - Calendar link with a descriptive text Example: Calendar link with check-in time 16:00, check-out time 10: will be processed first00, then all the summary text "Booking" and the description text "Sunny Hotel": [IFINICALURL:16:10:Booking: etcSunny 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 IF 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.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>:[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 statements to display special messages :-
Template variables can be used inside this template variable as per the examples 10. [<span style="color: #019cde">comparison in blue</span>, <span style="colorIFIN: #75d5ad">positive result in green</span>, <span style="colorDEPOSIT: #fe746c">negative result in red</span>[BOOKINGINFOCODES]1. |[<span style="color: #019cde">IF=:[GUESTNAMEGUESTCOUNTRY2]</span><span style="color: #75d5ad">:MillerAU</span><span style="color: #75d5ad"><span style="color: #75d5ad">:yesCredit card details are required </span> <span style="color: #fe746c">|noA deposit is required]|No deposit is required</span>]
If You want to display a special message to Australians if the guestname booking has a DEPOSIT info item code, if a deposit is Miller the text required from a non Australia they get "yesA deposit is required" will display. If the guest name and if no deposit is not Miller the text required they see "noNo deposit is required" will display
211.[<span style="color: #019cde"> IF><:[INADVANCE]:|[IFIN:TRANSFER:[NUMADULTBOOKINGINFOCODES]:23</span><span style="color: #75d5ad">:please contact us about you bedding requirementsPayment Due Date: ASAP </span><span style="color: #fe746c">|Payment Due Date: [FIRSTNIGHT:- 30days]]|</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 You want displaya special message to your guests 3 days before checkin with a Booking Info Code = TRANSFER.
312. [<span style="color: #019cde">IF<=:[NUMADULTSTATUS]:3Confirmed:PAID|[IF<^[INADVANCE]^30</span><span style="color: #75d5ad">^Payment Due Date:|linen for two adults is included free of chargeAs 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 lower more than 3 nothing will display. If 30 days in advance, then send the number of adults is not lower than 3 message with "Payment Due Date : "or that the text "linen for two adults Payment is included free of chargedue As soon as possible" will display.
413. [<span style="color: #019cde">IF<=IFBETWEEN:[NUMADULTTURNOVERDAYS]:20:3:</span><span style="color: #75d5ad">:yes|</span><span style="color: #fe746c">|no</span>]
5You want to test if the days until next arrival into the same unit is between 0 and 3 days. Could be used for offering Late 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>]
614. [<span style="color: #019cde">IFBETWEENIF>:[NUMADULTVACANTDAYS]:1:3</span><span style="color: #75d5ad">:yes|</span><span style="color: #fe746c">|too low|too highno</span>]
7You 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">IFLIKE:[GUESTTITLE]</span><span style="color: #75d5ad">:Mr:Dear|Hi</span>]
IFLIKE works like 15. [<span style="color: #019cde">IF= except it is case insensitive and removes any spaces from the start and end of the words:[LEAVINGDAY:{%a}]:Sun:|[IF>=^[TURNOVERDAYS]^1</span><span style="color: #75d5ad">^yes</span><span style="color: #fe746c">~no]</span>]
8You 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">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 displayed16. [<span style="color: #019cde">[IF=:[LEAVINGDAY:{%u}]:1:yes|[IF=^[LEAVINGDAY:{%u}]^3</span><span style="color: #75d5ad">^yes</span><span style="color: #fe746c">]</span>]
9You 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: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 (date17. [<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">]</time) otherwise blank. span>]
You 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.
== Write out the number in Words. ==
[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