Last active
March 3, 2021 07:55
-
-
Save smamun56/987a7cd5e7481f919af1fc04569d751f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"payroll": [ | |
{ | |
"employee": "Pass04", // NRIC | |
"createdAt": "string UTC Date time", //Pay Period Start Date | |
"paymentFormulaPolicy": "26WD8H1L3OT", | |
"paymentFormula": "5WD8H2L2OT", | |
"payRun": "End",// dummy tidak usah dikirim | |
"payoutAmount" : { | |
"normal" : 2400.0, //"Base Amount": "2500", | |
"publicHoliday" : 0.0, //"Public Holiday Pay": "104.8951049", | |
"restDay" : 0.0, //"WORD Pay": "104.8951049", | |
"offDay" : 0.0, // "offDay Pay": "1" | |
}, | |
"overtimeAmount" : { | |
"normal" : 730.0, | |
"publicHoliday" : 0.0, | |
"restDay" : 0.0, | |
"offDay" : 0.0 | |
}, | |
"extraOvertimeAmount" : { | |
"normal" : 730.0, | |
"publicHoliday" : 0.0, | |
"restDay" : 0.0, | |
"offDay" : 0.0 | |
}, | |
//"Non Paid Leave": "1", | |
//"totalAddition": "350", | |
//"totalDeduction": "1", | |
"hourlyRate": "13.11188811", | |
"additionalAdjustment": { | |
"donation" : { | |
"type" : 4, // endak usah dikirim | |
"value" : 12 | |
}, | |
"skillDevelopmentLevy" : 6.0, //"SDL": "", | |
"cpf" : { | |
"employerRate" : 408, | |
"employeeRate" : 480, | |
"ordinaryWages" : "123", | |
"additionalWages" : "123" | |
} | |
} | |
// "Total CPF": "1", // endak usah dikirim | |
//"Gross Pay": "4908.566434", // endak usah dikirim | |
//"Net Pay": "4908.566434" // endak usah dikirim | |
}, | |
], | |
"exemption": [ | |
{ | |
"NRIC": "Pass04", | |
"additions" : [ | |
{ | |
"name" : "name of exemption", | |
"value" : 20 | |
"adjustment": { | |
"exemption" : "objectID", | |
"className" : "" // tidak usah dikirim | |
} | |
} | |
], | |
"deductions" : [ | |
{ | |
"name" : "name of exemption", | |
"value" : 20 | |
"adjustment": { | |
"exemption" : "objectID", | |
"className" : "" // tidak usah dikirim | |
} | |
} | |
] | |
}, | |
], | |
"workHours": [ | |
{ | |
"NRIC": "Pass04", | |
"workingHours" : { | |
"normal" : 0.0, | |
"publicHoliday" : 0.0, | |
"restDay" : 0.0 | |
}, | |
"overtimeHours" : { | |
"normal" : 0.0, | |
"publicHoliday" : 0.0, | |
"restDay" : 0.0 | |
}, | |
"extraOvertimeHours" : { | |
"normal" : 0.0, | |
"publicHoliday" : 0.0, | |
"restDay" : 0.0 | |
}, | |
"workingDays" : 20.0, | |
"absentDays" : 4.0 | |
} | |
], | |
"leave": [ | |
{ | |
"NRIC" : "Pass04", | |
"policy" : "objectId", | |
"start" : 1456848000000.0, | |
"end" : 1456876800000.0, | |
"hour" : 8, | |
"timeSheetHour" : 8 //endak usah dikirim | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment