Skip to content

Tenant Settings - Product Requirements Document

Version: 2.0 | Status: Business Review | Date: 2026-01-15
Previous Version: 1.0 (Technical Draft) | Author: Product Team


Change Log

VersionDateChangesAuthor
2.02026-01-15Business-focused conversion: measurable outcomes, success metrics, consolidated requirementsProduct Team
1.02026-01-09Initial technical draftEngineering

1. Overview

1.1 Purpose

Tenant Settings enables rental companies to configure their unique business operations within Toprent.app. Each tenant maintains isolated configuration for business rules, branding, pricing, integrations, localization, and operational preferences—allowing diverse rental companies to operate on shared infrastructure while maintaining business independence.

1.2 Problem Statement

Rental companies across different markets have distinct business models, regulatory requirements, branding standards, and operational workflows. Without comprehensive configuration capabilities, companies must adapt their processes to fit rigid software constraints, resulting in operational friction, compliance risks, and competitive disadvantage. Tenant Settings solves this by enabling each company to configure the platform to match their specific needs.

1.3 Business Value

Value AreaMeasurable OutcomeTargetMeasurement Method
Time-to-ValueNew tenant fully operationalWithin 2 hours of onboardingOnboarding completion tracking
Operational EfficiencyReduction in repetitive data entry50% fewer manual entriesWorkflow time studies
Compliance RateInvoices meeting regional tax requirements100% complianceInvoice audit sampling
Brand ConsistencyCustomer-facing documents matching brand guidelines95%+ brand complianceDocument review audits
Support ReductionConfiguration-related support tickets40% reduction within 6 monthsHelp desk ticket categorization
Market CoverageSupported currency/timezone combinations50+ currencies, all IANA timezonesFeature coverage tracking

1.4 Target Users

UserBusiness ContextSettings Access
Business AdminCompany owners/managers responsible for business configurationFull read/write access to all settings
Operations StaffDaily operators managing reservations and customersRead-only access, personal notification preferences
Platform SupportToprent support team assisting with configuration issuesView access for troubleshooting

1.5 Scope

In Scope:

  • Regional settings (currency, timezone, distance units, language)
  • Business rules (reservation intervals, pricing policies, cancellation terms)
  • Branding (agreement templates, email formatting, document logos)
  • Financial configuration (VAT, invoice formatting, electronic billing)
  • Integration management (payment processing, marketplace, external systems)
  • Communication preferences (automated emails, notifications)
  • Calendar and UI defaults

Out of Scope:

  • User management and access control (PRD-02)
  • Fleet management and vehicle configuration (PRD-03)
  • Order processing logic (PRD-06)
  • Payment transaction handling (PRD-09)

2. Success Metrics

MetricDefinitionBaselineTargetMeasurement MethodTimeframe
Onboarding Completion Rate% of new tenants completing essential configuration70%95%Onboarding funnel analytics3 months
Configuration TimeAverage time to complete initial setup4 hours1.5 hoursSession duration tracking3 months
Settings-Related Support TicketsMonthly tickets about configuration issues120 tickets/month72 tickets/month (-40%)Help desk categorization6 months
Invoice Compliance Rate% of invoices passing regional tax audits92%100%Quarterly audit results6 months
Brand Guideline Adherence% of documents matching tenant branding80%95%Monthly document audits6 months
Configuration Error RateInvalid settings requiring correction8% of saves<2% of savesValidation rejection logs3 months
Self-Service Resolution% of configuration changes without support75%90%Support ticket correlation6 months

3. User Stories

Business Admin Stories

