<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">When I said the formats are different I meant very different.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)">The manually downloaded OFX files look like this:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small;color:rgb(7,55,99)"><br></div><div class="gmail_default"><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1">OFXHEADER:100</font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1">DATA:OFXSGML</font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1">VERSION:102</font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1">SECURITY:NONE</font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1">...</font></div><div class="gmail_default"><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1"><DTSTART>20170109</font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1"><DTEND>20141212210000</font></div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">...</div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">The txt files saved in /home/thb look like this:</div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default"><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1"><?xml version="1.0" encoding="utf-8"?></font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1"><!DOCTYPE KMYMONEY-STATEMENT></font></div><div class="gmail_default" style="color:rgb(7,55,99)"><font face="monospace, monospace" size="1"><KMYMONEY-STATEMENT></font></div><div class="gmail_default"><font face="monospace, monospace" size="1"><font color="#073763"> <STATEMENT version=...begindate="2016-10-12" enddate="1969-12-31" routingnumber...></font><br></font></div></div></div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="color:rgb(7,55,99);font-family:tahoma,sans-serif;font-size:small">I've copied Thomas (thb) so that he may be able to guide me one more time.</div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="tahoma, sans-serif" size="2" color="#073763"><b><br>----<br>Brendan</b></font><br></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 10, 2017 at 1:04 PM, Jack <span dir="ltr"><<a href="mailto:ostroffjh@users.sourceforge.net" target="_blank">ostroffjh@users.sourceforge.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Brendan,<br>
<br>
I wish I knew more about the software the banks actually use, but that is not likely to happen. I'm not surprised that the manual download might be different from the direct connect download - but that's just based on experience. I would think they were generated by the same software - but obviously called with different parameters - or something.<br>
<br>
I know of no essential difference between QFX and OFX, other than the "Q" implying Intuit/Quicken had something to do with it. My guess is perhaps differences in max length of some of the fields, like the memo. I also wouldn't expect a single bank to produce both - I've seen them offer one or the other, probably depending on who they buy/lease their OFX server software from.<br>
<br>
I have no explanation for the dates you are seeing. I also agree the probability of a useful response from the bank's tech support line is slim to none - but it might be interesting if they have any response when you tell them you are getting very different end dates from the two different download methods. It would depend at least on whehter the person you speak to even knows what OFX is. Otherwise they just tell you to call Quicken support.<br>
<br>
I doubt very much a server will produce different results depending on what you send in the request header - I suspect it only affects whether they accept the request or reject it outright (with a useless error message, probably.)<br>
<br>
Finally, I think the direct connect download is intended to be transient, so other than mucking in the code, I don't know that you will (easily) be able to save it - but I believe it lives briefly somewhere under /tmp. I suspect what you end up with under /home/thb is close, depending on the original purpose for saving it there. Also remember, direct connect does not download any "files." It is a communication specification, meant for direct use. If the software happens to save it, the extension is essentially arbitrary. Formatting clearly doesn't matter - although the content within the <OFX> tags should be similar, expecially for transaction data, perhaps allowing for different timestamps.<br>
<br>
<br>
Jack<span class=""><br>
<br>
<br>
On <a href="tel:2017.01.10%2015" value="+12017011015" target="_blank">2017.01.10 15</a>:18, Brendan Coupe wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Jack,<br>
<br>
Your suggestion is fine for testing but a non-starter for day to day use of<br>
KMM. I can live with bogus warnings about my account balance not matching<br>
the download balance.<br>
<br>
I downloaded both the OFX and QFX files from both banks. I diff'ed them and<br>
they are pretty similar (OFX vs QFX).<br>
<br>
The formats are completely different from the files that are saved in the<br>
/home/thb folder which have the extension "txt" so they may not be copies<br>
of the downloaded OFX files.<br>
<br>
Is there an easy way to find the OFX files downloaded when they are<br>
downloaded from KMM?<br>
<br>
There is possible good news and bad news. The bank that shows 1969-12-31<br>
has the correct date in the manually downloaded OFX & QFX files.<br>
<br>
<DTSTART>20161013000000<br>
<DTEND>20170110000000<br>
<br>
<br>
The bank that appears to use the date prior to the last transaction date<br>
(based on 2 recent downloads) shows an end date in 2014.<br>
<br>
<DTSTART>20170109<br>
<DTEND>20141212210000<br>
<br>
Very strange.<br>
<br>
I have tried several options for "Identify as" and "Header Version" and the<br>
txt file that appears in the /home/thb folder is the same.<br>
<br>
<br>
<br></span>
*----Brendan*<div><div class="h5"><br>
<br>
On Tue, Jan 10, 2017 at 7:38 AM, Jack <<a href="mailto:ostroffjh@users.sourceforge.net" target="_blank">ostroffjh@users.sourceforge.n<wbr>et</a>><br>
wrote:<br>
<br>
> On <a href="tel:2017.01.09%2023" value="+12017010923" target="_blank">2017.01.09 23</a>:24, Brendan Coupe wrote:<br>
><br>
>> I'm having a problem with 2 accounts when I import the OFX using online<br>
>> banking.<br>
>><br>
>> One account shows the Online Statement Balance on 12/31/1969.<br>
>><br>
>> Another account shows the Online Statement Balance on 1/3/2017 while the<br>
>> most recent transaction is on 1/4/2017 and I just downloaded it today<br>
>> (1/9/2017).<br>
>><br>
>> Not surprisingly when I checked the OXF files for the respective accounts<br>
>> I<br>
>> found the following (/home/thb comes to the rescue again):<br>
>><br>
>> ...begindate="2016-10-11" enddate="1969-12-31"...<br>
>><br>
>> ...begindate="2016-12-09" enddate="2017-01-03"...<br>
>><br>
>> I'm almost certain I will not have much luck getting the banks to fix<br>
>> this.<br>
>><br>
>> Is it possible to have KMM use the current download date when the date in<br>
>> the OFX file does not make sense? KMM could also use the latest date of a<br>
>> transaction in the OFX file when it's later then the "enddate".<br>
>><br>
>> At the very least it should recognize a problem since the enddate is<br>
>> before<br>
>> the begindate at the first bank.<br>
>><br>
>> I did check a different bank at it uses today's date as the enddate.<br>
>><br>
>><br>
>> *----Brendan*<br>
>><br>
><br>
> One thing you might try is to manually download an OFX file. I have oddly<br>
> found that it can differ from what gets downloaded by direct connect. Even<br>
> if it doesn't, you can manuallyl correct the end date if it's still wrong.<br>
> Not a good long term solution, but a temporary workaround.<br>
><br>
> Jack<br>
<br>
</div></div></blockquote>
<br>
</blockquote></div><br></div>