---
title: "Gets requested document for the specified courier awb number"
method: GET
path: "/api/Order/DownloadDocument/courier/{courierId}/awb/{awb}"
tags: ["Order"]
---

# Gets requested document for the specified courier awb number

`GET /api/Order/DownloadDocument/courier/{courierId}/awb/{awb}`

## Request

- Base URL: `https://api.innoship.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.innoship.io/api/Order/DownloadDocument/courier/{courierId}/awb/{awb}`
- Auth: API key in header `X-Api-Key`

## Path parameters

- `courierId` integer, required
- `awb` string, required

## Query parameters

- `document` 'ConsignmentNote' | 'ExpressWaybill' | 'CustomsDeclaration' | 'Invoice' | 'WorldEase' | 'ProofOfDelivery'
- `type` 'Pdf' | 'Zpl' | 'Html'
- `format` 'A4' | 'A6' | 'A5'
- `useFile` boolean
- `api-version` string, required

## Headers

- `api-version` string

## Response `200`

Returns the document

- InnoshipApiServiceContractOrderDocumentResponse
  - `courier` integer
  - `contents` string, nullable
  - `documents` string[], nullable

## Other responses

- `400`: Unable to get the document due to validation errors
- `401`: Unable to authorize request

## Changes

- **2026-10-06** `adac0ee66cab`: 2 info
  - added the optional property `errors/items/categoryCode` to the response with the `400` status
  - added the optional property `errors/items/subcategoryCode` to the response with the `400` status

[Operation history](https://skmtc.dev/innoship/apis/innoship-api/changes/api/Order/DownloadDocument/courier/:courierId/awb/:awb/get.md)

---

[API](https://skmtc.dev/innoship/apis/innoship-api.md) - [All operations](https://skmtc.dev/innoship/apis/innoship-api/llms.txt) - [OpenAPI document](https://skmtc.dev/innoship/apis/innoship-api/revisions/99970aa2068d?raw)
