Read XBRL Files via C#

Reading financial reports in XBRL format without needing Microsoft Office installed or any other software.

How to Read XBRL Files

Follow the steps in code snippet or enhance it as of your application needs for reading extensible business reporting language XBRL files. Be sure of having reading requirements within your application.

  1. Create XbrlDocument class Instance.
  2. Pass the name of a valid XBRL file as a parameter.
  3. To get the inner detail of file, use the relevant classes such as SchemaRefCollection , Context , Unit

Reading Requirement

To proceed for reading XBRL documents, .NET Finance API is the main requirement to be included within application.

  • Install it via command line as nuget install Aspose.Finance or via Package Manager Console of Visual Studio with Install-Package Aspose.Finance.

  • Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .

 

C# code to read XBRL files

 

Other Reading Options

iXBRL (Inline Extensible Business Reporting Language)