Workday Payroll · Schema

DeductionCodeCollection

DeductionCodeCollection schema from Workday Payroll API

CompensationEnterpriseHuman ResourcesPayrollSaaSTax

Properties

Name Type Description
data array
total integer Total number of deduction codes
View JSON Schema on GitHub

JSON Schema

payroll-deduction-code-collection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-deduction-code-collection-schema.json",
  "title": "DeductionCodeCollection",
  "description": "DeductionCodeCollection schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeductionCode"
      }
    },
    "total": {
      "type": "integer",
      "description": "Total number of deduction codes",
      "example": 52
    }
  },
  "$defs": {
    "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
        }
      }
    }
  }
}