---
title: "Create Payroll Ausgleichskasse"
method: POST
path: "/companies/{company_id}/payroll/ausgleichskassen"
tags: ["payroll-rates"]
---

# Create Payroll Ausgleichskasse

`POST /companies/{company_id}/payroll/ausgleichskassen`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/payroll/ausgleichskassen`
- Auth: none declared

A new Kasse row or the successor of the one in force (an open predecessor is closed the
day before). The scale must ascend, stay within the legal VK ceiling and — with more than
one class — carry the ``forecast_basis`` that picks the class a run accrues.

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- AusgleichskasseCreate: The company's Ausgleichskasse and its VK scale over a validity window. ``bands`` ascend by ``from``; the whole-sum rule applies (the band the annual selector falls in is ONE rate on the whole base). ``band_basis`` says what selects the band; ``forecast_basis`` (CHF per year) is the employer's expected selector the run accrual uses — required for a scale with more than one band. Authoritative validation: ``rates/service/ausgleichskasse.py`` (the legal ceiling is the catalog key ``ahv_vk_max_rate``).
  - `name` string, required
  - `kasse_number` string, nullable
  - `band_basis` 'contribution_sum' | 'payroll'
  - `bands` VkBandInInput[], required
    - `from_chf` union, required
      - number
      - string
    - `rate_pct` union, required
      - number
      - string
  - `forecast_basis` union
    - number
    - string
  - `valid_from` string, date, required
  - `valid_to` string, date, nullable

## Response `201`

Successful Response

- AusgleichskasseOut
  - `id` string, required
  - `name` string, required
  - `kasse_number` string, nullable, required
  - `band_basis` 'contribution_sum' | 'payroll', required
  - `bands` VkBandInOutput[], required
    - `from_chf` string, required
    - `rate_pct` string, required
  - `forecast_basis` string, nullable, required
  - `accrual_rate_pct` string, required
  - `valid_from` string, date, required
  - `valid_to` string, date, nullable, required

## Other responses

- `422`: Validation Error

---

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