Skip to main content

Send Hours to Payroll

Sends the hours for the open pay period to Xero Payroll now, instead of waiting for the nightly send. The hours arrive in Xero as draft timesheets. The send runs in the background, so the response only confirms it was queued. Read payroll on Get Timesheet afterwards to see what Xero refused or could not match.

Endpoint​

POST /v1/staff/timesheet/send-to-payroll

Authentication​

Requires an API key with the staff:write scope.

Request Body​

None.

Response​

Success (200 OK)​

{
"data": {
"queued": true
},
"meta": { "request_id": "req_abc123", "timestamp": "2026-06-13T10:00:00+00:00" }
}

Errors​

StatusCodeDescription
422payroll_not_connectedThe business does not send hours to Xero Payroll. Connect Xero with payroll access first
403insufficient_scopeAPI key lacks staff:write scope

Example Request​

curl -X POST "https://app.equipdash.com/api/v1/staff/timesheet/send-to-payroll" \
-H "Authorization: Bearer YOUR_API_KEY"