Company

Get a company's document 🌍

Changed on

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

get/companies/{companyId}/documents/{documentId}

Request

Path parameters

companyIdstring required

The id of the company

documentIdstring required

The id of the document

Response

The document file requested

Changes

    • info

      the security scope contracts:payslips:read was added to the endpoint's security scheme partner-api-oauth

    • info

      the security scope pension:read was removed from the endpoint's security scheme partner-api-oauth