SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



Banking and Billing

Scripts · FiveM Ready

Installation Blueprint

Step 1: Place Resource

Extract to resources/[smx]/smx-banking and keep folder name unchanged.

Step 2: Start Dependencies

Start your framework and DB resource before smx-banking.

Step 3: Configure Basics

Set framework/database mode in config.lua (auto works for most setups).

Step 4: First Boot

Start server once to create/migrate tables automatically.

Step 5: Functional Test

Test bank UI open, transfer, invoice create/pay, and billing menu keybind (F7 by default).

Recommended server.cfg Order

ensure oxmysql          # or ensure mysql-async
ensure es_extended      # or ensure qb-core
ensure smx-banking

The script auto-detects the active database adapter and framework, but startup order must still be correct.

SQL Setup

bank.sql is included for manual deployment, but the script also creates tables at runtime in server/database.lua.

bankhistory
smx_banking_accounts
smx_banking_faction_accounts
smx_banking_bills
smx_banking_standing_orders
smx_banking_standing_order_runs
smx_banking_savings_goals
Important: Existing legacy table names are migrated automatically if detected.