---
title: "Rail Booking Software for Journeys and Rail Passes | PHPTRAVELS"
description: "Rail booking software and train ticket booking engine for international journeys: connections, seat reservations, fare conditions, rail passes and e-tickets."
source: https://phptravels.com/features/rail
---

Rail module

# Rail booking software for international journeys and rail passes

Sell cross-border rail journeys with connections, seat reservations on every leg, saver to flex fares, global and country rail passes, and mobile tickets with a QR code, all from one admin.

- Journeys with connections
- Carriage and seat reservation
- Saver to flex fares
- Rail passes

The rail module

## A train ticket booking engine that plans the whole journey

International rail is rarely one train. A traveller going from Amsterdam to Bruges rides a high-speed service to Brussels, changes platform and takes a regional train to the coast. The rail module finds those connections, keeps each leg with its own operator, seat and fare conditions, and sells the whole journey as one booking with one payment.

It also sells rail passes, so a traveller who plans many trips can buy a global or country pass and reserve seats on the trains that need it. Domestic train ticketing with class quotas lives in the [trains](https://phptravels.com/features/trains) module, and sea and road legs come from [ferries](https://phptravels.com/features/ferries) and [buses](https://phptravels.com/features/buses).

Every plan includes the source code. Compare the editions on [pricing](https://phptravels.com/pricing) or book a [live demo](https://phptravels.com/demo) to see a journey booked end to end.

- 08:16 Journey planner with connections Direct and connecting trains across borders, with transfer times checked at every hub. 1
- 08:42 Carriage diagram and seat reservation Coach plans with 1st and 2nd class, quiet zones and table seats, reserved per leg. 2
- 09:05 Fare conditions Saver, semi-flex and flex fares with exchange, refund and peak rules shown before payment. 3
- 09:30 Rail pass booking system Global and country passes for youth, adult and senior travellers, with travel day counting. 4
- 10:12 E-tickets and mobile tickets QR tickets with the coach and seat, sent by email and kept in the traveller account. 5
- 10:48 Rail suppliers and B2B Rail inventory from connected suppliers and your own contracts, sold by agents with markups. 6

Journey planner

## Connections that work, leg by leg

A search returns direct and connecting journeys. Each one shows the trains, the operators, the change and how long the traveller has to make it.

- Minimum transfer times per hub Set how long a change takes at each station, so the planner never sells a connection a traveller cannot make.
- One operator per leg A high-speed leg and a regional leg keep their own operator, train number, class and conditions inside one booking.
- Through fares or combined tickets Sell a through fare when the suppliers offer one, or combine two tickets and show the traveller which conditions apply to each.
- Live timetables and prices Timetables, seats and prices come from the supplier at search time, so what the traveller sees is what can be booked.

Rail journeys sit in the same checkout as [flights](https://phptravels.com/features/flights) and [hotels](https://phptravels.com/features/stays), so a traveller can fly into one city, take the train to the next and book the hotel at the end of the line.

Departures

- 08:16 – 11:33 3h 17m · 1 change from –
- 09:16 – 12:33 3h 17m · 1 change from –
- 10:46 – 14:14 3h 28m · 2 changes from –
- 08:16 Amsterdam Centraal Platform 15
- 1h 52m High-speed HS 9316 Seat reservation compulsory Wi-Fi Bistro coach
- 10:08 Bruxelles-Midi / Brussel-Zuid Platform 4
- Change at Brussels-Midi 24 min to change Platform 4 to platform 11 Minimum transfer time at this station: 12 min
- 10:32 Bruxelles-Midi / Brussel-Zuid Platform 11
- 1h 01m Regional IC 1732 No reservation needed Wi-Fi
- 11:33 Brugge Platform 6

Carriage diagram

## Pick the coach, then the seat

Travellers see the train as it runs: the coaches in order, the class of each, and a coach plan with every seat, table, quiet zone and luggage rack.

Direction of travel

Coach 11 · 1st class

Coach 12 · 2nd class

Coach 13 · 2nd class

- Available
- Taken
- Your seat
- Table seat
- Quiet zone

Coach

12

Seat

45

Seat details

Aisle · Quiet zone

Reservation

Included in the fare

- 1st and 2nd class layouts Wider 1+2 seating in 1st class and 2+2 in 2nd, drawn from the coach plan the supplier returns.
- Quiet zones and table seats Seat attributes such as window, aisle, table and quiet zone are shown and can be requested.
- Compulsory or optional reservation High-speed trains that require a seat get one at booking. Regional trains with open seating skip this step.
- Choose or assign Travellers can pick a seat on the plan, or let the system assign one that matches their preferences.

Fare conditions

## Saver, semi-flex or flex: the rules before the price

The same train can be sold at three prices. The difference is what the traveller can change afterwards, so the conditions sit beside each fare.

| Condition | Saver | Semi-flex | Flex |
| Example price, Amsterdam to Brussels | – Lowest, limited seats | – Mid price | – Full price |
| Train | Booked train only | Booked train only | Any train on the day |
| Exchange | Not allowed | Allowed with a fee, until departure | Free, until departure |
| Refund | Not refundable | Refund with a fee, until 1 day before | Full refund, until departure |
| Peak and off-peak | Off-peak trains only | Peak and off-peak | Peak and off-peak |
| Seat reservation | Included | Included | Included, changeable |

Off-peak fares are valid outside the commuter windows. The hours are set per route, so a saver fare is only offered on the trains it can be used on.

- Peak
- Off-peak
- Shown before payment Each fare shows its exchange and refund rules in the results and again on the checkout page.
- After-sales from the admin Exchanges and refunds are handled from the booking, with fees applied from the fare conditions.
- Your own fare rules Operators selling their own inventory can create fare families, quotas and conditions themselves.

Rail passes

## A rail pass booking system with travel days that add up

Passes are products of their own: a coverage area, a number of travel days in a period, a class and a price for each type of traveller.

### Global pass

Travel across every country in the pass network

- 4 4 travel days within 1 month 2nd class · 1st class on request – per traveller
- 7 7 travel days within 1 month 2nd class · 1st class on request – per traveller
- 15 15 consecutive days 2nd class · 1st class on request – per traveller

### Country pass

Travel on the rail network of one country

- 3 3 travel days within 1 month 2nd class · 1st class on request – per traveller
- 5 5 travel days within 1 month 2nd class · 1st class on request – per traveller
- 8 8 travel days within 1 month 2nd class · 1st class on request – per traveller

Example prices. You set your own passes, prices and traveller types in the admin.

- Validity period
- Travel day used
- Travel day planned
- Activation and validity A pass starts on its first travel day or on a chosen date, and the validity period is counted from there.
- Travel day counting Each day with a journey uses one travel day. The traveller account shows how many are left.
- Seat reservations for pass holders Pass holders still reserve seats on trains that require them, sold as a reservation-only ticket.
- Youth, adult and senior prices Each pass has a price per traveller type and age band, checked against the date of birth at checkout.

Sat 14 Nov 2026 · Leg 1 of 2

Train

HS 9316

Coach

12

Seat

45

Class

2nd

Fare

Semi-flex

Passenger

Adult · ID required

E-ticket

## A mobile ticket the conductor can scan

When payment clears, the traveller gets a ticket with a QR code for each leg, the coach and seat, and the fare conditions in plain words.

### What the ticket carries

- A QR code per leg and traveller
- Train number, coach and seat
- Exchange and refund conditions
- The name and ID rules of the operator

### How it reaches the traveller

- Email with the ticket attached
- Saved in the traveller account
- PDF to print at home
- Sent by the agent from the B2B portal

Suppliers and B2B

## Rail inventory in, agent sales out

Journeys, seats and passes come from connected rail suppliers and from your own contracts. Agents sell them from the B2B portal at their own prices.

- 01 Connected rail suppliers Timetables, fares, seat maps and passes from rail supplier APIs, booked and ticketed in real time.
- 02 Your own contracts Operators and agencies with their own rail allocation load routes, fares and passes in the admin.
- 03 Agents and corporate clients Sub-agents and companies book rail from the B2B portal with markups, commissions and a wallet balance.

Agent rules work the same way as for every other product in the [B2B portal](https://phptravels.com/b2b-travel-portal), and the [integrations](https://phptravels.com/integrations) page lists every supplier by category.

Rail suppliers connected today

- HKINT

The list comes live from our integrations directory. New rail suppliers can be connected on request.

Net fare from the supplier

–

Agency markup

+–

Price shown to the traveller

–

Sub-agent commission

−–

Sub-agent pays

–

FAQ

## Rail booking software questions

What agencies and rail resellers ask before selling international journeys and passes.

Software that lets travellers search train journeys, pick seats, choose a fare and pay online, then receive a ticket, while the agency manages suppliers, prices, passes and bookings from one admin.

Yes. The planner returns direct and connecting journeys, checks the minimum transfer time at each hub and keeps the operator, seat and conditions of every leg in one booking.

Yes. Global and country passes are sold as products with travel days within a period, prices per youth, adult and senior traveller, and seat reservations for pass holders.

On trains where the supplier returns a coach plan, travellers pick the coach and the seat, including 1st or 2nd class, table seats and quiet zones. Otherwise a seat is assigned automatically.

Each fare is shown with its exchange, refund and peak or off-peak rules in the results and at checkout, and exchanges or refunds are later handled from the booking in the admin.

The rail module covers international journeys with connections, several operators and rail passes. The trains module covers national train ticketing with classes and seat quotas on a single operator's network.

Yes. Sub-agents and corporate clients book from the B2B portal with their own markups, 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 connect more rail suppliers or change any screen.

Keep exploring

## More from the platform

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

- [Transport API Transfers, rail, bus and ferry APIs for door-to-door trips](https://phptravels.com/transport-api)
- [Trains Tickets and passes](https://phptravels.com/features/trains)
- [Ferries Sea crossings](https://phptravels.com/features/ferries)
- [Buses Coach and intercity routes](https://phptravels.com/features/buses)
- [B2B wholesalers Distribute to sub-agents](https://phptravels.com/b2b-travel-portal)
- [Live demo](https://phptravels.com/demo)
