# GET /v1/dunnings/{}/document is deprecated

Lexware Office API deprecated GET /v1/dunnings/{}/document without giving a shutdown date yet.

Lexware Office has deprecated the GET /v1/dunnings/{}/document endpoint without a shutdown date. The provider states that the endpoint should no longer be used. Future requests targeting this endpoint are set to fail.

## What to use instead

Download the PDF using GET /v1/dunnings/{id}/file instead.

- API: Lexware Office API (api.lexware.io)
- Kind: Endpoint removal
- Announced: August 13, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v1/dunnings/{}/document`
- Source: [Announcement](https://developers.lexware.io/docs/)
- Verified: October 26, 2026, against Lexware Office API's own pages
- Page: https://www.okapi.bot/providers/lexware-office-api/breaking-changes/get-v1-dunnings-document-is-deprecated/

## Lexware Office API's words

> This endpoint is deprecated and should no longer be used. Instead, use the dunning file subresource to directly download the document by specifying the id of the dunning.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
