# Triggers

## Client Trigger

<table><thead><tr><th width="398" align="center">Trigger</th><th align="center">Result</th></tr></thead><tbody><tr><td align="center"><p></p><pre class="language-lua"><code class="lang-lua">TriggerServerEvent('brutal_billing:server:CreateInvoice', senderId, playerId, reason, price, note, society)
</code></pre></td><td align="center"><p>Create an invoce to the given player. <strong>senderId</strong> : player who sends it (nil if a society gives the invoice)</p><p><strong>playerId</strong> : player who gets it</p><p><strong>reason</strong> : reason for the invoice</p><p><strong>price</strong> : price of the bill</p><p><strong>note</strong> : note of the bill<br><strong>society</strong> : which society sould get the money from the invoice</p></td></tr></tbody></table>

## Server Tirgger

<table><thead><tr><th width="398" align="center">Trigger</th><th align="center">Result</th></tr></thead><tbody><tr><td align="center"><p></p><pre class="language-lua"><code class="lang-lua">TriggerEvent('brutal_billing:server:CreateInvoice', senderId, playerId, reason, price, note, society)
</code></pre></td><td align="center"><p>Create an invoce to the given player. <strong>senderId</strong> : player who sends it (nil if a society gives the invoice)</p><p><strong>playerId</strong> : player who gets it</p><p><strong>reason</strong> : reason for the invoice</p><p><strong>price</strong> : price of the bill</p><p><strong>note</strong> : note of the bill<br><strong>society</strong> : which society sould get the money from the invoice</p></td></tr></tbody></table>
