Import wizard's "Smartness"

Oliver Schinagl oliver at schinagl.nl
Tue Oct 12 10:26:24 EDT 2010


 On 10/11/10 15:00, Christopher Singley wrote:
> On Sun, Oct 10, 2010 at 8:03 PM, Oliver Schinagl <oliver at schinagl.nl> wrote:
>>  On 10/11/10 02:21, FireFly wrote:
>>>>>> So to summarize, what should I do to make gnucash
>>>> smarter
>>>>>> when importing data? I can modify the csv file
>>>> slightly (and
>>>>>> the perl script) to make minor adjustments but I
>>>> really am
>>>>>> not looking forward on working on 5 years of
>>>> bankstatements
> Can't speak for gnucash import logic, but your generated OFX looks
> malformed.  <BANKACCTTO> is just an aggegating element that consists
> of just a tag, without any text data.  It contains three child
> elements ( <BANKID>, <ACCTID>, and <ACCTTYPE>) which are used as a
> 3-tuple to uniquely identify a bank account.  This might be screwing
> up your import.
>
> This part of the spec is stable across different OFX versions; you can
> find it e.g. on pg. 184 of the OFXv2.0.3 spec:
>
> http://www.ofx.net/DownloadPage/Downloads.aspx
>
> You may also wish to look closely at Chpt. 12 of the spec, concerning
> online payments - it's possible that this is actually a better to what
> your transactions are & what data your bank are offering for download.
well the csv file from my bank is pretty basic, date, myacct#,
theiracct#, name, memo, credit/debit, amount (from the top of my head) I
briefly checked chapter 12, but it mentions a lot about payments etc.
Not sure what exactly you mean with this. So modifying the previously
stated, I modified it to:

<BANKACCTTO>
<ACCTID>theiracct#</ACCTID>
<ACCTTYPE>
CHECKING
</ACCTTYPE>
</BANKACCTTO>

Could use other accttype; nut sure what the use would be, as the only 4
choices wouldn't apply I guess?\

thanks for the info so far,

oliver


More information about the gnucash-user mailing list