Workday Payroll · JSON Structure

Payroll Input Input Record Structure

InputRecord schema from Workday Payroll Input API

Type: object Properties: 7 Required: 2
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

InputRecord is a JSON Structure definition published by Workday Payroll, describing 7 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

workerId inputType earningCode deductionCode amount hours effectiveDate

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-input-input-record-structure.json",
  "name": "InputRecord",
  "description": "InputRecord schema from Workday Payroll Input API",
  "type": "object",
  "properties": {
    "workerId": {
      "type": "string",
      "description": "Worker identifier",
      "example": "w_100542"
    },
    "inputType": {
      "type": "string",
      "enum": [
        "Earning",
        "Deduction",
        "TimeOff"
      ],
      "description": "Type of input record",
      "example": "Earning"
    },
    "earningCode": {
      "type": "string",
      "description": "Earning code (for Earning type)",
      "example": "REGULAR"
    },
    "deductionCode": {
      "type": "string",
      "description": "Deduction code (for Deduction type)",
      "example": "MEDICAL_PRETAX"
    },
    "amount": {
      "type": "double",
      "description": "Amount",
      "example": 2500.0
    },
    "hours": {
      "type": "double",
      "description": "Hours (for time-based entries)",
      "example": 40.0
    },
    "effectiveDate": {
      "type": "date",
      "description": "Effective date",
      "example": "2026-04-30"
    }
  },
  "required": [
    "workerId",
    "inputType"
  ]
}