Create bill
Export
Parameters
Name
Data Type
Description
senderIdentifier
string
The identifier of the player who creates the invoice In QBCore it's the citizen ID
targetIdentifier
string
The identifier of the player who receives the invoice In QBCore it's the citizen ID
reason
string
The reason of the invoice
amount
integer
The amount of the invoice
target
string
Who will receive the payment of the invoice
- If targetType
it's player
the target will be an identifier (or citizen ID in QBCore)
- If targetType
it's society
the target will be for example society_police
targetType
string
player
or society
Example
Last updated