Bug 437727

Summary: Skrooge Import account number truncated
Product: [Applications] skrooge Reporter: forum <forum>
Component: generalAssignee: Stephane MANKOWSKI <stephane>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: stephane
Priority: NOR    
Version First Reported In: 2.22.0   
Target Milestone: 25.1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description forum@guicar.fr 2021-05-27 07:02:59 UTC
Hello,

I tried to import a Credit Mutuel bank account into Skrooge inside same existing account but it seems bank account number is truncated by skrooge and a new skrooge account is created. I think bank have modified internal accounts records in a new format with lot of more "digits".
New Credit Mutuel bank account is : 6e30799ffd6894455e45f1bc6115cb57bdcd74481263c3610123456789ABCDEF 
(0123456789ABCDEF used for anonymization)
translated by Skrooge as:6e30799ffd6894455e45f1bnull during import.
In downloaded file Ofx, <ACCTID> record is the right new account number.
I tried to modify account number in Skrooge to put the new one, in order to merge operations  with no success.
My wish is to use existing bank record.

Thank you very much for your support.
Regards,
Comment 1 Stephane MANKOWSKI 2021-06-02 16:03:41 UTC
Hi, 
Could you provide me a sample file to reproduce it ?
Comment 2 Stephane MANKOWSKI 2021-06-02 20:34:14 UTC
This bug is on libofx.
I opened a ticked: https://github.com/libofx/libofx/issues/43
Comment 3 Stephane MANKOWSKI 2021-06-03 19:49:23 UTC
Hi,

Here is the answer from libofx team:
Sorry, no. ACCTID has a max length of 22 characters per the OFX specifications, DTDs, and Schemas, including the latest version 2.3.

It means that your ofx file doesn't respect format.
You should contact the generator of the file.
Comment 4 forum@guicar.fr 2021-06-04 05:45:36 UTC
Thank you very much for your follow up !