Regulated app tariffs (Dubai RTA e-hail fares)
Built: 2026-11-02. Written for operators and for whoever maintains the code.
Some regulators set the app fare itself. Dubai's RTA e-hail fares, revised in November 2025, are the example this release was built for. Every app booking pays a booking fee, and both the booking fee and the flagfall change with the weekday and the time of day:
- higher at weekday peaks;
- different at night;
- late on weekends.
On top of that there is a minimum fare, a rate per km, and no surge. RideKit now prices, settles and shows such a tariff.
Legal note. Published reports disagree on some of the figures and windows, and the RTA's own table was not available. The preset below is a starting point. Check every number against the regulator's current table before going live.
Setting it up
- Admin → Zones: draw (or edit) a Region for the city, for example Dubai.
- Under Ride-type rules, for the ride type (for example a taxi or
Economy):
- set the city's Minimum fare (AED 13);
- switch on Fare card.
- Press Fill Dubai RTA fares, or enter the tariff by hand:
- Base fare: the default flagfall (AED 5).
- Per km after: AED 2.26. Base km is 0.
- Waiting: AED 0.50 a minute.
- Booking fee (default): AED 4. This applies outside every window.
- Regulated fare: no surge, no offers: on.
- Minimum fare includes the booking fee: on by default. Switch it off if the regulator applies the minimum to the trip alone, with the fee on top.
- Time windows. Each window has a type (peak, off-peak, night or weekend peak), the days it starts on, from and to times, and a booking fee and/or flagfall. Windows are tried in order and the first that holds wins, so put night first. A window that runs past midnight (22:00 to 00:00, or 22:00 to 02:00) belongs to the day it starts.
- Save. The region list shows "Economy fare card".
The preset fills these windows:
| Window | Days | Time | Booking fee | Flagfall |
|---|---|---|---|---|
| Night | every day | 00:00–06:00 | AED 4.50 | AED 5.50 |
| Peak | Mon–Thu | 08:00–10:00 | AED 7.50 | base |
| Peak | Mon–Thu | 16:00–20:00 | AED 7.50 | base |
| Weekend peak | Fri, Sat, Sun | 22:00–00:00 | AED 7.50 | base |
All other times use the AED 4.00 default.
What happens
Pricing. At the pickup's local weekday and time, the fare is:
flagfall + km × rate + waiting + booking fee, never below the minimum.
- If the minimum excludes the booking fee, the fee is added after the minimum.
- The booking fee is never multiplied.
- A regulated fare has no surge and no zone multiplier. A zone's flat fee, such as an airport fee, still applies.
No negotiation. A regulated fare refuses two things, each with a message the apps translate:
- booking it as an offer (fare bidding);
- raising it while searching for a driver.
The rider sees:
- On the confirm screen, under the fare: "Includes a peak-hours booking fee of AED 7.50. Fares here are set by the transport authority." The fare-offer control is hidden for that ride type.
- On the receipt, the booking fee as its own line. In a metered market it sits after base, distance and waiting. In a fixed-quote market the agreed fare is shown without the fee, then the fee on its own line, so the lines still add up to what was quoted.
Settlement prices the trip on the frozen quote, so a tariff edit mid-trip changes only future bookings:
- the booking fee settles as its own line;
- the "regulated" flag travels with the ride.
Admin → Trips → a trip shows the same booking-fee row in the "quoted → final" view.
Not covered
- DXB airport flagfall (AED 25). Model it as an airport zone fee or a separate region for the airport.
- Street-hail fares. These are taxi meters, not app bookings.
For maintainers
| Area | Files |
|---|---|
| Tariff rules (pure) | RegionFareCard.bookingFeeMinor / windows / noSurge / minimumIncludesBookingFee, inTariffWindow, tariffAt in backend/src/geo/region-rules.ts |
| Pricing | PricingService.estimate (weekday from common/market-time.ts marketWeekday); breakdown.bookingFeeMinor; fareCard.window/regulated; rates.bookingFeeMinor/bookingFeeInMinimum/regulated |
| Settlement | FrozenFareQuote.bookingFeeMinor/bookingFeeInMinimum/regulated; finalizeFare adds the fee inside or after the minimum; FareFinalization.bookingFeeMinor |
| Refusals | fare_regulated in RidesService.book (offers) and raiseFare |
| Tests | pricing/regulated-tariff.spec.ts, rides/regulated-fare.spec.ts, admin zones/region-form.test.ts, rider lib/fareIntegrity.test.ts |
| Admin | zones/TariffFields.tsx (DUBAI_RTA_PRESET in region-form.ts), the trip page's lineBookingFee |
| Rider | confirm.tsx booking-fee note; receiptLines → fareBookingFee |