Workday Payroll · JSON Structure

Payroll Deduction Structure

Deduction schema from Workday Payroll API

Type: object Properties: 7
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

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

Properties

id deductionCode amount frequency preTax effectiveDate endDate

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-structure.json",
  "name": "Deduction",
  "description": "Deduction schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique deduction record identifier",
      "example": "ded_20260430_00211"
    },
    "deductionCode": {
      "$ref": "#/$defs/DeductionCodeRef"
    },
    "amount": {
      "type": "double",
      "description": "Deduction amount",
      "example": 2500.0
    },
    "frequency": {
      "type": "string",
      "enum": [
        "PerPayPeriod",
        "Monthly",
        "Annual",
        "OneTime"
      ],
      "description": "Deduction frequency",
      "example": "PerPayPeriod"
    },
    "preTax": {
      "type": "boolean",
      "description": "Whether the deduction is pre-tax",
      "example": true
    },
    "effectiveDate": {
      "type": "date",
      "description": "Effective date of the deduction",
      "example": "2026-04-30"
    },
    "endDate": {
      "type": "date",
      "description": "End date of the deduction",
      "example": "2026-04-30"
    }
  },
  "definitions": {
    "DeductionCodeRef": {
      "name": "DeductionCodeRef",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Deduction code identifier",
          "example": "MEDICAL_PRETAX"
        },
        "descriptor": {
          "type": "string",
          "description": "Deduction code display name",
          "example": "Weekly USD Pay Group"
        }
      }
    }
  }
}