---
title: "Partial update rule"
method: PATCH
path: "/supporting-documents/rules/{id}/"
tags: ["Billing"]
---

# Partial update rule

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

## Request body

- 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

## Response `200`

Updated 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

---

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