> 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/server/refresh-bill.md).

# Refresh bill

This export will refresh the specified bill ID, so if you edit the values in the database, you can use this export so the script won't require a restart to see it

Note: if you have to delete a bill, use the [Delete bill](/billing-ui/server/delete-bill.md)export

## Export

```lua
exports["billing_ui"]:refreshBillId(billId)
```

### Parameters

| Name     | Data Type | Description                                              |
| -------- | --------- | -------------------------------------------------------- |
| `billId` | integer   | The bill ID you can find in the database table `billing` |

## Example

```lua
-- Example command /refreshBillId 51
RegisterCommand("refreshBillId", function(playerId, args)
    local billId = tonumber(args[1])
    exports["billing_ui"]:refreshBillId(billId)
end)
```
