# Registration

The **Registration** section helps you keep track of all active and past registration records for each truck. It lives inside the Truck Details view and ensures you're never caught off guard with expired paperwork.

***

#### What You Can Do Here

You can:

* See the current registration info at a glance
* Quickly add a new registration record
* Edit an existing one if the details change
* Upload documents and leave notes
* Track expiration visually with the color bar
* View older, expired, or voided registrations

For inactive trucks, everything is still visible—but locked. You won’t be able to add or change anything, but you can view all past data and attached files.

***

#### Understanding the Expiration Bar

Each registration has a **colored bar** that tells you how close it is to expiring:

* **Gray** = Still early (50% or more of time left)
* **Yellow** = Getting close (20%–50% remaining)
* **Red** = Urgent! (Less than 20% left)
* **Expired** = Clearly marked with how many days ago it expired (in red text)

Hover over the bar to see the exact expiration date and how many days are left.

***

#### How to Add a New Registration

Click the blue plus icon at the top of the Registration tab. This opens a simple form where you’ll fill in:

* **License Plate**
* **State**
* **Issue Date**
* **Expiration Date**

You can also:

* Upload a document (like a scanned registration certificate)
* Add a short note to explain anything special

Click **Save**, and the new record will show up instantly. If the truck already had a registration, that one gets marked as expired automatically.

#### Fields in the Add Registration Modal

<table><thead><tr><th width="200">Field</th><th width="90" align="center">Required</th><th>Description</th></tr></thead><tbody><tr><td>License Plate</td><td align="center">✅</td><td>The truck’s plate number as issued by the state</td></tr><tr><td>State</td><td align="center">✅</td><td>The U.S. state where the truck is registered</td></tr><tr><td>Issue Date</td><td align="center">✅</td><td>The official date the registration became valid</td></tr><tr><td>Expiration Date</td><td align="center">✅</td><td>The date the registration will expire</td></tr><tr><td>Document Upload</td><td align="center">Optional</td><td>PDF or image of the registration certificate</td></tr><tr><td>Note</td><td align="center">Optional</td><td>Internal comments or details relevant to the registration record</td></tr></tbody></table>

***

#### How to Edit an Existing One

Click the three dots on any registration card and choose **Edit**. You can update the dates or fix typos in the license plate or state. Once saved, the expiration bar updates to match the new dates.

***

#### How to Delete a Registration

If something was added by mistake, open the menu (three dots) and choose **Delete**. After confirmation, the record and any files or notes will be removed.

{% hint style="warning" %}
You can’t delete voided or expired entries — only active ones.
{% endhint %}

***

#### What the Registration Card Shows

Every entry includes:

* License plate
* State
* Issued date
* Expiration date
* Color-coded expiration bar
* A document preview (if uploaded)
* A note section
* Three-dot menu with actions (Edit/Delete)

Older entries (expired or voided) appear collapsed below the current one. You can expand them anytime to review details or documents.

***

#### When Is This Used?

You’ll use this when:

* A truck gets a new license plate or renews its registration
* You’re checking if anything’s about to expire soon
* Auditors or compliance staff need a PDF copy of the registration
* You want a quick way to store state-specific info without digging through files

This section is built to help you stay compliant and organized—without needing to rely on spreadsheets or email reminders.

***

**Image Placeholder:**\
`![TruckRegistrationCard](../assets/truck-registration-card.png)`\
\&#xNAN;*Figure: Expanded Registration card showing expiration warning, uploaded document, and note.*


---

# 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/truck-details/registration.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.
