---
title: "Create an earning code"
method: POST
path: "/earning_codes"
---

# Create an earning code

`POST /earning_codes`

## Request body

- object
  - `company` string, required
  - `name` string, required
  - `type` string, required
  - `active` boolean — Used to distinguish between codes used only for loading historical data (inactive) and those that you support on an ongoing basis (active).
  - `calculation_overrides` object — Used to define overrides that affect the tax calculation for earnings with this earning code
    - `wa_risk_class_code` string — Used to override the risk class code for Washington Labor and Industries (L&I) that earnings with this earning code will be calculated and filed with. Must be in the format "####-##".
  - `metadata` string, json — Additional loosely structured information to associate with the earning code

## Response `200`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/checkhq/apis/check-api.md) · [All operations](https://skmtc.net/checkhq/apis/check-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/checkhq/check-api/revisions/f46e28134549/schema)
