Get Employee Payroll
Get payroll for employee
Path parameters
ID of the payroll you are acting upon.
ID of the employee you are acting upon.
Query parameters
Include raw response. Mostly used for debugging purposes
The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: fields=name,email,addresses.city<br /><br />In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded.
Headers
ID of the consumer which you want to get or push data from
The ID of your Unify application
Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Response
Payrolls
Example response
{
"status_code": 200,
"status": "OK",
"service": "undefined",
"resource": "Companies",
"operation": "one",
"data": {
"id": "12345",
"employee_id": "12345",
"company_id": "23456",
"processed_date": "2022-04-08",
"check_date": "2022-04-08",
"start_date": "2022-04-08",
"end_date": "2022-04-21",
"totals": {
"company_debit": 27992.49,
"tax_debit": 8655.32,
"check_amount": 27966.23,
"net_pay": 19337.17,
"gross_pay": 27966.23,
"employer_taxes": 2038.93,
"employee_taxes": 6616.39
},
"compensations": [
{
"employee_id": "12345",
"net_pay": 2199.93,
"gross_pay": 3000,
"taxes": [
{
"name": "CA State Income Tax",
"amount": 1.97
}
],
"deductions": [
{
"name": "Company Car",
"amount": 10.97
}
],
"benefits": [
{
"name": "Health Insurance",
"employee_deduction": 142.94,
"employer_contribution": 141.14
}
]
}
]
},
"meta": {
"items_on_page": 50,
"cursors": {
"previous": "em9oby1jcm06OnBhZ2U6OjE=",
"current": "em9oby1jcm06OnBhZ2U6OjI=",
"next": "em9oby1jcm06OnBhZ2U6OjM="
},
"total_count": 1,
"warnings": [
{
"type": "downstream_request_failed",
"status_code": 429,
"operation": "getManager"
}
]
}
}