Fleet rent
Built: 2026-11-02. For fleet owners, the operator, and whoever maintains
the code. The settlement terms themselves are in docs/partner-guide/.
In India, and in Mexico and Brazil, many fleets rent cars to drivers. The driver pays a fixed daily or weekly rent and keeps everything above it. On a fixed-lease fleet, the rent is charged every period, whether or not the driver drove:
- it is charged to the driver's wallet;
- it is credited to the fleet;
- a driver who earned less than the rent goes below zero, and the debt is taken from what they earn next.
Which rent a driver pays
| First match | Set where |
|---|---|
| The driver's own deal | The owner's per-driver terms, or the operator's |
| The rent of the car the fleet put them on | Partner app → Vehicles → a car → Rent for this car |
| The fleet's default | The operator: Fleet partners → a fleet → Terms |
Each rent carries its own period, daily or weekly. A weekly car rent is never billed daily just because the fleet's default is daily. The car is recorded on every charge.
Which day. A charge is for the market's date. The billing runs after 1 AM, so it bills the day that just began. (Before this, India's 2 November rent was dated 1 November, the UTC date.)
Rent paid outside the app
Owners often collect rent in cash or by UPI to their own account. The driver page in the partner app has Record payment:
- the amount received;
- how it was paid (cash, UPI, bank, other);
- a note.
It comes off what the driver owes:
- the fleet's balance goes down by the same amount, because the owner already holds the money;
- the fleet's balance may go below zero: an owner who was paid out rent the driver had not yet paid, and then collected it in cash, owes it back.
What each side sees
- Owner (partner app):
- Home: "Drivers behind on rent" with the total owed, which opens the list;
- the list: each driver with what they owe, their rent and when they were last charged, most owed first;
- each driver's Rent section.
- Driver (driver app):
- Wallet → Fleet rent: the rent, "You owe ₹X" or "You're up to date";
- the statement: every charge with the car, every payment, and the last 30 days;
- the transactions list names payments "Rent paid to your fleet".
- Operator: the same arrears and statements, at
GET /admin/partners/:id/rent/arrearsandGET /admin/partners/:id/drivers/:driverId/rent.
What "owes" means. It is the driver's wallet below zero. For a fixed-rent driver this is mostly rent, but cash-ride commission counts too.
Dispatch fairness (Admin → Reports)
Independent drivers have protested that fleet drivers get the bookings (Bengaluru, November 2025). Dispatch here ranks drivers by distance (and an airport line) and never looks at fleet membership. Dispatch fairness on the Reports page shows it.
For the chosen range (up to 31 days; a longer range reads its last 31), fleet drivers and independent drivers are compared side by side:
- drivers;
- hours online;
- offers per hour online;
- offers accepted;
- trips per hour online;
- earnings per hour online;
- the typical (median) driver's earnings per hour.
Everything is per hour online, so a group that simply drove more does not look favoured. A one-line verdict follows:
- even;
- fleet drivers got X% more offers;
- fleet drivers got X% fewer offers;
- not enough of both groups to compare (5 drivers and 10 online hours each).
A CSV has every driver.
| Measure | Source |
|---|---|
| Offers | Each trip's events: accepted, declined, or let lapse |
| Hours online | The driver status log (as in the hours report) |
| Earnings | Fares and tips credited to the driver |
| Group | A driver in a fleet at any time in the period counts as a fleet driver |
Code
| Piece | Where |
|---|---|
| Rent terms (which rent), billing by market date | backend/src/fleet/lease-billing.service.ts (rentTerms, chargeDue) |
| Statements, arrears, recording a payment | backend/src/fleet/fleet-rent.service.ts; ledger posting in wallet.service.ts (recordRentPayment, reason lease_payment) |
| Endpoints | Partner: GET /fleet/rent/arrears, GET /fleet/drivers/:id/rent, POST /fleet/drivers/:id/rent/payments, PATCH /fleet/vehicles/:id (leaseAmountMinor, leasePeriod). Driver: GET /driver/rent. Report: GET /reports/dispatch-fairness |
| Fairness | backend/src/fleet/dispatch-fairness.ts (group summary, gap) and dispatch-fairness.service.ts |
| Migration | 1700000114000-FleetRent (car rent, the car on each charge, fleet_rent_payments, reason lease_payment) |
| Partner app | src/components/RentSection.tsx, app/(details)/rent-arrears.tsx, car rent in app/(details)/vehicle/[id].tsx, the arrears card on Home |
| Driver app | src/components/FleetRent.tsx, app/(app)/rent.tsx |
| Admin | components/reports/DispatchFairnessCard.tsx |
Not built
- Collecting rent by UPI in the app. It needs a payment gateway for drivers. Rent is taken from earnings automatically, or recorded when paid to the owner.
- Notifications. There is no push to the owner when a driver falls behind. It shows on the partner app's Home.
- Rent-to-own balances and salaried drivers. These are separate items for
Mexico (
mx-fleet-weekly-rent-and-salary).
The rental agreement (US)
Built: 2026-11-04.
In the US, weekly car rentals for ride-hail usually come with the terms
written down: Hertz, Avis and Flexdrive through Uber, and fleet partners in
every city. New York's TLC and California's lease-disclosure rules expect the
driver to have agreed to them before paying. Market config
fleetRental.requireAcceptance (on in the US) does this:
The terms. These are what a driver is charged:
- the rent and its period;
- the distance included, and the price of each km over;
- the deposit;
- whether the rent includes the car's ride-hail insurance. The owner turns this on in the partner app under Rent plans → Insurance included.
The driver app shows these in a card on the wallet and rent screens, with Accept these terms.
Nothing is charged until the driver accepts. Lease billing skips a membership whose accepted terms do not match the terms it would bill. The owner's driver page in the partner app says Awaiting the driver's acceptance — no rent charged yet until then.
A change is a new agreement. A new price, distance allowance, deposit, insurance setting or period asks the driver again, and billing waits until they accept. A replacement car with the same terms does not.
Kept as evidence. Every acceptance is stored in
fleet_rent_acceptanceswith the terms as they were, their hash, the time, the IP address and the device.
| Piece | Where |
|---|---|
| Rules | backend/src/fleet/rental-agreement.ts: rentalTermsOf, termsHash, mayCharge (spec alongside) |
| Billing gate | lease-billing.service.ts chargeDue, using currentTermsHash and rentalConfig |
| Driver | GET /driver/rent (agreement), POST /driver/rent/accept {hash} |
| Tables | migration 1700000202000-RentalAgreements |
| Apps | Driver: RentAgreementCard in src/components/FleetRent.tsx. Partner: insurance toggle in rent-plans.tsx, acceptance pill in RentSection.tsx |
Confirm the disclosure wording with counsel. Some cities, such as New York, have their own lease rules.