> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Open billing menu

> Open the billing UI menu directly for a known target, without requiring the player to click one.

Trigger to open the billing UI menu without requiring the player to select the target player with the mouse.

```lua Event theme={null}
TriggerEvent("billing_ui:openBillingMenu", targetServerID)
```

### Parameters

| Name             | Data Type | Description                |
| ---------------- | --------- | -------------------------- |
| `targetServerID` | integer   | Target server ID, or `nil` |

## Example

```lua theme={null}
local closestPlayer = ESX.Game.GetClosestPlayer()
local targetPlayerId = GetPlayerServerId(closestPlayer)

TriggerEvent("billing_ui:openBillingMenu", targetPlayerId)
```


## Related topics

- [Client](/billing-ui/client/index.md)
- [Open actions menu](/jobs-creator/client/actions/open-actions-menu.md)
- [Open menu manually](/blips-creator/client/open-menu-manually.md)
- [Open remote UI menu](/vehicles-keys/client/open-remote-ui-menu.md)
- [Activate billing mode](/billing-ui/client/activate-billing-mode.md)
