> For the complete documentation index, see [llms.txt](https://infiniti-scripts.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infiniti-scripts.gitbook.io/home/scripts/advance-billing/installation.md).

# Installation

## Step 1

Unzip and drag the resource Infin\_Billing to your resource folder

## Step 2

Customize the config.lua to your likings

## Step 3

In your server.cfg, make sure your starting our Infin\_Bridge system before our billing system, it should loook somthing similar to below:&#x20;

```
ensure Infin_Bridge
ensure Infin_Billing
```

## Step 4

Restart your server and have fun!

***

{% hint style="info" %}
If AutoImportSQL is enabled (true), we will automatically import our sql table into the database if not already present, if you would like to do it manually, import the sql below into your database.

```sql
CREATE TABLE `infin_billing` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sender` varchar(50) NOT NULL,
  `receiver` varchar(50) NOT NULL,
  `amount` int(11) NOT NULL,
  `reason` varchar(255) NOT NULL,
  `status` varchar(10) NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'personal',
  `playername` varchar(255) NOT NULL DEFAULT 'Unknown',
  `due_date` DATE DEFAULT NULL,
  `referenceid` varchar(6) NOT NULL,
  `society_name` varchar(100) DEFAULT NULL, 
  PRIMARY KEY (`id`)
);
```

{% endhint %}
