---
title: "Ends an open-ended contract"
method: PUT
path: "/contracts/{contract_id}/end"
tags: ["Contracts"]
---

# Ends an open-ended contract

`PUT /contracts/{contract_id}/end`

Sets an explicit end date on a contract that previously had no close date (open-ended).
Provide the final end_date in the request body; downstream invoicing and revenue recognition honor the new boundary.

## Path parameters

- `contract_id` string, required

## Request body

- EndOpenEndedContractRequest
  - `end_date` string, date, required

## Response `204`

NO CONTENT

## Other responses

- `default` — Error

---

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