Skip to main content
Reporting a payroll is the core of the integration. Hammock doesn’t create payrolls or guess at them: you report each one, with your own ID, pay period and pay date, and Hammock funds accounts from what you report.

The loop

Report a payroll

Report a payroll when it locks, which for most payrolls is when it’s approved.
  • external_id is 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.
  • deductions lists what was actually withheld and contributed, per deduction. Report real amounts, including zero.
  • reimbursements lists 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 a variance 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.
Voiding cancels the pull and returns the payroll’s reimbursements to 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:
Hammock support then corrects it with you, because money is already moving. That can mean returning funds to the employer or taking a contribution back out of an employee’s account.
If a payroll you reported doesn’t pay, void it before the pay date. Otherwise Hammock pulls for contributions that were never withheld.

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 a pay_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.