# MVR

The MVR (Motor Vehicle Record) section stores driving history documents linked to a driver’s active CDL. Each MVR entry includes the license it belongs to, issue date, optional notes, and an uploaded file. Users can add, edit, and manage MVR records across multiple CDL cycles.

`![DriverMVRModal](../assets/driver-mvr-modal.png)`\
\&#xNAN;*Figure: MVR modal with CDL linkage, validation, and upload options.*

#### Add MVR Modal

<table><thead><tr><th width="200">Field</th><th width="90" align="center">Required</th><th>Description</th></tr></thead><tbody><tr><td>CDL</td><td align="center">✅</td><td>Required when more than one CDL exists; auto-filled if only one</td></tr><tr><td>Issue Date</td><td align="center">✅</td><td>The date the MVR document was issued</td></tr><tr><td>File Upload</td><td align="center">Optional</td><td>Drag-and-drop upload; may be required depending on company policy</td></tr><tr><td>Notes</td><td align="center">Optional</td><td>Text field for context, remarks, or additional notes</td></tr></tbody></table>

* When no valid CDL exists, the dropdown is empty and shows “No result.”
* An “Add CDL” button appears inline to quickly create a new license.

#### Edit MVR Modal

* CDL is locked if only one active license exists.
* If multiple CDLs are present, dropdown remains editable.
* For expired or voided CDL:
  * No dropdown result is shown.
  * “**Add CDL**” option is available.
* File upload can be replaced or deleted.
* Save and Delete buttons are available.

#### Validation Rules

* CDL selection is mandatory unless only one is auto-selected.
* Issue Date must be a valid past or current date.
* If the CDL is expired, system restricts changes unless new CDL is added.

#### UI Notes

* If no active CDL is found, modal prompts the user to add one.
* The modal behaves contextually based on driver’s current license state.
* File preview appears if previously uploaded.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rute.gitbook.io/carrier/compliance/mvr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
