---
title: "PATCH /receivables/status/{uuid}"
method: PATCH
path: "/receivables/status/{uuid}"
tags: ["Receivables"]
---

# PATCH /receivables/status/{uuid}

`PATCH /receivables/status/{uuid}`

## Request

- Base URL: `https://api.kolek.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolek.com.br/receivables/status/{uuid}`
- Auth: HTTP bearer

## Path parameters

- `uuid` string, required

## Request body

- UpdateReceivableStatusDto
  - `status` 'Ongoing' | 'Cancelled' | 'On-hold' | 'Paid', required: The status of the receivable. Note: If setting to "Paid", both "payment_date" and "payment_amount" must be provided.
  - `payment_date` string, date-time: The payment date. Required if status is "Paid".
  - `payment_amount` number: The payment amount. Required if status is "Paid".

## Response `200`

Successfully updated the status of the receivable.

## Other responses

- `401`: Unauthorized - User not authorized to update the status of this receivable.
- `404`: Receivable not found.
- `500`: Internal server error.

---

[API](https://skmtc.dev/kolek/apis/kolek-api.md) - [All operations](https://skmtc.dev/kolek/apis/kolek-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kolek/apis/kolek-api/revisions/b10a60bfcfa4?raw)
