> For the complete documentation index, see [llms.txt](https://docs.av-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.av-scripts.com/guides/dealerships/exports.md).

# Exports

## isFinanced()

> You can use this export **server side** to verify if a vehicle is financed.
>
> **params:**
>
> * **plates** `string`&#x20;
>
> **returns:**
>
> * **result** `boolean`&#x20;
>
> ```lua
> local isFinanced = exports['av_dealership']:isFinanced(plates)
> if isFinanced then
>     print("You can't sell this vehicle.")
> end
> ```

## isRented()

> Use this export server side to verify if the vehicle is rented.
>
> **params:**
>
> * **plates** `string`
>
> **returns:**
>
> * **result** `boolean`&#x20;
>
> ```lua
> local isRented = exports['av_dealership']:isRented(plates)
> if isRented then
>     print("You can't sell this vehicle")
> end
> ```
