> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/Braian551/viax/llms.txt
> Use this file to discover all available pages before exploring further.

# Ride History

> View and manage your past Viax trips, receipts, and travel records

## Overview

Your ride history provides a complete record of all your Viax trips, including receipts, route details, and driver information. Access past trips anytime to review fares, download receipts, or report issues.

## Accessing Your History

<Steps>
  <Step title="Open menu">
    Tap the menu icon in the app home screen
  </Step>

  <Step title="Select 'My Trips'">
    Navigate to your trip history section
  </Step>

  <Step title="Browse trips">
    Scroll through your chronological trip list
  </Step>

  <Step title="View details">
    Tap any trip to see complete information
  </Step>
</Steps>

## Trip History View

Your trip list shows:

```json theme={null}
{
  "trips": [
    {
      "trip_id": "VX-2024-12345",
      "date": "2024-03-05",
      "time": "14:30",
      "from": "Calle 72 #10-34",
      "to": "Carrera 15 #85-23",
      "fare": 12500,
      "status": "completed",
      "vehicle_type": "carro",
      "driver_name": "Carlos Rodríguez"
    }
  ]
}
```

<CardGroup cols={2}>\n  <Card title="Recent Trips" icon="clock">\n    Last 30 days displayed by default\n  </Card>\n  <Card title="All History" icon="calendar">\n    Access your complete trip archive\n  </Card>\n  <Card title="Receipts" icon="receipt">\n    Download PDF receipts for any trip\n  </Card>\n  <Card title="Favorites" icon="star">\n    Mark frequent routes as favorites\n  </Card>\n</CardGroup>

## Filtering and Search

Find specific trips quickly:

<Tabs>
  <Tab title="By Date">
    * Today
    * Last 7 days
    * Last 30 days
    * Last 3 months
    * Custom date range
  </Tab>

  <Tab title="By Status">
    * Completed trips
    * Cancelled trips
    * Disputed trips
    * All statuses
  </Tab>

  <Tab title="By Location">
    Search by:

    * Pickup address
    * Destination address
    * Nearby trips
  </Tab>

  <Tab title="By Amount">
    Filter by fare:

    * Under \$10,000 COP
    * $10,000 - $20,000
    * $20,000 - $50,000
    * Over \$50,000
    * Custom range
  </Tab>
</Tabs>

## Trip Details

Tap any trip to view complete information:

### Basic Information

* Trip ID (unique identifier)
* Date and time
* Pickup and destination addresses
* Distance traveled
* Trip duration
* Vehicle type
* Final fare

### Driver Information

* Driver name
* Driver rating
* Vehicle details
* License plate
* Your rating for this trip

### Route Details

* Map showing actual route taken
* Pickup location marker
* Destination marker
* Route highlighted

### Fare Breakdown

* Base fare
* Distance charge
* Time charge
* Surge pricing (if any)
* Discounts applied
* Total amount

## Downloading Receipts

Every trip has a digital receipt:

<Steps>
  <Step title="Open trip details">
    Select the trip from your history
  </Step>

  <Step title="Tap 'View Receipt'">
    Open the detailed receipt view
  </Step>

  <Step title="Choose format">
    Select PDF or email delivery
  </Step>

  <Step title="Download or share">
    Save to device or send via email
  </Step>
</Steps>

<Note>
  Receipts include all required information for expense reimbursement and tax purposes.
</Note>

## Reporting Issues

Report problems with past trips:

<Accordion title="Fare Dispute">
  If you believe you were overcharged:

  * Tap "Report Issue" on the trip
  * Select "Fare Dispute"
  * Explain the issue
  * Attach evidence (screenshots, etc.)
  * Submit for review
</Accordion>

<Accordion title="Service Quality">
  Report driver behavior or service issues:

  * Poor driving
  * Unprofessional conduct
  * Route deviation
  * Vehicle condition
  * Safety concerns
</Accordion>

<Accordion title="Lost Items">
  Report items left in the vehicle:

  * Description of item
  * Approximate location in car
  * Contact information
  * Driver will be notified
</Accordion>

## Trip Statistics

View your travel analytics:

```dart theme={null}
class TripStatistics {
  final int totalTrips;
  final double totalDistance; // km
  final int totalDuration; // minutes  
  final double totalSpent; // COP
  final Map<String, int> vehicleTypeBreakdown;
  final double averageFare;
  final double averageRating;
}
```

<CardGroup cols={3}>
  <Card title="Total Trips" icon="hashtag">
    Number of completed trips
  </Card>

  <Card title="Distance Traveled" icon="road">
    Total kilometers
  </Card>

  <Card title="Time Saved" icon="clock">
    Total trip duration
  </Card>

  <Card title="Amount Spent" icon="money-bill">
    Total fare paid
  </Card>

  <Card title="Favorite Route" icon="heart">
    Most frequent destination
  </Card>

  <Card title="Average Rating" icon="star">
    Your rating to drivers
  </Card>
</CardGroup>

## Exporting History

Export your trip data:

* **CSV Format**: Spreadsheet compatible
* **PDF Report**: Monthly summaries
* **JSON**: Complete data export
* **Tax Report**: Annual summary

## Next Steps

<CardGroup cols={2}>
  <Card title="Profile Management" icon="user" href="/users/profile-management">
    Update your user profile and preferences
  </Card>

  <Card title="Booking a Ride" icon="car" href="/users/booking-a-ride">
    Request your next trip
  </Card>
</CardGroup>
