IBAN-BIC.com (Theano GmbH) » Web Service » Sample Data
We provide some (fictitious) sample account data below to facilitate the testing of our web service. Included are examples of both correct and incorrect account data for each of the countries supported, together with information on how the parameters should be passed to the 'calculate_iban' function.
Our API reports the presence of a given IBAN on the Web and whether the IBAN is suspected to be used for fraudulent purposes.
Here are three examples of such IBANs which you can use for testing your implementation of an API client:
DE27100777770209299700 (blacklisted)
AT411100000237571500 (found on the Web - in this case, context matters. Of course, lots of legitimate IBANs are visible online).
Correct:
Bank code (Bankleitzahl): 20811008
domestic account number: 1039531801
IBAN: AL90208110080000001039531801
calculate_iban("AL", "20811008", "1039531801", "username", "password", "", 0)
Incorrect:
Bankcode (Bankleitzahl): 14901
domestic account number: 22010010999
calculate_iban("AL", "14901", "22010010999", "username", "password", "", 0)
Correct:
Bank code (Bankleitzahl): 20503
domestic account number: 2101023600
IBAN: AT022050302101023600
calculate_iban("AT", "20503", "210123600", "username", "password", "", 0)
Incorrect:
Bankcode (Bankleitzahl): 14901
domestic account number: 22010010999
calculate_iban("AT", "14901", "22010010999", "username", "password", "", 0)
Correct:
domestic account number: 844-0103700-34
IBAN: BE68844010370034
calculate_iban("BE", "", "844-0103700-34", "benutzername", "passwort", "", 0)
Incorrect:
domestic account number: 844-0103701-34
calculate_iban("BE", "", "844-0103701-34", "benutzername", "passwort", "", 0)
Correct:
domestic account number: 19-5505030267/0100
IBAN: CZ4201000000195505030267
calculate_iban("CZ", "", "19-5505030267/0100", "username", "password", "", 0)
Incorrect:
domestic account number: 18-5505030267/0100
calculate_iban("CZ", "", "18-5505030267/0100", "username", "password", "", 0)
Correct:
bank code: 5051
domestic account number: 1322617
IBAN: DK5750510001322617
calculate_iban("DK", "5051", "1322617", "username", "password", "", 0)
Incorrect:
bank code: 7777
domestic account number: 77777
currently, no bank code or account number validations are performed, so this function call will lead to an invalid IBAN despite the fact that no error is found:
calculate_iban("DK", "7777", "77777", "username", "password", "", 0)
Correct:
domestic account number: 221034126658
IBAN: EE342200221034126658
calculate_iban("EE", "", "221034126658", "username", "password", "", 0)
Incorrect:
domestic account number: 221034126650
calculate_iban("EE", "", "221034126650", "username", "password", "", 0)
Correct:
domestic account number: 142835-171141
IBAN: FI9814283500171141
calculate_iban("FI", "142835", "171141", "user name", "password", "", 0)
Incorrect:
domestic account number: 142835-171040
calculate_iban("FI", "142835", "171040", "user name", "password", "", 0)
Correct:
domestic account number: 30066 10041 00010573801 16
IBAN: FR7630066100410001057380116
calculate_iban("FR", "", "30066100410001057380116", "username", "password", "", 0)
Incorrect:
domestic account number: 30066 10041 00010573801 11
calculate_iban("FR", "", "30066100410001057380111", "username", "password", "", 0)
Correct:
domestic account number: 0648489890
BLZ: 50010517
IBAN: DE12500105170648489890
calculate_iban("DE", "50010517", "0648489890", "username", "password", "", 0)
Incorrect:
domestic account number: 064847930
BLZ: 50010517
calculate_iban("DE", "50010517", "064847930", "username", "password", "", 0)
Correct:
domestic account number: 11708001-20547794
IBAN: HU29117080012054779400000000
calculate_iban("HU", "11708001-20547794", "", "username", "password", "", 0)
Incorrect:
domestic account number: 11708011-20547794
calculate_iban("HU", "11708011-20547794", "", "username", "password", "", 0)
Correct:
Sort code: 90-00-17
domestic account number: 10027952
IBAN: IE92BOFI90001710027952
calculate_iban("IE", "90-00-17", "10027952", "username", "password", "BOFI IE 2D", 0)
Incorrect:
Sort code: 90-00-17
domestic account number: 11127952
calculate_iban("IE", "90-00-17", "11127952", "username", "password", "BOFI IE 2D", 0)
Correct:
ABI: 03002
CAB: 03280
CIN: D
domestic account number: 400162854
IBAN: IT68D0300203280000400162854
calculate_iban("IT", "", "D0300203280000400162854", "username", "password", "", 0)
or
calculate_iban("IT", "", "0300203280000400162854", "username", "password", "", 0)
Incorrect:
ABI: 03002
CAB: 03280
CIN: E
domestic account number: 400162854
calculate_iban("IT", "", "E0300203280000400162854", "username", "password", "", 0)
Correct:
BC-Number: 8800
domestic account number: 201.763.06
IBAN: LI1008800000020176306
calculate_iban("LI", "8800", "201.763.06", "username", "password", "", 0)
Incorrect:
BC-Number: 8801
domestic account number: 221.764.06
calculate_iban("LI", "8801", "221.764.06", "username", "password", "", 0)
Correct:
IBAN = domestic account number: LU761111000872960000
calculate_iban("LU", "", "LU761111000872960000", "username", "password", "", 0)
Incorrect:
IBAN: LU761111000872960001
calculate_iban("LU", "", "LU761111000872960001", "username", "password", "", 0)
Correct:
bank code: 44093 domestic account number: 9027293051
IBAN: MT98MMEB44093000000009027293051
calculate_iban("MT", "44093", "9027293051", "username", "password", "", 0)
Incorrect:
bank code: 77777 domestic account number: 484169867
calculate_iban("MT", "77777", "484169867", "username", "password", "", 0)
Correct:
bank code: 1273900070 domestic account number: 0011111000H79
IBAN: MC1112739000700011111000H79
calculate_iban("MC", "1273900070", "0011111000H79", "username", "password", "", 0)
Incorrect:
bank code: 1273900070 domestic account number: 0011111000L79
calculate_iban("MC", "1273900070", "0011111000L79", "username", "password", "", 0)
Please specify domestic bank account numbers from Monaco in their full length (in the example above, this means: including leading zeros), unless you only have the bank account number without its checksum. In the latter case, our system will automatically calculate and append the checksum, which can be handy, but which also has the disadvantage that our system might mistake a short account number which already has a checksum as a checksum-less number.
Correct:
domestic account number: 484869868
IBAN: NL18ABNA0484869868
calculate_iban("NL", "", "484869868", "username", "password", "ABNANL2A", 0)
Incorrect:
domestic account number: 484869867
calculate_iban("NL", "", "484869867", "username", "password", "ABNANL2A", 0)
In the Netherlands, there is no separate domestic bank identifier similar to the German "Bankleitzahl" or the UK/Irish "sort code". We have a database of domestic Dutch account number ranges and the corresponding banks, and we extrapolate from this collection for the purpose of automatically determining the bank from a domestic account number. This feature is used if you call calculate_iban without passing a BIC code. If, however, you want to reliably avoid any extrapolation error, you also may pass the BIC code (as shown above) for the purpose of identifying a bank.
Correct:
domestic account number: 15032080119
IBAN: NO5015032080119
calculate_iban("NO", "", "15032080119", "username", "password", "", 0)
Incorrect:
domestic account number: 15032080118
calculate_iban("NO", "", "15032080118", "username", "password", "", 0)
If the bank code (here: 1503) is already passed as part of the account number, as above, it does not need to be repeated in the bank code field (the second parameter, here left empty).
It is also possible to use the following call: calculate_iban("NO", "1503", "2080119", "username", "password", "", 0). In other words, you are free to either split the BBAN/account number combination which is commonly used as Norwegian "account number" into the two parameters for bank code and account number, or to just pass the whole structure as the account number parameter.
Correct:
domestic account number = IBAN without "PL": 37109024020000000610000434
calculate_iban("PL", "", "37109024020000000610000434", "username", "password", "", 0)
Incorrect:
domestic account number = IBAN without "PL": 37109024020000000610000435
calculate_iban("PL", "", "37109024020000000610000435", "username", "password", "", 0)
Correct:
domestic account number: 0035.0683.00000007843.11
IBAN: PT50003506830000000784311
calculate_iban("PT", "", "003506830000000784311", "username", "password", "", 0)
Alternatively, if you would prefer to not enter the NIB checksum (11 in the example above), you may also call calculate_iban by passing the 8-digit bank code and the 11-digit account number (instead of 13 digits) as two separate parameters, for instance: calculate_iban("PT", "00350683", "00000007843", "username", "password", "", 0).
Incorrect:
domestic account number: 0781.0112.00000007843.10
calculate_iban("PT", "", "078101120000000784310", "username", "password", "", 0)
Correct:
ABI: 03225
CAB: 09800
CIN: U
domestic account number: 000000270100
IBAN: SM86U0322509800000000270100
calculate_iban("SM", "", "U0322509800000000270100", "username", "password", "", 0)
or
calculate_iban("SM", "", "0322509800000000270100", "username", "password", "", 0)
Incorrect:
ABI: 03225
CAB: 09800
CIN: Z
domestic account number: 000000270100
calculate_iban("SM", "", "Z0322509800000000270100", "username", "password", "", 0)
Correct:
domestic account number: 145230 Clearing Code: 1217
IBAN: SE6412000000012170145230
calculate_iban("SE", "1217", "145230", "username", "password", "", 0)
Incorrect:
domestic account number: 145129 Clearing Code: 1217
calculate_iban("SE", "1217", "145129", "username", "password", "", 0)
Correct:
BC-Number: 8704
domestic account number: 16075473007
IBAN: CH3908704016075473007
calculate_iban("CH", "8704", "16075473007", "username", "password", "", 0)
Incorrect:
BC-Number: 8704
domestic account number: 16075473000
calculate_iban("CH", "8704", "16075473000", "username", "password", "", 0)
Correct:
domestic account number: 1057361004/1111
IBAN: SK9311110000001057361004
calculate_iban("SK", "", "-1057361004/1111", "username", "password", "", 0)
Incorrect:
domestic account number: 1057361004/1119
calculate_iban("SK", "", "-1057361004/1119", "username", "password", "", 0)
Correct:
domestic account number: 03100-1001300933
IBAN: SI56031001001300933
calculate_iban("SI", "", "03100-1001300933", "username", "password", "", 0)
Incorrect:
domestic account number: 03100-1001300930
calculate_iban("SI", "", "03100-1001300930", "username", "password", "", 0)
Correct:
domestic account number: 2090 3200 50 0041045040
IBAN: ES1020903200500041045040
calculate_iban("ES", "", "20903200500041045040", "username", "password", "", 0)
Incorrect:
domestic account number: 2090 3200 51 0041045040
calculate_iban("ES", "", "20903200510041045040", "username", "password", "", 0)
Correct:
Sort code: 40-48-65
domestic account number: 62136016
IBAN: GB32ESSE40486562136016
calculate_iban("GB", "404865", "62136016", "username", "password", "", 0);
It is also possible to include the hyphens in the sort code: calculate_iban("GB", "40-48-65", "62136016", "username", "password", "", 0)
Incorrect:
Sort code: 402715
domestic account number: 2289890
calculate_iban("GB", "402715", "2289890", "username", "password", "", 0)