While payroll is being calculated or submitted, it is important that no additional payroll API calls are made to modify the payroll (This includes the prepare, update, calculate, and submit APIs). TheDocumentation Index
Fetch the complete documentation index at: https://gusto-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
processing_request object is returned by our GET companies/{company_id}/payrolls/{payroll_id} endpoint and the PUT companies/{company_uuid}/payrolls/{payroll_uuid}/prepare endpoint. This object provides better visibility into the status of the calculation or submission process. It also returns relevant error information if there is a failure.
1. processing_request Attribute
The processing_request attribute is included in the response for theGET companies/{company_id}/payrolls/{payroll_id} endpoint and the PUT companies/{company_uuid}/payrolls/{payroll_uuid}/prepare endpoint:
- calculating
- calculate_success
- submitting
- submit_success
- processing_failed
"processing_request": null if:
- You have not attempted to calculate or submit the payroll The calculate/submit process has not started yet. The calculation/submission is done asynchronously and generally starts within a couple seconds of a successful calculate/submit API request. This could take longer when many payrolls are being processed
- The calculation has been cleared out by a request to the
PUT companies/{company_uuid}/payrolls/{payroll_uuid}/prepareendpoint.
2. Processing Failures
When processing fails we will return errors in the same format as our other API response errors. Here are the most common error responses you will see when processing failsEmployee net pay less than zero
Debit date no longer valid
Fallback error - If we are unable to map the error correctly we will return this error.
Payroll Submission Blockers & Unblock Options Create an Off Cycle Payroll