The click is the easy part
Calculating net pay from clean inputs is simple arithmetic. The hard part is making sure attendance, overtime, unpaid leave, advances and claims are all correct and reconciled before that button is pressed.
Malaysian rules add real complexity
Weekday, rest-day and public-holiday overtime multipliers, shift patterns that cross midnight, and leave entitlements tied to tenure all need to be encoded correctly — not re-derived by hand every month.
Build the pipeline, then automate the click
Get attendance and leave digitised and verified first. Layer in automatic OT calculation against the correct rules. Only then does "one click" become trustworthy rather than a shortcut that hides errors.