---
title: "Issue Dunning"
method: POST
path: "/companies/{company_id}/ar/invoices/{invoice_id}/dunning"
tags: ["ar-invoices"]
---

# Issue Dunning

`POST /companies/{company_id}/ar/invoices/{invoice_id}/dunning`

## 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}/ar/invoices/{invoice_id}/dunning`
- Auth: none declared

Issue the next reminder (Zahlungserinnerung / Mahnung) for an overdue invoice.

The optional ``{text}`` body carries the human-reviewed (AI-drafted) reminder
wording (WS2); absent/empty body keeps the renderer's deterministic default.

## Path parameters

- `company_id` string, required
- `invoice_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Request body

- IssueDunningIn: Optional issue payload: the reminder body text as reviewed by the human.
  - `text` string, nullable

## Response `201`

Successful Response

- DunningNoticeOut
  - `id` string, required
  - `invoice_id` string, required
  - `level` integer, required
  - `notice_date` string, date, required
  - `fee_amount` string, required
  - `currency` string, required
  - `body_text` string, nullable
  - `fee_journal_entry_id` string, nullable
  - `snapshot_document_id` string, nullable
  - `sent_at` string, date-time, nullable
  - `last_sent_to` string, nullable
  - `created_at` string, date-time, 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)
