Group invoice balance not available in Template vars

Topics related to bookings and guest managment
Post Reply
dutchessuganda
Posts: 7
Joined: Sat Apr 09, 2016 11:46 am

We like to show by colour when bookings are paid, this works, but not correctly for Group Bookings.
The Group booking is fully paid, but the Master booking balance shows for example -100$ and the linked booking balance shows 100$. The problem is that correct the "Group invoice balance" not available is a number of places in the system:
- not in the Template Variables,
- not in the "trigger" section of the customer actions,
- not in the getbookings.xml api.

When will the item "Group invoice balance" be available in the other parts of the system?
markkinchin
Site Admin
Posts: 935
Joined: Fri Mar 02, 2012 1:43 pm

All the template variables of the type [INVOICEBALANCE...] will show the group invoice balance.

The customer auto actions will use the group invoice balance if you select GROUP BOOKINGS = SEND ONLY TO MASTER

The API functions send the raw invoice data per booking, the external system can and should process the data any way it needs.
dutchessuganda
Posts: 7
Joined: Sat Apr 09, 2016 11:46 am

Thanks for the quick answer!

Agreed that the Invoicebalance variable shows the group balance, thanks for that correction.

The remaining problem with the auto-action is the following case:
We want to set the Status PAID at all bookings with zero balance.
The auto-action you describe only sets PAID at the master, but leaves the other linked booking.
That is confusing for the people who use the system.

Is there a way to set Master and linked bookings all to status PAID?
Post Reply