tax-cl 1.0.2 → 1.0.3
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.
- package/README.md +1 -1
- package/lib/config.js +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,4 +93,4 @@ Configura el año de la operación renta sobre la cual aplican los cálculos. Po
|
|
|
93
93
|
|
|
94
94
|
Recibe el siguiente argumento:
|
|
95
95
|
|
|
96
|
-
* `year`: *(number)*, año de la operación renta para la realización de los cálculos. Los valores válidos son: `2018`, `2019`, `2020` y `
|
|
96
|
+
* `year`: *(number)*, año de la operación renta para la realización de los cálculos. Los valores válidos son: `2018`, `2019`, `2020`, `2021` y `2022`.
|
package/lib/config.js
CHANGED
|
@@ -9,7 +9,8 @@ var UTA = {
|
|
|
9
9
|
2018: 580236,
|
|
10
10
|
2019: 595476,
|
|
11
11
|
2020: 612348,
|
|
12
|
-
2021:
|
|
12
|
+
2021: 650052,
|
|
13
|
+
2022: 653304 // 2021-01-04
|
|
13
14
|
|
|
14
15
|
}; // Valor UF al 31 de diciembre en https://www.sii.cl/valores_y_fechas/index_valores_y_fechas.html
|
|
15
16
|
|
|
@@ -17,7 +18,8 @@ var UF = {
|
|
|
17
18
|
2018: 27565.79,
|
|
18
19
|
2019: 28309.94,
|
|
19
20
|
2020: 29070.33,
|
|
20
|
-
2021:
|
|
21
|
+
2021: 30991.74,
|
|
22
|
+
2022: 31036.65 // 2021-01-09
|
|
21
23
|
|
|
22
24
|
};
|
|
23
25
|
var RETENCION = {
|
|
@@ -53,7 +55,9 @@ var TOPE_IMPONIBLE_MENSUAL = {
|
|
|
53
55
|
// https://www.spensiones.cl/portal/institucional/594/w3-article-13553.html
|
|
54
56
|
2020: 80.2,
|
|
55
57
|
// https://www.spensiones.cl/portal/institucional/594/w3-article-13843.html
|
|
56
|
-
2021: 81.6
|
|
58
|
+
2021: 81.6,
|
|
59
|
+
// https://www.spensiones.cl/portal/institucional/594/w3-article-14366.html
|
|
60
|
+
2022: 81.6 // Not published yet!
|
|
57
61
|
|
|
58
62
|
};
|
|
59
63
|
|