Contract.EmployeeResponse

Name / Description Type / Format Example
id
The unique id of the object
string uuid "string"
personalDetails Contract.PersonalDetailsResponse {Contract.PersonalDetailsResponse}
employmentDetails Contract.EmploymentDetailsResponse {Contract.EmploymentDetailsResponse}
autoEnrolment Contract.AutoEnrolmentResponse {Contract.AutoEnrolmentResponse}
leaveSettings Contract.LeaveSettingsResponse {Contract.LeaveSettingsResponse}
rightToWork Contract.RightToWork {Contract.RightToWork}
bankDetails Contract.BankDetails {Contract.BankDetails}
payOptions Contract.PayOptionsResponse {Contract.PayOptionsResponse}
tags string[]
status string "Current" "Former" "Upcoming"
aeNotEnroledWarning boolean true
sourceSystemId string "string"
aggregatedServiceDate string date "2024-12-14"
holidaySchemeUniqueId string uuid "string"
evcId
If set then this will be used as the EmployeeIDFromProduct sent to EVC in place of the standard EmployeeId.
string uuid "string"
{
  "id": "string",
  "personalDetails": {
    "statePensionAge": 0,
    "address": {
      "line1": "string",
      "line2": "string",
      "line3": "string",
      "line4": "string",
      "line5": "string",
      "postCode": "string",
      "country": "England",
      "foreignCountry": "string"
    },
    "maritalStatus": "Single",
    "title": "string",
    "firstName": "string",
    "middleName": "string",
    "lastName": "string",
    "alternativeEmail": "string",
    "previousSurName": "string",
    "email": "string",
    "emailPayslip": true,
    "pdfPassword": "string",
    "pdfPasswordType": "InitialsAndDob",
    "emailStatement": true,
    "photoUrl": "string",
    "telephone": "string",
    "photoSasUrl": "string",
    "mobile": "string",
    "dateOfBirth": "2024-12-14",
    "gender": "Male",
    "niNumber": "string",
    "passportNumber": "string",
    "partnerDetails": {
      "firstName": "string",
      "initials": "string",
      "lastName": "string",
      "niNumber": "string"
    }
  },
  "employmentDetails": {
    "cis": {
      "verification": {
        "verificationRequest": "string",
        "manuallyEntered": true,
        "matchInsteadOfVerify": true,
        "number": "string",
        "date": "2024-12-14",
        "taxStatus": "Gross",
        "verificationResponse": "error too many levels"
      },
      "type": "SoleTrader",
      "utr": "string",
      "tradingName": "string",
      "companyUtr": "string",
      "companyNumber": "string",
      "vatRegistered": true,
      "vatNumber": "string",
      "vatRate": 0.0,
      "reverseChargeVAT": true
    },
    "department": {
      "employeeCount": 0,
      "code": "string",
      "title": "string",
      "color": "string",
      "accountingCode": "string"
    },
    "includeSecondedInfoOnStarter": true,
    "cisSubContractor": true,
    "payrollCode": "string",
    "jobTitle": "string",
    "onHold": true,
    "onFurlough": true,
    "furloughStart": "2024-12-14",
    "furloughEnd": "2024-12-14",
    "furloughCalculationBasis": "ActualPaidAmount",
    "furloughCalculationBasisAmount": 0.0,
    "partialFurlough": true,
    "furloughHoursNormallyWorked": 0.0,
    "furloughHoursOnFurlough": 0.0,
    "isApprentice": true,
    "apprenticeshipStartDate": "2024-12-14",
    "apprenticeshipEndDate": "2024-12-14",
    "workingPattern": "string",
    "forcePreviousPayrollCode": "string",
    "starterDetails": {
      "startDate": "2024-12-14",
      "starterDeclaration": "A",
      "overseasEmployerDetails": {
        "overseasEmployer": true,
        "overseasSecondmentStatus": "None",
        "eeaCitizen": true,
        "epm6Scheme": true
      },
      "pensionerPayroll": {
        "inReceiptOfPension": true,
        "bereaved": true,
        "amount": 0.0,
        "startDate": "2024-12-14"
      }
    },
    "directorshipDetails": {
      "isDirector": true,
      "startDate": "2024-12-14",
      "leaveDate": "2024-12-14",
      "niAlternativeMethod": true
    },
    "leaverDetails": {
      "hasLeft": true,
      "leaveDate": "2024-12-14",
      "isDeceased": true,
      "paymentAfterLeaving": true,
      "p45Sent": true,
      "payAccruedBalance": true,
      "paymentMethodAfterLeaving": "RegularPayMethod"
    },
    "roles": [
      {
        "id": "string",
        "name": "string",
        "metadata": {},
        "url": "string"
      }
    ],
    "isWorkingInFreePort": true,
    "isWorkingInInvestmentZone": true,
    "veteranDetails": {
      "isVeteran": true,
      "firstCivilianEmploymentDate": "2024-12-14"
    },
    "continuousEmploymentDate": "2024-12-14"
  },
  "autoEnrolment": {
    "state": "Automatic",
    "stateDate": "2024-12-14",
    "postponementDate": "2024-12-14",
    "lastAssessment": {
      "id": "string",
      "employeeState": "Automatic",
      "age": 0,
      "ukWorker": "No",
      "payPeriod": "Custom",
      "ordinal": 0,
      "earningsInPeriod": 0.0,
      "qualifyingEarningsInPeriod": 0.0,
      "aeExclusionCode": "NotKnown",
      "status": "Eligible",
      "reason": "string",
      "action": {
        "action": "NoChange",
        "employeeState": "Automatic",
        "actionCompleted": true,
        "actionCompletedMessage": "string",
        "requiredLetter": "B1",
        "pensionSchemeId": "string",
        "workerGroupId": "string",
        "letterNotYetSent": true
      },
      "employee": {
        "id": "string",
        "name": "string",
        "metadata": {},
        "url": "string"
      },
      "assessmentDate": "2024-12-14"
    },
    "ukWorker": "No",
    "daysToDeferAssessment": 0,
    "deferByMonthsNotDays": true,
    "exempt": true,
    "aeExclusionCode": "NotKnown",
    "aePostponementLetterSent": true
  },
  "leaveSettings": {
    "allowanceUsed": 0.0,
    "allowanceUsedPreviousPeriod": 0.0,
    "allowanceRemaining": 0.0,
    "accruedPaymentLiability": 0.0,
    "accruedPaymentPaid": 0.0,
    "accruedPaymentBalance": 0.0,
    "accruedHoursAmount": 0.0,
    "accruedHoursPaid": 0.0,
    "accruedHoursBalance": 0.0,
    "useDefaultHolidayType": true,
    "useDefaultAllowanceResetDate": true,
    "useDefaultAllowance": true,
    "useDefaultAccruePaymentInLieu": true,
    "useDefaultAccruePaymentInLieuRate": true,
    "useDefaultAccruePaymentInLieuAllGrossPay": true,
    "useDefaultHolidayAccrualBasis": true,
    "useDefaultAccruePaymentInLieuPayAutomatically": true,
    "useDefaultAccrueHoursPerDay": true,
    "useDefaultMaximumAccruePeriod": true,
    "allowanceResetDate": "2024-12-14",
    "allowance": 0.0,
    "adjustment": 0.0,
    "holidayType": "Days",
    "accrueSetAmount": true,
    "accrueHoursPerDay": 0.0,
    "showAllowanceOnPayslip": true,
    "showAhpOnPayslip": true,
    "accruePaymentInLieuRate": 0.0,
    "accruePaymentInLieuAllGrossPay": true,
    "accruePaymentInLieuPayAutomatically": true,
    "occupationalSicknessUniqueId": "string",
    "accruedPaymentAdjustment": 0.0,
    "accruedHoursAdjustment": 0.0,
    "holidayAccrualBasis": "RegularPayOnly",
    "holidayAccrualDefaultRateType": "HourlyRate",
    "aggregatedServiceDate": "2024-12-14",
    "useAggregatedServiceDate": true,
    "accruePayCodeSetUniqueId": "string",
    "maximumAccruePeriod": 0.0,
    "holidayLeaveAccrualCustomRateType": "HourlyRate",
    "useDefaultHolidayAccrualDefaultRateType": true
  },
  "rightToWork": {
    "checked": true,
    "documentType": "Other",
    "documentRef": "string",
    "documentExpiry": "2024-12-14",
    "note": "string"
  },
  "bankDetails": {
    "bankName": "string",
    "bankBranch": "string",
    "bankReference": "string",
    "accountName": "string",
    "accountNumber": "string",
    "sortCode": "string",
    "note": "string",
    "buildingSocietyRollNumber": "string"
  },
  "payOptions": {
    "regularPayLines": [
      {
        "id": "string",
        "attachmentOrderId": "string",
        "pensionId": "string",
        "leaveId": "string",
        "loanId": "string",
        "leaveStatutoryDaysPaid": 0.0,
        "leaveStatutoryWeeksPaid": 0.0,
        "initialBackPayPublicPayRunId": "string",
        "value": 0.0,
        "rate": 0.0,
        "multiplier": 0.0,
        "description": "string",
        "code": "string",
        "tags": [
          "string"
        ],
        "childId": "string",
        "isNetToGross": true,
        "targetNetToGrossValue": 0.0,
        "netToGrossDiscrepancy": 0.0,
        "effectiveFrom": "2024-12-14",
        "effectiveTo": "2024-12-14",
        "isAutoGeneratedBasicPayLine": true,
        "percentageOfEffectiveDays": 0.0,
        "totalWorkingDays": 0.0,
        "autoAdjustForLeave": true,
        "isAutomaticBackPay": true,
        "ignoreInitialBackPay": true,
        "contributesToBasicPay": true,
        "calculateAsWhenPaid": true,
        "totalPaidDays": 0.0,
        "roleId": "string",
        "earnedFrom": "2024-12-14",
        "earnedTo": "2024-12-14",
        "annualValue": 0.0,
        "department": "string",
        "costCentre": "string",
        "departmentId": "string",
        "costCentreId": "string",
        "analysisCategoriesCodes": [
          {
            "analysisCategory": "string",
            "analysisCategoryCode": "string",
            "analysisCategoryId": "string",
            "analysisCategoryCodeId": "string"
          }
        ],
        "analysisCategoryCodeIds": [
          "string"
        ],
        "paySpineId": "string",
        "paySpineGradeId": "string",
        "spinalPointId": "string",
        "londonAllowanceId": 0,
        "fullTimeAnnualValue": 0.0
      }
    ],
    "basicPay": 0.0,
    "period": "Custom",
    "ordinal": 0,
    "method": "Cash",
    "withholdTaxRefundIfPayIsZero": true,
    "taxAndNi": {
      "niTable": "string",
      "secondaryClass1NotPayable": true,
      "postgradLoan": true,
      "postgraduateLoanStartDate": "2024-12-14",
      "postgraduateLoanEndDate": "2024-12-14",
      "studentLoan": "None",
      "studentLoanStartDate": "2024-12-14",
      "studentLoanEndDate": "2024-12-14",
      "taxCode": "string",
      "week1Month1": true,
      "foreignTaxCredit": true
    },
    "fpsFields": {
      "offPayrollWorker": true,
      "irregularPaymentPattern": true,
      "nonIndividual": true,
      "excludeFromRtiSubmissions": true,
      "hoursNormallyWorked": "LessThan16"
    },
    "tags": [
      "string"
    ],
    "basis": "Hourly",
    "nationalMinimumWage": true,
    "payCode": "string",
    "mileageVehicleType": "Car",
    "mapsMiles": 0,
    "payAmount": 0.0,
    "payAmountMultiplier": 0.0,
    "baseHourlyRate": 0.0,
    "baseDailyRate": 0.0,
    "autoAdjustForLeave": true,
    "niTable": "string"
  },
  "tags": [
    "string"
  ],
  "status": "Current",
  "aeNotEnroledWarning": true,
  "sourceSystemId": "string",
  "aggregatedServiceDate": "2024-12-14",
  "holidaySchemeUniqueId": "string",
  "evcId": "string"
}
Contained in Models

- none -

Consumed by Operations

- none -