> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/billing-ui/client/pay-a-bill.md).

# Pay a bill

Trigger to pay a bill ID properly, you can use this from external scripts

## Event

```lua
TriggerServerEvent("billing_ui:payInvoice", billId)
```

### Parameters

| Name     | Data Type | Description                                               |
| -------- | --------- | --------------------------------------------------------- |
| `billId` | integer   | The bill ID (the ID is from the database table `billing`) |
