Documentation
Difficulty level:

In this example the customer pays a 30% deposit when booking and the rest 42 days (six weeks) before the booking date. If someone books less than 49 days in advance, they pay everything at once when booking. The workflow then moves the status along, sends a reminder and rejects unpaid bookings. The meaning of each field is explained in What are payment schedules?.

1. The two rules of the payment schedule

FieldRule 1: DepositRule 2: Balance
Name / DescriptionDepositRemaining amount
Target text "description" after mergeemptyPayment of the full amount
Target text "date" after mergeemptyAt moment of booking
DefaultYesYes
Productemptyempty
Priority12
When0 days · At moment of booking42 days · Before date of booking
Amount30 · Variable - based on full amount70 · Variable - based on full amount
Time before0 days7 days
Time after0 days0 days
MergeNext (does nothing here)Previous
Who / DirectionClient · IncomingClient · Incoming

The values in bold are the safety net. Rule 2 says: if the balance falls less than 7 days after the deposit, merge me with the previous one. The target texts are on rule 2, because rule 2 is the rule that is absorbed into rule 1 in a conflict. What the customer then sees is one line "Payment of the full amount", "At moment of booking".

2. How it works out on the timeline

The same payment schedule, three bookings A. Booked 120 days before the booking date 2 payments booking booking date 30% when booking 70% 42 days ahead (day 78) time before: 7 days, no conflict B. Booked 45 days before the booking date 1 payment, immediately booking booking date 100% when booking the balance would fall on day 3: within 7 days of the deposit, so merged with the previous one C. Booked 30 days before the booking date 1 payment, immediately booking booking date 100% when booking 42 days ahead was already 12 days in the past: moves to now, so merged with the previous one payment moment merged (amount 0) time before of schedule 2 (7 days)
  • A. 120 days ahead. The deposit falls on day 0, the balance on day 78 (120 − 42). That is well over 7 days apart, so there is no conflict: two payments.
  • B. 45 days ahead. The balance would fall on day 3 (45 − 42). That is within the 7 days of Time before, and Merge is set to Previous: the 70% is added to the deposit. The customer pays 100% when booking.
  • C. 30 days ahead. 42 days before the booking date was already 12 days in the past. A payment moment never falls before the booking, so the balance moves to now. It then falls at the same moment as the deposit and is merged: 100% when booking.

So the boundary is 42 + 7 = 49 days. Anyone who books 49 days or more in advance pays in two parts. Anyone who books later pays everything immediately.

Why not "Time after 49 days" on the deposit?

An earlier version of this example set Time after 49 days with Merge Next on rule 1. That does something different from what it seems. Time after counts from the payment itself, not from the booking date. For every booking made less than 91 days (49 + 42) in advance, the deposit then moves on into the balance. The customer pays nothing when booking and the full amount 42 days before the booking date, or immediately if that moment has already passed. And because rule 1 has already moved on, the Time before of rule 2 never gets its turn.

If you do want a late booker to pay everything later, Time after with Merge Next is the right choice. Pick one per conflict.

3. The workflow: moving the status along

The payment schedule decides what has to be paid and when. The workflow decides what happens when that does or does not happen. You set this up on the object, under Workflow › Automatic transitions. In this example the statuses are 20 Booking, 21 Reminder, 29 Deposit paid, 30 Fully paid and 80 Rejected.

Statuses in this example 1 2 3 4 5 6 7 20 BOOKING just booked 29 DEPOSIT PAID deposit received 30 FULLY PAID everything received 21 REMINDER unpaid after 7 days 80 REJECTED still unpaid after reminder The numbers on the arrows refer to the table below. Your status numbers may differ.
#From → toAfter this eventWaiting timeWhat it does
120 → 29Payment Schedule: schedule which is paid1 minuteThe deposit has come in.
220 → 30Time for which booking has been paid1 minuteEverything was paid at once.
329 → 30Payment Schedule: schedule which is paid1 minuteThe balance has come in.
420 → 21Date/time of creation of booking7 daysNothing paid a week after booking: reminder.
521 → 80Last status transition14 daysStill nothing two weeks after the reminder: reject.
621 → 29Payment Schedule: schedule which is paid1 minuteDeposit paid after all, after the reminder.
721 → 30Time for which booking has been paid1 minuteEverything paid after all, after the reminder.

All transitions have Valid for: both parent and child and the action change transition. You enter the waiting time in the days and/or minutes field.

The reminder: transition 4 with an e-mail

A reminder always goes together with an e-mail transition on the same status change:

Status transition old → new20 Booking → 21 Reminder
E-mail toTo client
Copy to BCCYes
Valid forBoth parent and child
TemplateBooking_Reminder1

Put a payment link in this e-mail, so the customer can pay right away, and state the deadline: within 14 days, or the booking is rejected. On transition 5 you can link an e-mail in the same way, so the customer knows the booking has been rejected.

If you also want a reminder for the balance, create the same set starting from status 29, with the event Payment Schedule: schedule which must be paid.