← Back to team overview

banking-addons-team team mailing list archive

[Bug 778668] Re: Italian IBAN format

 

Although James could not validate the solution I suggested, I privately
received the account number that he tried to validate and my suggestion
does seem to do the trick.

Pieter, note that your modification to the Italian BBAN format in
http://bazaar.launchpad.net/~pieterj/account-
banking/5.0/revision/71#account_banking/sepa/iban.py is different from
my suggestion and still gives the following error validating Italian
IBANs:

account_banking/sepa/iban.py", line 131, in __extract__
    result += value[i+4]
IndexError: string index out of range

The reason for this is that the branch number is still 1 character too
long.

-- 
You received this bug notification because you are a member of Banking
Addons Team, which is the registrant for Banking Addons.
https://bugs.launchpad.net/bugs/778668

Title:
  Italian IBAN format

Status in Account Banking Framework:
  Fix Committed
Status in Banking Addons:
  Fix Committed

Bug description:
  Hi,

  an Italian IBAN we encountered suggested that the expected formatting
  for this country's IBAN in sepa/iban.py is incorrect. The current
  format is specified as 'WBBBBBCCCCCCAAAAAAAAAAAAV'.

  The IBAN in our data parses correctly against 'WBBBBBCCCCCAAAAAAAAAAAA'. This corresponds to the formatting mentioned on http://en.wikipedia.org/wiki/International_Bank_Account_Number, 
  'KAAAAABBBBBCCCCCCCCCCCC'.

  Cheers,
  Stefan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/account-banking/+bug/778668/+subscriptions