RX Scripts Logo
Billing

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Events

rxbilling:onInvoiceSent

Triggered after an invoice is sent to a player or job.

RegisterNetEvent('rxbilling:onInvoiceSent', function(invoice) end)
invoice
Invoice

Data of the invoice that was sent.

rxbilling:onInvoicePaid

Triggered after an invoice is paid by a player.

RegisterNetEvent('rxbilling:onInvoicePaid', function(payerId, invoice) end)
payerId
number

ID of the player who paid the invoice.

invoice
Invoice

Data of the invoice that was paid.

rxbilling:onInvoiceDeclined

Triggered after an invoice is declined by a player.

RegisterNetEvent('rxbilling:onInvoiceDeclined', function(declinerId, invoice) end)
declinerId
number

ID of the player who declined the invoice.

invoice
Invoice

Data of the invoice that was declined.

rxbilling:onInvoiceRevoked

Triggered after an invoice is revoked by a player.

RegisterNetEvent('rxbilling:onInvoiceRevoked', function(revokerId, invoice) end)
invoice
Invoice

Data of the invoice that was revoked.

Client Events

No client-sided events available at this time.