locked
Problem with *.qfx file RRS feed

  • Question

  • A bank I have a savings account with stopped providing *.ofx downloads, but still provides *.qfx ones.  But, when I tried to use the *.qfx file, I got an error message.  The OFXanalyzer also says there is a parsing error.   How do I fix it?

    Here is the contents of the *qfx file (dollar amounts and account number are replaced with n,,,)  All numbers are positive.

    OFXHEADER:100
            DATA:OFXSGML
            VERSION:102
            SECURITY:NONE
            ENCODING:USASCII
            CHARSET:1252
            COMPRESSION:NONE
            OLDFILEUID:NONE
            NEWFILEUID:NONE
            <OFX>
                <SIGNONMSGSRSV1>
                    <SONRS>
                        <STATUS>
                            <CODE>0</CODE>
                            <SEVERITY>INFO</SEVERITY>
                        </STATUS>
                        <DTSERVER>20180601173151</DTSERVER>
                        <LANGUAGE>ENG</LANGUAGE>
                        <FI>
                            <ORG>DollarSavingsDirect</ORG>
                            <FID>11507</FID>
                        </FI>
                        <INTU.BID>11507</INTU.BID>
                        </SONRS>
                </SIGNONMSGSRSV1>
                <BANKMSGSRSV1>
                    <STMTTRNRS>
                        <TRNUID>100000054668</TRNUID>
                        <STATUS>
                            <CODE>0</CODE>
                            <SEVERITY>INFO</SEVERITY>
                        </STATUS>
                        <STMTRS>
                            <CURDEF>USD</CURDEF>
                            <BANKACCTFROM>
                                <BANKID>226070403</BANKID>
                                <ACCTID>nnnnnnnnnn</ACCTID>
                                <ACCTTYPE>SAVINGS</ACCTTYPE>
                            </BANKACCTFROM>
                            <BANKTRANLIST>
                                <DTSTART>
                                    20180331</DTSTART>
                                <DTEND>
                                    20180531</DTEND>
                                
                                <STMTTRN>
                                        <TRNTYPE>CREDIT</TRNTYPE>
                                                <DTPOSTED>
                                                    20180531</DTPOSTED>
                                                <TRNAMT>nn.nn</TRNAMT>
                                                <MEMO>Interest Paid</MEMO>
                                                <FITID>
                                            603066878332.3</FITID>
                                    </STMTTRN>
                                <STMTTRN>
                                        <TRNTYPE>CREDIT</TRNTYPE>
                                                <DTPOSTED>
                                                    20180430</DTPOSTED>
                                                <TRNAMT>nn.nn</TRNAMT>
                                                <MEMO>Interest Paid</MEMO>
                                                <FITID>
                                            603066878329.3</FITID>
                                    </STMTTRN>
                                <STMTTRN>
                                        <TRNTYPE>CREDIT</TRNTYPE>
                                                <DTPOSTED>
                                                    20180331</DTPOSTED>
                                                <TRNAMT>nn.nn</TRNAMT>
                                                <MEMO>Interest Paid</MEMO>
                                                <FITID>
                                            603066878326.3</FITID>
                                    </STMTTRN>
                                </BANKTRANLIST>
                            <LEDGERBAL>
                                <BALAMT>nnnnn.nn</BALAMT>
                                <DTASOF>
                                    20180531</DTASOF>
                            </LEDGERBAL>
                            <AVAILBAL>
                                <BALAMT>nnnnn.nn</BALAMT>
                                <DTASOF>20180531</DTASOF>
                            </AVAILBAL>
                        </STMTRS>
                    </STMTTRNRS>
                </BANKMSGSRSV1>
            </OFX>

    This is the results of the OFXanalyzer scan:

    HRESULT       = 0
    Error Code    = 0

    HRESULT       = -2147450874
    Error Code    = 1
    Severity      = X
    Type          = C
    Error Message = XC%s element not allowed at this point in %s element
    Other Info    = MNYSGMPB: SGML error at (null), line 42 at ">":
              XCMEMO element not allowed at this point in STMTTRN element

    Thanks.

    Monday, June 4, 2018 3:04 AM

Answers

  • For starters, OFXanalyze does not like the three<MEMO>Interest Paid</MEMO>, at least where they are. Delete those, and see if you get farther.
    • Marked as answer by bobjbkln Monday, June 4, 2018 3:09 PM
    Monday, June 4, 2018 3:40 AM
    Moderator

All replies

  • For starters, OFXanalyze does not like the three<MEMO>Interest Paid</MEMO>, at least where they are. Delete those, and see if you get farther.
    • Marked as answer by bobjbkln Monday, June 4, 2018 3:09 PM
    Monday, June 4, 2018 3:40 AM
    Moderator
  • Thank you, that worked perfectly with both the OFXanayzer and the download into Money.

    Monday, June 4, 2018 3:14 PM
  • Good.

    Here is a segment from an OFX file  I just downloaded that shows a savings account interest payment.

    <BANKTRANLIST>
    <DTSTART>20180603
    <DTEND>20160505210000
    <STMTTRN>
    <TRNTYPE>CREDIT
    <DTPOSTED>20180515120000
    <TRNAMT>1.77
    <FITID>201805150001
    <NAME>Interest Payment
    </STMTTRN>
    </BANKTRANLIST>

    Note that the NAME line could have been written as in OFX 1.x this way:

    <NAME>Interest Payment</NAME>

    The end tags are required by OFX 2, but many of them are optional in OFX 1.x.

    Monday, June 4, 2018 5:25 PM
    Moderator