---
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}`

## 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

---

[API](https://skmtc.net/innoship/apis/innoship-api.md) · [All operations](https://skmtc.net/innoship/apis/innoship-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/innoship/innoship-api/revisions/fc0aa554b244/schema)
