---
title: "Download Commission Statement PDF"
method: GET
path: "/v4/commissions/statement/{statementId}/pdf"
tags: ["Gateway Features", "Billing & Commission"]
---

# Download Commission Statement PDF

`GET /v4/commissions/statement/{statementId}/pdf`

## Request

- Base URL: `https://sandbox.nmi.com/api`
- URL: `https://sandbox.nmi.com/api/v4/commissions/statement/{statementId}/pdf`
- Auth: API key in header `Authorization`

> 📘 Commission statements
>
> This endpoint is available only if your partner account has access to the commission statements. Your API key must belong to a partner user with the commission permission. You can download only your own statements.

<details>
<summary>Usage</summary>

Get the final statement for your records. This endpoint downloads the commission statement PDF.

The PDF exists only when the status is `finalized`. For any other status the endpoint returns `403`. Before finalization, use the commission report: `GET /v4/commissions/report/{statementId}/xlsx` or `/csv`. The report is available in any status.

On success the response is the PDF file. On an error the response is JSON.

</details>

## Path parameters

- `statementId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

The finalized statement as a PDF.

## Other responses

- `401`: The API key is missing or not valid.
- `403`: The key cannot access this statement (see List Commission Statements), or the statement is not finalized.
- `404`: The statement does not exist.
- `422`: The statement ID is not valid, or the statement service returned an error.
- `500`: The statement service could not complete the request.

---

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