🛠️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
Last updated
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
Last updated
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
})
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)
TriggerEvent('cs:billing:overDueCheck', player_id)