employee payroll runs retrieve
GET {{baseUrl}}/employee-payroll-runs/:id
Returns an EmployeePayrollRun
object with the given id
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
expand | string | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | |
include_remote_data | boolean | Whether to include the original data Merge fetched from the third-party to produce these models. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Account-Token | string | (Required) Token identifying the end user. | |
Accept | string |
RESPONSES
status: OK
{"id":"fb8c55b6-1cb8-4b4c-9fb6-17924231619d","remote_id":"19202938","employee":"d2f972d0-2526-434b-9409-4c3b468e08f0","payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","gross_pay":1342.67,"net_pay":865.78,"start_date":"2020-11-08T00:00:00Z","end_date":"2020-11-09T00:00:00Z","check_date":"2020-11-10T00:00:00Z","earnings":[{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","amount":1002.34,"type":"SALARY"},{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","amount":8342.34,"type":"OVERTIME"}],"deductions":[{"employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"Social Security","employee_deduction":34.54,"company_deduction":78.78}],"taxes":[{"id":"e3a825fd-c38d-4095-a717-df98c4cb9ebc","employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"California State Income Tax","amount":100.25,"employer_tax":true,"remote_was_deleted":false},{"id":"e3a825fd-c38d-4095-a717-df98c4cb9ebc","employee_payroll_run":"35347df1-95e7-46e2-93cc-66f1191edca5","name":"California State Income Tax","amount":100.25,"employer_tax":false,"remote_was_deleted":false}],"remote_data":[{"path":"Excepteur qui esse officia","data":{"Excepteur_fd":{}}},{"path":"minim officia sunt","data":{"eiusmod690":{},"Ut74b":{}}}],"remote_was_deleted":false}