# GET /v1/order-confirmations/{}/document is deprecated

Lexware Office API deprecated GET /v1/order-confirmations/{id}/document without giving a shutdown date yet.

Lexware Office API deprecated the GET /v1/order-confirmations/{id}/document endpoint on August 13, 2025, without a shutdown date. Calls made to this route will eventually fail. Lexware Office API stated that the endpoint is deprecated and should no longer be used.

## What to use instead

Download the PDF with GET /v1/order-confirmations/{id}/file.

- 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/order-confirmations/{id}/document`
- Source: [Announcement](https://developers.lexware.io/docs/)
- Verified: November 6, 2026, against Lexware Office API's own pages
- Page: https://www.okapi.bot/providers/lexware-office-api/breaking-changes/get-v1-order-confirmations-document-is-deprecated/

## Lexware Office API's words

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

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