Browse docs
Banking
Installation
Sky Banking includes personal Banking, Society Banking and Billing inside one resource. Use the complete sky_banking folder from the download, with its supplied interface, configuration and images. The required dependencies are your ESX, QBCore or Qbox framework and oxmysql. In 1.6.1 and later, the society account provider is required only when Society Banking or Billing is enabled.
If updating the published 1.2.0 package, follow the complete 1.6.0 update guide before replacing configuration. Keep old external invoice tables and their collection workflow: they are not copied into Banking's new invoice ledger.
- Back up the existing resource and database before installing or updating. Keep the folder name
sky_banking. - Open
sky_banking/config/config.lua. Choose your locale, framework/resource names and society provider. Retain every section from the new supplied file; the older 1.2.0 configuration cannot be copied back unchanged. - Start your chosen framework and oxmysql before Banking. When Society Banking or Billing is enabled, also start the selected society provider before Banking. On an ESX company-banking setup using ESX Addon Account, the relevant order is:
ensure es_extended
ensure esx_addonaccount
ensure oxmysql
ensure sky_banking
For QBCore company features, use the actual qb-core and qb-banking names. For Qbox company features, use qbx_core and the configured Renewed-Banking resource, keeping their own provider dependencies in the correct order. For personal banking only on 1.6.1 or later, set the existing Enabled value to false in both Config.SocietyBanking and Config.Billing in config/config.lua; then omit the society-provider start line. Config.SocietyProvider can stay "auto". Both features remain enabled in the supplied defaults.
- Restart the server and reconnect. Banking creates/upgrades its tables automatically; no manual SQL import is needed for the normal setup. The SQL user needs permission to create/alter tables and read/write records.
import.sqlis supplied as the current schema reference. - At a configured branch or supported ATM, use the selected interaction key (default E). Check a small deposit, withdrawal and transfer to another online player's six-digit Banking account, then verify balances and recent history.
The standalone resource owns its configuration and does not use /jobconfig. The optional Jobs Base invoice feature has additional dependencies described below.
Framework and provider settings
Config.Framework accepts auto, esx, qb or qbox. Resource names live under Config.Resources, including ESX, QBCore, Qbox, ESXAddonAccount, QBBanking and RenewedBanking.
Config.SocietyProvider accepts auto, esx_addonaccount, qb-banking or renewed-banking. Automatic selection uses ESX Addon Account for ESX, qb-banking for QBCore, and Renewed-Banking for Qbox. In 1.6.1 and later, the selected society provider must be running whenever Config.SocietyBanking.Enabled or Config.Billing.Enabled is true, even if the society-job map is empty. With both disabled, personal banking no longer checks for or requires that provider. Version 1.6.0 required the provider even for personal-only setups; apply the patch to use this option.
Company accounts and permissions
Only actual jobs listed in Config.SocietyJobs can use Society Banking or create invoices. The values identify existing accounts in the chosen provider. Configure withdrawal grades separately from invoice permissions. For example:
Config.SocietyJobs = {
police = "society_police",
}
Config.SocietyBanking.MinimumGrades = {
police = 4,
}
Config.Billing.Permissions = {
police = { Create = 0, Cancel = 0, Manage = 4 },
}
Replace the example job, account and grade numbers with your own. ESX uses the full society account name; QBCore/Qbox providers normalize the society_ prefix internally. The account must already exist in the provider.
Create allows issuing invoices; Cancel allows cancelling the issuer's own invoices; Manage allows society-wide invoice management. If Create/Cancel grades are omitted, Config.Billing.MinimumGrades is used and otherwise grade 0 applies. Manage is not granted by default. The shipped society-job map is empty and provides no company access until configured.
Billing
Config.Billing.Enabled enables the built-in Billing service. The default /bills command opens its menu, and /bill <playerId> <amount> <reason> issues a custom invoice as an authorized nearby employee. Change these names under Config.Billing.Commands if they conflict with another resource.
The menu provides nearby recipient selection, multiple positions, a receipt preview, received/issued invoices, payment, cancellation and history. Job-grade and society permissions are checked on the server. Configure server-owned prices in Config.Billing.ReasonPresets.Default or a job-named preset list:
{ Id = "service_fee", Label = "Service fee", Amount = 250 },
Use unique IDs within each list. Config.Billing.AllowCustomItems = false limits issuing to the configured presets. MaxAmount, MaxReasonLength, MaxOpenBillsPerPlayer, MaxDistance, MaxLineItems, cooldowns and HistoryLimit control the corresponding limits.
The resource stores its own invoices in sky_billing_invoices and settles them through the selected framework/society provider. It does not import obligations from a previously selected esx_billing, okokbilling, loaf_billing or g_billing service. Retain their data and original collection interface until those old invoices are handled.
Optional Jobs Base invoices
Install Sky Base 1.52.0 and Jobs Base 1.55.0 and keep Jobs Base Billing enabled. Start their providers and the two Bases before players use Banking. In config/config.lua, change the existing Config.Billing.IncludeJobsBaseInvoices from false to true, then restart Banking.
Received Jobs Base invoices then appear alongside Banking's own inbox/history. Receipts show their original total, amount already paid and remaining balance. Eligible monetary invoices are paid from the personal bank account through Jobs Base; that owner retains access checks, payment restrictions, settlement and employee shares. No invoices or balances are copied.
Item currencies and expired invoices remain visible without a Banking payment button. Issue/cancel Jobs Base invoices and handle supported item payments in Jobs Base. An older or stopped Jobs Base reports unavailable. Config.Billing.HistoryLimit limits open and completed Jobs Base lists separately so newer completed records do not hide old open debts.
Appearance and locales
The Jovan interface ships with the package. Edit Config.UI.WindowScale, WindowWidthVH, TextScale, HeaderDescriptionLines, ToastDurationMilliseconds and ShowTransferNotification in config/config.lua; style colors and gradients live in the supplied config/style.css. Keep this release's full palette and matching UI rather than overlaying an older theme.
Bank blips use Config.Blips.Bank: toggle showBlip and set the nested name, sprite, color, display, scale and shortRange. Locations use native coordinates, for example vector3(150.266, -1040.203, 29.374), under Config.Locations.Bank. Keep your chosen coordinates when updating.
Set Config.Locale to de, en, fr, es, it, pt, nl, pl, tr, ru, cs or sv. Preserve all supplied translation entries and placeholders when editing text. Startup validation identifies missing, empty or invalid locale/configuration values.
Troubleshooting
A startup CONFIG ERROR names the configuration value to fix in the new supplied file. An empty society-job mapping gives a warning and no company access. A duplicate bank-number error stops initialization before adding the unique index; preserve the account rows and resolve the named conflict from your backup with support.
Keep banking_users, framework balances, society accounts, Billing data and old external invoice ledgers in backups. If a transaction reply is unknown, inspect the actual balances/invoice status before repeating it.
Optional diagnostics are configured under Config.Debug; payload logging is disabled by default and sensitive keys remain redacted. Keep this troubleshooting option separate from the normal installation/update path.
Optional developer integration
Other resources may create an authorized Banking invoice through the server export CreateBill(issuerSource, targetSource, amount, reason, items). Each optional position uses { preset_id = "..." } or, when allowed, { label = "...", amount = 100 }. The existing issuer, grade, account, proximity and amount checks still apply. This is an optional integration for the calling resource; it is not a required installation step.