Read XBRL and iXBRL files in Python

Read XBRL instance file in Python

Aspose.Finance supports reading XBRL documents. For this, you can use the XbrlDocument class by passing the name of a valid XBRL instance file as a parameter.

The following Python code snippet demonstrates reading an XBRL instance document.

Read iXBRL file in Python

Aspose.Finance supports reading iXBRL instance documents. For this, the API provides the InlineXbrlDocument class. The constructor of the InlineXbrlDocument class accepts the name of a valid iXBRL file.

The following Python code snippet demonstrates reading an iXBRL instance document.