Closed glourencoffee closed 2 years ago
Below is the CVM code and name of missing companies, all of which use the industrial layout:
DFP | CVM Code | Company |
---|---|---|
2010 | 21741 | ECO SECURITIZADORA DIREITOS CRED AGRONEGÓCIO S.A. |
2010 | 22756 | SAAG INVESTIMENTOS S.A. |
2010 | 22292 | STEIN SP II PARTICIPAÇÕES S.A. |
2011 | 22284 | MCM CIMENTOS S/A |
2013 | 23299 | JP PARTICIPAÇÕES S.A. |
2019 | 24805 | VIVARA PARTICIPAÇÕES S.A. |
2019 | 25739 | CS BRASIL PARTICIPAÇÕES E LOCAÇÕES S.A. |
Description
The exception
ValueError
is raised while trying to create anIncomeStatement
orBalanceSheet
for some documents in the DFP of years 2010, 2011, 2013, and 2019.Steps to reproduce
python -m samples.dfp.print_balances
, passing one such DFP file as an argumentExpected behavior
No exception should be raised for the DFP of those years.
Additional context
This bug results from the refactor implemented by callmegiorgio/pycvm#11. Apparently, the CVM code of some companies were not accounted for because some documents still failed to be read by
dfpitr_reader()
, as callmegiorgio/pycvm#14 had not been merged todevelop
yet.