GetStatement Method
Download a loan statement.
Syntax
[VB.NET] Public Sub GetStatement()
[C#] public void GetStatement();
Remarks
This function generates the Signon and Loan Statement request page, submits it to the financial institution via secure HTTPS Post, receives and parses the loan statement. Individual transactions are downloaded with the statement.
The following properties should be set when this method is called:
- FIId (required)
- FIOrganization (required)
- FIUrl (required)
- OFXAppId (required)
- OFXAppVersion (required)
- OFXVersion (required if 2.x OFX version is the one supported by your FI)
- OFXUser (required)
- OFXPassword (required)
- AccountId (required)
- AccountType (required)
You may constrain this transaction list by setting the StartDate and EndDate properties. The server will use default values if no dates are supplied.
If you want the server to return image references for each transaction, and if the server supports this service, you will have to set the IncludeImages to True.
The following read-only properties are populated as a result of parsing the statement response:
- AvailableBalance
- AvailableBalanceDate
- PrincipalBalance
- PrincipalBalanceDate
- TotalPrincipalYTD
- TotalPrincipalLTD
- CurrencyCode
- Transactions
Note: Loan Statement Download is supported only in OFX Versions 2.1.0 and 2.1.1. If your FI does not support this OFX version, then you will not be able to use this method.
NOTE: This method has a corresponding asynchronous version (GetStatementAsync) for use in the WinRT environment.