---
title: "Retrieve rule"
method: GET
path: "/supporting-documents/rules/{id}/"
tags: ["Billing"]
---

# Retrieve rule

`GET /supporting-documents/rules/{id}/`

## Response `200`

The rule.

- SupportingDocumentRule — Rule that controls when supporting documents (e.g. purchase orders) are automatically requested for a customer's subscriptions.
  - `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

## Other responses

- `404` — Resource not found.

---

[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)
