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

# Delete bill

## Export

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

### Parameters

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

## Example

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