Configuration
config.lua Overview
The config.lua file contains all configuration options for the Billing System.
Framework Settings
Framework Selection
Config.Framework = 'auto'Options:
'auto'- Automatically detect framework (recommended)'qbox'- Force QBox framework'qb'- Force QBCore framework'esx'- Force ESX framework'custom'- Use custom framework (requires bridge setup)
Job Configuration
Allowed Jobs
Define which jobs can create invoices:
Job names must match exactly with your framework's job names (case-insensitive).
Keybind Settings
Tablet Open Key
Common Options:
'F7'- F7 key (default)'F6'- F6 key'K'- K keyAny valid FiveM key code
Distance Settings
Nearby Player Detection
Maximum distance (in meters) to detect nearby players for invoicing.
Invoice Settings
Amount Limits
MinAmount- Minimum invoice amountMaxAmount- Maximum invoice amount
Tax Configuration
Examples:
0- No tax0.18- 18% tax0.25- 25% tax
Payment Methods
Enable or disable payment methods:
AllowBankPayment- Allow bank transfersAllowCashPayment- Allow cash payments
Feature Toggles
AllowMultiRecipient- Allow invoices to multiple playersAllowPhotoAttachment- Allow photo attachmentsAllowRecurringPayments- Allow installment payments
Notification Settings
Duration and Position
Position Options:
'top-right''top-left''bottom-right''bottom-left'
Receipt Settings
Print Receipt Feature
Enabled- Enable receipt printingRequireOxInventory- Require ox_inventoryItemName- Item name to give player
Receipt printing requires ox_inventory to be installed.
Cashbox Settings
Per-Job Cashbox
Enabled- Enable cashbox featureSharedBetweenJobs- Share cashbox between all jobs
Camera Settings
Photo Attachment Camera
FOV- Camera field of viewMaxPhotos- Maximum photos per invoicePhotoQuality-'low','medium','high'
Language Settings
Default Language
Available Languages:
'en'- English'tr'- Turkish
See Translations for adding more languages.
Example Configurations
Police Department
Mechanic Shop
Hospital
Advanced Configuration
Billing Menus
Billing menus are configured per-job in the admin panel or database.
See Admin Guide for details.
Validation
After configuring, restart the resource:
Check console for any configuration errors.
Configuration complete! Test your settings in-game.
Last updated

