> ## 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.

# Pay a bill

> Paga una factura mediante su ID, por ejemplo desde un script externo.

Trigger para pagar correctamente una factura mediante su ID — puedes usar esto desde scripts externos.

```lua Event theme={null}
TriggerServerEvent("billing_ui:payInvoice", billId)
```

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `billId` | integer | El ID de la factura (de la tabla de la base de datos `billing`) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.