# FHWA Inspection

This section is where you manage all annual federal inspections for a truck, known as FHWA inspections. These records are part of the compliance lifecycle and are located inside the Truck Details view.

***

### What You Can Do

* View the latest FHWA inspection date and its expiration status
* Add a new inspection record when a new one is issued
* Upload supporting documents (PDF, scan, etc.)
* Leave a note with any additional context
* Review expired inspections in a collapsed history list
* Edit or delete the latest entry (if needed)

{% hint style="warning" %}
FHWA is editable only for active trucks. If the truck is inactive, the tab is view-only.
{% endhint %}

***

### How to Add or Edit FHWA Inspection

To **add a new inspection**:

1. Click the ➕ icon at the top-right of the FHWA card
2. Fill in the **Issue Date**
3. Select the **Expiration Period** (e.g. 12 months)
4. Upload the inspection document (optional)
5. Add a note (optional)
6. Click **Save**

To **edit**, open the menu on the inspection card and click **Edit** to update the issue date, expiration period, or attachments.

To **delete**, click the same menu and choose **Delete**. The inspection will be removed along with any files or notes.

#### Fields in the Add FHWA Modal

<table><thead><tr><th width="200">Field</th><th width="90" align="center">Required</th><th>Description</th></tr></thead><tbody><tr><td>Issue Date</td><td align="center">✅</td><td>The date the FHWA inspection was performed</td></tr><tr><td>Expiration Period</td><td align="center">✅</td><td>Duration of validity (e.g., 12 months); defines how long the inspection is valid</td></tr><tr><td>Document Upload</td><td align="center">Optional</td><td>Upload of the FHWA report (PDF, scan, etc.)</td></tr><tr><td>Note</td><td align="center">Optional</td><td>Internal comments related to the inspection or technician remarks</td></tr></tbody></table>

***

### What the FHWA Card Shows

Each FHWA inspection record displays:

* **Issue Date**
* **Expiration countdown** with a colored bar
* Attached **Document** (if available)
* Optional **Note**
* Expired entries grouped below and marked clearly

***

### Expiration Bar Logic

The expiration bar gives a quick visual of how close the inspection is to expiring:

* **Gray** = Safe (more than 50% time left)
* **Yellow** = Warning (20–50% left)
* **Red** = Critical (less than 20% left)
* **Expired** = Clearly shown in red with “X days ago”

A tooltip shows the exact expiration date and time left.

***

### Common Scenarios

Use this tab when:

* A new federal inspection is performed on the truck
* You need to upload the official FHWA form
* You're preparing for audits or road checks
* You want to check when the next inspection is due

***

**Image Placeholder:**\
`![FHWA Inspection](../assets/fhwa-inspection.png)`\
\&#xNAN;*Figure: Active truck with one current and two expired FHWA inspections listed, document attached, expiration bar visible.*


---

# 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/fhwa-inspection.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.
