When extracting the number for average employees, the value returned is always from the previous year instead of the current year. The iXBRL files seem to be correct, and I have experienced this problem with multiple companies.
If I move average_number_of_employees from GENERAL to PERIODICAL_XPATH_MAPPINGS, the current number gets extracted (which in my specific case is sufficient), but the overall result is incorrect.
Steps to Reproduce
This error can be reproduced for the company below (randomly picked) as follows:
In the output above, the number of average employees is 18 for both years. However, the iXBRL report states that the number of employees for the current year is 9 and for the previous year is 18. The report can be found here:
Hi,
When extracting the number for average employees, the value returned is always from the previous year instead of the current year. The iXBRL files seem to be correct, and I have experienced this problem with multiple companies.
If I move average_number_of_employees from GENERAL to PERIODICAL_XPATH_MAPPINGS, the current number gets extracted (which in my specific case is sufficient), but the overall result is incorrect.
Steps to Reproduce
This error can be reproduced for the company below (randomly picked) as follows:
Installed package:
https://files.pythonhosted.org/packages/58/11/7849481a5f0d3b7cad22afc75a19b93a0b132f91c71cd4ea1f58a1ddcc15/stream_read_xbrl-0.0.43.tar.gz
In the output above, the number of average employees is 18 for both years. However, the iXBRL report states that the number of employees for the current year is 9 and for the previous year is 18. The report can be found here:
https://find-and-update.company-information.service.gov.uk/company/10956764/filing-history/MzQyNTg1MzMyNmFkaXF6a2N4/document?format=xhtml&download=1
Thank you for looking into this issue. Please let me know if any additional information is needed.
Waldemar