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 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 `2021`.
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: 613572 // 2021-02-28
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: 29287.38 // 2021-02-28
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 // https://www.spensiones.cl/portal/institucional/594/w3-article-14366.html
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tax-cl",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Librería cálculo de impuestos y cotizaciones en Chile 🇨🇱",
5
5
  "main": "lib/index.js",
6
6
  "repository": "git@github.com:muZk/tax-cl.git",