Skip to content

Order/Reservation System - Product Requirements Document

Version: 2.0 | Status: Ready for Review | Converted: 2026-01-15


Change Log

VersionDateAuthorChanges
1.0--Initial technical specification
2.02026-01-15PRD ConversionConverted to business-focused format; added success metrics; consolidated requirements; strengthened acceptance criteria

1. Overview

1.1 Purpose

The Order/Reservation System is the core revenue engine for Toprent.app, managing the complete lifecycle of vehicle rental bookings. It orchestrates the business-critical flow from initial customer inquiry through booking confirmation, vehicle handover, active rental, return processing, and order completion—ensuring maximum fleet utilization while preventing costly double-bookings.

1.2 Business Value

Value AreaMeasurable OutcomeTargetTimeframe
Revenue GenerationIncrease booking conversion rate+15-20% from quote to confirmed6 months post-launch
Fleet UtilizationReduce vehicle idle time through optimized availability+10-15 percentage points6 months post-launch
Operational EfficiencyReduce booking processing time50% faster order creation3 months post-launch
Error PreventionEliminate double-booking incidentsZero confirmed conflictsImmediate
Customer SatisfactionReduce booking-related support tickets-40% ticket volume6 months post-launch
Financial VisibilityReal-time profitability tracking per order100% profit margin visibilityImmediate
Compliance & AuditComplete audit trail for all transactions100% traceabilityImmediate

1.3 Target Users

RoleBusiness ContextPrimary Activities
AdministratorBusiness oversight and exception handlingOverride business rules, manage cross-company operations, handle escalations
OperatorDaily rental operationsCreate bookings, process check-ins/check-outs, manage customer interactions
PartnerFleet owners using marketplaceMonitor vehicle utilization, track revenue and commissions
ClientEnd customerSelf-service booking requests, view reservation status

1.4 Scope

In Scope:

  • Complete order lifecycle management (quote → confirmed → active → completed)
  • Real-time vehicle availability management
  • Customer and driver assignment
  • Check-in/check-out workflows with condition documentation
  • Pricing integration and profitability tracking
  • Multi-company operations within tenant
  • Calendar view and reporting data

Out of Scope:

  • Payment processing (see Payment System PRD)
  • Pricing calculation algorithms (see Pricing System PRD)
  • Customer notifications (see Communication System PRD)
  • Self-service kiosk functionality (see Self Check-In PRD)
  • External marketplace integration (see Billion Integration PRD)

2. Success Metrics

MetricDefinitionBaselineTargetMeasurement MethodTimeframe
Booking Conversion RateConfirmed orders / Total quotesTBD (30-day baseline)+15-20 ppOrder status analytics6 months
Fleet UtilizationBooked days / Available days × 100TBD (30-day baseline)+10-15 ppAvailability snapshots6 months
Order Processing TimeTime from order start to confirmationTBD (time study)-50%Workflow timestamps3 months
Double-Booking IncidentsConfirmed orders with date conflictsTBD (current count)ZeroConflict detection logsImmediate
Check-In Completion RateOrders with complete check-in dataTBD (audit sample)95%+Required field validation3 months
Damage Documentation RateCheck-ins/outs with photo evidenceTBD (audit sample)90%+Attachment audit3 months
Average Order ProfitabilityTotal profit / Total ordersTBD (financial baseline)Visible per orderProfit calculationImmediate
Booking-Related Support TicketsTickets categorized as booking issuesTBD (help desk data)-40%Ticket categorization6 months
Calendar Query Response TimeTime to load calendar viewTBD (performance baseline)<500msAPI monitoringImmediate

Measurement Framework:

  • Baseline Period: 30-day pre-implementation measurement
  • Data Sources: Order database analytics, help desk ticketing system, API performance monitoring
  • Review Cadence: Monthly metrics review with stakeholders

3. User Stories

Administrator Stories

PriorityStoryAcceptance Criteria
P0As an administrator, I can override status transitions to handle exceptional circumstancesGiven a business exception, when I change status outside normal rules, then the change is logged with reason and my authorization
P1As an administrator, I can view all orders across all companies for oversightGiven my admin role, when I access order list, then I see orders from all companies with filtering options
P1As an administrator, I can reassign orders between operatorsGiven workload imbalance, when I reassign an order, then the new operator receives notification and access

Operator Stories

