Code Studio
Tebex DiscordYoutubeGitHub
  • 🌟Welcome to Code Studio
  • Overview
    • 💡What we do
  • 📜Our Scripts
    • Ultimate License System
      • 🛠️Setup
    • Bodycam & Dashcam
      • 🛠️Setup
    • Weather Management
      • 🛠️Setup
    • Car Radio - Car Play Pro
      • 🛠️Setup
    • Modern HUD
      • 🛠️Setup
    • Modern Shops
      • 🛠️Setup
    • Advanced Radio
      • 🛠️Setup
    • Modern ID Card
      • 🛠️Setup
    • Billing Invoice System
      • 🛠️Setup
    • Radial Menu
      • 🛠️Setup
    • Death Screen
      • 🛠️Setup
    • Boss & Gang Menu
      • 🛠️Setup
    • Advanced Notification
      • 🛠️Setup
    • Fingerprint Scanner
      • 🛠️Setup
    • Drunk System + Alcohol Tester
      • 🛠️Setup
    • Advanced Job + ID Card
      • 🛠️Setup
    • Drug Selling + Level Based
      • 🛠️Setup
    • Multi Job System
      • 🛠️Setup
    • Discord2FiveM [V2]
      • 🛠️Setup
    • Modern Radio
      • 🛠️Setup
    • Grappling Gun
      • ♦️Standalone
  • ⚠️FiveM Escrow Protection FAQ
    • Home
    • Error parsing script ... <\1>
    • Failed to verify protected resource
    • You lack the required entitlement
    • What to do if nothing is fixing the errors
Powered by GitBook
On this page
  • Create Custom Invoice (CLIENT & SERVER SIDE)
  • Fetch Bills (SERVER SIDE ONLY)
  • Export to Force Pay Bill Overdue By PlayerID (SERVER SIDE ONLY)
  1. Our Scripts
  2. Billing Invoice System

Setup

This is a detailed setup guide for Billing/Invoice System. If you have any questions before making a purchase, you can contact us on Discord

Create Custom Invoice (CLIENT & SERVER SIDE)

  • Export To Create Custom Invoice/Bill

    exports['cs_billing']:createBill({
        playerID = source, --Player's ID to whom you want to send an invoice
        society = 'police', --Invoice Society Name
        society_name = 'LSPD', --Invoice Society Label
        amount = 100, --Invoice Amount
    
        senderID = source,         --[OPTIONAL] Invoice Sender's ID
        title = 'Police Invoice',  --[OPTIONAL] Invoice Title
        notes = 'Please Pay ASAP', --[OPTIONAL] Invoice Notes
    })
    

Fetch Bills (SERVER SIDE ONLY)

  • Export to Fetch All Society Bills

    local allBills = exports["cs_billing"]:fetchSocietyBills(job)

  • Export to Fetch All Bills of a Player with an Identifier

    local allBills = exports["cs_billing"]:fetchBills(identifier)

Export to Force Pay Bill Overdue By PlayerID (SERVER SIDE ONLY)

TriggerEvent('cs:billing:overDueCheck', player_id)

PreviousBilling Invoice SystemNextRadial Menu

Last updated 1 year ago

📜
🛠️