---
title: "Create a budget code the project does not have yet"
method: POST
path: "/projects/{project_id}/budget-codes"
tags: ["Projects"]
---

# Create a budget code the project does not have yet

`POST /projects/{project_id}/budget-codes`

## Request

- Base URL: `https://app.fieldstub.com/v1`
- URL: `https://app.fieldstub.com/v1/projects/{project_id}/budget-codes`
- Auth: HTTP bearer

Extra work is unplanned by definition, so the code a ticket needs is routinely not in the budget. This creates the WBS code so a line can be routed to it.

## Path parameters

- `project_id` string, required

## Request body

- object
  - `cost_code_item_id` integer, required
  - `cost_type` 'labor' | 'materials' | 'equipment' | 'other'

## Response `200`

OK

- object

## Other responses

- `404`: Error

---

[API](https://skmtc.dev/fieldstub/apis/fieldstub-api.md) · [All operations](https://skmtc.dev/fieldstub/apis/fieldstub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fieldstub/apis/fieldstub-api/revisions/f0365e1796fe?raw)
