Add buses and vans with permit, insurance, fitness and PUC dates, read the expiry badges, copy the one-time GPS token and rotate it, retire a vehicle.
You should see: A table: Vehicle (registration, type, "retired" if inactive), Seats, Documents (four badges: Permit, Insurance, Fitness, PUC with a short date), GPS ("Device …" or "Token only") and Actions. Active / All links above switch the list.
You should see: "Vehicle added" and the dialog changes to GPS device token — shown once with the token in a box and a copy button.
You should see: The dialog closes. The vehicle row shows "Token only" or "Device <id>" in the GPS column.
GPS device setup: configure the device (or its tracking app) to send POST /api/transport/gps with the header Authorization: Bearer <token> and a JSON body { "lat": 25.01, "lng": 88.14, "speed": 32, "at": "2026-10-03T07:05:00+05:30" }. Pings closer than 5 seconds are ignored and only the last 48 hours are kept.
You should see: A New GPS token · <registration> dialog shows the new token once; the old one is rejected from now on.
You should see: "Vehicle updated" / "Vehicle retired". A retired vehicle no longer accepts GPS pings, is hidden from pickers and only shows under All.
deviceId. Edit the vehicle and match the id, or clear it.