PriorityUser StoryAcceptance Criteria
P0As a business admin, I want to set my company’s currency, timezone, and distance units so all transactions reflect my regional standardsSettings save successfully; all displays update to reflect new regional settings; historical data retains original units
P0As a business admin, I want to configure VAT percentage and invoice formatting so financial documents comply with local regulationsVAT applied correctly on invoices; electronic billing submission succeeds; audit trail shows compliance
P0As a business admin, I want to connect my Stripe account so customer payments flow to my businessValid Stripe credentials accepted; invalid keys rejected with clear error; payment processing enabled
P0As a business admin, I want to customize rental agreements with my branding so customers see professional documentsLogo displays on generated agreements; multi-language text appears correctly; PDF generation includes all branding elements
P1As a business admin, I want to define reservation rules and buffer times so operators follow consistent booking policiesInterval warnings display at correct thresholds; calendar highlights approaching deadlines
P1As a business admin, I want to configure marketplace participation so I can share fleet with partner networksMarketplace toggle enables/disables visibility; delivery pricing calculates correctly; distance limits enforced
P1As a business admin, I want to set cancellation policies so customers understand refund termsPolicy displays before booking; refunds calculate per policy; policy changes don’t affect existing bookings
P2As a business admin, I want to customize calendar defaults so my team sees relevant views on loginDefault view loads on first access; users can override temporarily; preferences persist across sessions
P2As a business admin, I want to control email branding so communications match my brand standardsBranded emails include logo and colors; disabling removes branding; preview shows actual formatting

Operations Staff Stories

PriorityUser StoryAcceptance Criteria
P0As operations staff, I want regional settings applied automatically so transactions and schedules are correctAll times display in tenant timezone; currency formatting consistent; distance calculations accurate
P1As operations staff, I want my personal notification preferences so I receive relevant alertsPreferences persist; notification delivery respects preferences; changes take effect immediately
P2As operations staff, I want appropriate calendar defaults so I can quickly access relevant reservationsView defaults match admin configuration; filtering options work correctly

Platform Support Stories

PriorityUser StoryAcceptance Criteria
P1As platform support, I want to view tenant settings so I can diagnose configuration issuesAll settings visible in read-only mode; tenant isolation maintained; no cross-tenant access
P2As platform support, I want settings change history so I can track when configurations were modifiedAudit log shows changes; timestamps accurate; user identity recorded

4. Functional Requirements

IDRequirementPriorityBusiness Rationale
FR-001Each tenant must have exactly one settings record with complete isolationP0Data security and multi-tenant integrity
FR-002Currency selection must support 50+ global currencies with proper formattingP0International market support
FR-003Timezone selection must support all IANA timezones with DST handlingP0Global operations scheduling
FR-004VAT configuration must support 0-100% rates with inclusive/exclusive toggleP0Regional tax compliance
FR-005Stripe integration must validate credentials before enabling payment processingP0Payment reliability and security
FR-006Agreement templates must support multi-language content with image brandingP0Professional customer experience
FR-007Reservation interval warnings must be configurable (1-168 hours)P1Operational flexibility
FR-008Extra day billing threshold must be configurable (1-12 hours)P1Revenue optimization
FR-009Marketplace settings must include delivery pricing and distance limitsP1Partner network participation
FR-010Cancellation policies must define time-based refund percentagesP1Customer transparency
FR-011Electronic billing integration must validate provider connectivityP1Regulatory compliance
FR-012Calendar and UI defaults must be configurable per tenantP2Workflow optimization
FR-013Email branding must be independently toggleableP2Brand control
FR-014Distance units must support kilometers and miles with automatic conversionP2Regional preference
FR-015Settings changes must be logged with user identity and timestampP2Audit trail requirements
FR-016All settings updates must validate data integrity before savingP0Configuration reliability
FR-017Settings must persist across user sessions without data lossP0Operational continuity
FR-018Invalid input must be rejected with clear, actionable error messagesP1User self-service capability

5. Acceptance Criteria

AC-001: Regional Settings Configuration

Given a business admin accessing Settings
When they configure currency (EUR→USD), timezone (Europe/Rome→America/New_York), and distance units (km→mi)
Then all system displays reflect the new settings within 5 seconds; historical records retain original units; success confirmation displays

AC-002: VAT and Invoice Compliance

Given a business admin configuring invoicing
When they set VAT to 21% with “prices include VAT” enabled
Then generated invoices show correct VAT breakdown; total equals displayed prices; invoice passes compliance validation

AC-003: Payment Integration Setup

Given a business admin setting up Stripe
When they enter a valid public key
Then the key is validated; payment processing is enabled; invalid keys are rejected with specific error message

