Workday Payroll · JSON Structure

Payroll Deduction Code Collection Structure

DeductionCodeCollection schema from Workday Payroll API

Type: object Properties: 2
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

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

Properties

data total

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-deduction-code-collection-structure.json",
  "name": "DeductionCodeCollection",
  "description": "DeductionCodeCollection schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeductionCode"
      }
    },
    "total": {
      "type": "int32",
      "description": "Total number of deduction codes",
      "example": 52
    }
  },
  "definitions": {
    "DeductionCode": {
      "name": "DeductionCode",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the deduction code",
          "example": "MEDICAL_PRETAX"
        },
        "descriptor": {
          "type": "string",
          "description": "Display name of the deduction code",
          "example": "Weekly USD Pay Group"
        },
        "type": {
          "type": "string",
          "enum": [
            "Benefit",
            "Retirement",
            "Garnishment",
            "Tax",
            "Voluntary",
            "Other"
          ],
          "description": "Category of the deduction",
          "example": "Benefit"
        },
        "preTax": {
          "type": "boolean",
          "description": "Whether this deduction is pre-tax by default",
          "example": true
        },
        "active": {
          "type": "boolean",
          "description": "Whether the deduction code is currently active",
          "example": true
        }
      }
    }
  }
}