payroll-rules-india 1.7.2 → 1.8.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,4 +1,5 @@
1
1
  import { Rule } from "../../utils/types";
2
2
  export declare const rbBasic4_81Rule: Rule;
3
+ export declare const rbEarningRule492: Rule;
3
4
  export declare const rbBasic5Rule: Rule;
4
5
  export declare const rbBasic10Rule: Rule;
@@ -10,6 +10,17 @@ export const rbBasic4_81Rule = {
10
10
  monthlyFormula: "round(basic * 0.0481, 2)",
11
11
  annualFormula: "round(basic * 0.0481 * 12, 2)",
12
12
  };
13
+ export const rbEarningRule492 = {
14
+ ruleCode: "RB_4_92_PERCENT",
15
+ name: "RB Allowance",
16
+ category: "Earning",
17
+ type: "Custom",
18
+ version: "FY2024-2025",
19
+ description: "RB calculated at 4.92% of Basic salary.",
20
+ condition: "basic > 0",
21
+ monthlyFormula: "round(basic * 0.0492, 2)",
22
+ annualFormula: "round(basic * 0.0492 * 12, 2)",
23
+ };
13
24
  // RB: Basic * 5%
14
25
  export const rbBasic5Rule = {
15
26
  ruleCode: "RB_BASIC_5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payroll-rules-india",
3
- "version": "1.7.2",
3
+ "version": "1.8.0",
4
4
  "description": "Custom and statutory payroll rules engine for India salary calculations.",
5
5
  "author": "Yogesh c",
6
6
  "license": "MIT",