---
title: "Updates the surplus and surplus history for a specific account and target period"
method: POST
path: "/v1.0/target-unit-accounts/{accountId}/buy-out-surplus/"
tags: ["Buy-out and surplus info"]
---

# Updates the surplus and surplus history for a specific account and target period

`POST /v1.0/target-unit-accounts/{accountId}/buy-out-surplus/`

## Path parameters

- `accountId` integer, required

## Request body

- SurplusUpdateDTO — Updates Surplus info
  - `targetPeriodType` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9', required
  - `newSurplusGained` string, decimal, required
  - `comments` string, required

## Response `204`

No Content

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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