vehicles_create
Add a vehicle to a company, normalizing the plate to uppercase, then attach its documents with expiries_create.
Instructions
Add a vehicle to the company. The plate is normalised to upper case. Add its documents afterwards with expiries_create (vehicleId).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | No | ||
| fuel | No | ||
| make | No | ||
| year | No | Year of manufacture | |
| model | No | ||
| notes | No | ||
| plate | Yes | Registration plate, e.g. "B 123 ABC" | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| ownership | No | own (default), leasing or rented | |
| driverName | No |