Payroll Summaries

Prev Next
Get
/public/v1/labor/payroll-summaries

Retrieves payroll summaries for a date range, filtered by location or legal entity

Security

The requesting user must have all of the following permissions:

  • Administration → Legal Entities → View Legal Entities
  • Locations → View Locations
  • Labor → Employees → View Employees
  • Labor → Jobs → View Jobs
  • Time & Attendance → Timecards → View Timecards
Security
HTTP
Type Bearer
Header parameters
x-r365-context-tenant-id
stringRequired

Identifies the R365 tenant the request applies to. Required on every request.

Query parameters
businessDateStart
string (date) Required

Starting business date for the payroll period (inclusive). Required if businessDateEnd is provided

businessDateEnd
string (date) Required

Ending business date for the payroll period (inclusive). Required if businessDateStart is provided

locationId
string (uuid)

Location identifier. If omitted, returns data for all locations the API user has access to

legalEntityId
string (uuid)

Legal entity identifier. If omitted, returns data for all legal entities the API user has access to

Responses
200

Payroll summary rows aggregated by employee, job code, and earning type. Each row represents labor on a single business date for a single employee/job/earning-type combination. Returned as a raw array — no pagination wrapper.

Array of object
object

A single payroll summary row aggregating labor by employee, job code, and earning type for a business date.

businessDate
string (date)

Business date of the labor record.

legalEntity
object (ExternalLegalEntity)

Legal entity associated with the labor record.

id
string (uuid)

Unique identifier of the legal entity.

name
string | null

Display name of the legal entity.

number
string | null

Legal entity number.

payrollProviderId
string | null

External payroll provider identifier for the legal entity.

location
object (ExternalLocation)

Location where the labor was performed.

id
string (uuid)

Unique identifier of the location.

name
string | null

Display name of the location.

number
string | null

Location number.

payrollLocationId
string | null

External payroll location identifier.

employee
object (ExternalEmployee)

Employee who performed the labor.

id
string (uuid)

Unique identifier of the employee.

name
string | null

Display name of the employee.

payrollId
string | null

External payroll identifier for the employee.

earningType
string | null

Earning type code for the labor record.

earningTypeName
string | null

Display name of the earning type.

jobCode
object (JobCode)

Job code associated with the labor record.

id
string (uuid)

Unique identifier of the job code.

name
string | null

Display name of the job code.

code
string | null

Job code value.

department
string | null

Department the job code belongs to.

totalSeconds
integer (int32)

Total duration of labor in seconds.

rate
number (double)

Pay rate applied to the labor record.

cost
number (double)

Total cost of the labor record (rate × totalSeconds, in currency units).

400

Bad Request — a parameter value is malformed, of the wrong type, or outside its allowed range.

401

Unauthorized — the bearer token is missing, invalid or expired, or is not valid for the specified tenant.

403

Forbidden — the caller lacks the permission required for this operation.

404

Not Found — the requested resource does not exist, or the supplied continuation token is unknown or has expired.

409

Conflict — the request conflicts with the current state of the resource and cannot be applied.

422

Unprocessable Entity — a required parameter is missing, or a supplied parameter value is invalid.

429

Too Many Requests — the caller has exceeded the rate limit; retry after a short delay.

500

Internal Server Error — an unexpected error occurred while processing the request.