payroll-rules-india 1.5.0 → 1.7.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.
@@ -1,3 +1,4 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const esiRule: Rule;
3
3
  export declare const ESI_Employee_On_Basic: Rule;
4
+ export declare const ESIRuleOnBasic: Rule;
@@ -20,3 +20,13 @@ export const ESI_Employee_On_Basic = {
20
20
  monthlyFormula: "round(basic * 0.0075, 2)",
21
21
  annualFormula: "round(basic * 0.0075 * 12, 2)",
22
22
  };
23
+ export const ESIRuleOnBasic = {
24
+ ruleCode: "ESI_RULE_ON_BASIC_WAGE",
25
+ name: "Employee ESIC Contribution",
26
+ category: "Deduction",
27
+ type: "Custom",
28
+ version: "FY2024-2025",
29
+ description: "Employee ESIC contribution calculated at 0.75% of basic wages, applicable only when basic is up to Rs.21,000.",
30
+ condition: "basic <= 21000",
31
+ monthlyFormula: "ceil(basic * 0.0075)",
32
+ };
@@ -1,7 +1,7 @@
1
1
  // Allowance: Basic * 13%
2
2
  export const generalAllowanceRule = {
3
3
  ruleCode: "GENERAL_ALLOWANCE",
4
- name: "Allowance",
4
+ name: "General_Allowancee",
5
5
  category: "Earning",
6
6
  type: "Custom",
7
7
  version: "FY2024-2025",
@@ -4,7 +4,6 @@ export * from "./esiRules";
4
4
  export * from "./pfRules";
5
5
  export * from "./profTaxRules";
6
6
  export * from "./incomeTaxRules";
7
- export * from "./gratuityRules";
8
7
  export * from "./rfbRule";
9
8
  export * from "./specialAllowanceRules";
10
9
  export * from "./conveyanceAllowanceRules";
@@ -4,7 +4,6 @@ export * from "./esiRules";
4
4
  export * from "./pfRules";
5
5
  export * from "./profTaxRules";
6
6
  export * from "./incomeTaxRules";
7
- export * from "./gratuityRules";
8
7
  export * from "./rfbRule";
9
8
  export * from "./specialAllowanceRules";
10
9
  export * from "./conveyanceAllowanceRules";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- import { Rule } from "../../utils/types";
2
- export declare const gratuityRule: Rule;
@@ -1,10 +0,0 @@
1
- export const gratuityRule = {
2
- ruleCode: "GRATUITY",
3
- name: "Gratuity",
4
- category: "Earning",
5
- version: "FY2024-2025",
6
- description: "4.81% of Basic (15/26 rule)",
7
- condition: "basic > 0",
8
- monthlyFormula: "round(basic * 0.0481, 2)",
9
- annualFormula: "round(basic * 0.0481 * 12, 2)",
10
- };