---
name: find-hotel-booking-gaps
description: "Check every night of a trip against hotel confirmations, amendments, cancellations, overnight travel and stays with friends, and list the nights with no bed or with two arrangements. Use when someone asks whether any hotel nights are missing or double-booked on their trip."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/find-hotel-booking-gaps
---

# Find gaps in a trip’s overnight bookings

Compare every night you need a bed with current hotel confirmations, overnight transport and explicit stays with friends.

## When to use this skill

- Someone has several hotel confirmations for a trip and wants to know if every night is covered.
- Bookings have been amended or cancelled and the person is not sure which version stands.
- A trip mixes hotels, a night train or overnight flight and nights with friends or family.

## When not to use it

- Booking, cancelling or changing reservations. The skill only reports gaps and overlaps.
- Working out cancellation charges for a duplicate booking. Check each booking's terms.

## What you need

- Arrival and departure local dates, required overnight city or cities and the travellers needing cover.
- Booking references, check-in and check-out dates, cancellation or amendment notices, and confirmed alternative accommodation.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Which nights do you need a bed, and in which city, from the night you arrive to the morning you leave?
- Who needs to be covered? A booking for one traveller does not cover another.
- Do you have the latest confirmation for each booking, including amendments and cancellations?

## Method

1. List the nights needed, one row per night, using the local date on which the night starts. Include the arrival night if a bed is needed and stop before the departure morning. Note the city and travellers for each night.
2. Treat each hotel stay as covering nights from the check-in date up to, but not including, the check-out date. A stay from the 2nd to the 4th covers the nights of the 2nd and 3rd.
3. Resolve each reservation to its latest active version by reference and date. An amendment replaces the original dates, a cancellation removes cover, and a repeated confirmation email is not a second room.
4. Mark a night covered only when the arrangement matches the city and traveller. Count a confirmed overnight train, ferry or flight, or a host's confirmed stay, as cover for that night.
5. List missing nights, and nights covered by two distinct valid arrangements, with dates and references. Back-to-back stays where one checks out and the next checks in on the same date do not overlap.
6. Raise separately anything that could change the result, such as an unclear arrival date, an unknown city or a missing traveller name. Note that a late departure needs a late check-out, not an extra night.

## Checks before you deliver

- Back-to-back hotels with matching check-out and check-in dates do not overlap by a night.
- The same night booked in another city leaves the intended city uncovered.
- Counting both the original and the amended dates of one reservation.
- Counting a cancelled booking as cover because its confirmation email is still in the inbox.
- Reading 06/07 as 6 July on a booking that uses month-first dates, which shifts every night.

## How to present the result

Lead with the missing nights, if any, with the city and the check-in and check-out dates needed to fill each. Then show a night-by-night table: date, city, what covers it and the booking reference. List overlaps separately with both references so the person can decide which to cancel.

## Worked example

**Request:** Which nights are missing in Bath?

**Supplied material:**

```text
Bed needed in Bath each night from arrival 2026-06-02 to departure 2026-06-07. One traveller.
Ref H1 Bath check-in Jun 2, check-out Jun 4. Ref H2 Bath check-in Jun 5, check-out Jun 7.
```

**Answer:** You need a bed in Bath for the night of 4 June, checking out on 5 June. H1 covers the nights of 2 and 3 June. H2 covers 5 and 6 June.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

For the required traveller and city schedule, return missing_nights and overlapping_nights as chronological arrays of ISO night-start dates. List a night under overlapping_nights only when two distinct valid arrangements cover it. Return an empty array when none overlap. Return covered_count as the number of distinct covered nights.

## Sources

- [Premier Inn: arrival and departure terms](https://www.premierinn.com/content/pi/websites/desktop/gb/en/secured/terms/terms-uk.html): Premier Inn's UK terms set check-in from 3pm and require rooms to be vacated by 12pm on the day of departure. This is why a stay covers the nights from check-in up to, but not including, the check-out date. Each property's own confirmation controls its actual times.
- [ABTA: vacating your room before a later transfer](https://www.abta.com/help-and-complaints/frequently-asked-questions/ive-been-told-i-have-vacate-my-room-some-time): ABTA, the UK travel trade association, says it is standard international practice to let rooms from roughly midday to midday, and that more time on the last day usually means a paid late check-out. This supports counting nights by check-in date and treating a late flight as a late check-out, not an extra night.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/find-hotel-booking-gaps
