Xero · Schema

Employment

AccountingBank FeedsFinanceFinancial ServicesInvoicingPayrollSmall Business

Properties

Name Type Description
payrollCalendarID string Xero unique identifier for the payroll calendar of the employee
payRunCalendarID string Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)
startDate string Start date of the employment (YYYY-MM-DD)
engagementType string Engagement type of the employee
fixedTermEndDate string End date for an employee with a fixed-term engagement type
View JSON Schema on GitHub

JSON Schema

xero-employment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Employment",
  "title": "Employment",
  "type": "object",
  "required": [
    "payrollCalendarID",
    "startDate",
    "engagementType"
  ],
  "properties": {
    "payrollCalendarID": {
      "description": "Xero unique identifier for the payroll calendar of the employee",
      "type": "string",
      "format": "uuid"
    },
    "payRunCalendarID": {
      "description": "Xero unique identifier for the payrun calendar for the employee (Deprecated in version 1.1.6)",
      "type": "string",
      "format": "uuid"
    },
    "startDate": {
      "description": "Start date of the employment (YYYY-MM-DD)",
      "type": "string",
      "format": "date",
      "x-is-date": true
    },
    "engagementType": {
      "description": "Engagement type of the employee",
      "type": "string",
      "example": "Permanent"
    },
    "fixedTermEndDate": {
      "description": "End date for an employee with a fixed-term engagement type",
      "type": "string",
      "format": "date",
      "example": "2020-01-19",
      "x-is-date": true
    }
  }
}