The loop
Report a payroll
Report a payroll when it locks, which for most payrolls is when it’s approved.external_idis your payroll’s ID. It’s unique within the employer, so a payroll can’t be reported twice. Reuse it only after voiding the earlier report.deductionslists what was actually withheld and contributed, per deduction. Report real amounts, including zero.reimbursementslists the pending reimbursements this payroll pays.
Statuses
A payroll with nothing to pull, such as one that only pays reimbursements, has
"pull": null and
moves from reported to completed on its pay date.
When actuals differ from the deduction
Each reported line carries avariance comparing it with what the deduction called for.
An amount that would take an employee past an IRS annual limit is rejected with
contribution_limit_exceeded, and the payroll isn’t created. Fix the line and report again.
Off-cycle payrolls
Report a bonus run, a correction or a final paycheck the same way, with"type": "off_cycle".
pay_schedule is optional for these. Include only the deductions and reimbursements that the run
actually carried.
Void a payroll
If a reported payroll is reopened, changes or fails to fund, void it and report it again.pending. To correct one
paycheck, void the payroll and report it again with the corrected lines. You can reuse the same
external_id.
The void window
A payroll can be voided until its pull starts.voidable_until gives the exact time.
After the window
Once the pull has started, voiding returns an error:If a report is missing
Hammock compares reports with each pay schedule. When a payday passes with no report for a schedule that has active deductions, you receive apay_schedule.payroll_overdue event. Report the payroll as soon as you can: until you do, the
money withheld from employees isn’t in their accounts.