Workday Payroll · JSON Structure

Payroll Deduction Code Structure

DeductionCode schema from Workday Payroll API

Type: object Properties: 5
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

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

Properties

id descriptor type preTax active

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-structure.json",
  "name": "DeductionCode",
  "description": "DeductionCode schema from Workday Payroll API",
  "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
    }
  }
}