GroupDocs.Conversion provides FinanceLoadOptions to control how source finance documents are processed. Finance documents include XBRL (eXtensible Business Reporting Language) and iXBRL (inline XBRL) files used for financial reporting.
Note
On .NET 6 and later, converting XBRL and iXBRL documents to spreadsheet formats requires the System.Drawing.Common 4.7.3 package in your project; on Linux, libgdiplus must also be installed. Without it, the conversion throws a MissingDependencyException that names the missing package.
A handler called for each taxonomy reference while SkipExternalResources is true. It can skip a reference but cannot allow one that is denied. Default: null. Available since version 26.10.
Whether to deny taxonomy files outside the document’s own folder. Default: true. Set it to false to convert a document that references a remote taxonomy. Available since version 26.10.
Validated like on the other load options classes, but not consulted for XBRL: a whitelisted remote schema is still denied. Available since version 26.10.
Warning
Since version 26.10, external resources are not loaded by default, and an XBRL or inline XBRL document loads only when every taxonomy file it references is inside the document’s own folder and the document is converted from a file path. A document that references a remote taxonomy, as most filings do, fails to load with InvalidLoadOptionsException. To convert such a document, set SkipExternalResources to false. See XBRL and inline XBRL.
Load XBRL document
The following code snippet shows how to load an XBRL document with explicit format specification: