skip to navigation
skip to content

django-iban 0.2.1

A validated IBAN field for Django models

Latest Version: 0.3.1

Validated Django model fields for International Bank Account Numbers (IBAN - ISO 13616-1:2007) and SWIFT-BIC (ISO 9362:2009).

Author: Ben Konrath

License: 3-clause BSD


  • Support for all currently active IBAN countries / numbers.
  • Validates IBAN using the official validation algorithm.
  • Date conditional support for Brazilian IBANs (active 1 July, 2013) and Guatemalan IBANs (active 1 July, 2014)
  • Basic validation for SWIFT-BIC.


Define a field as IBANField and/or SWIFTBICField in your

from django_iban.fields import IBANField, SWIFTBICField

class Customer(Model):
    iban = IBANField()
    swift_bic = SWIFTBICField()


Ideas for new features include:

  • SWIFT-BIC validation using referenced IBANField (SEPA requires both IBAN and SWIFT-BIC to be correct).
  • Translation of validation error messages using Transifex.

Pull requests happily accepted.

File Type Py Version Uploaded on Size
django-iban-0.2.1.tar.gz (md5) Source 2013-06-10 4KB