Workday Payroll · Schema

EarningCode

EarningCode schema from Workday Payroll API

CompensationEnterpriseHuman ResourcesPayrollSaaSTax

Properties

Name Type Description
id string Unique identifier for the earning code
descriptor string Display name of the earning code
type string Category of the earning
taxable boolean Whether this earning is subject to taxation
active boolean Whether the earning code is currently active
View JSON Schema on GitHub

JSON Schema

payroll-earning-code-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-earning-code-schema.json",
  "title": "EarningCode",
  "description": "EarningCode schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the earning code",
      "example": "REGULAR"
    },
    "descriptor": {
      "type": "string",
      "description": "Display name of the earning code",
      "example": "Weekly USD Pay Group"
    },
    "type": {
      "type": "string",
      "enum": [
        "Regular",
        "Overtime",
        "Bonus",
        "Commission",
        "Holiday",
        "PTO",
        "Supplemental",
        "Other"
      ],
      "description": "Category of the earning",
      "example": "Regular"
    },
    "taxable": {
      "type": "boolean",
      "description": "Whether this earning is subject to taxation",
      "example": true
    },
    "active": {
      "type": "boolean",
      "description": "Whether the earning code is currently active",
      "example": true
    }
  }
}