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

# okokBillingV3

**YouTube Video (Soon)**

## Installation Guide

### Requirements

[**okokLib v1.0.0+**](https://docs.okokscripts.io/lib/okoklib.md) - Included with **okokBillingV3**. No separate download is required.

{% hint style="warning" %}
Please refer to the [**okokLib documentation**](https://docs.okokscripts.io/) and follow its **Installation Guide** to ensure everything is set up correctly.
{% endhint %}

### Database Setup & Automatic Migration

**No manual SQL installation or database migration is required.** okokBillingV3 handles everything automatically when the resource starts.

* **Upgrading from okokBillingV2?** All existing invoices from V2 are automatically migrated to V3, preserving your invoice data without requiring any manual intervention.
* **Installing for the first time?** All required database tables are automatically created during the initial startup.

Simply install the resource and start your server. **No SQL imports, manual migrations, or additional setup needed!**

### Server Artifacts

Make sure your server artifacts version is above the **35245**.

* Windows: <https://runtime.fivem.net/artifacts/fivem/build_server_windows/master/>
* Linux: <https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/>