PriorityStoryAcceptance Criteria
P0As an operator, I can create a booking with vehicle, dates, and customer in under 3 minutesGiven customer request, when I complete the booking form, then order is created with calculated pricing and unique number
P0As an operator, I can verify vehicle availability before confirming a bookingGiven selected dates and vehicle, when I check availability, then I see clear available/unavailable status with any conflicts
P0As an operator, I can perform check-in by recording vehicle condition and capturing documentationGiven a confirmed booking, when I complete check-in, then odometer, fuel, and damages are recorded with photos
P0As an operator, I can perform check-out and automatically complete the orderGiven an active rental, when I complete check-out, then final condition is recorded and order status becomes completed
P1As an operator, I can add extra services and insurance to increase order valueGiven an order, when I add services, then pricing automatically recalculates including new items
P1As an operator, I can assign couriers for vehicle delivery/collectionGiven logistics need, when I assign courier, then courier receives notification with order details
P1As an operator, I can view calendar of all bookings for resource planningGiven date range, when I view calendar, then I see all orders with status indicators and can filter by vehicle/customer
P2As an operator, I can add notes to orders for team communicationGiven order context, when I add note, then it appears in order history with my name and timestamp

Partner Stories

PriorityStoryAcceptance Criteria
P1As a partner, I can view orders for my vehicles to track utilizationGiven my partner account, when I view orders, then I see only orders for vehicles I own
P1As a partner, I can see revenue and commission for each orderGiven completed order, when I view details, then commission calculation is visible

Client Stories

PriorityStoryAcceptance Criteria
P1As a client, I can request a booking through the widgetGiven available vehicle and dates, when I submit request, then quote is created and I receive confirmation
P2As a client, I can view my upcoming and past reservationsGiven my account, when I view reservations, then I see status and details of my orders

4. Functional Requirements

4.1 Order Creation & Management

IDRequirementBusiness Rationale
FR-01System must create orders with vehicle, customer, date range, and company assignmentCore booking capability for revenue generation
FR-02System must generate unique, sequential order numbers per tenantEnables customer communication and tracking
FR-03System must validate date range (end after start, minimum 30 minutes)Prevents invalid bookings that cause operational issues
FR-04System must check vehicle availability before order creationPrevents double-bookings that damage customer trust
FR-05System must initialize orders in “Quote” status by defaultEnables sales pipeline tracking and conversion measurement
FR-06System must calculate initial pricing based on tariffs and datesProvides immediate cost visibility to customers
FR-07System must support order creation from admin panel, operator interface, and widgetMaximizes booking channels for revenue
FR-08System must support order duplication for repeat bookingsReduces operator time for returning customers

4.2 Availability Management

IDRequirementBusiness Rationale
FR-09System must detect date overlaps with confirmed and maintenance ordersPrevents double-booking and ensures vehicle readiness
FR-10System must exclude current order from availability check during editsAllows legitimate order modifications
FR-11System must support configurable buffer time between bookingsEnsures adequate vehicle preparation time
FR-12System must return availability status (available, requested, reserved)Enables informed booking decisions
FR-13System must check multiple vehicles simultaneously for calendar viewsSupports efficient resource planning

4.3 Order Status Lifecycle

IDRequirementBusiness Rationale
FR-14System must support statuses: Quote, Confirmed, Active, Completed, CancelledEnables pipeline tracking and operational workflow
FR-15System must enforce valid status transitions (Quote→Confirmed→Active→Completed)Maintains data integrity and process compliance
FR-16System must validate availability when changing to Confirmed statusFinal double-booking prevention
FR-17System must record confirmation timestamp for reportingTracks sales cycle timing
FR-18System must trigger notifications on status changesKeeps stakeholders informed automatically
FR-19System must support Maintenance status that blocks vehicle with zero priceEnables fleet management without revenue distortion

4.4 Check-In Process

IDRequirementBusiness Rationale
FR-20System must allow check-in only for Confirmed ordersEnsures proper booking workflow
FR-21System must capture vehicle condition: odometer, fuel level, engine hoursDocuments starting state for dispute resolution
FR-22System must allow damage documentation with photos and location coordinatesProvides evidence for damage claims
FR-23System must sync vehicle condition to master recordMaintains accurate fleet status
FR-24System must support document validation checklistEnsures compliance requirements are met
FR-25System must allow check-in reset by authorized usersHandles correction of errors

4.5 Check-Out Process

IDRequirementBusiness Rationale
FR-26System must allow check-out only after check-in is completedEnsures proper sequence
FR-27System must capture final vehicle condition: odometer, fuel level, engine hoursDocuments ending state for billing and disputes
FR-28System must document new damages found at returnEnables damage billing to customer
FR-29System must automatically change status to Completed after check-outCompletes operational workflow
FR-30System must calculate extra kilometers beyond included limitsEnables accurate overage billing
FR-31System must update vehicle master record with final conditionPrepares vehicle for next rental

4.6 Damage Tracking

IDRequirementBusiness Rationale
FR-32System must maintain separate damage records for pre-existing, check-in, and check-out stagesEstablishes clear responsibility for damages
FR-33System must capture damage details: type, severity, location, photos, notesProvides complete documentation for claims
FR-34System must support visual damage annotation on vehicle diagramImproves documentation accuracy
FR-35System must track deleted damages for audit purposesMaintains complete damage history

