General information
Most errors can occur due to a bad update (poor patch) or through code editing, always try to use the default resource if you get errors not found within this section.
Which frameworks are supported?
Bablo Billing supports ESX, QBCore, and QBox. The framework is auto-detected by default. You can also force a specific framework by setting Config.Framework in config.lua to 'esx', 'qbcore', or 'qbox'.
Which dependencies are required?
Currently you need oxmysql (opens in a new tab) and optionally ox_target (opens in a new tab) or qb-target (opens in a new tab) if you want target-based billing. bablo-banking (opens in a new tab) is used as the society resource by default but this is configurable.
Can I customize which jobs can use the billing system?
Yes, you can block specific jobs from accessing the billing system using Config.JobAccount.blockedJobs in config.lua. Set it to an empty table {} to allow all jobs, or add job names to restrict access, e.g. {'restricted_job'}.
Can I change how the currency is displayed?
Yes, customize the currency in Config.Currency in config.lua. You can set the currency code (e.g. "USD"), symbol (e.g. "$"), symbolPosition ("prefix" or "suffix"), and toggle useNativeFormatting for locale-aware formatting.
Can I set due dates on invoices?
Yes, you can configure a default due date by setting Config.Invoice.defaultDueDays in config.lua. Set it to nil to disable automatic due dates. You can also allow custom due dates per invoice by setting Config.Invoice.allowCustomDueDate = true.
Can I auto-pay overdue invoices?
Yes, enable Config.Invoice.autoPayOverdue = true in config.lua. When enabled, invoices past their due date will be automatically paid — money is deducted from the recipient and added to the issuer.
Can I control which job grades can send or manage invoices?
Yes, configure per-job grade requirements under Config.JobAccount.jobGrades in config.lua. You can set minimum grades for viewReceivedInvoices, deleteAnyInvoice, handleAllSentInvoices, and canSendInvoicesToCompanies per job.
Can I change the UI accent color?
Yes, change Config.Theme.primary in config.lua to any hex, RGB, or HSL color value. After changing, restart the resource with restart bablo-billing.