---
title: "Get a company's document 🌍"
method: GET
path: "/companies/{companyId}/documents/{documentId}"
tags: ["Company"]
---

# Get a company's document 🌍

`GET /companies/{companyId}/documents/{documentId}`

Returns a company's document. \ \ Please note that this endpoint will only work with URLs provided by other endpoints of the PayFit API, such as GET /auto-enrolment-documents or /income-taxes-documents. \ Other documents are not accessible via this endpoint.
\
**Required scopes**: *contracts:payslips:read, pension:read*

## Path parameters

- `companyId` string, required
- `documentId` string, required

## Response `200`

The document file requested

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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