Aspose.Finance for .NET 是一個用於金融相關格式處理的靈活庫。 API 可以輕鬆創建、讀取和驗證可擴展業務報告語言 XBRL 和 iXBRL 格式以及創建不同格式的 OFX 請求和響應文件。開發人員可以輕鬆開發支持 XBRL 的軟件,或者可以在任何現有的數字財務報告系統中使用 XBRL 創建報告。它是一個可擴展、易於使用且獨立於任何其他軟件的獨立 API。
高級 .NET Finance 解析 API 功能
從頭開始創建 XBRL 實例
閱讀 XBRL 和 iXBRL 格式
驗證 XBRL 和 iXBRL
將 XBRL 轉換為 iXBRL
將 XBRL 轉換為 XLSX
創建 OFX 請求文件
創建 OFX 響應文件
將 OFX 請求文件從 1.03 格式轉換為 2.2 格式
將 OFX 響應文件從 1.03 格式轉換為 2.2 格式
創建 XBRL 實例文檔
Aspose.Finance for .NET 支持生成 XBRL 個文檔。只需以下幾行代碼即可創建一個新的 XBRL 實例文檔
創建 XBRL 實例 - C#
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
XbrlDocument doc = new XbrlDocument(); | |
XbrlInstanceCollection xbrlInstances = doc.XbrlInstances; | |
XbrlInstance xbrlInstance = xbrlInstances[xbrlInstances.Add()]; | |
doc.Save(XbrlFilePath + @"output\document1.xbrl"); |
讀取 iXBRL 文件
還支持讀取 Inline eXtensible Business Reporting Language iXBRL 實例文檔。
閱讀 iXBRL 個實例文檔 - C#
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
InlineXbrlDocument fle = new InlineXbrlDocument(XbrlFilePath + @"account_1.html"); | |
List inlineFacts = fle.Facts; | |
List contexts = fle.Contexts; | |
List units = fle.Units; |