Get all payrolls for a company

GET {{baseUrl}}/v1/companies/:company_id/payrolls?processing_statuses=<string>&processing_statuses=<string>&payroll_types=<string>&payroll_types=<string>&include=<string>&include=<string>&start_date=<string>&end_date=<string>

Returns a list of payrolls for a company. You can change the payrolls returned by updating the processingstatus, payrolltypes, startdate, & enddate params.

By default, will return processed, regular payrolls for the past 6 months.

Notes: * Dollar amounts are returned as string representations of numeric decimals, are represented to the cent. * enddate can be at most 3 months in the future and startdate and end_date can't be more than 1 year apart.

scope: payrolls:read

Request Params

KeyDatatypeRequiredDescription
processing_statusesstringWhether to include processed and/or unprocessed payrolls in the response, defaults to processed, for multiple attributes comma separate the values, i.e. ?processing_statuses=processed,unprocessed
processing_statusesstringWhether to include processed and/or unprocessed payrolls in the response, defaults to processed, for multiple attributes comma separate the values, i.e. ?processing_statuses=processed,unprocessed
payroll_typesstringWhether to include regular and/or off_cycle payrolls in the response, defaults to regular, for multiple attributes comma separate the values, i.e. ?payroll_types=regular,off_cycle
payroll_typesstringWhether to include regular and/or off_cycle payrolls in the response, defaults to regular, for multiple attributes comma separate the values, i.e. ?payroll_types=regular,off_cycle
includestringInclude the requested attribute in the response. The risk_blockers option will include submission_blockers and credit_blockers if applicable. In v2023-04-01 totals are no longer included by default. For multiple attributes comma separate the values, i.e. ?include=totals,payroll_status_meta
includestringInclude the requested attribute in the response. The risk_blockers option will include submission_blockers and credit_blockers if applicable. In v2023-04-01 totals are no longer included by default. For multiple attributes comma separate the values, i.e. ?include=totals,payroll_status_meta
start_datestringReturn payrolls whose pay period is after the start date
end_datestringReturn payrolls whose pay period is before the end date. If left empty, defaults to today's date.

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Acceptstring

RESPONSES

status: OK

[{&quot;payroll_deadline&quot;:&quot;2021-02-18T22:00:00Z&quot;,&quot;check_date&quot;:&quot;2021-02-22&quot;,&quot;off_cycle&quot;:false,&quot;external&quot;:false,&quot;processed&quot;:true,&quot;processed_date&quot;:&quot;2021-02-18&quot;,&quot;calculated_at&quot;:&quot;2021-02-18T12:00:00Z&quot;,&quot;payroll_uuid&quot;:&quot;b50e611d-8f3d-4f24-b001-46675f7b5777&quot;,&quot;company_uuid&quot;:&quot;6bf7807c-a5a0-4f4d-b2e7-3fbb4b2299fb&quot;,&quot;created_at&quot;:&quot;2021-02-01T22:00:00Z&quot;,&quot;pay_period&quot;:{&quot;start_date&quot;:&quot;2021-02-01&quot;,&quot;end_date&quot;:&quot;2021-02-15&quot;,&quot;pay_schedule_uuid&quot;:&quot;00ebc4a4-ec88-4435-8f45-c505bb63e501&quot;},&quot;totals&quot;:{&quot;company_debit&quot;:&quot;121747.71&quot;,&quot;net_pay_debit&quot;:&quot;79283.80&quot;,&quot;tax_debit&quot;:&quot;42463.91&quot;,&quot;reimbursement_debit&quot;:&quot;0.00&quot;,&quot;child_support_debit&quot;:&quot;0.00&quot;,&quot;reimbursements&quot;:&quot;0.00&quot;,&quot;net_pay&quot;:&quot;81752.94&quot;,&quot;gross_pay&quot;:&quot;130635.89&quot;,&quot;employee_bonuses&quot;:&quot;0.00&quot;,&quot;employee_commissions&quot;:&quot;18536.37&quot;,&quot;employee_cash_tips&quot;:&quot;0.00&quot;,&quot;employee_paycheck_tips&quot;:&quot;0.00&quot;,&quot;additional_earnings&quot;:&quot;0.00&quot;,&quot;owners_draw&quot;:&quot;0.00&quot;,&quot;check_amount&quot;:&quot;2469.14&quot;,&quot;employer_taxes&quot;:&quot;6917.19&quot;,&quot;employee_taxes&quot;:&quot;35546.72&quot;,&quot;benefits&quot;:&quot;0.00&quot;,&quot;employee_benefits_deductions&quot;:&quot;13336.23&quot;,&quot;deferred_payroll_taxes&quot;:&quot;0.00&quot;,&quot;other_deductions&quot;:&quot;240.00&quot;}},{&quot;payroll_deadline&quot;:&quot;2021-02-28&quot;,&quot;check_date&quot;:&quot;2021-03-01&quot;,&quot;off_cycle&quot;:false,&quot;external&quot;:false,&quot;processed&quot;:false,&quot;processed_date&quot;:&quot;nil&quot;,&quot;calculated_at&quot;:&quot;nil&quot;,&quot;payroll_uuid&quot;:&quot;b50e611d-8f3d-4f24-b001-46675f7b5777&quot;,&quot;company_uuid&quot;:&quot;6bf7807c-a5a0-4f4d-b2e7-3fbb4b2299fb&quot;,&quot;created_at&quot;:&quot;2022-02-01T22:00:00Z&quot;,&quot;pay_period&quot;:{&quot;start_date&quot;:&quot;2021-02-16&quot;,&quot;end_date&quot;:&quot;2021-03-01&quot;,&quot;pay_schedule_uuid&quot;:&quot;00ebc4a4-ec88-4435-8f45-c505bb63e501&quot;}}]