Download payslip in the PDF format
Changed onGiven a Payslip ID, downloads a payslip. It is important to note that each country has a different payslip format and they are not authored by Remote.
Authentication
This endpoint accepts any one of the following token types:
- Company-scoped access token (OAuth2AuthorizationCode) — obtained through the Authorization Code flow or the Refresh Token flow. See Authentication for partners.
- Customer API token (CustomerAPIToken) — generated by the customer on their Integration Settings page. See Authorization for customers.
Scopes
| Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|
| Manage employment documents (employment_documents) | View payslips (payslip:read) | - |
Request
- Base URL: https://gateway.remote.com
- URL: https://gateway.remote.com/v1/payslips/{payslip_id}/pdf
- Auth: HTTP bearer and OAuth 2 (authorization code, authorization URL /auth/oauth2/authorize, token URL /auth/oauth2/token, scopes: https://gateway.remote.com/company.manage, payslip:read, employment_documents, all:write, all:read)
Path parameters
Payslip ID
Headers
Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.
The refresh token needs to have been obtained through the Authorization Code flow.
Response
Success
The binary content of the payslip file.
Example response
"UGVyaW9kIEVuZCBEYXRlLFBheSBEYXRlLEVtcG...5jZSBPZiBSZXNpZGVuYdXJyZW50LEFsbG93"
Changes
- info
the security scope
employment_documentswas added to the endpoint's security schemeCustomerAPIToken - info
the security scope
employment_documentswas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
payrollwas removed from the endpoint's security schemeCustomerAPIToken - info
the security scope
payrollwas removed from the endpoint's security schemeOAuth2AuthorizationCode
- info
- info
the security scope
payrollwas added to the endpoint's security schemeCustomerAPIToken - info
the security scope
payrollwas added to the endpoint's security schemeOAuth2AuthorizationCode - info
the security scope
employment_documentswas removed from the endpoint's security schemeCustomerAPIToken - info
the security scope
employment_documentswas removed from the endpoint's security schemeOAuth2AuthorizationCode
- info