Create OFX Request Files via Python

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, make sure that you have the following prerequisites.

  • Microsoft Windows or Linux based OS.
  • Python 3.5 or later.
  • Aspose.Finance for Python referenced in your project.
 

Python code for OFX request files creation

 

Other Creation Options

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