Changes

Jump to navigation Jump to search

Auto Actions

8,687 bytes added, 13:11, 20 May 2022
=== Send Emails/Message/SMS to guests ===
<span style="color:#019cde; font-size: 150%;“ >{{#fas:info-circle}} </span> Message API messages will be shown in the message tab of the booking and in the Channel Message centre. Currently this is only available for Booking.com and Airbnb.
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible-content">
'''Trigger tab:'''
Time:
Booking Conditions:-
*Group bookings = Trigger all on master
 
Info Codes :-
*Info Code = LOCKSTATE_PIN or NUKI_PIN or CHEKIN_URL (select the appropriate Booking Info Code for the service you use)
</div>
<div class="mw-collapsible-content">
 
This auto action will be sent only when the Invoice Balance of the booking is zero. This can be used to ensure that the checkin details are only sent when the guest has completed the payments.
 
'''Trigger tab:'''
*Plain text box - will send to channels using Message API
Message Text :- enter the text you wish to send to your guests . This can include URL. Include these any information that is important for the checkin of the guest, for example the Key code for the door, who to contact if there are any issues, template variables - [BOOKINGINFOCODETEXT:LOCKSTATE_PIN] or [BOOKINGINFOCODETEXT:NUKI_PIN] or [BOOKINGINFOCODETEXT:CHEKIN_PIN] can be used, see the list of ALL template variables that can be used [[Template_Variables| see here]]
*HTML box - Email will be sent
Email Text :- It Enter the text you wish to send to your guests this can include URLs. Include any information that is possible to use important for the checkin of the guest, for example the same details (URL) as in Key code for the Plain Text box above. Include these door, who to contact if there are any issues, template variables - [BOOKINGINFOCODETEXT:LOCKSTATE_PIN] or [BOOKINGINFOCODETEXT:NUKI_PIN] or [BOOKINGINFOCODETEXT:CHEKIN_PIN] can be used, see the list of ALL template variables that can be used [[Template_Variables| see here]]
</div>
<div class="mw-collapsible-content">
To send an automated Email to the guest confirming that it is possible to have an Early Checkin a Late Checkout as room is available the day of before arrivaldeparture.
This example uses fixed values that you have entered into {{#fas:cog}} (SETTINGS) > PROPERTIES > ROOMS > SETUP > ROOM TEMPLATES and standard Template Variables set in the Property/Rooms, useful way to utilise the template variables and different values rather than duplicating auto actions.
</div>
===Booking Info Codes===
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >  ====Add CHECKIN Booking info code Send Email to bookings your guest - Offering Late Checkout Only on a Sunday when there is no new arrival ====
</div>
<div class="mw-collapsible-content">
If you need To send an automated Email to use the Booking info code CHECKIN/CHECKOUT for reporting/other auto actions, you can set the Booking info code rather than use guest confirming that it is possible to have a Late checkout on Sundays as the Current guest module in room is available on the dashboardday of departure.
Trigger tab:*Trigger Event = Check-in*Trigger Time = Immediate*Trigger Window = 1 day*Booking Source = All*Booking Status = All but not cancelled*Group This auto action will create a new booking for the date of departure, closing the calendar to any other bookings = Trigger all on master.
Booking Info The URL link in the message tab: *Booking Info Code = CHECKIN*Booking Info Text = Auto Checkin</div></div>, will send the guest to your guest booking page with set conditions, the leaving date of the existing booking, the room id of the existing booking and the Offer you have created for the LateCheckout.
<div class="mw-collapsible mw-collapsed"This example uses fixed values that you have entered into {{#fas:cog}} (SETTINGS) ><div class="headline-collapse" PROPERTIES > ====Add CHECKOUT Booking info code to bookings ====</divROOMS ><div class="mw-collapsible-content"SETUP >ROOM TEMPLATES and standard Template Variables set in the Property/Rooms, useful way to utilise the template variables and different values rather than duplicating auto actions.
If you need to use the Booking info code CHECKIN/CHECKOUT for reporting/other auto actions, you can set the Booking info code rather than use the Current guest module '''Step 1: ''' Create a new offer in the dashboard. {{#fas:cog}} (SETTINGS) > PROPERTIES > OFFERS
Trigger tab:*Trigger Event Name = Check-outLatecheckout*Trigger Time Enable = Immediate*Trigger Window = 1 dayOnly if Available*Booking Source Type = All*Booking Status = All but not cancelled*Group bookings = Trigger all on masterConfirmed with Deposit 2 - via payment gateway
Booking Info tab'''Step 2: *Booking Info Code = CHECKOUT*Booking Info Text = Auto Checkout</div></div>''' Create a Rate or Daily Price, PRICES
<div classGuests ="mw-collapsible mw-collapsed">Max Occupancy<div classMax Stay ="headline-collapse" > 1Offer ====Group check-in ====</div><div class="mw-collapsible-content">This requires select the master booking to be checked-offer number as created in via the check-in functionabove step.
Trigger tab:If you are using Rates, select 'Rate allowed' = Sunday, untick all the other days. Channel Tab, untick all channels, leave only 'beds24.com' for your booking page.
*Trigger Event = After Booking*Trigger Time = immediately*Trigger Window = 365*Booking Source = AllIf using Daily Prices, then go to Calendar, and set the price and date range, then only Sunday, untick all the other days. *Booking Status = All but not cancelled*Group bookings" = Trigger Enable list, untick all on master*Info Code = CHECKINchannels, leave only 'beds24.com' for your booking page.
Booking info tab '''Step 3: *Info Code = CHECKIN</div></div>''' Create the Auto Action
<div classTrigger Tab :- *Trigger Event ="mw-collapsible mw-collapsed">Checkout<div class*Trigger Time ="headline-collapse" > 1 days (depending on when you want to notify the guest, in this example 2 days before arrival)*Trigger Window =1*Booking Source =All *Booking Status ==Identify Repeat Guest ====</div>All but not cancelled<div class*Between Booking and Check in ="mw-collapsible-content">This requires you 2 and 999 (to use stop the auto action triggering on the Guest database. new booking)
*Group bookings = Trigger tab:all on master
*Trigger Event Template Variables = After Booking*Trigger Time [IF= immediately*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelled*Group bookings" = Trigger all on master*Template Variable :[LEAVINGDAY:{%a}]:Sun:|[IF>= ^[GUESTSID1TURNOVERDAYS]^1^yes~no]] greater than 0equal yes
Booking info tab : *Info Code = REPEAT</div></div>This template variable tests if the departure day is a Sunday and there is at least 1 day between the existing guest booking and the next booking.
<div class="mw-collapsible mwMessage tab :-collapsed"><div class*Send Email ="headline-collapse" > Guest API/Smart Email (or one of the other options)*EMail Subject =Enter the appropriate details *Email Text ===Identify bookings with Custom Question tickedYour text, using the template variables to modify the specific text in the booking. Enter the text in both Plain text Box (Messaging API) and HTML Box (Emails) Dear, [GUESTNAME], We are very happy to offer you 'Late Check-out' at [PROPERTYNAME] at the exceptional rate of [ROOMTEMPLATE3][PROPERTYCURRENCYBACK]. If you would like a late checkout, please use this link to make the booking and payment.  https://beds24.com/unticked ===booking2.php?checkin=[LEAVINGDAYYYYY-MM-DD]&br7-[ROOMID]</div><div span class="mw-collapsible" style="color: #f3e504; font-contentsize: 150%;">If you have {{#fas:lightbulb}} </span> The details in the URL, will direct the guest to make a custom question new booking in the existing room with a 'Tick box' the check-in date = leaving date and for example, they want a late checkin. Offer 7 &br-7 (offer created in Step 1 above)
Setup Enter your Booking Reservation Number [BOOKID] into the custom question in {{#fas:cog}} (SETTINGS) PROPERTIES -> BOOKING QUESTIONS -> CUSTOM QUESTIONS -> Custom question 1Booking id box on the booking page. Best regards, set with TYPE = Tick Box.
Trigger tab[PROPERTYCONTACTFIRSTNAME] [PROPERTYCONTACTLASTNAME] Email :-[PROPERTYEMAIL] Website :- [PROPERTYWEB]
*Trigger Event = After Booking*Trigger Time = immediately*Trigger Window = 365Info Tab :- Optional*Booking Source info code = AllLATCHECKOUT, *Booking Status = All but not cancelled*Group bookings" = Trigger all on master*Template Variable Info Description = Upsell email sent [GUESTCUSTOMQ1CURRENTDATE] equals ticked (or) not ticked : Late Checkout
Booking info tab :
*Info Code = LATECHECKIN
</div>
</div>
===Add invoice items Send an email to a booking the Owner/Internal email address === 
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >
====Add a fee Send an email to all bookings from the Owner/Internal email address when a channelpayment FAILS at Stripe====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Booking
*Trigger Time = Immediate
*Trigger Window = 365*Booking Source = Expedia (All*Booking Status = All but not cancelled*Booking Info Code = STRIPEFAIL, CARDFAILSTRIPE Messaging tab:*Send Message = Internal*Internal Email Address = enter the email address to receive the notification*Subject = Failed Stripe Payment*HTML Box = Enter the text to be sent, you can use template variables in this message, for example)
Invoice tab:*Type = Amount*Description = Cleaning fee (for example)[BOOKID] - booking reference number*Amount = 50 (for example [GUESTNAMES] - name of all guests in the amount booking on the "summary" tab of your cleaning fee)the booking*per = Room[FIRSTNIGHT]*Period = one time*VAT = 19% (for example - enter the VAT amount if applicable)[LASTNIGHT]
The fee will be added the next Booking tab: (optional)*Execution = One time only*Flag Text = Stripe Payment Failed*Flag Colour - choose the auto actions run. flag colour
</div>
</div>
===Booking Info Codes===
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >
====Add a fee (Penalty) CHECKIN Booking info code to all bookings with an Outstanding Balance==== 
</div>
<div class="mw-collapsible-content">
You want If you need to add a 2.2% fee to all bookings if there is an outstanding balance 2 days prior to checkinuse the Booking info code CHECKIN/CHECKOUT for reporting/other auto actions, you can set the Booking info code rather than use the Current guest module in the dashboard.
Trigger tab:
*Trigger Event = Check-in
*Trigger Time = Immediate
*Trigger Window = 1 day
*Booking Source = All
*Booking Status = All but not cancelled
*Group bookings = Trigger all on master
Time :*Trigger Event = Checkin *Trigger Time = -2 days*Trigger Window = 2 days  Booking Conditions:*Status = All not Cancelled *Invoice Balance = Not Zero Invoice Info tab:*Type Booking Info Code = AmountCHECKIN*Description Booking Info Text = Payment Fee||[INVOICEBALANCE:2.2%]*Amount = 0 (leave as 0 so the value is set from the calculation in Description field)*Per = Room*Period = one time*VAT = 19% (for example - enter the VAT amount if applicable) The fee will be added the next time the auto actions run. Auto Checkin
</div>
</div>
 
===Payments/Pending Payments===
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" > ====Add a pending paymentCHECKOUT Booking info code to bookings ====
</div>
<div class="mw-collapsible-content">
 
If you need to use the Booking info code CHECKIN/CHECKOUT for reporting/other auto actions, you can set the Booking info code rather than use the Current guest module in the dashboard.
 
Trigger tab:
*Trigger Event = After Booking or Before Check-inout*Trigger Time = set the time you want to collect the paymentImmediate*Trigger Window = 1 day*Booking Source =All (for example, you can also set different rules for different channels)*Booking Status = All but not cancelled*Group bookings = Trigger all on master Booking Info tab: *Booking Info Code = CHECKOUT*Booking Info Text = Auto Checkout</div></div>
Booking Info tab: Optional<div class="mw-collapsible mw-collapsed">Add a booking info tab for information and reporting<div class="headline-collapse" > *Flag Text = PendingPayment (for example)===Group check-in ====</div>*Flag Colour <div class= select "mw-collapsible-content">This requires the colour as this will master booking to be visible checked-in via the Calendar/Bookings listcheck-in function.
Booking Trigger tab: Optional*Flag Text = Pending payment added (for example)*Flag Colour = select the colour as this will be visible in the Calendar/Bookings list
Invoice tab:*Trigger Event = After Booking*Payment Type Trigger Time = select on what the payment is calculated (Percent of Balance due) immediately*Description Trigger Window = the text you will see in the "Charges and Payments" tab365*Status Booking Source = if you use the status function add the status you want to apply to the pending payment (optional)All*Amount Booking Status = enter the amount or percentage you want to collectAll but not cancelled*Payment Rule Group bookings" = use auto or manual - if you have set up payment rules in {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT->PAYMENT COLLECTION they will be available here Trigger all on master*Payment Due Info Code = Set when the payment is dueCHECKIN
Booking info tab :
*Info Code = CHECKIN
</div>
</div>
Create a Payment Rule <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Identify Repeat Guest ====</div><div class="mw-collapsible-content">This requires you to collect a payments when bookings are not cancelleduse the Guest database.
Go to Settings > Payments > Payment RulesTrigger tab:
Payment Rule : Name *Trigger Event = Enter your title - Not Cancelled (for example)After BookingAction *Trigger Time = Auto immediately Payment *Trigger :Window = 365*Booking Status Source = All not cancelled*Any Booking Info Code Status = optional*All Booking Info Codes = optionalbut not cancelled*Exclude Booking Info Code Group bookings" = optional (can exclude Virtual Credit cards, find the Booking info code in the booking) Payment Action : *Capture = Yes - immediately charged (Capture=Yes)*Add info code on success = add a Booking Info item to the booking Trigger all on successmaster*Add info code on failure Template Variable = add a Booking Info item to the booking on failure[GUESTSID1] greater than 0
Booking info tab :
*Info Code = REPEAT
</div>
</div>
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" > ====Collect outstanding booking balance 3 days prior to arrival( Credit card details were collected at time of booking)Identify bookings with Custom Question ticked/unticked ====
</div>
<div class="mw-collapsible-content">
If you have a custom question with a 'Tick box' for example, they want a late checkin.
''''Create a Payment Rule Setup the custom question in {{#fas:cog}} (OptionalSETTINGS)'''' PROPERTIES -> BOOKING QUESTIONS -> CUSTOM QUESTIONS -> Custom question 1, set with TYPE = Tick Box.
Standard payment rules in the system are Auto & Manual, you can create additional rules for the collection of outstanding payments, you can control the collection of payments if the booking status is changed, for example the booking is cancelled before the final payment is due to be collected. Trigger tab:
Go to {{#fas:cog}} (SETTINGS) *Trigger Event = After Booking*Trigger Time = PAYMENTS > PAYMENT RULESimmediately*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelledCreate a Payment Rule to collect payments if *Group bookings are " = Trigger all on master*Template Variable = [GUESTCUSTOMQ1] equals ticked (or) not cancelled.ticked
Click '''Create New Payment Rule''' Booking info tab :*Info Code = LATECHECKIN</div></div>
Payment Rule:
*Name = Enter your title - Not Cancelled (for example)
*Action = Auto
Payment Trigger :
*Booking Status = All not cancelled
*Any Booking Info Code (optional)
*All Booking Info Codes (optional)
*Exclude Booking Info Code = optional (can exclude Virtual Credit cards, find the Booking info code in the booking)
Payment Action :*Funding Source = Guest card only*Payment value adjustment = Limit =Add invoice items to group a booking balance*Capture = Yes - immediately charged (Capture=Yes)*Add info code on success = add a Booking Info item to the booking on success*Add info code on failure = add a Booking Info item to the booking on failure
Prevent Auto Payment <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Add a fee to all bookings from a channel====</div><div class="mw-collapsible-content">Trigger tab:*Prevent payment if booking status Trigger Event = CancelledAfter Booking*Prevent payment after check-out (days) Trigger Time = 7 (default)Immediate*Prevent payment action Booking Source = Set ManualExpedia (for example)
Invoice tab:
*Add Invoice Item = Add new
*Type = Amount
*Description = Cleaning fee (for example) - Template variables can be used.
*Amount = 50 (for example - the amount of your cleaning fee)
*per = Room
*Period = one time
*VAT = 19% (for example - enter the VAT amount if applicable)
'''Create Auto Actions '''The fee will be added the next time the auto actions run. </div></div>
Collect the outstanding balance for bookings created via your booking page. <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" >
Go to {{#fas:cog}} ====Add a fee (SETTINGSPenalty) GUEST MANAGEMENT > AUTO ACTIONS and click '''Create New Action''' to create them.all bookings with an Outstanding Balance====
'''Collect </div><div class="mw-collapsible-content">You want to add a 2.2% fee to all bookings if there is an outstanding balance for direct bookings'''2 days prior to checkin.
Trigger tab:
*Time
**Trigger Event = Checkin
**Trigger Time = -3 days (set the time you want to collect the payment)
**Time Window = 3 days (set this to the same number (positive) as Trigger time.
Time :*Booking SourceTrigger Event = Checkin *Trigger Time = -2 days*Booking Source Trigger Window = Direct. You can have different auto actions/rules for direct bookings -v- channel bookings, then select ‘Direct’ this will include manually created bookings and booking page bookings. 2 days
*Booking Conditions:**Group Booking Trigger = Trigger only Master**Status = All not cancelledCancelled **Invoice Balance= Not Zero (can be used to refine the auto action being triggered)
Booking Invoice tab: Optional*Flag Text Type = Pending payment added Amount*Description = Payment Fee||[INVOICEBALANCE:2.2%]*Amount = 0 (for exampleleave as 0 so the value is set from the calculation in Description field)*Flag Colour Per = Room*Period = select one time*VAT = 19% (for example - enter the colour as this will be visible in the Calendar/Bookings listVAT amount if applicable)
Booking Info tab: Optional, for information and reportingThe fee will be added the next time the auto actions run. *Booking Info Code = BALANCE (for example enter the value - use one word only)</div>*Booking Info Text = Enter the description</text to show in for the Booking Info Code. div>
Invoice tab: <div class="warning">{{#fas:exclamation-triangle}} ONLY use Payment Type =‘ Percent of Group balance due’ if you selected Trigger tab > Booking Conditions > Group Booking Trigger = Trigger Only Master.<Payments/div>  *Add a Pending Payment to the booking**Payment Type = Percent of Group Balance due (select on what the payment is calculated) **Description = the text you will see in the "Charges and Payments" tab**Status = if you use the status function add the status you want to apply to the pending payment (optional)**Amount = 100 (this will be 100% of the outstanding group balance) **Payment Rule = Not Cancelled - See Step 4 above (if you have set up payment rules in {{#fas:cog}} (SETTINGS) PAYMENTS ->PAYMENT RULES they will be available here) **Payment Due = Trigger date**Payment time = set the time to collect payment**Invoicee = If you use the "invoicee" function you can select which invoicee the pending payment will be assigned to. </div></div>
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" > ===='Capture' Add a Security Deposit when Credit card is collected at time of booking. pending payment====
</div>
<div class="mw-collapsible-content">
 
Trigger tab:
*Trigger Event = After Booking or Before Check-in*Trigger Time = immediateset the time you want to collect the payment
*Booking Source =All (for example, you can also set different rules for different channels)
Booking Info tab: OptionalAdd a booking info tab for information and reporting*Flag Text = PendingPayment (for example)*Flag Colour = select the colour as this will be visible in the Calendar/Bookings list Booking tab: Optional*Booking Info Code = PENDPAY*Booking Info Text = Pending payment added Invoice tab:*Payment Type = Fixed amountselect on what the payment is calculated (Percent of Balance due)*Description = Security Deposit (the text you will see in the "Charges and Payments" tab)
*Status = if you use the status function add the status you want to apply to the pending payment (optional)
*Amount = 100 (balance is full price so 100% of enter the balance)amount or percentage you want to collect*Payment Rule = Security Deposit use auto or manual - if you have set up payment rules in {{#fas:cog}} (Create a Payment Rule, see belowSETTINGS) GUEST MANAGEMENT->PAYMENT COLLECTION they will be available here *Payment Due = check inSet when the payment is due
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> Automatic collection is only available for customer who use [[Stripe]]Create a Payment Rule to collect a payments when bookings are not cancelled.
Create a Go to Settings > Payments > Payment Rule to 'Capture' a payment only. Captured payments will only be valid for 7 days, then it will expire, if the booking is for a longer period, then you can create a second Capture, you will need to create another auto action for this.Rules
Go to {{#fasPayment Rule :cog}} (SETTINGS) PAYMENTS > PAYMENT RULES
Payment Rule : *Name = Enter your title - Security Deposit Not Cancelled (for example)*Action = Auto
Payment Trigger :
 *Booking Status = select from the drop down listAll not cancelled
*Any Booking Info Code = optional
*All Booking Info Codes = optional
Payment Action :
 *Capture = Yes/No - immediately charged (Capture=Yes), if you want to make sure that the amount is available for later capture (Capture=No)
*Add info code on success = add a Booking Info item to the booking on success
*Add info code on failure = add a Booking Info item to the booking on failure
 
</div>
</div>
<div class="headline-collapse" >
====Apply an info code and and/or icon when Add a pending payment was made- Set the Security Deposit value based on the price of the booking, using a calculation ====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Bookingor Before Check-in*Trigger Time = Immediate*Trigger Window = 365set the time you want to collect the payment*Booking Source = All*Booking Status = All but not cancelled*Invoice Balance = Any Payment made(for example, you can also set different rules for different channels)
Booking Info tab:Optional*Execution Flag Text = One time onlyPendingPayment (for example)*Info Code Flag Colour = Enter select the preset code for colour as this will be visible in the icon or info code which you have created in {{#fas:cog}} (SETTINGS) ACCOUNT->PREFERENCES.</div><Calendar/div>Bookings list
<div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Assign invoice numbers====</div><div class="mw-collapsible-content">Trigger Booking Info tab:Optional*Trigger Event = Check-outAdd a booking info tab for information and reporting*Trigger Time Booking Info Code = ImmediatePENDPAY*Any Booking Info Code Text = CHECKOUT (optional only if you use the check-out function, if not leave blank)Pending payment added
Invoice tab:
*Assign Invoice Number Payment Type = yesfixed value</div></div> <div class*Description ="mw-collapsible mw-collapsed">Security Deposit||[IF<div class="headline-collapse" > ====Using Pending Payments as a Payment Reminder====<:[INVOICEFIRSTITEMNUM]:800:200|[INVOICEFIRSTITEMNUM][/div>.0]4] <div class="mw-collapsible-content">(Security Deposit is the description, then 2 | symbol, then the calculation for the 'Amount' to be set.)Trigger tab: *Trigger Event = After Booking This calculation, tests if the first invoice item value (usually the Accommodation value) is greater than or Before Check-in*Trigger Time = 800 if so set the time you want to add the pending payment to Security Deposit Amount = 1 quarter of the booking*Booking Source =All (for examplefirst invoice item value, you can also otherwise set different rules for different channels)= 200.
Booking Info tab<span class="" style="color:*Optional#f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span> <span style="font-weight: bold;" >Tip</span> A price value for the invoice item can be specified after a second pipe (|) symbol, add this can be used to calculate a booking info tab for information and reportingprice using template variables. If the price value in the description field is zero or absent, the numeric value from the amount field will be used.
Booking tab: Optional
*Flag Text = PaymentDue1 (for example), set multiple if multiple payments are required.
*Flag Colour = select the colour as this will be visible in the Calendar/Bookings list
 
Invoice tab:
*Payment Type = select on what the payment is calculated (Percent of Balance due)
*Description = the text you will see in the "Charges and Payments" tab
*Status = if you use the status function add the status you want to apply to the pending payment (optional)
*Amount = enter the amount or percentage you want to collect0*Payment Rule = Manual use auto or manual - if you have set up payment rules in {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT-Payments >PAYMENT COLLECTION Payment Rules they will be available here
*Payment Due = Set when the payment is due
The Pending Payment Report is available in Bookings > Pending Payments. This report can be used to see outstanding pending payments, this can be used to see all outstanding payments, when payment gateways other than Stripe are used, the Pending Payments report can be used to see outstanding payments and a checklist for bank transfers.
</div></div>Create a Payment Rule to collect a payments when bookings are not cancelled.
===Booking Flags/Colours===Go to Settings > Payments > Payment Rules
<div classPayment Rule : Name ="mwEnter your title -collapsible mw-collapsed">Not Cancelled (for example)<div classAction ="headline-collapse" > Auto Payment Trigger : *Booking Status =All not cancelled*Any Booking Info Code =optional*All Booking Info Codes =optional*Exclude Booking Info Code =Apply a flag when a optional (can exclude Virtual Credit cards, find the Booking info code in the booking is cancelled====)</div><div class="mw-collapsible-content">Payment Action :Trigger tab*Trigger Event Capture = Yes - immediately charged (Capture= After BookingYes)*Trigger Time Add info code on success = 1 Houradd a Booking Info item to the booking on success*Trigger Window Add info code on failure = 365 days*add a Booking Status = CancelledInfo item to the booking on failure
Booking tab:
*Execution = One time only
*Booking Status = No Change
*Flag text = (enter the text you require)
*Flag Colour = Set as required
</div>
</div>
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >  ====Apply a flag for a bookings from a channel which have breakfast includedCollect outstanding booking balance 3 days prior to arrival( Credit card details were collected at time of booking)====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Booking
*Trigger Time = Immediate
*Booking Source = Booking.com (for example)
*Booking Field Contains - select "API Message" in the next field enter: meal_plan=Breakfast (or Extra Breakfast - use the text the channel uses)
Booking tab:''''Create a Payment Rule (Optional)''''*Execution = One time only*Flag Text = The text Standard payment rules in the system are Auto & Manual, you want can create additional rules for the collection of outstanding payments, you can control the collection of payments if the booking status is changed, for example the booking is cancelled before the final payment is due to display*Flag Colour - choose the flag colourbe collected.
Booking changes are applied before the mail is sent so that the flag template variable can be reflected in the Email.</div></divGo to {{#fas:cog}} (SETTINGS) PAYMENTS >PAYMENT RULES
<div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply Create a flag when deposit was made prior Payment Rule to Check-in====</div><div class="mw-collapsible-content">Trigger tab:collect payments if bookings are not cancelled.
*Trigger Event = Check-in*Trigger Time = -365 (for example Click '''Create New Payment Rule''' : must be a negative value and the same as the value in Trigger window)*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelled*Invoice Balance = Any Payment made
Message tabPayment Rule: *Name = Enter your title - Not Cancelled (for example) *Action = Auto
Payment Trigger :*Booking Status = All not cancelled*Any Booking Info Code (optional)*Send Email : select appropriate optionAll Booking Info Codes (optional)*Enter : Subject and Email contentExclude Booking Info Code = optional (can exclude Virtual Credit cards, find the Booking info code in the booking)
Booking tabPayment Action : *Funding Source = Guest card only*Payment value adjustment = Limit to group booking balance*Capture = Yes - immediately charged (optionalCapture=Yes)*Add info code on success = add a Booking Info item to the booking on success*Add info code on failure = add a Booking Info item to the booking on failure
Prevent Auto Payment :*Execution Prevent payment if booking status = One time onlyCancelled*Flag Text Prevent payment after check-out (days) = The text you want to display7 (default)*Flag Colour - choose the flag colourPrevent payment action = Set Manual
Booking info tab : (optional)
*Booking Info Code '''Create Auto Actions ''' Collect the outstanding balance for bookings created via your booking page.  Go to {{#fas: DEPOSITPAID cog}} (for exampleSETTINGS)*Booking Info Text : additional text if required GUEST MANAGEMENT > AUTO ACTIONS and click '''Create New Action''' to create them.
Setting details with the Booking tab and Booking info tab allows you to trigger additional (follow on) Auto Actions and Reports.</div></div>'''Collect outstanding balance for direct bookings'''
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >
====Apply a flag when booking is fully paid====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Time**Trigger Event = After BookingCheckin**Trigger Time = Immediate-3 days (set the time you want to collect the payment)*Trigger *Time Window = 365*Booking Source = All*Booking Status = All not cancelled*Invoice Balance = ZERO3 days (set this to the same number (positive) as Trigger time.
*Booking tab:Source*Execution = One time only*Flag Text Booking Source = The text you want to display*Flag Colour Direct. You can have different auto actions/rules for direct bookings -v- choose the flag colour</div></div>channel bookings, then select ‘Direct’ this will include manually created bookings and booking page bookings.
<div class*Booking Conditions**Group Booking Trigger = Trigger only Master**Status ="mw-collapsible mw-collapsed">All not cancelled<div class**Invoice Balance="headline-collapse" >Not Zero (can be used to refine the auto action being triggered)
Booking tab: Optional*Flag Text =Pending payment added (for example)*Flag Colour ===Apply a flag/select the colour for a booking coming from a certain channel====<as this will be visible in the Calendar/div><div class="mw-collapsible-content">Bookings list
Trigger Booking Info tab:Optional, for information and reporting*Trigger Event = After Booking*Trigger Time Info Code = ImmediateBALANCE (for example enter the value - use one word only)*Booking Source Info Text = Enter the description/text to show in for the BookingInfo Code.com (for example)
Booking Invoice tab:*Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour
Booking changes are applied before the mail is sent so that the flag template variable can be reflected in the email.</divclass="warning">{{#fas:exclamation-triangle}} ONLY use Payment Type =‘ Percent of Group balance due’ if you selected Trigger tab >Booking Conditions > Group Booking Trigger = Trigger Only Master.</div>
<div class*Add a Pending Payment to the booking**Payment Type ="mw-collapsible mw-collapsed">Percent of Group Balance due (select on what the payment is calculated) <div class**Description =the text you will see in the "headline-collapseCharges and Payments" > tab**Status ====Apply a flag when a if you use the status function add the status you want to apply to the pending payment was made====</div>(optional)<div class**Amount ="mw-collapsible-content">100 (this will be 100% of the outstanding group balance) <span style**Payment Rule ="color: #f3e504; fontNot Cancelled -size: 250%;" >See Step 4 above (if you have set up payment rules in {{#fas:lightbulbcog}} </span(SETTINGS) PAYMENTS -> Also see Example : PAYMENT RULES they will be available here) **Payment Due = Trigger date**Payment time = set the time to collect payment**Invoicee = If you use the "invoicee" Apply a flag when deposit was made prior function you can select which invoicee the pending payment will be assigned to Check-in AND/OR Apply a flag when booking is fully paid".
Trigger tab:
*Trigger Event = After Booking
*Trigger Time = Immediate
*Trigger Window = 365
*Booking Source = All
*Booking Status = All not cancelled
*Invoice Balance = Any Payment made
 
Booking tab:
*Execution = One time only
*Flag Text = The text you want to display
*Flag Colour - choose the flag colour
</div>
</div>
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >  ====Apply 'Capture' a flag Security Deposit when a payment FAILS Credit card is collected at Stripetime of booking. ====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Booking*Trigger Time = Immediate*Trigger Window = 365immediate*Booking Source = All(for example, you can also set different rules for different channels)*Booking Status = All but not cancelled*Info Codes:Any Booking Info Code = STRIPEFAILCARDTOSTRIPE
Booking Invoice tab:*Execution Payment Type = One time onlyFixed amount*Description = Security Deposit (the text you will see in the "Charges and Payments" tab)*Flag Text Status = Stripe Payment Failedif you use the status function add the status you want to apply to the pending payment (optional)*Flag Colour - choose Amount = 100 (balance is full price so 100% of the flag colourbalance)</div>*Payment Rule = Security Deposit (Create a Payment Rule, see below) </div>*Payment Due = check in
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >
====Apply a flag to Booking.com bookings and auto report the Credit Card when a payment FAILS at Stripe====
</div>
<div class="mw-collapsible-content">
<span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> Automatic collection is only available for customer who use [[Stripe]]. Create a Payment Rule to 'Capture' a payment only. Captured payments will only be valid for 7 days, then it will expire, if the booking is for a longer period, then you can create a second Capture, you will need to create another auto action for this. Go to Settings {{#fas:cog}} (SETTINGS) PAYMENTS > Channel Manager > Preferences and set PAYMENT RULES Payment Rule : *Name = Enter your title - Security Deposit (for example)*Action = Auto report failed  Payment Trigger :*Booking Status = select from the drop down list*Any Booking Info Code = optional*All Booking Info Codes = optional*Exclude Booking Info Code = optional (can exclude Virtual Credit cards , find the Booking info code in the booking) Payment Action :*Capture = Yes/No - immediately charged (Capture= Yes), if you want to make sure that the amount is available for later capture (Capture=No) *Add info code on success = add a Booking Info item to the booking on success*Add info code on failure = add a Booking Info item to the booking on failure</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply an info code and and/or icon when a payment was made====</div><div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Booking
*Booking Source = All
*Booking Status = All but not cancelled
*Booking Info Code Invoice Balance = BOOKINGCOMCARDAny Payment made
Booking Info tab:
*Execution = One time only
*Flag Text Info Code = Failed CC reported to BookingEnter the preset code for the icon or info code which you have created in {{#fas:cog}} (SETTINGS) ACCOUNT->PREFERENCES.com *Flag Colour - choose the flag colour
</div>
</div>
===Status changes===
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >  ==== Change the status of all "Request" bookings to "Cancelled" after three days Assign invoice numbers====
</div>
<div class="mw-collapsible-content">
Trigger tab:*Trigger Event = After BookingCheck-out*Trigger Time = 3 daysImmediate*Any Booking Status Info Code = RequestCHECKOUT (optional only if you use the check-out function, if not leave blank)
Booking Invoice tab:*Execution Assign Invoice Number = One time only*Booking Status = Cancelledyes
</div>
</div>
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" > ==== Change the status of all bookings which have been imported from Ical to "Request" Using Pending Payments as a Payment Reminder====
</div>
<div class="mw-collapsible-content">
Trigger tab:
*Trigger Event = After Bookingor Before Check-in*Trigger Time = Immediateset the time you want to add the pending payment to the booking*Booking Source = Ical Import All (1for example, 2you can also set different rules for different channels) Booking Info tab:*Optional, 3add a booking info tab for information and reporting Booking tab: Optional*Flag Text = PaymentDue1 (for example), set multiple if multiple payments are required. *Flag Colour = select the colour as this will be visible in the Calendar/Bookings list Invoice tab:*Payment Type = select on what the payment is calculated (Percent of Balance due)*Description = the text you will see in the "Charges and Payments" tab*Status = if you use the status function add the status you want to apply to the pending payment (optional)*Amount = enter the amount or percentage you want to collect*Payment Rule = Manual - if you have set up payment rules in {{#fas:cog}} (SETTINGS) GUEST MANAGEMENT->PAYMENT COLLECTION they will be available here *Payment Due = Set when the payment is due The Pending Payment Report is available in Bookings > Pending Payments. This report can be used to see outstanding pending payments, this can be used to see all outstanding payments, when payment gateways other than Stripe are used, the Pending Payments report can be used to see outstanding payments and a checklist for bank transfers.  </div></div> ===Booking Flags/Colours=== <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag when a booking is cancelled====</div><div class="mw-collapsible-content">Trigger tab*Trigger Event = After Booking*Trigger Time = 1 Hour*Trigger Window = 365 days*Booking Status = Cancelled
Booking tab:
*Execution = One time only
*Booking Status = No Change*Flag text = (enter the text you require)*Flag Colour = Set as required</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag for a bookings from a channel which have breakfast included====</div><div class="mw-collapsible-content">Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Booking Source = Booking.com (for example)*Booking Field Contains - select "API Message" in the next field enter: meal_plan=Breakfast (or Extra Breakfast - use the text the channel uses) Booking tab:*Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour Booking changes are applied before the mail is sent so that the flag template variable can be reflected in the Email.</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag when deposit was made prior to Check-in====</div><div class="mw-collapsible-content">Trigger tab: *Trigger Event = Check-in*Trigger Time = -365 (for example : must be a negative value and the same as the value in Trigger window)*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelled*Invoice Balance = Any Payment made Message tab:  *Send Email : select appropriate option*Enter : Subject and Email content Booking tab: (optional) *Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour Booking info tab : (optional) *Booking Info Code : DEPOSITPAID (for example)*Booking Info Text : additional text if required.  Setting details with the Booking tab and Booking info tab allows you to trigger additional (follow on) Auto Actions and Reports.</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag when booking is fully paid====</div><div class="mw-collapsible-content">Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Trigger Window = 365*Booking Source = All*Booking Status = All not cancelled*Invoice Balance = ZERO Booking tab:*Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag/colour for a booking coming from a certain channel====</div><div class="mw-collapsible-content"> Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Booking Source = Booking.com (for example) Booking tab:*Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour Booking changes are applied before the mail is sent so that the flag template variable can be reflected in the email.</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag when a payment was made====</div><div class="mw-collapsible-content"><span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> Also see Example : " Apply a flag when deposit was made prior to Check-in AND/OR Apply a flag when booking is fully paid". Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Trigger Window = 365*Booking Source = All*Booking Status = All not cancelled*Invoice Balance = Any Payment made Booking tab:*Execution = One time only*Flag Text = The text you want to display*Flag Colour - choose the flag colour</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag when a payment FAILS at Stripe====</div><div class="mw-collapsible-content"> Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelled*Booking Info Code = STRIPEFAIL, CARDFAILSTRIPE Booking tab:*Execution = One time only*Flag Text = Stripe Payment Failed*Flag Colour - choose the flag colour</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Apply a flag to Booking.com bookings and auto report the Credit Card when a payment FAILS at Stripe====</div><div class="mw-collapsible-content"> Go to Settings > Channel Manager > Preferences and set Auto report failed cards = Yes Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Trigger Window = 365*Booking Source = All*Booking Status = All but not cancelled*Booking Info Code = BOOKINGCOMCARD Booking tab:*Execution = One time only*Flag Text = Failed CC reported to Booking.com *Flag Colour - choose the flag colour</div></div> ===Status changes===<div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ==== Change the status of all "Request" bookings to "Cancelled" after three days ====</div><div class="mw-collapsible-content">Trigger tab*Trigger Event = After Booking*Trigger Time = 3 days*Booking Status = Request Booking tab:*Execution = One time only*Booking Status = Cancelled</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ==== Change the status of all bookings which have been imported from Ical to "Request" ====</div><div class="mw-collapsible-content">Trigger tab:*Trigger Event = After Booking*Trigger Time = Immediate*Booking Source = Ical Import (1, 2, 3) Booking tab:*Execution = One time only*Booking Status = Request Booking changes are applied before the mail is sent.</div></div>  <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ==== Change Room Unit Status when guest checks out ====</div><div class="mw-collapsible-content">Trigger tab*Trigger Event = Check-out*Trigger Time = Immediate*Trigger Window = 1 day*Booking Status = All but not cancelled*Any Booking Info Code = CHECKOUT Booking tab:*Execution = One time only*Change Room Unit Status = Select the option It is assumed you use the Checkin/Checkout feature in the Dashboard, if not you can either manually add Checkin to your bookings (Booking info tab) or create an auto action to add the Booking Info Codes to the bookings.</div></div> ===API/Webhook===<div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Use API/Webhook to write to the field 'Message'====</div><div class="mw-collapsible-content"> You can use a webhook in conjunction with the API JSON function '''setBooking''' to write to any field in the booking. First you have to configure access to the API:  You need two keys to use our API JSON functions - one for the API itself and one for the property. The keys have to consist of 16 characters of your choosing.<br> '''API key:'''*{{#fas:cog}} (SETTINGS) ACCOUNT -> ACCOUNT->ACCESS "API Key 1"*API Key = my_very_secret_api_key*API Key Access = allow any IP*IP Whitelist = [leave empty]*Allow Writes = Yes*Property Access = Owned by this account only*'''Property key:'''*{{#fas:cog}} (SETTINGS) PROPERTIES > ACCESS > propKey = secret_key_for_prop_XXXXXX Set the triggers you need, for example: Booking Field Contains: Message = XXX Set the webhook like this: * URL = <nowiki>https://api.beds24.com/json/setBooking</nowiki>* Custom Header = [leave empty] Body Data::{::"authentication":::{:::"apiKey": "my_very_secret_api_key",:::"propKey": "secret_key_for_prop_XXXXXX"::},::"bookId": "[BOOKID]",::"message": "[MESSAGE] - Append this message":}</div></div> <div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Use API/Webhook to write the value of the 'commission' field to a new invoice item====</div><div class="mw-collapsible-content">You can create a new invoice item that contains the price of the channel's commission as a negative value to subtract it from the room price. You use the API JSON function '''setBooking''' for this. First you need to configure access to the API: You need two keys to use our API JSON functions - one for the API itself and one for the property. The keys have to consist of 16 characters of your choosing.<br>'''API key:'''*{{#fas:cog}} (SETTINGS) ACCOUNT -> ACCOUNT->ACCESS "API Key 1"*API Key = my_very_secret_api_key*API Key Access = allow any IP*IP Whitelist = [leave empty]*Allow Writes = Yes*Property Access = Owned by this account only*'''Property key:'''*{{#fas:cog}} (SETTINGS) PROPERTIES > ACCESS> propKey = secret_key_for_prop_XXXXXX Set the triggers you need, for example: Booking Source = Booking.com Set the webhook like this: *URL = <nowiki>https://api.beds24.com/json/setBooking</nowiki>*Custom Header = [leave empty] *Body Data =:{::"authentication":::{:::"apiKey": "my_very_secret_api_key",:::"propKey": "secret_key_for_prop_XXXXXX"::},::"bookId": "[BOOKID]",::"invoice":::[:::{::::"description": "Booking.com Commission",::::"status": "",::::"qty": "1",::::"price": "-[COMMISSIONNUM]",::::"vatRate": "7.00",::::"type": "0",::::"invoiceeId": "":::}::]:}
</div>
</div>
 
<div class="mw-collapsible mw-collapsed">
<div class="headline-collapse" >
==== Change Room Unit Status when guest checks out Use Auto Action/Webhook to write to send data to Integromat====
</div>
<div class="mw-collapsible-content">
Trigger tab
*Trigger Event = Check-out
*Trigger Time = Immediate
*Trigger Window = 1 day
*Booking Status = All but not cancelled
*Any Booking Info Code = CHECKOUT
Booking tab:*Execution = One time only*Change Room Unit Status = Select the You can use this optionto send data to your Integromat account.
It is assumed you use Set the Checkin/Checkout feature rules in the DashboardTrigger tab, if not when you can either manually add Checkin need to your bookings (Booking info tab) or create an auto action to add send the Booking Info Codes data to the bookingsIntegromat.</div></div>
===API/Webhook===<div class="mw-collapsible mw-collapsed"><div class="headline-collapse" > ====Use API/Go to Webhook to write to the field 'Message'====</div><div class="mw-collapsible-content">tab:
You can use a webhook in conjunction with the API JSON function '''setBooking''' to write to any field in the bookingURL = https://hook.integromat.com/ followed by your integromat account key. First you have to configure access to the API:
You need two keys to Body Data = you can use our API JSON functions - one for the API itself and one template variables allows in the list for the propertyIntegromat [[https://wiki.beds24. The keys have to consist of 16 characters of your choosingcom/index.<br> '''API key:'''*{{php/Make#fas:cog}} (SETTINGS) ACCOUNT -> ACCOUNT->ACCESS "API Key 1"*API Key = my_very_secret_api_key*API Key Access = allow any IP*IP Whitelist = [leave emptyData_Fields Data fields]]*Allow Writes = Yes*Property Access = Owned by this account only*'''Property key:'''*{{#fas:cog}} (SETTINGS) PROPERTIES > ACCESS > propKey = secret_key_for_prop_XXXXXX
Set the triggers you need, for For example:-
Booking Field Contains: Message bookingData= XXX{
Set the webhook like this"bookId":"[BOOKID]",
* URL = <nowiki>https"guestMobileNum"://api.beds24.com/json/setBooking</nowiki>* Custom Header = "[leave emptyGUESTMOBILENUM]",
Body Data::{::"authentication":::{:::"apiKey": "my_very_secret_api_key",:::"propKey": "secret_key_for_prop_XXXXXX"::},::"bookIdguestMobile": "[BOOKIDGUESTMOBILE]",::"message": "[MESSAGE] - Append this message":}</div></div>
<div class="mw-collapsible mw-collapsedguestSMS"><div class=:"headline-collapse[GUESTSMS:44]" >,
====Use API/Webhook to write the value of the 'commission' field to a new invoice item====</div><div class="mw-collapsible-contentguestFirstName">You can create a new invoice item that contains the price of the channel's commission as a negative value to subtract it from the room price. You use the API JSON function '''setBooking''' for this. First you need to configure access to the API:"[REPLACE|&|and|[GUESTFIRSTNAME]]",
You need two keys to use our API JSON functions - one for the API itself and one for the property. The keys have to consist of 16 characters of your choosing.<br>'''API key:'''*{{#fas"propertyName":cog}} (SETTINGS) ACCOUNT -> ACCOUNT->ACCESS "API Key 1"*API Key = my_very_secret_api_key*API Key Access = allow any IP*IP Whitelist = [leave emptyPROPERTYNAME]*Allow Writes = Yes*Property Access = Owned by this account only*'''Property key:'''*{{#fas:cog}} (SETTINGS) PROPERTIES > ACCESS> propKey = secret_key_for_prop_XXXXXX",
Set the triggers you need"propertyId":"[PROPERTYID]", for example:
Booking Source = Booking.com"firstNight":"[FIRSTNIGHTSHORT]",
Set the webhook like this"lastNight":"[LEAVINGDAYSHORT]"
*URL = <nowiki>https://api.beds24.com/json/setBooking</nowiki>*Custom Header = [leave empty]}
*Body Data =
:{
::"authentication":
::{
:::"apiKey": "my_very_secret_api_key",
:::"propKey": "secret_key_for_prop_XXXXXX"
::},
::"bookId": "[BOOKID]",
::"invoice":
::[
:::{
::::"description": "Booking.com Commission",
::::"status": "",
::::"qty": "1",
::::"price": "-[COMMISSIONNUM]",
::::"vatRate": "7.00",
::::"type": "0",
::::"invoiceeId": ""
:::}
::]
:}
</div>
</div>
2,863

edits

Navigation menu