Create OFX Request Files via C#

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

How to Create OFX Request Files

After having the OFX Request files creation requirements within your application, Follow the steps in code snippet or enhance it as of your requirement.

  1. Create OfxRequestDocument class object.
  2. Assign the relevant properties using different classes provided by API like SignonRequest , FinancialInstitution , StatementTransactionRequest
  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 Request 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 request files creation

 

Other Creation Options

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