payroll-rules-india 2.11.0 → 2.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const employerESIRule: Rule;
@@ -0,0 +1,11 @@
1
+ export const employerESIRule = {
2
+ ruleCode: "EMPLOYER_ESI",
3
+ name: "Employer ESI Contribution",
4
+ category: "Deduction",
5
+ type: "Statutory",
6
+ version: "FY2024-2025",
7
+ description: "Employer ESI contribution at 3.25% of basic wages, applicable when basic is up to Rs.21,000.",
8
+ condition: "basic > 0",
9
+ monthlyFormula: "round(basic * 0.0325)",
10
+ annualFormula: "round(basic * 0.13, 0) * 12",
11
+ };
@@ -0,0 +1,2 @@
1
+ import { Rule } from "../../utils/types";
2
+ export declare const employeerPfRule: Rule;
@@ -0,0 +1,11 @@
1
+ export const employeerPfRule = {
2
+ ruleCode: "EMPLOYEER_PF",
3
+ name: "Employeer Provident Fund",
4
+ category: "Deduction",
5
+ type: "Statutory",
6
+ version: "FY2024-2025",
7
+ description: "PF = 13% of Basic",
8
+ condition: "basic > 0",
9
+ monthlyFormula: "round(basic * 0.13, 0)",
10
+ annualFormula: "round(basic * 0.13, 0) * 12",
11
+ };
@@ -1,3 +1,4 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const pfBasicRule: Rule;
3
3
  export declare const employeePfRule: Rule;
4
+ export declare const employeePfBasicRule: Rule;
@@ -21,3 +21,14 @@ export const employeePfRule = {
21
21
  monthlyFormula: "round(min(basicPlusDA, 15000) * 0.12, 0)",
22
22
  annualFormula: "round(min(basicPlusDA, 15000) * 0.12, 0) * 12",
23
23
  };
24
+ export const employeePfBasicRule = {
25
+ ruleCode: "EMPLOYEE_PF_BASIC",
26
+ name: "Employee Provident Fund",
27
+ category: "Deduction",
28
+ type: "Statutory",
29
+ version: "FY2024-2025",
30
+ description: "PF = 12% of Basic",
31
+ condition: "basic > 0",
32
+ monthlyFormula: "round(basic * 0.12, 0)",
33
+ annualFormula: "round(basic * 0.12, 0) * 12",
34
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",