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

# Bank SWIFT code (ISO 9362) (`swiftcode`)

ISO 9362 defines a standard format of Business Identifier Codes (also known as SWIFT-BIC, BIC, SWIFT ID or SWIFT code) approved by the International Organization for Standardization (ISO).

- 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]{6}[0-9A-Z]{2}([0-9A-Z]{3})?
```

## Examples

- `DEUTDEFF` — Deutsche Bank

## Mappings

- autotype: `SWIFT1_correct`
- fibo: <https://spec.edmcouncil.org/fibo/ontology/FBC/FunctionalEntities/FinancialServicesEntities/BusinessIdentifierCode>
- google_dlp: `SWIFT_CODE`
- purview: `SWIFT code`
- stdnum: `bic`, `iso9362`
- wikidata: `P2627`

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `russianswiftcode` (data, `ru/ru_finances.yaml`)

## Supported by tools

- `autotype`
- `awscomprehend`
- `azureailanguage`
- `collibra`
- `databricks`
- `datahub`
- `dataprep`
- `googledlp`
- `greatexpectations`
- `ibmknowledgecatalog`
- `metacrafter`
- `metacrafterpro`
- `microsoftpurview`
- `nightfall`
- `pythonstdnum`

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/ISO_9362>
- wikidata: <https://www.wikidata.org/wiki/Property:P2627>

## Quality

Score 73/100. Missing: anchored regexp, second example, negative example, translation.

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