AC-004: Agreement Branding

Given a business admin customizing agreements
When they upload logo and enter multi-language text
Then generated agreements display logo correctly; text appears in customer’s language; PDF renders all branding elements

AC-005: Reservation Interval Enforcement

Given a configured 48-hour reservation interval
When a booking is created within 48 hours of pickup
Then the system displays a warning to the operator; calendar highlights the reservation; booking proceeds with acknowledgment

AC-006: Marketplace Participation

Given marketplace enabled with €2.50/km delivery and 100km max distance
When vehicles are listed
Then vehicles appear to marketplace partners; delivery pricing calculates correctly; orders beyond 100km are rejected

AC-007: Cancellation Policy Application

Given a cancellation policy with 75% refund >7 days, 50% refund 3-7 days, 0% refund <3 days
When customers cancel at different intervals
Then refunds calculate per policy; policy displays before booking; existing bookings honor policy at booking time

AC-008: Configuration Error Handling

Given a business admin entering invalid data (negative VAT, invalid timezone, malformed Stripe key)
When they attempt to save
Then validation rejects with specific error message; previous valid settings are preserved; error guidance enables correction

AC-009: Settings Persistence

Given a business admin saving configuration changes
When they log out and return
Then all settings are preserved exactly as saved; system operates according to saved configuration

AC-010: Tenant Data Isolation

Given users from different tenants
When they access settings
Then each user sees only their tenant’s settings; cross-tenant access attempts fail with authorization error


6. Business Rules

IDRuleBusiness Rationale
BR-001One settings record per tenant, enforced at database levelMulti-tenant data integrity
BR-002Currency changes require confirmation when active orders existPrevents financial discrepancies
BR-003Stripe requires both account ID and valid public keyPayment processing reliability
BR-004Marketplace participation requires explicit opt-in with delivery configurationPartner network protection
BR-005VAT settings affect display only; calculation logic is consistentTax compliance
BR-006Electronic billing requires validated provider connectionRegulatory submission reliability
BR-007Agreement templates require at least one language versionCustomer document delivery
BR-008Timezone changes recalculate scheduled notificationsCommunication accuracy
BR-009Cancellation policy changes apply to future bookings onlyCustomer fairness
BR-010Settings validation must reject partial updates; all-or-nothing commitsConfiguration integrity

7. Dependencies

Internal Systems

SystemDependency TypeImpact
Multi-Tenant Architecture (PRD-01)FoundationSettings scoped by tenantId via RLS
Authentication (PRD-02)Access ControlRole determines settings permissions
Payment Processing (PRD-09)IntegrationStripe settings enable payments
Communication System (PRD-10)ConfigurationEmail branding, notification triggers
Pricing Engine (PRD-07)ConfigurationTariff settings, VAT, seasonal matrices
Marketplace (PRD-13)IntegrationCross-tenant sharing configuration

External Services

ServicePurposeFailure Impact
Stripe APIPayment credential validationCannot enable payment processing
Electronic Billing ProvidersInvoice submissionCannot meet regulatory requirements
Cloud StorageAgreement imagesBranded documents unavailable
Timezone DatabaseDST calculationsScheduling inaccuracies

8. Non-Functional Requirements

CategoryRequirementTarget
PerformanceSettings retrieval<200ms response time
AvailabilitySettings service uptime99.9% availability
SecurityTenant isolationZero cross-tenant data access
AuditChange trackingAll modifications logged with user/timestamp
UsabilityConfiguration completion90% self-service without support

9. Future Considerations

  • Settings import/export for tenant migration
  • Configuration templates for common business types
  • Settings recommendations based on industry and region
  • Advanced delegation for operator-level configuration
  • Real-time settings sync across devices

10. Glossary

TermDefinition
TenantA rental company operating with isolated data and configuration
RLSRow-Level Security ensuring data isolation at database level
Tariff TypePricing calculation methodology (flat, distance, time, dynamic)
Electronic BillingAutomated invoice submission to tax authorities
MarketplaceCross-tenant vehicle sharing network
Reservation IntervalMinimum lead time before pickup for operator notifications