Calculate SOCSO, SKBBK and EIS contributions
calculate_socso_eisCalculates monthly SOCSO, SKBBK and EIS contributions for one employee in Malaysia from fixed salary, age, citizenship and pay period, citing the PERKESO table row used.
Instructions
Works out the monthly SOCSO (PERKESO, Act 4), SKBBK (Lindung 24 Jam) and EIS (Act 800) contributions for one employee in Malaysia, from the PERKESO tables in effect for the pay period, and cites the row used for each. Fixed monthly salaries only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | The employee's age in whole years. | |
| payPeriod | No | The calendar month the salary is paid for, as YYYY-MM. It decides which rate tables apply. Defaults to the current month in Malaysia. | |
| citizenship | Yes | malaysian, permanent_resident, or non_malaysian (a foreign worker without PR). | |
| skbbkStatus | No | SOCSO's 24-hour protection scheme (SKBBK, Lindung 24 Jam). Everyone is covered by default; opted_out only if PERKESO approved the employee's opt-out, which foreign workers can't do. Defaults to covered. | |
| monthlySalary | Yes | Monthly salary in RM, at most 2 decimal places: basic pay plus fixed allowances. Excludes overtime, commission, bonuses and arrears. | |
| eisPayableBefore57 | No | Required for employees aged 57 to 59: true if EIS contributions were payable for them before they turned 57 (even if never paid). Can't be worked out from age. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| eis | Yes | ||
| skbbk | Yes | ||
| socso | Yes | ||
| totals | Yes | ||
| citations | Yes | ||
| payPeriod | Yes | ||
| disclaimer | Yes | ||
| explanation | Yes | ||
| skbbkStatus | Yes | ||
| monthlySalary | Yes |