---
title: "Returns the pre-rendered html for the Bill"
method: GET
path: "/bills/{id}/preview.json"
tags: ["Bills"]
---

# Returns the pre-rendered html for the Bill

`GET /bills/{id}/preview.json`

This endpoint returns a pre-rendered HTML object that you can use to view a preview of your bills.
The HTML provided contains all of the CSS rules it requires to show the bill correctly,
as well as the DOCTYPE setting it requires.
It's best to use an iframe, or similar object, to render the results of this endpoint.

## Path parameters

- `id` integer, required

## Response `200`

Ok

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests

---

[API](https://skmtc.net/clio/apis/clio-api-documentation.md) · [All operations](https://skmtc.net/clio/apis/clio-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clio/clio-api-documentation/versions/94a82114ec3b/schema)
