Create XBRL Files via C#
XBRL files creation without needing Microsoft Office installed or any other software.
How to Create XBRL Files
Follow the steps in code snippet or enhance it as of your application needs for generating extensible business reporting language XBRL files. Be sure of having creation requirements within your application.
- Create XbrlDocument class Instance.
- To create a new XBRL instance document XbrlInstanceCollection and XbrlInstance .
- Add schema reference using SchemaRefCollection
- Depending on application nature add context, unit, item, footnote link and more.
- Call the Save method by providing the target file path.
Creation Requirement
To proceed for XBRL documents generation, .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 withInstall-Package Aspose.Finance
.Alternatively, get the offline MSI installer or DLLs in a ZIP file from downloads .
C# code for XBRL files creation
Other Creation Options
OFX Request (1.03 or 2.2 Format)
OFX Response (1.03 or 2.2 Format)