Payroll Data Models

Salary Statement

NameTypeDescription
employeeIdStringEmployee's id in the origin app
grossPayDoubleEg: 189.09
netPayDoubleEg: 111.08
earningsList[SalaryItem]
contributionsList[SalaryItem]
deductionsList[SalaryItem]
processedDateDate
payDateDate
payPeriodStartDateDate
payPeriodEndDateDate

Salary Item Object

{
  "data": {
    "h-0": "Name",
    "h-1": "Type",
    "h-2": "Description",
    "0-0": "`type`",
    "0-1": "`Enum`",
    "0-2": "Can be **INCOME**, **PF**, etc depending on whether this item belongs to _earnings_ or _contributions_ or _deductions_  \n  \nor as specified in the source app",
    "1-0": "`amount`",
    "1-1": "`Double`",
    "1-2": "Eg: 111.09"
  },
  "cols": 3,
  "rows": 2,
  "align": [
    "left",
    "left",
    "left"
  ]
}

Enums by types

EarningsContributionsDeductions
INCOMEPFPROF_TAX
OVERTIMEMEDICAL_INSURANCETDS
HRA401kFEDERAL_TAX
BASICLIFE_INSURANCESTATE_TAX
SPECIAL_ALLOWANCEVISIONTAX
LTADENTALHSA