Skip to main content
Skip table of contents

List of variables

Here is a list of variables that can be used for emails templates, documents templates or for the content of the iCal export. You will see the list of variables below :

For any new field you add for the customer and booking details form, you will see a new variable.

  • Any variable associated to the Reservation starts with "[resa_...]"

  • Any variable associated to the Customer starts with "[customer_...]”


Variables for the reservation details

Here are some information about the reservation variables you can use:

  • [resa_id]: the ID of the reservation

  • [resa_ids]: for multiple accommodation bookings, this is the list of ids of the individual reservations

  • [resa_alphanum_id]: the random alphanumeric reservation number of the reservation

  • [resa_invoice_id]: the invoice id of the reservation

  • [resa_check_in]: the check-in date of the reservation

  • [resa_check_out]: the check-out date of the reservation

  • [resa_number_of_nights]: the number of nights of the reservation

  • [resa_accommodation]: the name of the type of accommodation booked (ex : "Double room")

  • [resa_accommodation_num]: the number/name of the accommodation booked(ex: "201" if it is the Double Room 201)

  • [resa_adults]: the number of adults

  • [resa_children]: the number of children

  • [resa_persons]: the number of persons

  • [resa_admin_comment]: the content of the content displayed in "Comment" section of the Reservations

  • [resa_extras]: the list of extras selected

  • [resa_coupon_code]: the coupon code validated

  • [resa_coupon_amount]: the amount of the coupon validated

  • [resa_invoice_table]: displays an invoice table with all price breakdown. Please note that it can be used only with HTML emails or documents.

  • [resa_price]: the total price of the reservation

  • [resa_accom_list_price]: the accommodation list price. It is the price before any discounts or fees applied to the accommodation price.

  • [resa_accom_list_price_per_night]: the accommodation list price, divided by the number of nights. It is the price before any discounts or fees applied to the accommodation price that is then divided by the number of nights.

  • [resa_deposit]: the deposit amount as set in Deposit settings

  • [resa_price_minus_deposit]: the price of the reservation once the deposit is deducted

  • [resa_paid]: the amount already paid

  • [resa_payments_history_table]: displays a table with the payments' history. Please note that it can be used only with HTML emails.

  • [resa_remaining_balance]: the outstanding amount that has not been paid yet

  • [resa_bond]: the security bond amount as set in Security bond settings

  • [resa_price_including_bond]: the price of the reservation with security bond included

  • [resa_deposit_including_bond]: the deposit amount, to which is added the security bond amount

  • [resa_remaining_balance_including_bond]: the remaining amount to be paid, to which is added the security bond amount

  • [resa_payment_type]: the payment option chosen (offline, deposit, full amount)

  • [resa_payment_gateway]: the payment gateway used for the payment (Stripe, PayPal…)

  • [resa_origin]: the origin of the reservation (website, iCal calendar name)

  • [resa_received_on_date]: the date of reception of the reservation

  • [resa_received_on]: the date and time of reception of the reservation

  • [resa_x_days_before_check_in]: the date corresponding to "x" days before the check-in date. You would replace "x" with the number of days. For example [resa_21_days_before_check_in]

  • [resa_x_days_after_check_in]: the date corresponding to "x" days after the check-in date. You would replace "x" with the number of days. For example [resa_2_days_after_check_in]

  • [resa_x_days_before_check_out]: the date corresponding to "x" days before the check-out date. You would replace "x" with the number of days. For example [resa_1_days_before_check_out]

  • [resa_x_days_after_check_out]: the date corresponding to "x" days after the check-out date. You would replace "x" with the number of days. For example [resa_14_days_after_check_out]

  • [today_date]: the date of the current day

Variables for the customer details

Variables are usually straightforward, for example :

  • [customer_id] : id of the customer

  • [customer_first_name] : first name of the customer

  • [customer_last_name] : last name of the customer

  • [customer_email] : email of the customer

  • ...

  • [payment_link_total_price] : a payment link with the total price as amount to pay

  • [payment_link_total_price_including_bond] : a payment link with the total price as amount to pay, including the security bond as set in Security bond settings

  • [payment_link_deposit] : a payment link with the deposit amount to pay, as set in Deposit Settings

  • [payment_link_deposit_including_bond] : a payment link with the deposit amount to pay, including the security bond

  • [payment_link_remaining_balance] : a payment link with the outstanding amount that has not been paid yet, as amount to pay

  • [payment_link_remaining_balance_including_bond] : a payment link with the outstanding amount that has not been paid yet, including the amount of the security bond, as amount to pay

  • [payment_link_bond] : a payment link with the security bond amount to pay, as set in Security bond settings

  • [payment_link_custom_amount-xx.xx] : a payment link with a custom amount to pay

  • [payment_link_no_payments] : a payment link for updating/providing a payment method. No charge is done. This is only available with Stripe payment gateway.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.