Workday Payroll · JSON Structure

Payroll Input Create Input Batch Request Structure

CreateInputBatchRequest schema from Workday Payroll Input API

Type: object Properties: 2 Required: 2
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

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

Properties

name records

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-create-input-batch-request-structure.json",
  "name": "CreateInputBatchRequest",
  "description": "CreateInputBatchRequest schema from Workday Payroll Input API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Batch name",
      "example": "April 2026 Bonus Batch"
    },
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InputRecord"
      },
      "description": "Input records to process"
    }
  },
  "required": [
    "name",
    "records"
  ],
  "definitions": {
    "InputRecord": {
      "name": "InputRecord",
      "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"
      ]
    }
  }
}