4.7 Pricing & Profitability

IDRequirementBusiness Rationale
FR-36System must calculate total price including base rental, extras, insurance, and deliveryProvides accurate customer quotes
FR-37System must support manual price override with authorizationEnables negotiated deals
FR-38System must calculate VAT based on company settingsEnsures tax compliance
FR-39System must calculate order profit (revenue minus costs)Enables profitability analysis
FR-40System must support commission calculations for partner vehiclesEnables marketplace revenue sharing

4.8 Extra Services & Insurance

IDRequirementBusiness Rationale
FR-41System must associate extra services with orders (GPS, child seat, etc.)Increases revenue per booking
FR-42System must support one-time and per-day service pricingEnables flexible service offerings
FR-43System must include services in total price calculationEnsures accurate invoicing
FR-44System must reference insurance products with deductible amountsProvides protection options to customers

4.9 Customer & Driver Management

IDRequirementBusiness Rationale
FR-45System must associate orders with customers (clients or partners)Links booking to payer
FR-46System must support multiple drivers per orderAccommodates family/business rentals
FR-47System must allow driver modifications throughout rental periodHandles changing customer needs

4.10 Courier & Delivery

IDRequirementBusiness Rationale
FR-48System must allow courier assignment for collection and deliveryEnables door-to-door service
FR-49System must notify assigned couriers automaticallyEnsures timely vehicle logistics
FR-50System must track delivery pricing separatelyEnables accurate service billing

4.11 Calendar & Reporting

IDRequirementBusiness Rationale
FR-51System must provide calendar view data for month/week/day viewsEnables resource planning
FR-52System must support filtering by vehicle, status, customer, companyEnables focused analysis
FR-53System must return calendar data within 500msEnsures usable operator experience

4.12 Document Management

IDRequirementBusiness Rationale
FR-54System must support document and photo attachmentsProvides complete order documentation
FR-55System must store check-in and check-out photos separatelyEnables before/after comparison
FR-56System must support video documentationProvides comprehensive evidence

4.13 Notes & Communication

IDRequirementBusiness Rationale
FR-57System must support operator notes visible to teamEnables internal communication
FR-58System must support private notes for admin/operator onlyProtects sensitive information
FR-59System must support location-specific notes (pickup/return addresses)Guides logistics operations

4.14 Multi-Company Operations

IDRequirementBusiness Rationale
FR-60System must associate orders with specific company within tenantEnables correct invoicing and reporting
FR-61System must support cross-company reporting for administratorsEnables business oversight
FR-62System must apply default company when not specifiedReduces operator errors

4.15 Audit & Compliance

IDRequirementBusiness Rationale
FR-63System must record creation and modification timestampsEnables audit trail
FR-64System must record user responsible for each changeEnables accountability
FR-65System must maintain modification historySupports dispute resolution and compliance
FR-66System must track order source (own system vs. external marketplace)Enables channel analysis

4.16 Cancellation

IDRequirementBusiness Rationale
FR-67System must support order cancellation with immediate availability releaseEnables rebooking by other customers
FR-68System must retain cancelled orders for historical reportingSupports business analysis

5. Acceptance Criteria

AC-01: Order Creation

Given a valid vehicle, customer, and date range
When operator creates a new order
Then order is created with Quote status, unique number assigned, and pricing calculated
And order appears in calendar view for the specified dates
And creation completes within 3 seconds

AC-02: Availability Checking

Given a vehicle and date range
When system checks availability
Then all confirmed and maintenance orders are checked for overlap
And availability status is returned (available/requested/reserved) within 1 second
And current order is excluded from check during edits

AC-03: Status Confirmation

Given an order in Quote status with available vehicle
When operator confirms the booking
Then status changes to Confirmed and confirmation timestamp is recorded
And vehicle becomes blocked for the date range
And relevant notifications are triggered

AC-04: Double-Booking Prevention

Given two overlapping booking requests for the same vehicle
When second booking attempts confirmation
Then system prevents confirmation with clear availability error
And zero double-bookings occur in production

AC-05: Check-In Completion

Given a Confirmed order
When operator performs check-in
Then check-in timestamp is recorded
And vehicle condition (odometer, fuel, damages) is captured
And photos are stored
And vehicle master record is updated

AC-06: Check-Out Completion

Given an order with completed check-in
When operator performs check-out
Then final vehicle condition is recorded
And extra kilometers are calculated if applicable
And order status automatically changes to Completed
And vehicle master record reflects final condition

AC-07: Damage Documentation

Given an order at check-in or check-out
When damages are documented
Then damage details include type, severity, location, photos, and notes
And damages are categorized by stage (pre-existing, check-in, check-out)
And vehicle master record is updated with cumulative damages

AC-08: Pricing Calculation

