---
title: "Run Monthly Costs"
method: POST
path: "/api/v1/accounting/run-monthly-costs"
tags: ["Monthly Costs Cron"]
---

# Run Monthly Costs

`POST /api/v1/accounting/run-monthly-costs`

## Request

- Base URL: `https://api.compteam.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.compteam.io/api/v1/accounting/run-monthly-costs`
- Auth: none declared

Post monthly location costs and coach payroll journal entries for all branches.

## Headers

- `x-cron-secret` string

## Request body

- RunMonthlyCostsBody
  - `year` integer, nullable
  - `month` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/compteam/apis/c-team-api.md) · [All operations](https://skmtc.dev/compteam/apis/c-team-api/llms.txt) · [OpenAPI document](https://skmtc.dev/compteam/apis/c-team-api/revisions/4bd27c892655?raw)
