List EOR Payroll Calendar
Changed onList all active payroll calendars for EOR.
Authentication
This endpoint requires the following token type:
- Client credentials access token (OAuth2ClientCredentials) — obtained through the Client Credentials flow or the Refresh Token flow. See Authentication for partners.
Scopes
Any one of the scopes in a token type's row is enough. all:read and all:write work too.
| Token type | Category | Read only Scope | Write only Scope (read access implicit) |
|---|---|---|---|
| Client credentials access token | Manage payroll runs (payroll) | View payroll calendars (payroll_calendar:read) | - |
Request
- Base URLhttps://gateway.remote.com
- Auth
- OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopeshttps://gateway.remote.com/company.manage
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopespayroll_calendar:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:read
- or OAuth 2Client credentialsToken URL/auth/oauth2/tokenScopesall:write
Query parameters
Filter payroll calendars by country code
Filter payroll calendars by year
Starts fetching records after the given page
Number of items per page
Response
Success
Response schema listing many payroll_calendars
Example response
{
"current_page": 1,
"payroll_calendars": [
{
"country": {
"alpha_2_code": "PT",
"code": "PRT",
"contractor_products_available": [
"standard",
"plus",
"cor"
],
"country_subdivisions": [
{
"code": "PT-06",
"name": "Coimbra",
"subdivision_type": "District"
},
{
"code": "PT-11",
"name": "Lisboa",
"subdivision_type": "District"
}
],
"employment_agreement_preview_available": true,
"eor_onboarding": true,
"global_payroll_supported": true,
"locked_benefits": "after_first_hire",
"name": "Portugal",
"region": "Europe",
"subregion": "Southern Europe",
"supported_json_schemas": [
"additional_documents",
"address_details",
"administrative_details",
"employment-basic-information",
"bank_account_details",
"contract_details",
"emergency_contact"
]
},
"cycle_frequency": "monthly",
"cycles": [
{
"employee_inclusion_cutoff_date": "2021-01-20",
"end_date": "2021-01-31",
"input_cutoff_date": "2021-01-15",
"payment_date": "2021-01-25",
"start_date": "2021-01-01"
}
],
"id": "8f7d9b2e-3a1c-4f5d-9e8b-7c6d5a4b3f2e"
}
],
"total_count": 1,
"total_pages": 1
}Changes
- info
the security scope
https://gateway.remote.com/company.managewas added to the endpoint's security schemeOAuth2ClientCredentials - info
the security scope
all:writewas removed from the endpoint's security schemeOAuth2ClientCredentials
- info
- info
the security scope
https://gateway.remote.com/company.managewas added to the endpoint's security schemeOAuth2ClientCredentials
1 more change in this revision
- info