Workday Payroll · JSON Structure

Payroll Pay Run Structure

PayRun schema from Workday Payroll API

Type: object Properties: 15
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

PayRun is a JSON Structure definition published by Workday Payroll, describing 15 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id descriptor payGroup payPeriod status runCategory paymentDate totalGrossPay totalNetPay totalDeductions totalTaxes workerCount currency createdOn completedOn

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-pay-run-structure.json",
  "name": "PayRun",
  "description": "PayRun schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the pay run",
      "example": "pr_20260430_weekly_001"
    },
    "descriptor": {
      "type": "string",
      "description": "Human-readable name of the pay run",
      "example": "Weekly USD Pay Group"
    },
    "payGroup": {
      "$ref": "#/$defs/PayGroupRef"
    },
    "payPeriod": {
      "$ref": "#/$defs/PayPeriod"
    },
    "status": {
      "type": "string",
      "enum": [
        "Draft",
        "InProgress",
        "Completed",
        "Cancelled"
      ],
      "description": "Current status of the pay run",
      "example": "Draft"
    },
    "runCategory": {
      "type": "string",
      "enum": [
        "Regular",
        "OffCycle",
        "OnDemand"
      ],
      "description": "Category of the pay run",
      "example": "Regular"
    },
    "paymentDate": {
      "type": "date",
      "description": "Date payments will be distributed",
      "example": "2026-04-30"
    },
    "totalGrossPay": {
      "type": "double",
      "description": "Total gross pay for the pay run",
      "example": 245830.5
    },
    "totalNetPay": {
      "type": "double",
      "description": "Total net pay for the pay run",
      "example": 178452.3
    },
    "totalDeductions": {
      "type": "double",
      "description": "Total deductions for the pay run",
      "example": 38210.8
    },
    "totalTaxes": {
      "type": "double",
      "description": "Total tax withholdings for the pay run",
      "example": 29167.4
    },
    "workerCount": {
      "type": "int32",
      "description": "Number of workers included in the pay run",
      "example": 87
    },
    "currency": {
      "type": "string",
      "description": "ISO 4217 currency code",
      "example": "USD"
    },
    "createdOn": {
      "type": "datetime",
      "description": "When the pay run was created",
      "example": "2026-04-30T16:45:00Z"
    },
    "completedOn": {
      "type": "datetime",
      "description": "When the pay run was completed",
      "example": "2026-04-30T16:45:00Z"
    }
  },
  "definitions": {
    "PayPeriod": {
      "name": "PayPeriod",
      "type": "object",
      "properties": {
        "startDate": {
          "type": "date",
          "description": "Start date of the pay period",
          "example": "2026-04-30"
        },
        "endDate": {
          "type": "date",
          "description": "End date of the pay period",
          "example": "2026-04-30"
        }
      }
    },
    "PayGroupRef": {
      "name": "PayGroupRef",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Pay group identifier",
          "example": "pg_weekly_usd"
        },
        "descriptor": {
          "type": "string",
          "description": "Pay group display name",
          "example": "Weekly USD Pay Group"
        }
      }
    }
  }
}