---
id: "iban"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["finances"]
langs: ["common"]
quality: 95
url: "http://registry.apicrafter.io/datatype/iban"
---

# International Bank Account Number (`iban`)

The International Bank Account Number (IBAN) is an internationally agreed system of identifying bank accounts across national borders to facilitate the communication and processing of cross border transactions with a reduced risk of transcription errors. An IBAN uniquely identifies the account of a customer at a financial institution.

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2}\d{2}(?: ?[A-Z0-9]){11,30}$
```

Check digit algorithm: `iban_mod97`

## Examples

- `GB82WEST12345698765432` — Documentation example, electronic format
- `GB82 WEST 1234 5698 7654 32` — The same IBAN in print format
- `DE89370400440532013000` — German documentation example
- `GB82WEST12345698765433` (invalid example) — Last digit changed: fails the mod-97 check

## Mappings

- autotype: `iban`
- dpv: `pd:BankAccount`
- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/ProductsAndServices/ClientsAndAccounts/InternationalBankAccountIdentifier>
- fta: `CHECKDIGIT.IBAN`
- google_dlp: `IBAN_CODE`
- gs1_ai: `8007`
- presidio: `IBAN_CODE`
- purview: `International banking account number (IBAN)`
- stdnum: `iban`

## Metacrafter rules

4 rules: 2 match the field name, 2 match values.

- `ibanfield` (field, `common/crossborder_finance.yaml`)
- `ibanvalue` (data, `common/crossborder_finance.yaml`)
- `eu_tax_ibanfield` (field, `eu/eu_tax.yaml`)
- `eu_tax_ibanvalue` (data, `eu/eu_tax.yaml`)

## Supported by tools

- `amazonmacie`
- `autotype`
- `awscomprehend`
- `azureailanguage`
- `collibra`
- `databricks`
- `datahub`
- `dataprep`
- `fta`
- `googledlp`
- `greatexpectations`
- `ibmguardium`
- `ibmknowledgecatalog`
- `metacrafter`
- `microsoftpurview`
- `nightfall`
- `openmetadata`
- `presidio`
- `pythonstdnum`
- `snowflake`
- `talend`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/International_Bank_Account_Number>

## Quality

Score 95/100. Missing: translation.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/iban.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/finances/iban.yaml>
