Save Loadable OIM#
See COPYRIGHT.md for copyright information.
The Save Loadable OIM plugin facilitates the saving of re-loadable instances in JSON or CSV formats, adhering to the Open Information Model (OIM) XBRL Specification. It is designed to work seamlessly with the Load From OIM plugin, allowing for efficient data handling in Arelle.
Multiple Formats: Enables saving data in JSON and CSV OIM formats as well as XLSX.
Seamless Integration: Compatible with the Load From OIM plugin for saving and loading reports.
GUI and CLI Compatibility: Available for use in both GUI and CLI modes.
Test Case Augmentation: Allows saving OIM files with a custom suffix during test suite runs.
Command Line Usage
Single-Instance Mode: Save a file in single-instance mode by specifying the file path and extension:
python arelleCmdLine.py --plugins saveLoadableOIM --file filing-documents.zip --saveLoadableOIM example.json
Test Case Operation: Augment test case operations by specifying a suffix for the read-me-first file in a test suite:
python arelleCmdLine.py --plugins saveLoadableOIM --file filing-documents.zip --saveTestcaseOimFileSuffix -savedOim.csv
Save Re-Loadable Output:
Load the desired report in Arelle.
Save Loadable OIM.
Specify a filename and choose the desired file format (JSON, CSV, or XLSX).
If the loaded report refers to a taxonomy on the local file system, the OIM instance needs to be saved in the same directory to maintain the validity of the relative file system path to the taxonomy.