Convert iXBRL(inline xbrl) to XBRL via Python
iXBRL to XBRL conversion without needing any other software within Python based applications.
Aspose.Finance for Python via .NET is an API to process XBRL, iXBRL formats and developers can easily build business processes management, financial analysis and reporting software applications to convert, create, read, view and validate XBRL and iXBRL finance-related files.
How to Convert iXBRL to XBRL
- Load input inline XBRL file using InlineXbrlDocument class.
- Call the export_to_xbrl method by providing the target file as parameters.
Conversion Requirements
To proceed for iXBRL to XBRL conversion, 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.
C# source code to convert iXBRL to XBRL file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Enable cache service, this service will cache schema and link base file, and use the local file directly in the next load | |
LocalCacheService.enable_service("D:\\xbrl\\cache") | |
document = InlineXbrlDocument("inline_xbrl_file_name.html") | |
document.export_to_xbrl("xbrl_file_name.xml") |
Other Conversion Options
XBRL to XLSX (Microsoft Excel Open XML Spreadsheet)
OFX Response (From 1.03 to 2.2 Format)
OFX Request (From 1.03 to 2.2 Format)