Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Technical Specifications
This document describes the technical matters of the TXT files included in the Bank Directory for SAPTM
TM
product. The files are suited for import into SAP systems in order to build a complete bank master data
table. The files are equally suited for ERP systems other than SAP.
Table of Contents
Table of Contents ...............................................................................................................................2
Preface .................................................................................................................................................3
1 General product information ...................................................................................................4
TM
1.1 Bank Directory for SAP ........................................................................................................4
1.2 File format ...............................................................................................................................4
1.3 File names ...............................................................................................................................4
1.4 Previous file versions ..............................................................................................................4
1.5 Downloading the files ..............................................................................................................5
1.6 Importing the files ....................................................................................................................5
1.7 Future file changes ..................................................................................................................5
1.8 Release notes .........................................................................................................................5
1.9 Support ....................................................................................................................................5
2 BANK DIRECTORY SAP file ....................................................................................................6
2.1 Field definitions .......................................................................................................................6
3 COUNTRY CODE File ...............................................................................................................8
3.1 Field definitions .......................................................................................................................8
4 CURRENCY CODE File.............................................................................................................9
4.1 Field definitions .......................................................................................................................9
5 IBAN STRUCTURE File ..........................................................................................................10
5.1 Field definitions .....................................................................................................................10
Appendix A - Character Set .............................................................................................................12
Appendix B Fields and Flags .......................................................................................................13
B.1 Modification Flag ...................................................................................................................13
B.2 Record keys ..........................................................................................................................13
B.3 Date fields .............................................................................................................................13
Appendix C Office Type ................................................................................................................14
Appendix D List of countries .......................................................................................................15
D.1 List of countries with BIC codes ............................................................................................15
D.2 List of countries with National IDs .........................................................................................15
D.3 Country specific notes ...........................................................................................................18
Legal Notices ....................................................................................................................................19
2
Bank Directory for SAP Technical Specifications
Preface
Purpose
The Bank Directory for SAPTM is a product that inlcudes a file that can be imported by institutions into
their SAP system in order to build and update a complete Bank Master table. Building a complete
Bank Master table avoids users having to manually create bank keys in the system at the time of
invoice payment.
The Bank Directory for SAPTM product contains basic bank details (name & address), bank codes,
BICs and IBAN-specific bank codes. Data for bank/branch is linked in order to minimise the creation of
duplicate bank keys.
The files within the Bank Directory for SAPTM product have a generic format and content and can be
imported into ERP systems from vendors other than SAP and into proprietary payment applications.
Distribution
The Bank Directory for SAPTM product is available within the corporate Pack Two and corporate Pack
Three product packages.
Data sources
The directory data is obtained from, cross-referenced with and validated against the following sources:
ISO 9362 BIC Directory data provided by financial institutions and corporates.
ISO 13616 IBAN Registry for the IBANSTRUCTURE file.
ISO 3166 Country Codes.
ISO 4217 Currency Codes.
National codes from the issuing authorities such as central banks and banking associations.
Financial Institutions via the online data management interface (PAK) - in particular for the
IBAN BICs and IBAN NATIONAL IDs.
Standards bodies in IBAN countries for the dates when IBANs become used.
3
Bank Directory for SAP Technical Specifications
The FULL file contains the full set of data. It can be used to re-initialise, re-build the target data base.
The DELTA file only contains the changes (additions, deletions and modifications) relative to the
previous release. It is used to update the target data base.
NB: there is no DELTA file for the IBANSTRUCTURE file due to the infrequent changes, therefore the
full file is only ever available.
The structure and content of the files are explained in further sections in this document.
The md5sum file (not shown in table above) contains the digest for file integrity verification.
The Release Notes file (optional, not shown in table above) contains a brief description of the latest
changes (see section Release Notes).
4
Bank Directory for SAP Technical Specifications
Currently there are no previous versions of the files included in the Bank Directory for SAPTM
downloadable package.
1.9 Support
TM
Customers using the Bank Directory for SAP can receive support on the data content by sending an
email to the SWIFTRef data team at swiftrefdata@swift.com. Support can also be requested via
support@swift.com.
For information on all SWIFTRef products please visit www.swift.com/swiftref/.
Support related to SAP, the SAP notes and the import utility must be requested via SAP support.
5
Bank Directory for SAP Technical Specifications
2 BANKDIRECTORYSAP file
The BANKDIRECTORYSAP file contains both the bank and branch related attributes and identifiers as
well as the IBAN related identifiers, combined in one file.
6
Bank Directory for SAP Technical Specifications
7
Bank Directory for SAP Technical Specifications
COUNTRY CODE alpha- 2 yes The ISO 3166-1 alpha-2 country code
betic
COUNTRY NAME alpha- 70 yes The ISO 3166-1 alpha-2 Country name
betic
8
Bank Directory for SAP Technical Specifications
CURRENCY CODE alpha- 3 yes The ISO 4217 code of the currency
betic
FRACTIONAL DIGIT numeric 1 yes Fractional digit for the currency, that is, the
number of digits after the decimal to be used
COUNTRY CODE alpha- 2 yes The ISO 3166-1 alpha-2 country code
betic
COUNTRY NAME any 70 yes The ISO 3166-1 alpha-2 lCountry name
9
Bank Directory for SAP Technical Specifications
IBAN COUNTRY CODE alpha- 2 yes The ISO 3166-1 alpha-2 code prefix in the IBAN.
numeric
IBAN COUNTRY CODE numeric 2 yes Start position of the country code in IBAN.
POSITION
IBAN COUNTRY CODE numeric 1 yes Number of characters of the country code in the
LENGTH IBAN.
IBAN CHECK DIGITS numeric 2 yes Start position of check digits in the IBAN.
POSITION
IBAN CHECK DIGITS numeric 2 yes Number of check digits in the IBAN.
LENGTH
BANK IDENTIFIER numeric 2 yes Start position of bank identifier in the IBAN.
POSITION
BANK IDENTIFIER numeric 2 yes Number of characters of bank identifier in the IBAN.
LENGTH
BRANCH IDENTIFIER numeric 2 no Start position of the branch identifier in the IBAN
POSITION (value is empty if the branch identifier is not applied
in the country's IBAN format).
BRANCH IDENTIFIER numeric 2 yes Number of characters of the branch identifier in the
LENGTH IBAN (value is 0 if the branch identifier is not applied
in the country's IBAN format).
10
Bank Directory for SAP Technical Specifications
SEPA alpha- 1 yes This flag indicates if the IBAN is used in a SEPA
betic country:
Y if it does
N if it does not
OPTIONAL COMMENCE date 8 no The date from which IBANs can be used in
DATE YYYYM payments in the country. The data in this field will be
MDD populated gradually.
MANDATORY date 8 no The date from which IBANs is obligatory for
COMMENCE DATE YYYYM payments in the country. The data in this field will be
MDD populated gradually.
11
Bank Directory for SAP Technical Specifications
12
Bank Directory for SAP Technical Specifications
13
Bank Directory for SAP Technical Specifications
Head Office
HO - This is the head office of the institution. In the case that the institution has a BIC ending in xxx,
this BIC is shown as the head office and is usually the BIC to which cross-border payments should be
sent.
It should be noted that not all HOs are Legal Entities (for example, separate banking divisions may
retain the names, operational and code structures of banks that have been absorbed into larger
organisations).
Unclassified
UC - Offices that are not classified.
14
Bank Directory for SAP Technical Specifications
IBAN
ISO IBAN NATIONAL ID
IBAN SEPA NATIONAL ID
COUNTRY NAME CTRY NATIONAL ID name pre- length &
CTRY CTRY length &
CODE fix structure
structure
ALBANIA AL KIB yes AL 8 = 3 + 4 + 1 8=3+4+1
ALGERIA DZ Code Etablissement 3
AMERICAN SAMOA AS ABA Code 9
ANDORRA AD Codificaci de les oficines bancries yes AD 8 = 4 + 4 8=4+4
ARGENTINA AR N.banco/codigo 5
ARMENIA AM 5
ARUBA AW RT Number (Routing number) 9
AUSTRALIA AU BSB Number (Bank State Branch) 6=3+3 6=3+3
AUSTRIA AT Bankleitzahl (BLZ ) yes yes AT 5 = 2 + 3 5=2+3
BAHRAIN BH BIC 4 yes BH 4 4
BELGIUM BE Bank identification codes yes yes BE 3 3
BENIN BJ Code 5
BERMUDA BM Clearing code 2
BOSNIA AND
BA Bank Code (ifra Banke) yes BA 3 3
HERZEGOVINA
BRAZIL BR Cod Compensao 7=3+4
BULGARIA BG BAE codes - Banking Addressable Entity yes yes BG 8=4+4 8=4+4
BURKINA FASO BF Code 5
CAMBODIA KH Bank Identification Number 6=3+3
CAMEROON CM Code et code agence 10 = 5 + 5
Canadian Transit Number / Routing
CANADA CA 9=5+4
Numbers
CAPE VERDE CV Cdigo de instituio 2
CENTRAL AFRICAN
CF Code et code agence 10 = 5 + 5
REPUBLIC
CHAD TD Code et code agence 10 = 5 + 5
CHILE CL Codigo de Identificacion 3
COLOMBIA CO Cdigo de Compensacion 2
CONGO CG Code et code agence 10 = 5 + 5
COSTA RICA CR Cdigo de Participantes Asociados yes CR 3 3
COTE D'IVOIRE CI Code 5
CROATIA HR Vodei Broj Banke yes HR 7 7
CYPRUS CY Cyprus Bank Identification Code (CYRN) yes yes CY 8 8
CZECH REPUBLIC CZ Identity code yes yes CZ 4 4
DENMARK DK Registreringsnr. yes yes DK 4 4
ECUADOR EC Cdigo Institucin 2
EL SALVADOR SV Cdigo de Institucin 4
EQUATORIAL GUINEA GQ Code et code agence 10 = 5 + 5
15
Bank Directory for SAP Technical Specifications
IBAN
ISO IBAN NATIONAL ID
IBAN SEPA NATIONAL ID
COUNTRY NAME CTRY NATIONAL ID name pre- length &
CTRY CTRY length &
CODE fix structure
structure
ESTONIA EE EERN/Pangakood yes yes EE 2 2
FAROE ISLANDS FO Registreringsnr. yes FO 4 4
FINLAND FI Konttori- numero yes yes FI 3 3
FRANCE FR Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10
FRENCH GUIANA GF Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5
FRENCH POLYNESIA PF Code Bancaire/code guichet RIB yes FR 10 = 5 + 5
GEORGIA GE Bank Code yes GE 9 2
GERMANY DE Bankleitzahl (BLZ) yes yes DE 8 8
GHANA GH Sort Code 6
GIBRALTAR GI Sort Code yes yes GI 6 = 2 + 4 4 = BIC4
GREECE GR HEBIC Hellenic Bank Identification Code yes yes GR 7 = 3 + 4 7=3+4
GREENLAND GL Registreringsnr. yes GL 4 4
GUADELOUPE GP Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10 = 5 + 5
GUAM GU ABA Code 9
GUATEMALA GT Codigos Bancarios 2
GUERNSEY, C.I. GG Sort Code yes GB 6 = 2 + 4 10 =BIC4+2+4
GUINEA GN 6
GUINEA-BISSAU GW Code 5
GUYANA GY Routing number 8=3+5
HAITI HT Routing number 9
HOLY SEE (VATICAN
VA ABI CAB yes 10 = 5 + 5
CITY STATE)
HONDURAS HN Cdigo CNBS 6=2+4
HONG KONG HK Bank Clearing Code 6=3+3
HUNGARY HU Bankfik-kd yes yes HU 8=3+4+1 8=3+4+1
ICELAND IS Bank identifier yes yes IS 4 4
INDIA IN IFSC Code 11 = 4 + 1 + 6
INDONESIA ID Clearing Codes 7=3+4
IRELAND IE National Sort Code yes yes IE 6=2+4 10 =BIC4+2+4
ISLE OF MAN IM Sort Code yes 6=2+4 10 =BIC4+2+4
ISRAEL IL Bank Code yes IL 6 6
ITALY IT ABI CAB yes yes IT 10 = 5 + 5 10 = 5 + 5
JERSEY, C.I. JE Sort Code yes 6=2+4 10 =BIC4+2+4
JORDAN JO Bank Code 2
KAZAKHSTAN KZ Bank Code KZ 3 3
KENYA KE Bank and branch code 5=2+3
KYRGYZSTAN KG Bank Identification Code 6=3+3
LATVIA LV BIC4 yes yes LV 4 = BIC4 4 = BIC4
LEBANON LB Banque du Liban Bank List No. yes LB 4 4
LESOTHO LS Code 6=3+3
LIECHTENSTEIN LI BC number yes yes LI 5 5
LITHUANIA LT Codes yes yes LT 5=2+3 5=2+3
LUXEMBOURG LU Code IBAN Luxembourg /Bank Code yes yes LU 3 3
MACAO MO Bank Code 3
MACEDONIA,THE
FORMER YUGOSLAV MK Bank Code yes MK 3 3
REPUBL. OF
MADAGASCAR MG Code Banque and Code Agence 10 = 5 + 5
MALAYSIA MY National banking code 4
MALI ML Code 5
MALTA MT National Id yes yes MT 5 9 = BIC4 + 5
MARTINIQUE MQ Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10 = 5 + 5
MAURITANIA MR Code Banque yes MR 10 = 5 + 5 10 = 5 + 5
MAURITIUS MU Bank Code yes MU 4=2+2 8 = BIC4+2+2
MAYOTTE YT Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10 = 5 + 5
MOLDOVA, REP. OF MD Participant Code MD 11 = BIC11 2 = BIC2
MONACO MC Code Bancaire/code guichet RIB yes yes MC 10 = 5 + 5 10 = 5 + 5
16
Bank Directory for SAP Technical Specifications
IBAN
ISO IBAN NATIONAL ID
IBAN SEPA NATIONAL ID
COUNTRY NAME CTRY NATIONAL ID name pre- length &
CTRY CTRY length &
CODE fix structure
structure
MONGOLIA MN Bank code 5 or 6
MONTENEGRO,
ME Fiksni broj (Bank Code) yes ME 3 3
REPUBLIC OF
9=3+3+3
MOROCCO MA Code Banque or 10 = 3 + 3 +
3+4
MOZAMBIQUE MZ Cdigos das Instituies de Crdito 2
NAMIBIA NA Branch Code 5 or 6
NEPAL NP Bank Code 8=5+3
NETHERLANDS NL BIC4 yes yes NL 4 = BIC4 4 = BIC4
NEW CALEDONIA NC Code Bancaire/code guichet RIB yes FR 10 = 5 + 5 10 = 5 + 5
NEW ZEALAND NZ Bank number and branch number 6=2+4
NICARAGUA NI Bank Code 2
NIGER NE Code 5
NIGERIA NG Bank Code 3
NORTHERN
MP ABA Code 9
MARIANA ISLANDS
NORWAY NO Registernummer yes yes NO 4 4
PAKISTAN PK
PALESTINIAN
TERRITORY, PS Clearing code 2
OCCUPIED
PANAMA PA No. de Ruta 3
PARAGUAY PY 4
PERU PE Cdigo 3
POLAND PL Numer Rozliczliczeniowy Oddzialu-banku yes yes PL 8 8
PORTUGAL PT Numero de Identificaao Bancaria yes yes PT 8=4+4 8=4+4
PUERTO RICO PR ABA Code 9
QATAR QA Bank Code 2
REUNION RE Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10 = 5 + 5
ROMANIA RO BIC4 yes yes RO 4 4
RUSSIAN
RU RCBIC - Russian Central Bank Id. code 9
FEDERATION
SAINT PIERRE AND
PM Code Bancaire/code guichet RIB yes yes FR 10 = 5 + 5 10 = 5 + 5
MIQUELON
SAN MARINO SM ABI CAB yes SM 10 = 5 + 5 10 = 5 + 5
SAUDI ARABIA SA Clearing code yes SA 2 2
SENEGAL SN Code 5
SERBIA, REPUBLIC OF RS Bank Code yes RS 3 3
SINGAPORE SG ACH Bank Code 7=4+3
SLOVAKIA SK Kd banky yes yes SK 4 4
SLOVENIA SI Identifi kacija yes yes SI 2 2
SOUTH AFRICA ZA Brach number 6
SPAIN ES Oficinas Entidades Financieras - OEF yes yes ES 8=4+4 8=4+4
SRI LANKA LK ASYCUDA Codes 7=4+3
SWAZILAND SZ Sort code 6=2+1+3
SWEDEN SE Clearing nummer yes yes SE 4 3
SWITZERLAND CH BC number yes yes CH 5 5
TAIWAN TW Bank Code 7
TAJIKISTAN TJ Bank Identification Code number 9
TANZANIA, UNITED
TZ Sort Code 6=2+4
REPUBLIC OF
THAILAND TH Financial Institution Code 7=3+4
TIMOR-LESTE TL Bank Routing Number (BNR) 4=2+2
TOGO TG Code 5
TUNISIA TN Code de Banque yes TN 2 2
TURKEY TR Banka Kodu yes TR 4 5
17
Bank Directory for SAP Technical Specifications
IBAN
ISO IBAN NATIONAL ID
IBAN SEPA NATIONAL ID
COUNTRY NAME CTRY NATIONAL ID name pre- length &
CTRY CTRY length &
CODE fix structure
structure
UNITED ARAB
AE Bank Code yes AE 3 3
EMIRATES
UNITED KINGDOM GB Sort Code yes yes GB 6=2+4 10 =BIC4+2+4
UNITED STATES US ABA Code 9
VENEZUELA,
BOLIVARIAN VE Codigos de Bancos 4
REPUBLIC OF
VIRGIN ISLANDS, U.S. VI ABA Code 9
WALLIS AND FUTUNA
WF Code Bancaire/code guichet RIB yes FR 10 = 5 + 5 10 = 5 + 5
ISLANDS
ZAMBIA ZM Sort Code 6=2+2+2
4 = 1 + 3 or
ZIMBABWE ZW Bank Sort Codes
5=2+3
Country Comment
SI, BA, TN, FI For these countries the NATIONAL IDs and IBAN NATIONAL IDs only include the bank
code, and do not include the branch code, and therefore are shorter than the full bank and
branch code. The bank code only is sufficient in order to accurately identify the bank in the
country. Note that in these countries the branch code, included in an account holders
account details, is not an accurate identifier due to the account holders right to keep his
account details when changing branch.
ES According to the ISO IBAN registry the IBAN NATIONAL IDs are 4+4=8 long (i.e. the check
digit is omitted). However, in this file the Spanish NATIONAL IDs are 4+4+1 (check digit) =
9 long as required by SAP.
HU According to the ISO IBAN registry the IBAN NATIONAL IDs for HU are 3+4=7 long (i.e. the
check digit is omitted). However, in this file the Hungarian NATIONAL IDs are 3+4+1 (check
digit) =8 long as required by SAP.
18
Bank Directory for SAP Technical Specifications
Legal Notices
Copyright
SWIFT 2012. All rights reserved.
You may copy this publication within your organisation. Any such copy must include these legal notices.
Confidentiality
This publication contains SWIFT or third-party confidential information. Do not disclose this publication outside your
organisation without the prior written consent of SWIFT.
Disclaimer
The information in this publication may change from time to time. You must always refer to the latest available
version on www.swift.com.
Translations
The English version of SWIFT documentation is the only official and binding version.
Trademarks
SWIFT is the trade name of S.W.I.F.T. SCRL. The following are registered trademarks of SWIFT: SWIFT, the SWIFT
logo, the Standards Forum logo, 3SKey, Innotribe, Sibos, SWIFTNet, SWIFTReady, and Accord. Other product,
service, or company names in this publication are trade names, trademarks, or registered trademarks of their
respective owners.
SAPTM is a registered trademark of SAP AG, Germany.
19