---
title: "Upsert obligation custom revenue"
method: POST
path: "/v3/contracts/{id}/obligation/{obligationId}/custom-revenue"
tags: ["Contracts"]
---

# Upsert obligation custom revenue

`POST /v3/contracts/{id}/obligation/{obligationId}/custom-revenue`

## Path parameters

- `id` string, required
- `obligationId` string, required

## Request body

- CustomRevenue[]
  - `timeframe` string, required — Timeframe
  - `total` number, required — Total

## Response `200`

Upsert custom revenue

## Other responses

- `400` — Bad request body, e.g. invalid timeframe
- `404` — Contract or obligation not found
- `500` — Internal server error

---

[API](https://skmtc.net/tabsplatform/apis/tabs-external-api.md) · [All operations](https://skmtc.net/tabsplatform/apis/tabs-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tabsplatform/tabs-external-api/versions/7e8885517814/schema)
