# GET /v1/credit-notes/{}/document is deprecated

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

The provider deprecated the GET /v1/credit-notes/{}/document endpoint on August 13, 2025, without a shutdown date. Calls made to this endpoint are set to fail once removal takes effect. The provider notes that this endpoint is deprecated and should no longer be used.

## What to use instead

Download the PDF with GET /v1/credit-notes/{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/credit-notes/{}/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-credit-notes-document-is-deprecated/

## Lexware Office API's words

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

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