---
title: "Create a rate entry"
method: POST
path: "/headcount/rate-entries"
tags: ["Headcount"]
---

# Create a rate entry

`POST /headcount/rate-entries`

## Request

- Base URL: `https://api.cubesoftware.com`
- URL: `https://api.cubesoftware.com/headcount/rate-entries`
- Auth: OAuth 2
  - Authorization code: `https://portal.cubesoftware.com/o/authorize/`
  - Token URL: `https://api.cubesoftware.com/o/token/`

Creates one entry for a year, code, and jurisdiction. An amount requires currency_id. A rate or a date omits it. A blank jurisdiction is the entry with no jurisdiction.

## Headers

- `X-Company-ID` string, required

## Request body

- RateEntry: Mixin to delegate create, update, and destroy operations to a service class.
  - `id` integer, required
  - `year` integer, required
  - `code` string, required
  - `value` string, required
  - `unit` 'rate' | 'amount' | 'date', required: * `rate` - Rate * `amount` - Amount * `date` - Date
  - `currency_id` integer, nullable
  - `jurisdiction` string

## Response `201`

- RateEntry: Mixin to delegate create, update, and destroy operations to a service class.
  - `id` integer, required
  - `year` integer, required
  - `code` string, required
  - `value` string, required
  - `unit` 'rate' | 'amount' | 'date', required: * `rate` - Rate * `amount` - Amount * `date` - Date
  - `currency_id` integer, nullable
  - `jurisdiction` string

## Changes

> 34 revisions in range; 1 not diffed.

- **2026-10-28** `27e221c965e3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/headcount/rate-entries/post.md)

---

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