View XBRL Files via Python

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

How to View 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
  4. Show these information

Reading Requirement

To proceed for viewing XBRL documents, make sure that you have the following prerequisites.

  • Microsoft Windows or Linux based OS.
  • Python 3.5 or later.
  • Aspose.Finance for Python referenced in your project.
 

Python code to read XBRL files

 

Other Viewing Options

iXBRL (Inline Extensible Business Reporting Language)