SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



Banking and Billing

Scripts · FiveM Ready

Common Issues

UI does not open

Check bank/ATM distance, NUI files, and that resource started without errors.

DB startup error

Ensure oxmysql or mysql-async is running before this script.

Faction account unavailable

Verify player job, configured faction key, and minGrade requirement.

Transfer fails

Target account may not exist, be own account, or balance might be insufficient.

Invoice auto-pay not working

Check Config.InvoiceLifecycle.enabled, intervals, and available bank funds.

Standing order not executing

Validate interval, context (personal/faction), and due run timestamps in DB.

Quick Checklist

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

# In-game checks
Near bank: E -> opens UI
F7 -> opens billing
/createbill 1 100 Test

# Tables exist
bankhistory
smx_banking_accounts
smx_banking_bills
smx_banking_standing_orders
smx_banking_savings_goals
Tip: If an issue is intermittent, log exact event name + timestamp and compare with DB row changes for the same time window.