vehicles_list
List company vehicles with their soonest expiry status and expired/due/ok counts. Filter by active state or search by plate, make, model, driver, or VIN.
Instructions
Vehicles of the company (parc auto) with, per vehicle, nextExpiry (the soonest open expiry item: kind, label, expiresAt, daysLeft, status ok | due | expired) and counts {expired, due, ok}. Filter with active and search (plate, make, model, driver, VIN).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | Only active (true) or only inactive (false) vehicles | |
| search | No | ||
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) |