Given an order with vehicle, dates, extras, and insurance
When pricing is calculated
Then total includes base rental, seasonal adjustments, services, insurance, delivery, and VAT
And profit margin is calculated and visible
And manual override is supported with authorization

AC-09: Calendar View Performance

Given a date range request
When calendar data is requested
Then orders are returned with vehicle, customer, status, and dates
And response time is under 500ms
And filtering by vehicle, status, customer, company is functional

AC-10: Audit Trail Completeness

Given any order modification
When changes are saved
Then modification timestamp is recorded
And user who made change is recorded
And change history is preserved and queryable


6. Business Rules

Booking Workflow Rules

RuleDescriptionBusiness Impact
BR-01Orders follow valid status transitions only (Quote→Confirmed→Active→Completed)Maintains process integrity
BR-02Vehicles cannot have overlapping Confirmed or Maintenance ordersPrevents double-bookings
BR-03Quote orders create soft holds but don’t block availabilityBalances sales pipeline with fleet flexibility
BR-04Buffer time between bookings must be respectedEnsures vehicle preparation time
BR-05Terminology uses “Reservation” and “Booking” consistentlyProfessional customer communication

Check-In/Check-Out Rules

RuleDescriptionBusiness Impact
BR-06Check-in requires Confirmed statusEnsures proper booking workflow
BR-07Check-in captures mandatory condition data (odometer, fuel)Documents starting state
BR-08Check-out requires completed check-inEnsures proper sequence
BR-09Check-out automatically completes the orderStreamlines workflow
BR-10Extra kilometers = (final odometer - start odometer) - included kmEnables accurate overage billing

Pricing Rules

RuleDescriptionBusiness Impact
BR-11Base price = daily rate × daysStandard rental calculation
BR-12Seasonal tariffs modify base priceEnables demand-based pricing
BR-13Manual override requires authorization and bypasses auto-calculationEnables negotiated deals with control
BR-14Maintenance orders have zero price automaticallyPrevents revenue distortion
BR-15Partner vehicles use commission-based pricingEnables marketplace revenue sharing

Damage & Documentation Rules

RuleDescriptionBusiness Impact
BR-16Damages categorized by stage (pre-existing, check-in, check-out)Establishes clear responsibility
BR-17Each damage requires photo documentationProvides evidence for claims
BR-18Deleted damages tracked separatelyMaintains audit trail

Modification Rules

RuleDescriptionBusiness Impact
BR-19Pre-check-in: full modification with availability revalidationAccommodates customer changes
BR-20Post-check-in: limited to notes and non-critical fieldsProtects rental integrity
BR-21Post-checkout: immutable except admin correctionsMaintains completed record integrity

7. Dependencies

Upstream Dependencies (Required Before This System)

SystemDependency TypeImpact if Unavailable
Multi-Tenant ArchitectureCriticalCannot isolate tenant data
Authentication & AuthorizationCriticalCannot verify user access
Vehicle ManagementCriticalCannot check availability or assign vehicles
Client/Customer ManagementCriticalCannot assign customers to orders
Pricing SystemHighCannot calculate order pricing
Extras & InsuranceMediumCannot add value-added services

Downstream Dependencies (Systems That Use This)

SystemDependency TypeData Provided
Payment ProcessingCriticalOrder amounts, payment references
Communication SystemHighStatus changes for notifications
Self Check-InHighOrder data for kiosk operations
Marketplace IntegrationMediumOrder sync for external platforms

8. Glossary

TermDefinition
Order/Reservation/BookingA vehicle rental agreement containing customer, vehicle, dates, pricing, and status
QuoteInitial order status for unconfirmed inquiries; soft hold on availability
ConfirmedGuaranteed booking; vehicle is blocked for the date range
ActiveRental period in progress (between check-in and check-out)
Check-InProcess of documenting vehicle condition and starting the rental
Check-OutProcess of documenting final condition and ending the rental
Double-BookingConflict where two confirmed orders overlap for the same vehicle
Buffer TimeMinimum gap required between bookings for vehicle preparation
Extra KilometersDistance driven beyond included allowance; subject to overage charges
Damage DocumentationPhotos, descriptions, and location data recording vehicle condition
CommissionRevenue share paid to partners for marketplace vehicle rentals
CourierStaff member assigned to deliver or collect vehicles

9. Non-Functional Requirements

CategoryRequirementTarget
PerformanceCalendar view response time<500ms
PerformanceSingle order retrieval<500ms
PerformanceAvailability check<1 second
AvailabilitySystem uptime99.5%
ScalabilityConcurrent users per tenant100+
SecurityTenant data isolation100% enforced
AuditChange traceability100% of modifications
Data IntegrityDouble-booking preventionZero confirmed conflicts

10. Approval

RoleNameDateSignature
Product Owner
Operations Lead
Engineering Lead
Business Stakeholder