---
title: "List rules"
method: GET
path: "/supporting-documents/rules/"
tags: ["Billing"]
---

# List rules

`GET /supporting-documents/rules/`

## Query parameters

- `page` integer
- `page_size` integer

## Headers

- `x-simple-workspace` string, required
- `x-piriod-test-mode` boolean

## Response `200`

Paginated rule list.

- object
  - `count` integer, required — Total number of items matching the filter.
  - `next` string, uri, nullable — URL of the next page, or `null` if last page.
  - `previous` string, uri, nullable — URL of the previous page, or `null` if first page.
  - `results` SupportingDocumentRule[], required — The items in the current page.
    - `id` integer
    - `customer` string, required — Customer ID. One rule per customer.
    - `auto_request` boolean
    - `days_before` integer — Days before the next billing date to send the request.
    - `use_document` boolean
    - `use_hes` boolean

---

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