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

# Refresh bill

> Refresh a bill's data server side after editing it directly in the database.

This export refreshes the specified bill ID, so if you edit the values in the database, you can use this export to see the changes without requiring a script restart.

<Note>
  If you need to delete a bill, use the [delete bill](/billing-ui/server/delete-bill) export instead.
</Note>

```lua Export theme={null}
exports["billing_ui"]:refreshBillId(billId)
```

### Parameters

| Name     | Data Type | Description                                        |
| -------- | --------- | -------------------------------------------------- |
| `billId` | integer   | The bill ID, found in the database table `billing` |

## Example

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


## Related topics

- [Server](/billing-ui/server/index.md)
- [Refresh database](/doors-creator/server/refresh-database.md)
- [Refresh player owned vehicles](/vehicles-keys/server/refresh-player-owned-vehicles.md)
- [Refresh self owned vehicles](/vehicles-keys/client/refresh-self-owned-vehicles.md)
- [On bill created](/billing-ui/server/on-bill-created.md)
