# Openfront Airline

> Network, fares, bookings, ticketing, departures, baggage and disruption recovery in source you own.

From the first offer to the final boarding call.

## At a glance

- 59 data models for retailing and passenger service
- 9 MCP tools operating with the signed-in user's permissions
- 2 payment adapters: manual reconciliation and Stripe

## Links

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

## Areas

### Network

- **Build the network you operate**: Carriers, airports, routes and stations provide the foundation for airline retailing. Configure the network in the dashboard and keep station authority connected to the people working each departure. (https://docs.openship.org/docs/openfront/airline/network)
- Maintain airports and origin–destination routes.
- Configure carrier and station records.
- Assign station-specific check-in, bag and boarding permissions.
- Keep approved-agent records alongside direct sales operations.

### Schedules & flights

- **Turn a schedule into a dated flight**: Flight schedules and flight instances separate recurring plans from the service on a particular date. Cabins and inventory buckets connect each departure to the seats available for sale. (https://docs.openship.org/docs/openfront/airline/schedules-flights)
- Manage scheduled and dated service separately.
- Keep cabin inventory with the flight instance.
- Review flight operations through dedicated workspaces.
- Publish delay and cancellation summaries to the public status page.

### Fares & extras

- **Give each fare its own terms**: Fare brands, fare rules and ancillary products shape what travelers can buy. Offers and booking lines preserve the commercial choice rather than relying on a catalog that can change after purchase. (https://docs.openship.org/docs/openfront/airline/fares)
- Configure fare brands and their rules.
- Maintain ancillary product records.
- Retain accepted booking-line snapshots.
- Keep service entitlements distinct from the payment record.

### Offers & bookings

- **Search. Hold. Accept.**: Search flight options for parties of one to nine passengers. Offers hold inventory for 15 minutes; accepting an offer requires the same passenger party and creates the booking and inventory change together. (https://docs.openship.org/docs/openfront/airline/offers-bookings)
- Refuse offers without enough inventory.
- Require at least one traveler aged 18 or over.
- Keep booking, payment and ticketing states separate.
- Release seats through the cancellation workflow rather than editing totals.

### Traveler access

- **A booking travelers can return to**: Public flight discovery, manage-booking, check-in and status pages connect travelers to their journey. A record locator and private access token protect customer booking operations. (https://docs.openship.org/docs/openfront/airline/external-storefront)
- Manage passenger and travel-document records.
- Reissue customer booking access codes when needed.
- Email access recovery requires configured SMTP.
- Keep public status information separate from private booking details.

### Ticketing

- **Keep the entitlement behind the ticket**: Tickets, coupons, coupon lineage, service obligations and electronic miscellaneous documents connect fulfillment to accepted booking lines. Ticket issuance requires a confirmed, paid booking in the appropriate ticketing state. (https://docs.openship.org/docs/openfront/airline/tickets)
- Record tickets and their individual coupons.
- Retain coupon lineage through servicing.
- Keep ancillary document and coupon evidence.
- Tickets and coupons stay linked from issue through servicing.

### Departures

- **Work the manifest, passenger by passenger**: Register and verify documents, check in eligible travelers, assign seats, issue boarding passes and board or offload passengers. Station assignments gate each operational action. (https://docs.openship.org/docs/openfront/airline/departures)
- Require current authoritative document verification for check-in.
- Check in against a paid, ticketed booking and published seat map.
- Require an audited entitlement for a paid seat.
- Prevent more than one active seat for a traveler on a flight.

### Baggage

- **Every bag has a passenger and a trail**: Accept checked bags for checked-in passengers against matching unused entitlements. Bag tags and bag events keep the handling record connected to the departure. (https://docs.openship.org/docs/openfront/airline/baggage)
- Record bag weight in grams.
- Keep bag acceptance behind station permission.
- Associate bags with the passenger and flight.
- Retain handling changes as bag-event evidence.

### Disruption recovery

- **Recover the journey with its history intact**: Publish disruptions and reaccommodate eligible bookings onto a different future flight of the same carrier and route with sufficient inventory. Recovery preserves a reaccommodation record and moves ticketed passenger coupons. (https://docs.openship.org/docs/openfront/airline/disruptions)
- Publish delays, cancellations and other disruption types.
- Show affected bookings in the recovery desk.
- Exclude boarded or flown passengers from this recovery path.
- Original departed or arrived services are outside the supported recovery window.

### Payments & refunds

- **Match money to the booking**: Two registered payment adapters support manual reconciliation and Stripe. Payment sessions, manual evidence, refunds and settlement-ledger entries connect financial activity to booking state; providers must be configured before use. (https://docs.openship.org/docs/openfront/airline/payment-providers)
- Verify Stripe callbacks before applying payment events.
- Consume approved evidence for manual payment recognition.
- Refund captured airfare before cancelling a paid booking.
- Import settlement evidence through scoped machine credentials.

### Developer

- **Every flight, fare and ticket on your own stack**: Next.js, Keystone, Prisma and Postgres connect the public experience, operator workspaces and GraphQL workflows. An assistant can read and update data through nine tools that run with the signed-in user's permissions. (https://docs.openship.org/docs/openfront/airline/integrations)
- 59 models cover routes, fares, bookings, tickets, check-in, baggage and disruption.
- Every assistant action is checked against the operator's role.
- A background worker expires holds and delivers outbox events.
- Outbound webhooks go only to hosts you allow.
