okokBilling - Complete Invoice & Billing System
Transform your FiveM server's billing and invoicing with okokBilling, a comprehensive financial management system designed for businesses, societies, and player-to-player transactions. This feature-rich script provides a beautiful, user-friendly interface for managing invoices, automatic payment systems, deadline enforcement, and complete financial tracking with Discord logging integration.
This is a
complete billing system with a
beautiful and
user-friendly interface.
[How it works]
When you type '
/invoices' a menu pops up, allowing you to
see your invoices,
your society invoices and
send a invoice to a player.
What Makes It Stand Out
- Complete Invoice Management - View, send, pay, and cancel invoices through intuitive interface
- Society Integration - Businesses can send and track invoices with automatic society account deposits
- Deadline System - Configurable payment deadlines with automatic enforcement
- Daily Fees - Optional late payment penalties that accrue daily
- Automatic Payments - System can auto-pay overdue invoices after deadline
- Discord Logging - Complete audit trail of all invoice activities
- Boss Permissions - Restrict society invoice viewing to leadership
In the config file you are able
to set:
- The command that allows players to open the billing menu;
- The VAT % of the invoices (visual only, it won't influence the final invoice value);
- If you want to have a deadline for players to pay their invoices;
- How many days players have to pay their invoices if the deadline option is set to true;
- Whether you want the system to automatically pay the invoices after the deadline expires;
- If you want there to be a daily fee after each day a invoice isn't paid;
- The daily fee percentage;
- If only the boss will be able to see the society invoices;
- The societies that can send invoices to players.
Core Features
Personal Invoice Management: Players can view all their pending and paid invoices in one organized interface. Unpaid invoices always appear at the top of the list for easy visibility, ensuring important bills aren't overlooked.
Society Billing: Businesses and organizations can send invoices to players for services rendered. When invoices are paid, money automatically deposits to the society account, creating seamless business cash flow.
Invoice Sending: Authorized society members can create invoices specifying the amount, reason, and optional notes. The system automatically sends the invoice to the nearest player, perfect for on-site billing at businesses.
It includes
Discord logs such as:
- When a invoice in sent to a player;
- When someone pays/cancels a invoice;
- When a invoice is automatically paid by the system.
Deadline & Payment Enforcement
- Configurable Deadlines - Set payment deadlines (e.g., 7 days, 14 days, 30 days)
- Automatic Payments - System auto-pays from player bank when deadline expires
- Offline Player Support - Checks and processes offline player invoices automatically
- Payment Reminders - Visual indicators show approaching deadlines
- Grace Periods - Optional grace period before automatic payment triggers
Daily Fee System
Enable late payment penalties that accrue daily after the invoice deadline passes. Set a percentage (e.g., 5% per day) that adds to the total owed, creating realistic consequences for unpaid bills. This encourages timely payments while adding financial realism to your economy.
Society Configuration
- Authorized Societies - Configure which businesses can send invoices
- Boss-Only Viewing - Restrict society invoice viewing to management
- Auto-Deposit - Payments automatically go to society accounts
- Invoice Tracking - Societies see all their sent invoices and payment status
- Revenue Reports - Track total income from invoices
Additional informations:
- The notes field (when you're sending a invoice to a player) is not mandatory. If you don't write anything it will write by itself Nothing to add;
- The invoice is always sent to the nearest player;
- On the My Invoices section, the unpaid invoices will always appear on the top of the list;
- When a player pays a invoice or it is automatically paid by the system, the money is instantly added to the society account;
- The script verifies the offline players when the automatic payment event is executed.
Perfect For
- Economy-focused servers requiring professional billing systems
- Business roleplay with mechanics, repair shops, and service industries
- Government servers with taxation and fine systems
- Property rental and lease payment management
- Any server wanting automated financial accountability
Discord Logging Features
Complete audit trail sends webhook notifications to Discord for:
- Invoice Created - Who sent invoice, to whom, amount, and reason
- Invoice Paid - Player payment confirmations with timestamps
- Invoice Canceled - Cancellation notifications with reason tracking
- Automatic Payments - System-enforced payments after deadline
- Failed Payments - Alerts when players can't afford invoices
It comes with a complete tutorial on how to use it.
Notifications not included.
Configuration Options
- Command Customization - Change /invoices to your preferred command
- VAT Display - Set VAT percentage (visual only, doesn't affect price)
- Deadline Toggle - Enable/disable payment deadlines
- Deadline Duration - Set days allowed for payment (if enabled)
- Auto-Pay Toggle - Enable/disable automatic deadline payments
- Daily Fee Toggle - Enable/disable late payment penalties
- Fee Percentage - Set daily penalty percentage
- Boss Permissions - Toggle society invoice viewing restrictions
- Authorized Societies - List which businesses can send invoices
Use Cases
- Mechanic Shops - Bill customers for repairs and modifications
- Medical Services - EMS invoices for emergency treatment
- Government Fines - Police issue speeding tickets and violations
- Property Rent - Automated monthly rental payments
- Business Services - Any service-based business billing
- Utilities - Water, electric, phone bill automation
llinVideo preview
[embed]
llin
Installation
- Extract okokBilling to your resources folder
- Import SQL database file to create invoice tables
- Configure settings in config.lua (deadlines, fees, societies)
- Set up Discord webhook URLs for logging
- Add resource to server.cfg
- Restart server and test invoice creation/payment
- Grant invoice-sending permissions to appropriate jobs
Framework Compatibility
- ✅ ESX Framework - Full integration with ESX society and money systems
- ✅ ESX Legacy - Compatible with ESX Legacy versions
Technical Specifications
- Performance - Optimized database queries for large invoice volumes
- Database - MySQL storage for complete invoice records
- Offline Processing - Handles offline player invoices automatically
- Security - Server-side validation prevents invoice exploits
- Webhook Integration - Discord logging for administrative oversight
Recommended Integrations
- Bank system for automated account withdrawals
- Society management system for business accounts
- Property rental script for automated rent billing
- Job scripts for service-based invoicing
- Government systems for fine and tax collection
Professionalize your server's financial systems with okokBilling. This comprehensive invoicing solution handles everything from simple player-to-player billing to complex automated deadline enforcement and late fee systems. The beautiful interface, Discord logging, and extensive configuration options make it perfect for economy-focused servers requiring reliable billing infrastructure. Whether managing business payments, government fines, or rental agreements, okokBilling delivers the professional financial management your server needs.
Related ESX Scripts