# Budget anlegen

`POST https://{tenant}.stamp.eu/rest/controlling/budgets`

## Request-Body

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `scope` | `company`, `department` | ja |
| `department_id` | string \| null | nein |
| `effective_from` | string | ja |
| `amount_cents` | integer | ja |
| `currency` | string | nein |

## Antworten

### 201: `ControllingBudgetResource`

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `data` | object | ja |
| `data.id` | string | ja |
| `data.scope` | string | ja |
| `data.department_id` | string \| null | ja |
| `data.department_name` | string \| null | ja |
| `data.effective_from` | string | ja |
| `data.amount_cents` | integer | ja |
| `data.currency` | string | ja |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 422: Validation error

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Errors overview. |
| `errors` | object | ja | A detailed description of each field that failed validation. |
