# Usage records

<figure><img src="/files/NzZ8l1KU8g0isACbAxl4" alt=""><figcaption><p>Usage records</p></figcaption></figure>

### Testing usage-based billing

When setting up new price lists with usage-based charges, an important part of testing is being able to see how they will render on the invoice. Once an account has usage records on it, you can use the invoice preview to see what the next invoice will look like.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bunny.com/guide/tour/billing/usage-records.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
