Advanced Billing System hjb_billing qb/qbx

Preview: Youtube
Purchase: Tebex

Screenshots
config.lua
Config = {}

Config.Command = {
    enabled = true, -- Enable/disable the command
    name = 'billing' -- Command name
}

Config.Debug = true

Config.Keybind = {
    enabled = true, -- Enable/disable the keybind
    defaultKey = 'F7' -- Default key to open billing
}

-- Framework configuration
Config.Framework = 'qbx' --'qbx'|'qb'
Config.Notify = 'ox' -- 'ox'|'qb'
Config.Banking = 'renewed' -- 'renewed'|'qb'|'okok'|'fd'|'tgiann

-- Billing configuration
Config.BillDueTime = 24 -- Hours until bill is due
Config.BillCleanupDays = 30 -- Days until paid bills are cleaned up

Config.Billing = {
    PoliceGroups = { -- List of Police Jobs
        ['police'] = true,
        ['sheriff'] = true,
    },
    AmbulanceGroups = { -- List of EMS/Ambulance jobs
        ['ambulance'] = true,
    },
    InstantPaymentJobs = { -- For instant Billing Fines
        ['police'] = true,
        ['sheriff'] = true,
    },
    BlacklistedJobs = {  -- Not able to create Bills like public access jobs
        ['unemployed'] = true,
        ['taxi'] = true,
        ['garbage'] = true,
        ['tow'] = true,
        ['trucker'] = true,
        ['bus'] = true,
        ['reporter'] = true,
        ['electrician'] = true,
        ['builder'] = true,
    },
    EnableFineCommissionSetting = true,  -- Set to false to hide Fine Commission setting for PoliceGroups
    EnableFineReductionSetting = true,   -- Set to false to hide Fine Reduction setting for PoliceGroups
    EnableAmbulanceCommissionSetting = true, -- Set to false to hide Bill Commission setting for AmbulanceGroups
    EnableAmbulanceReductionSetting = true,  -- Set to false to hide Bill Reduction setting for AmbulanceGroups
    EnableAmbulanceServiceDiscountSetting = true -- Set to false to hide Service Discount setting for AmbulanceGroups
}

Dependancies
qb-core/qbx_core
oxmysql
ox_lib
qb-banking/renewed_banking/okokBanking/fd_banking/tgiann-bank (more to come as requested)

Overview

This is a comprehensive billing system for FiveM servers that allows businesses, police, and emergency services to create, manage, and track bills and fines. The script features a modern, responsive UI and supports multiple frameworks through a compatibility layer.

Key Features

  1. Multi-Framework Support
  • Compatible with QBCore and QBX frameworks
  • Banking integration with banking systems (qb-banking, renewed_banking, okokBanking, fd_banking, tgiann-bank)
  1. User-Friendly Interface
  • Clean, modern UI with responsive design
  • Tab-based navigation for different functions
  • Real-time updates and notifications
  1. Business Management
  • Create and customize billing items/services
  • Set pricing and categorize items
  • Apply discounts (employee, service, promotional)
  • Commission system for employees
  1. Customer Experience
  • Pay bills via cash or bank
  • View payment history
  1. Police and Emergency Services
  • Special fine system for police departments
  • Ambulance billing with customizable options
  • Service discounts for emergency personnel
  1. Administrative Tools
  • Admin panel for managing all bills in the system
  • Ability to delete or refund bills
  • Detailed statistics and reporting
  1. Analytics and Reporting
  • Business overview with financial statistics
  • Track revenue, discounts, and commissions
  • Monitor outstanding payments

Technical Features

  1. Performance Optimized
  • Caching system to reduce database load
  • Efficient resource usage
  • Automatic cleanup of old records
  1. Security
  • Server-side validation for all transactions
  • Permission-based access control
  • Protection against common exploits

Perfect For

  • Roleplay servers requiring a realistic economy
  • Communities with multiple businesses and services
  • Servers looking for an integrated billing solution
  • Administrators wanting detailed financial tracking

This billing system provides a complete solution for managing financial transactions between players and businesses in your FiveM server, enhancing the roleplay experience with realistic economic interactions.

Code is accessible No
Subscription-based No
Lines (approximately) 2000+
Requirements qb/qbx
Support Yes
1 Like

Looks great. Definitely want to try it out!