# Openfront Hotel

> Openfront Hotel is a hotel property-management and direct-booking application for room types, nightly inventory, rate plans, reservations, guest records, folios, front-desk work, housekeeping, maintenance, and channel reservations.

Every stay, from booking to the night audit.

## At a glance

- 40 models for rooms, rates, bookings, folios, channels and night audit
- 15 role flags, including second-user approval for exceptions
- 1 property per database, with a managed business date

## Links

- [Product overview](https://spec.openship.org/hotel): every area and feature on one page
- [Live demo](https://hotel.openship.org)
- [Documentation](https://docs.openship.org/docs/openfront/hotel)
- [Source code](https://github.com/openshiporg/openfront-hotel)
- [Feature film](https://spec.openship.org/hotel/video): a 27-second walk through every area

## Areas

### Direct booking

- **Let guests book the stay, not a guess**: Guests browse room types, check nightly availability, obtain a stay quote and book directly. Guest access brings booking details and folios into the same experience. (https://docs.openship.org/docs/openfront/hotel/reservations)
- Room types describe occupancy and bed configuration.
- Accepted booking amounts are snapshotted in minor units.
- Guests can request a booking modification.
- Guests see a cancellation quote before they cancel.

### Rooms & rates

- **Inventory by night. Rates by plan.**: Room types, physical rooms, nightly inventory, rate plans and seasonal rates connect availability with the price offered to the guest. (https://docs.openship.org/docs/openfront/hotel/rooms-rates)
- Rate plans carry stay limits and cancellation terms.
- Room assignment is separate from booking a room type.
- Operational room state matters to availability.
- Derived and seasonal rates have operator workspaces.

### Front desk

- **A clear view of arrivals and stays**: Manage reservations and room assignments from the front desk, with guest records, stay services and operational exceptions nearby. (https://docs.openship.org/docs/openfront/hotel/reservations)
- Staff can create and amend reservations.
- Room assignments retain their own records.
- Stay services have named operational workflows.
- Relocations and room outages have their own workspaces.

### Folios

- **Post the charge. Preserve the ledger.**: Booking and group folios keep entries that are posted and reversed rather than silently edited. Business-date and night-audit tools help the property close the day. (https://docs.openship.org/docs/openfront/hotel/folios-night-audit)
- Folio entries are changed through named commands.
- Reversals preserve the original record.
- Business date is separate from the calendar clock.
- Night-audit runs retain completion evidence.

### Housekeeping

- **Keep the next arrival in view**: Housekeeping tasks and maintenance requests connect the condition of a physical room with the work needed to keep it ready. (https://docs.openship.org/docs/openfront/hotel/housekeeping-maintenance)
- Assign housekeeping work to staff.
- Review room operational status.
- Track maintenance requests.
- Room outages are recorded with their dates and reason.

### Groups

- **Block rooms without losing the detail**: Group blocks and allocations coordinate inventory for shared stays, with group folio work alongside individual reservations. (https://docs.openship.org/docs/openfront/hotel/groups)
- Group blocks retain allocation records.
- Inventory remains room-type and night based.
- Group financial work uses folios.
- Operator permissions govern consequential changes.

### Payments

- **Payments, refunds and the exceptions between**: Configured Stripe and PayPal adapters support booking payments. Payment sessions, events and refund intents preserve provider outcomes and recovery evidence. (https://docs.openship.org/docs/openfront/hotel/payments-refunds)
- Configure and test the providers you enable.
- Refund intents retain their own state.
- Cashier and receivable workspaces are separate.
- Second-user approvals cover selected financial exceptions.

### Channels

- **Keep imported reservations accountable**: Channel records, reservation imports and synchronization events provide a controlled channel workflow. Channel records keep the source of each imported reservation. (https://docs.openship.org/docs/openfront/hotel/channels)
- Channel reservations retain their source.
- Synchronization has event records.
- One database serves one hotel property.
- Each imported reservation carries its room type and stay dates.

### Developer

- **A property system you can run yourself**: Openfront Hotel covers booking, the front desk, folios, housekeeping and night audit for one property in a single Next.js, Keystone, Prisma and Postgres application. (https://github.com/openshiporg/openfront-hotel)
- 40 models cover room types, rooms, rates, bookings, folios, payments, channels and night audits.
- Bookings and folio entries change only through named commands, never raw edits.
- Amounts are snapshotted in integer minor units on each booking.
- Stripe and PayPal are the payment adapters in the source.
