Payslips
Retrieves payslips from a specific payrun.
Supported integrations:
- brain payroll
- brightpay connect
- deel
- gusto
- justworks
- moorepay
- onpay
- oyster
- parolla.ie
- paycircle
- payfit
- pento.io
- quickbooks online
- remote.com
- sageone
- shape payroll
- simplepay.ie
- staffology
- xero uk
Path parameters
-
The id of the payrun.
GET /2023-03-01/xhr/payruns/{payrun_id}
curl \
-X GET https://api.affixapi.com/2023-03-01/xhr/payruns/{payrun_id} \
-H "Authorization: $API_KEY"
Response examples (200)
[
{
"id": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
"remote_id": "19202938",
"employee_id": "d2f972d0-2526-434b-9409-4c3b468e08f0",
"employee_remote_id": "19202938",
"payrun_id": "35347df1-95e7-46e2-93cc-66f1191edca5",
"payrun_remote_id": "19202938",
"payrun_type": "regular",
"currency": "eur",
"gross_pay": 134267,
"net_pay": 86578,
"start_date": "2020-01-01",
"end_date": "2020-01-31",
"payment_date": "2020-01-27",
"earnings": [
{
"name": "SALARY",
"hours": 80,
"amount": 100234
},
{
"name": "OVERTIME",
"hours": 8,
"amount": 834234
}
],
"contributions": [
{
"name": "Private Health Insurance (Employer)",
"amount": 13454
},
{
"name": "Transportation allowance benefit (Employer)",
"amount": 3454
},
{
"name": "Other (Employer)",
"amount": 3454
}
],
"deductions": [
{
"name": "Transportation allowance benefit",
"amount": 3454
},
{
"name": "Private Health Insurance (Employee)",
"amount": 3454
}
],
"taxes": [
{
"name": "PRSI",
"amount": 725,
"employer_tax": false
},
{
"name": "PSC (Class S)",
"amount": 125,
"employer_tax": false
},
{
"name": "Income Tax",
"amount": 10025,
"employer_tax": false
},
{
"name": "Payroll Tax",
"amount": 10025,
"employer_tax": true
}
],
"reimbursements": [
{
"name": "Slack seat",
"amount": 725
}
]
}
]
Response examples (202)
# Headers
Retry-After: 42
# Payload
{
"message": "string"
}
Response examples (401)
{
"error": "authentication_error",
"message": "Your password is incorrect",
"code": "incorrect_username_or_password"
}
Response examples (429)
# Headers
Retry-After: 42
# Payload
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}
Response examples (501)
{
"message": "string"
}