JK Billing

Installation

Follow these steps to install JK Billing on your FiveM server.

Step by step

  1. 1

    Download & extract

    Download the JK-Billing resource from your purchase and extract it into your resources directory (e.g. resources/[standalone]/JK-Billing). Make sure the folder is named exactly JK-Billing.

  2. 2

    Database setup

    Import the SQL file at sql/jk_billing.sql into your MySQL database. It creates:

    jk_billing.sql
    -- Tables created:
    -- jk_billing_invoices   -> Stores all invoices (received, sent, society)
    -- jk_billing_categories -> Product catalog categories per job
    -- jk_billing_products   -> Product catalog items per job
    -- jk_billing_tablets    -> Placed in-world tablet locations
    Auto-createThe invoices table is also auto-created on resource start if missing. Still, importing the full SQL ensures all tables (products, categories, tablets) are ready.
  3. 3

    Server configuration

    Add the resource to your server.cfg:

    server.cfg
    # Ensure your database resource starts first
    ensure oxmysql
    
    # Ensure your framework (if applicable)
    ensure es_extended   # or qb-core / qbx_core
    
    # Start JK Billing
    ensure JK-Billing
    Auto-detectionJK Billing auto-detects your framework and banking system. In most cases no manual configuration is needed beyond ensure JK-Billing.
  4. 4

    Configure (optional)

    Edit config.lua to customize language, keybinds, job permissions and more. See the Configuration page.

  5. 5

    Verify installation

    Start your server and check the console for:

    console
    [JK-Billing] started | framework=esx | banking=esx_society | db=oxmysql
    [JK-Billing] Loaded 0 catalog tablets

    In-game, press F5 (default) or type /invoices to open the billing UI.

Supported database drivers

oxmysqlmysql-asyncghmattimysql

All three are auto-detected — oxmysql is recommended.