Validate XBRL Files via C#

Validating financial reports in XBRL format without needing Microsoft Office installed or any other software.

How to Validate XBRL Files

Follow the steps in code snippet or enhance it as of your application needs for validating extensible business reporting language XBRL documents. Be sure of having validating requirements within your application.

  1. Load XBRL file using XbrlDocument class Instance.
  2. To check validity of the loaded file, so that it must match with XBRL specification
  3. To check the validatity, use Validate() method of XbrlInstance class.

Validation Requirement

To proceed for validating XBRL documents, .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 to validate XBRL files


Other Validating Options

XBRL (Inline Extensible Business Reporting Language)