[GNC] OFX with prices and taxes

Luiz Angelo Daros de Luca luizluca at gmail.com
Wed Dec 24 23:30:14 EST 2025


> Luiz,
>
> I'll note that a major difference between QIF and OFX is the use of a
> unique ID number (FITID) for each transaction. I don't know whether you are
> properly generating these, nor do I know precisely how GnuCash handles them
> in any given import cycle.
>
> However, I'm not sure exactly why you wouldn't just use the QIF you've
> gotten already?  Aside from preventing you from reimporting the same
> transactions (via the aforementioned FITID), I'm not sure there are any
> benefits to using one format over another.
>
> David T.
>

Hello David,

You are right. There is no major benefit of migrating from QIF to OFX in my
case. I just had the feeling that QIF is too much outdated and, as I'm
creating a script, once done, there is no extra cost. I'll stick with QIF.
Thanks.


>>>  T3109.96
>>>  MResgate Fundo - RF Ref DI Plus Ágil
>>>  L[Ativos Atuais:Conta Corrente:BB Estilo]
>>>  O4.24
>>>
>>>  I think OFX can handle this kind of transaction, with fee/taxes but
>>>  the ones I wrote are ignored by gnucash. Can gnucash handle that info
>>>  in OFX? And where can I get a good OFX example similar to my case?
>>>
>>
>> Yes, GnuCash can import OFX files.
>>
>> Be aware that your example above is a QIF format, and OFX format is
>> different from QIF.
>>
>> I did a search for "OFX example file" and found a few useful links:
>>
>>   * Example OFX file <https://gist.github.com/jvz/2837829>
>>   * "where to get sample ofx files for testing?" question, with several
>>     useful answers
>>     <https://stackoverflow.com/questions/3334663/where-to-get-sample-ofx-files-for-testing>
>>   * Open Financial Exchange, Wikipedia article
>>     <https://en.wikipedia.org/wiki/Open_Financial_Exchange>
>>
>> Hi Jim,

I do have some examples of OFX from my bank. I was looking for one for
FUND/BOND which includes prices and taxes. These examples are generic or
related to account balances (as the one I already have from my bank).
Thanks anyway.

I still wonder whether Gnucash can handle that type of OFX...

Regards,

---
     Luiz Angelo Daros de Luca
            luizluca at gmail.com


More information about the gnucash-user mailing list