Hi! We are trying to use this library with XBRL files from Italian companies, but we have some trouble ..
/** @var string $filename */
$filename = $this->argument('filename');
$report = new \XBRL_Report( $filename );
$report->excludeDefaultDimensionMembers();
$report->preparePresentation();
$html = $report->toHtml();
$date = date( "Y-m-d" );
file_put_contents( "report_{$date}.html", $html );
Output:
[info] storage/bilanci/94101220211_28911915_14566012.xbrl
[info] Files: itcc-ci-micr-2018-11-04.xsd
[info] http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd
Exception : Error initialising the instance document. It may contain invalid XML.
Hi! We are trying to use this library with XBRL files from Italian companies, but we have some trouble ..
Output: