---
title: "Hotel Booking Engine with Bedbank Integration | PHPTRAVELS"
description: "Hotel booking software for travel agencies: one search across bedbanks and your own extranet, rate de-duplication, markups, allotments, B2B rates and vouchers."
source: https://phptravels.com/features/stays
---

Stays module

# A hotel booking engine for travel agencies, from map to voucher

Search bedbanks and your direct contracts in one list, keep the best rate for every room, sell it with your margin and send the voucher automatically.

- Real-time availability
- Supplier extranet
- Day and seasonal pricing
- Hotel API suppliers

Multi-supplier hotel search

## One hotel search across every bedbank and your own contracts

Guests see one clean list with photos, stars, review scores, distance and the nightly price, while the engine queries every connected source behind it.

Behind each result the engine asks your bedbank connections, the hotels in your extranet and your own contracted rooms at the same time, maps them to one hotel record and returns the cheapest live rate. Your agency sells a deep catalogue without losing the direct deals that earn the best margin. See how each connection works on the [All integrations](https://phptravels.com/integrations) page.

Example hotel results page with a map

- Marina Bay Suites 0.4 km from Marina Walk Deluxe room · Breakfast included Free cancellation Pay at hotel 8.9 **Excellent** 1,284 reviews **–** per night – · 4 nights, taxes included
- Palm Shore Resort 2.1 km from Marina Walk Sea-view room · Half board Member deal 9.2 **Excellent** 2,310 reviews **–** per night – · 4 nights, taxes included
- City Walk Apartments 1.2 km from Marina Walk One-bedroom apartment · Room only Free cancellation 8.4 **Very good** 642 reviews **–** per night – · 4 nights, taxes included
- 01 Direct contracts Load hotels you contract yourself, with your own rates and allotments.
- 02 Supplier extranet Hotel partners log in to manage their rooms, rates, availability and bookings.
- 03 Wholesaler APIs Add live content and rates from bed banks with your own credentials.

Hotel suppliers you can connect:

- Agoda
- Amadeus
- Booking.com
- Hotelbeds
- Hotelston
- RateHawk
- Stuba
- TBO Holidays
- Travelport
- Wanderbeds

Rate comparison and de-duplication

## The same room from three suppliers, sold once at your price

Bedbanks often resell the same hotel. The engine matches identical rooms, compares the net rates, applies your markup and shows only the winner.

Without de-duplication a guest sees one hotel three times at three prices, and your team never knows which supplier pays best. Here every rate is normalised to the same room, board and cancellation policy first, then priced with your rules, so the list stays clean and the margin is always visible.

- Markups by layer Set markups per supplier, hotel, city, star rating or channel, as a percentage or a fixed amount.
- Margin floor A minimum margin per booking stops a cheap net rate from being sold at a loss after fees.
- Room matching Rooms are matched on hotel, room type, board and policy, so only true duplicates are merged.
- Supplier insight Reports show which supplier won each booking and what it earned, to guide your contracts.

Rate comparison for one room

| Supplier | Net rate | Markup | Sell price | Margin |
| Bedbank A Duplicate, hidden | – | +12% | – | – |
| Bedbank B Duplicate, hidden | – | +12% | – | – |
| Your extranet Shown to guests | – | +18% | – | – |

Rule: lowest sell price wins; on a tie, the direct contract wins.

Room types and rate plans

## Room types and rate plans guests can actually compare

Each room shows its boards side by side, with a clear refundable or non-refundable label and the exact free-cancellation deadline.

Rate plans for one hotel

| Marina Bay Suites Room | Room only | Bed and breakfast | Half board |
| **Deluxe King** 2 adults · 32 m² | **–** per night Non-refundable No refund after booking | **–** per night Refundable Free cancellation until 9 Nov | **–** per night Refundable Free cancellation until 9 Nov |
| **Twin Sea View** 2 adults, 1 child · 36 m² | **–** per night Non-refundable No refund after booking | **–** 2 left per night Refundable Free cancellation until 5 Nov | Not offered |
| **One-bedroom Suite** 4 guests · 64 m² | Not offered | **–** per night Refundable Free cancellation until 9 Nov | **–** per night Non-refundable No refund after booking |

- Cancellation policies Deadlines and penalties come from the supplier or your contract and are shown in the guest's time zone, on the voucher too.
- Boards and meal plans Room only, breakfast, half board, full board and all inclusive, each with its own price and rules.
- Occupancy and children Adults, children with ages and extra beds decide which rooms and prices appear.

Hotel extranet and allotments

## A hotel extranet for direct contracts, allotments and stop-sell

Your contracted hotels manage their own availability in a calendar. Every change reaches the booking engine at once, so rooms are never sold twice.

Give each partner hotel a login. They set rooms per night, close dates, add release days and update rates, while you keep control of markups and approvals. Direct contracts sit in the same search as bedbank rooms and usually win on margin.

- Availability calendar Open, close and limit dates by day, with rules that prevent double bookings.
- Stop-sell Close a room, a date range or the whole hotel in one click; it disappears from search immediately.
- Release days Unsold allotment returns to the hotel a set number of days before arrival, as your contract says.
- Day and seasonal pricing Weekday, weekend, season and event rates per room type.

Hotel extranet allotment calendar

| Release: 3 days | Mon **9** | Tue **10** | Wed **11** | Thu **12** | Fri **13** | Sat **14** | Sun **15** | Mon **16** | Tue **17** | Wed **18** | Thu **19** | Fri **20** | Sat **21** | Sun **22** |
| Deluxe King | 6 | 6 | 5 | 4 | 3 |  |  | 5 | 6 | 6 | 5 | 4 | 2 | 1 |
| Twin Sea View | 4 | 4 | 3 | 2 | 2 | 1 | 1 | 3 | 4 | 4 | 3 | 3 | 2 | 2 |
| One-bedroom Suite | 2 | 2 | 1 | 1 | 1 | 1 | 2 | 2 | 2 | 2 | 1 |  |  | 2 |

- Rooms available
- Last rooms
- Stop-sell
- Inside release period

Automatic booking vouchers

## Every confirmed booking ends in a clean voucher

Confirmation number, hotel, dates, guests, board, policy and the supplier reference, generated and emailed the moment the booking is confirmed.

The voucher carries both your confirmation number and the supplier's reference, so the hotel, the bedbank and your support team can find the same booking in seconds. Open a booking in the [Live demo](https://phptravels.com/demo) to see it.

- 01 Book Guest details, payment and the reservation in one step.
- 02 Confirm Instant or on-request confirmation, voucher and invoice by email.
- 03 Manage Amendments, cancellations, refunds and reports from the admin.

Example hotel booking voucher

Check-in

Thu 12 Nov, from 15:00

Check-out

Mon 16 Nov, until 12:00

Nights

4

Guests

2 adults

Room and board

Deluxe King · Bed and breakfast

Lead guest

J. Smith

Supplier reference

HB-7731-04259

Payment

Prepaid, nothing to pay at the hotel

Cancellation

Free until 9 Nov, 18:00 hotel time

B2B agent rates and payment options

## Run hotel sales from one dashboard

Different prices for the public site, agent groups and corporate accounts, and the payment method each channel needs.

Agents book in the B2B portal with their own net rates and pay from their prepaid balance or credit limit ([Agent wallets](https://phptravels.com/b2b-agent-wallet)), while your public site shows retail prices. All of it runs in the same admin as your [Flights](https://phptravels.com/features/flights) and [Tours & activities](https://phptravels.com/features/tours).

One room, priced per channel

| Channel | Price shown | Commission | Collected |
| Public website (B2C) | – | None | – |
| Agent group: Gold | – | 10% · – | – |
| Agent group: Silver | – | 7% · – | – |
| Corporate account | – | None | – |

### Prepaid or pay at the hotel

- Card, bank transfer or agent wallet at booking
- You pay the supplier on its terms
- Voucher says nothing to pay at the hotel
- Card held as a guarantee, no charge at booking
- The hotel collects at check-in
- You invoice the hotel for your commission
- Markups and commissions Per hotel, supplier, city or channel, as fixed amounts or percentages.
- Roles and access Admin, supplier, agent and customer accounts with their own permissions.
- B2B agent rates Separate rates and commissions for agents in the B2B portal.
- Multi-currency Show rates and take payment in the currencies your markets use.
- Vouchers and invoices Generated and emailed automatically for every confirmed booking.
- Reports Bookings, revenue, supplier payables and agent ledgers, ready to export.

FAQ

## Hotel booking engine questions

What agencies and hotel groups ask before launching hotel sales.

Software that searches hotels across your suppliers and contracts, shows live rooms and prices, takes the booking and payment, and sends the voucher, while your team manages rates, suppliers and reservations from one admin.

Yes. Wholesaler and bed bank APIs such as Hotelbeds can be connected with your own credentials, and their rooms appear in the same search as your direct contracts.

The engine matches the rooms on hotel, room type, board and cancellation policy, applies your markup to each net rate and shows only the best one, so guests never see duplicates.

Yes. The supplier extranet gives each hotel partner a login to update rooms, availability, rates and bookings under your control and markups.

Rates are set per room and day, with seasons, weekends and events, then your markups by hotel, supplier, city or channel are applied automatically.

Allotments, stop-sell and the availability calendar close dates as rooms sell, and API rooms are rechecked before payment.

Yes. Agents book in the B2B portal with their own rates, commissions and wallet balance, from the same installation.

Yes. Every plan includes the full source code under a commercial licence and you host it yourself, so your developers can change the module.

Keep exploring

## More from the platform

Reviewed by [Qasim Hussain](https://phptravels.com/author/qasim-hussain), Founder & CEO, PHPTRAVELS · Updated October 9, 2026

- [Hotels API Bedbank, OTA, GDS and direct hotel APIs explained](https://phptravels.com/hotels-api)
- [Stays API Hotels, apartments and vacation rentals in one accommodation API](https://phptravels.com/stays-api)
- [Hotels & stays Direct bookings and channels](https://phptravels.com/hotel-booking-software)
- [Hotelbeds Bedbank hotel inventory](https://phptravels.com/hotelbeds-api-xml-integration)
- [Flights GDS and NDC ticketing](https://phptravels.com/features/flights)
- [Tours & activities Packages and excursions](https://phptravels.com/features/tours)
