account_statement_ofx seems not to look for IBAN only local bank account
in trying to test similarities to the issue reported in 8605, I thought I'd try _ofx
only so far it finds neither my bank nor bank journal :-(
For example, in an OFX generated by the Société Générale in France
<BANKACCTFROM>
<BANKID>30003
<BRANCHID>00299
<ACCTID>NNNNNNNNNNN
<ACCTTYPE>CHECKING
</BANKACCTFROM>
or Banque Populaire
<BANKACCTFROM>
<BANKID>14607</BANKID>
<BRANCHID>00419</BRANCHID>
<ACCTID>NNNNNNNNNNN</ACCTID>
<ACCTTYPE>CHECKING</ACCTTYPE>
</BANKACCTFROM>
local account number being 'NNNNNNNNNNN'
Attached is a trivial class written to manage conversions to IBAN for French banks
that I use in my WIP account_statement_cfonb120.
You might get further mileage being able to find the bank and subsequently the journal via the IBAN.
This is better than adding an 'other' kind of identifier for the bank with only the account number (and which may not be unique).
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
rib.py | @risto42 | 2019-08-26 10:09:11.493000 UTC | text/plain |