> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agent.golf/llms.txt
> Use this file to discover all available pages before exploring further.

# Cost Centers

> Group the spend of teams, initiatives, and projects into the cost centers of your finance team.

A cost center groups the spend of teams, initiatives, and projects for showback and chargeback. Manage the cost centers of your organization in **Settings > Organization > Cost Centers**. The **Cost Centers** report of a workspace shows the spend of each cost center by month.

## Before you begin

* **Manage Cost Centers** to create, change, and delete cost centers. The Administrator and Billing Manager organization roles include it.
* **View Team Activity** in the workspace to see the Cost Centers report and the **View Spend** link of the settings page.
* A connected [Linear or Jira](https://docs.agent.golf/linear/connect.md) work tracker with imported teams. A cost center maps only imported teams and the initiatives and projects of those teams.

The settings page shows no spend, because **Manage Cost Centers** does not include **View Team Activity**.

## Create a cost center

1. Open **Settings > Organization > Cost Centers** and select **New Cost Center**.
2. Enter a **Name**. Each name is unique in the organization, and the comparison does not look at letter case.
3. Optional: enter a **Code**, for example the general ledger code of your finance team.
4. Select the teams, initiatives, and projects of the cost center.
5. Select **Create**.

A team, an initiative, or a project maps to one cost center. When you select a target of another cost center, it moves to the new cost center. The dialog names the cost center that it leaves.

## Assign an unmapped team

The **Unmapped Teams** card lists each imported team that no cost center maps, with the count of its projects that no mapping covers. Select a cost center in **Assign** to map the team.

## Change or delete a cost center

Select **Edit** on a cost center to change its name, its code, or its targets. Select **Delete** and confirm to delete it. The spend of its targets then goes to the next mapping that covers them, or to **Unassigned**.

## Which cost center gets the spend

The most specific mapping applies:

1. The own cost center of a project.
2. Else the cost center of the nearest initiative above the project.
3. Else the cost center of the team of the project.

When the teams of an item map to more than one cost center, the spend of the item splits evenly across them.

The report follows the allocation of the [Roadmap](https://docs.agent.golf/linear/roadmap.md). A pull request that reaches more than one project gives each project an equal part of its spend. A pull request that reaches an initiative and no project gives its spend to the top-level initiatives that it reaches. That spend goes to the cost center of the initiative, else of its team.

The report has two more rows:

* **Unassigned**: the spend of planned work that no mapping covers.
* **Unplanned**: the spend of pull requests that reach no initiative or project.

The cost centers, **Unassigned**, and **Unplanned** add up to the total pull request spend of the month. Spend without a pull request is not in the report. The Roadmap counts that spend in **Unplanned Spend**, so **Unplanned** in this report can be less than **Unplanned Spend** on the Roadmap.

For a full month, each row and the total show the change from the previous month. When the previous month has no spend, or near-zero spend of at most 1% of the month, the change is **New**, as on the **Usage** page.

The report reads the pull requests of all workspaces of the organization. It shows only the months that the pull request history retention of each workspace keeps in full. An earlier month has lost the spend of its deleted pull requests, so the report and the export do not offer it. A report or an export has at most 24 months. To export a longer period, export several ranges.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.