> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aps-store.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle Insurance

Players insure the vehicles they own. Prices scale with the vehicle's value, its category and the plan length.

```lua theme={null}
price = max(minPrice, floor(vehiclePrice × basePctPerDay × categoryMultiplier × days))
```

Example: a $900,000 super car (multiplier 1.5) for 30 days with `basePctPerDay = 0.00005` costs **$2,025\*\*.

```lua theme={null}
Config.Insurance = {
    basePctPerDay      = 0.00005,
    categoryMultiplier = { super = 1.5, sports = 1.3, sedan = 0.9, military = 2.0 },
    defaultMultiplier  = 1.0,
    minPrice           = 100,
    plans = {
        { label = '7 Days', days = 7 }, { label = '30 Days', days = 30 },
        { label = '90 Days', days = 90 }, { label = '1 Year', days = 365 },
    },
}
```

Category names must match the vehicle categories of your catalog (`vehicles` table on ESX, shared vehicles on QBCore / Qbox). Buying a new plan while insured extends the current expiry date.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.