Create OFX Response Files via C#

OFX response files creation without needing Microsoft Office installed or any other software.

How to Create OFX Response Files

Follow the steps in code snippet or enhance it as of your application needs after having the creation requirements within your application.

  1. Create OfxResponseDocument class object.
  2. Assign the relevant properties using different classes provided by API like SignonResponse , StatementTransactionResponse , StatementTransaction
  3. Use the ofxVersion V2x or V1x for xml and sgml files respectively from OfxVersionEnum as parameter in Save method.
  4. Call the Save method by providing the target file and ofxVersion.

Creation Requirement

To proceed for OFX Response file creation, .NET Finance API is the main requirement to be included within report generation 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 OFX response files creation

 

Other Creation Options

OFX Request File (1.03 or 2.2 Format)
XBRL File (Extensible Business Reporting Language)