---
title: "Mark Filing Filed"
method: POST
path: "/companies/{company_id}/payroll/filings/{filing_id}/mark-filed"
tags: ["payroll"]
---

# Mark Filing Filed

`POST /companies/{company_id}/payroll/filings/{filing_id}/mark-filed`

## 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/filings/{filing_id}/mark-filed`
- Auth: none declared

Print-and-post confirmation (idempotent) — the H18 alternative.

## Path parameters

- `company_id` string, required
- `filing_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- PayrollFilingOut
  - `id` string, required
  - `provider_kind` 'ahv_alv' | 'uvg' | 'ktg' | 'fak' | 'bvg' | 'qst', required: The payroll declaration planes of the filing calendar (gap #12 — H17).
  - `period_start` string, date, required
  - `period_end` string, date, required
  - `due_date` string, date, required
  - `status` 'generated' | 'filed', required: ``generated`` = declaration document produced; ``filed`` = the print-and-post confirmation (the H18 alternative — electronic submission is deferred/ledgered).
  - `document_id` string, nullable
  - `form_document_id` string, nullable
  - `elm_document_id` string, nullable
  - `generated_at` string, date-time, nullable
  - `filed_at` string, date-time, nullable
  - `filed_by` string, nullable

## 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)
