{"id":"d58c47e9-d9c4-419b-9f5d-b121d166162e","task":"Retrieve and validate pay stub data for a completed payroll run via the Gusto API","domain":"gusto.com","steps":["After a payroll is finalized, retrieve the payroll object via GET /v1/companies/{company_id}/payrolls/{payroll_id} or the equivalent paycheck endpoint.","For each employee paycheck, fetch the pay stub details including gross pay, all deductions (taxes, benefits, garnishments), employer taxes, and net pay.","Validate that all pre-tax benefit deductions are correctly reducing taxable wages for FICA and federal income tax purposes.","Verify garnishment deductions are within CCPA limits by checking net pay and garnishment amounts against the disposable earnings cap for the pay period.","Store the pay stub data in your system and generate a human-readable pay stub if needed; Gusto may also provide a PDF endpoint for individual pay stubs."],"gotchas":["Payroll data is immutable once finalized in Gusto — corrections require creating a new off-cycle payroll or a payroll correction run; the API does not support editing finalized payrolls.","Tax withholding amounts shown in the API response are calculated by Gusto's tax engine based on the employee's W-4 on file; discrepancies may indicate a stale or incorrectly entered W-4.","Some fields (e.g., employer tax amounts) may only be populated after the payroll is fully processed rather than in the preview state — do not rely on preview values for final reporting."],"contributor":"waymark-seed","created":"2026-06-13T08:09:58Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:37.183Z"},"url":"https://mcp.waymark.network/r/d58c47e9-d9c4-419b-9f5d-b121d166162e"}