SMX logo

SMX Documentation

Production-grade Script Knowledge Base

Build 2026.04 Live Docs



Banking and Billing

Scripts · FiveM Ready

Product Overview

smx-banking is a complete banking and invoice platform for FiveM with personal accounts, faction accounts, recurring standing orders, savings goals, and a separate billing UI.

2Frameworks (ESX/QB)
6+Core DB tables
2UI modules (Bank + Billing)
DE/ENLocalized UI + messages
Architecture: Event-first runtime with callback-driven UI data loads and automatic SQL migration/bootstrap on resource start.

Feature Scope

Account Core

Withdraw, deposit, transfer, account-number management, transaction history.

Billing

Create and pay invoices, faction invoice routing, pay-all flow, invoice status tracking.

Automation

Invoice lifecycle warnings + auto-pay, recurring standing orders with run history.

Savings

Create goals, add/remove funds, reached-state checks, controlled cashout/refund logic.

Technical Notes

  • Framework detection: auto, ESX, OLDESX, QB
  • Database detection: auto, oxmysql, mysql-async
  • NUI entrypoint: html/index.html with main.js
  • Supports bank locations + ATM object interaction + optional test NPC invoice source
  • No custom public exports; integrations use events/callbacks/commands