parser-de-notas-de-corretagem 0.2.2 → 0.2.4

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
@@ -17,7 +17,7 @@ Easing the PITA of making IRRF
17
17
  "buyFees": "1.24",
18
18
  "sellFees": "0.00",
19
19
  "fees": "1.24",
20
- "date": "02/02/2022", // Can also output in yyyy-MM-dd format
20
+ "date": "02/02/2022", // Can also output in yyyy-MM-dd format changing `NoteParser.dateFormat`
21
21
  "holder": "rico",
22
22
  "deals": [
23
23
  {
@@ -36,7 +36,7 @@ Easing the PITA of making IRRF
36
36
  "average": "112.80",
37
37
  "price": "564.02",
38
38
  "date": "02/02/2022",
39
- "cnpj": "00.000.000/0000-00" // FIIs' CNPJs aren't supported yet
39
+ "cnpj": "28.737.771/0001-85"
40
40
  },
41
41
  {
42
42
  "type": "buy",
@@ -45,7 +45,7 @@ Easing the PITA of making IRRF
45
45
  "average": "112.03",
46
46
  "price": "560.17",
47
47
  "date": "02/02/2022",
48
- "cnpj": "00.000.000/0000-00"
48
+ "cnpj": "29.641.226/0001-53"
49
49
  },
50
50
  {
51
51
  "type": "buy",
@@ -54,7 +54,7 @@ Easing the PITA of making IRRF
54
54
  "average": "97.38",
55
55
  "price": "1460.69",
56
56
  "date": "02/02/2022",
57
- "cnpj": "00.000.000/0000-00"
57
+ "cnpj": "17.554.274/0001-25"
58
58
  },
59
59
  {
60
60
  "type": "buy",
@@ -63,7 +63,7 @@ Easing the PITA of making IRRF
63
63
  "average": "91.76",
64
64
  "price": "458.79",
65
65
  "date": "02/02/2022",
66
- "cnpj": "00.000.000/0000-00"
66
+ "cnpj": "28.757.546/0001-00"
67
67
  }
68
68
  ]
69
69
  }
@@ -139,7 +139,6 @@ assets.defineStock('BIDI11', 'BANCO INTER UNT');
139
139
  ## P.S.
140
140
  * Total values include fees
141
141
  * The values can deviate from cents. It's always a good call to double-check if the result is as expected. Check the [License](#license)
142
- * FIIs and custom stocks doesn't provide a valid CNPJ field
143
142
 
144
143
  ## Contributors
145
144
  Thanks to whom sent me notes for the tests ❤️. Personal data is not stored neither used on tests, only the notes content.