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.

  1. Create XbrlDocument class Instance.
  2. To create a new XBRL instance document XbrlInstanceCollection and XbrlInstance .
  3. Add schema reference using SchemaRefCollection
  4. Depending on application nature add context, unit, item, footnote link and more.
  5. 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 with Install-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)