Workday Payroll Pay Run Structure
A pay run represents a single payroll processing cycle for a pay group, encompassing the calculation, review, and completion of payroll for a specific pay period.
Type: object
Properties: 15
Required: 3
CompensationEnterpriseHuman ResourcesPayrollSaaSTax
Workday Payroll Pay Run is a JSON Structure definition published by Workday Payroll, describing 15 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/workday-payroll-pay-run-structure.json",
"name": "Workday Payroll Pay Run",
"description": "A pay run represents a single payroll processing cycle for a pay group, encompassing the calculation, review, and completion of payroll for a specific pay period.",
"type": "object",
"required": [
"payGroup",
"payPeriod",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the pay run"
},
"descriptor": {
"type": "string",
"description": "Human-readable name of the pay run"
},
"payGroup": {
"$ref": "#/$defs/PayGroupRef"
},
"payPeriod": {
"$ref": "#/$defs/PayPeriod"
},
"status": {
"type": "string",
"enum": [
"Draft",
"InProgress",
"Completed",
"Cancelled"
],
"description": "Current status of the pay run"
},
"runCategory": {
"type": "string",
"enum": [
"Regular",
"OffCycle",
"OnDemand"
],
"description": "Category of the pay run indicating whether it is a regular, off-cycle, or on-demand run"
},
"paymentDate": {
"type": "date",
"description": "Date payments will be distributed to workers"
},
"totalGrossPay": {
"type": "double",
"minimum": 0,
"description": "Total gross pay for all workers in the pay run"
},
"totalNetPay": {
"type": "double",
"minimum": 0,
"description": "Total net pay after deductions and taxes"
},
"totalDeductions": {
"type": "double",
"minimum": 0,
"description": "Total deductions across all workers"
},
"totalTaxes": {
"type": "double",
"minimum": 0,
"description": "Total tax withholdings across all workers"
},
"workerCount": {
"type": "int32",
"minimum": 0,
"description": "Number of workers included in the pay run"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217 currency code"
},
"createdOn": {
"type": "datetime",
"description": "Timestamp when the pay run was created"
},
"completedOn": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Timestamp when the pay run was completed"
}
},
"definitions": {
"PayGroupRef": {
"name": "PayGroupRef",
"type": "object",
"description": "Reference to a pay group that organizes workers for payroll processing",
"properties": {
"id": {
"type": "string",
"description": "Pay group unique identifier"
},
"descriptor": {
"type": "string",
"description": "Pay group display name"
}
}
},
"PayPeriod": {
"name": "PayPeriod",
"type": "object",
"description": "Date range defining the pay period covered by the run",
"required": [
"startDate",
"endDate"
],
"properties": {
"startDate": {
"type": "date",
"description": "Start date of the pay period"
},
"endDate": {
"type": "date",
"description": "End date of the pay period"
}
}
}
}
}