-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcountrymap.go
2434 lines (2315 loc) · 74.2 KB
/
countrymap.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
package mimir
var (
// countriesConfiguration holds the mapping between the country code and the country specifications
countriesConfiguration = map[string]configuration{
ad.String(): andorraConfiguration,
ae.String(): unitedArabEmiratesConfiguration,
al.String(): albaniaConfiguration,
at.String(): austriaConfiguration,
az.String(): azerbaijanConfiguration,
ba.String(): bosniaHerzegovinaConfiguration,
be.String(): belgiumConfiguration,
bg.String(): bulgariaConfiguration,
bh.String(): bahrainConfiguration,
br.String(): brazilConfiguration,
by.String(): republicBelarusConfiguration,
ch.String(): switzerlandConfiguration,
cr.String(): costaRicaConfiguration,
cy.String(): cyprusConfiguration,
cz.String(): czechRepublicConfiguration,
de.String(): germanyConfiguration,
dk.String(): denmarkConfiguration,
do.String(): dominicanRepublicConfiguration,
ee.String(): estoniaConfiguration,
es.String(): spainConfiguration,
fi.String(): finlandConfiguration,
fo.String(): faroeIslandsConfiguration,
fr.String(): franceConfiguration,
gb.String(): unitedKingdomConfiguration,
ge.String(): georgiaConfiguration,
gi.String(): gibraltarConfiguration,
gl.String(): greenlandConfiguration,
gr.String(): greeceConfiguration,
gt.String(): guatemalaConfiguration,
hr.String(): croatiaConfiguration,
hu.String(): hungaryConfiguration,
ie.String(): irelandConfiguration,
il.String(): israelConfiguration,
iq.String(): iraqConfiguration,
is.String(): icelandConfiguration,
it.String(): italyConfiguration,
jo.String(): jordanConfiguration,
kw.String(): kuwaitConfiguration,
kz.String(): kazakhstanConfiguration,
lb.String(): lebanonConfiguration,
lc.String(): saintLuciaConfiguration,
li.String(): liechtensteinConfiguration,
lt.String(): lithuaniaConfiguration,
lu.String(): luxembourgConfiguration,
lv.String(): latviaConfiguration,
mc.String(): monacoConfiguration,
md.String(): moldovaConfiguration,
me.String(): montenegroConfiguration,
mk.String(): macedoniaConfiguration,
mr.String(): mauritaniaConfiguration,
mt.String(): maltaConfiguration,
mu.String(): mauritiusConfiguration,
nl.String(): netherlandsConfiguration,
no.String(): norwayConfiguration,
pk.String(): pakistanConfiguration,
pl.String(): polandConfiguration,
ps.String(): palestineConfiguration,
pt.String(): portugalConfiguration,
qa.String(): qatarConfiguration,
ro.String(): romaniaConfiguration,
rs.String(): serbiaConfiguration,
sa.String(): saudiArabiaConfiguration,
sc.String(): seychellesConfiguration,
se.String(): swedenConfiguration,
si.String(): sloveniaConfiguration,
sk.String(): slovakiaConfiguration,
sm.String(): sanMarinoConfiguration,
st.String(): saoTomePrincipeConfiguration,
sv.String(): elSalvadorConfiguration,
tl.String(): timorLesteConfiguration,
tn.String(): tunisiaConfiguration,
tr.String(): turkeyConfiguration,
ua.String(): ukraineConfiguration,
va.String(): vaticanCityStateConfiguration,
vg.String(): virginIslandsConfiguration,
xk.String(): kosovoConfiguration,
gf.String(): frenchGuianaConfiguration,
gp.String(): guadaloupeConfiguration,
mq.String(): martiniqueConfiguration,
re.String(): reunionConfiguration,
pf.String(): frenchPolynesiaConfiguration,
tf.String(): frenchSouthernTerritoriesConfiguration,
yt.String(): mayotteConfiguration,
nc.String(): newCaledoniaConfiguration,
bl.String(): saintBarthelemyConfiguration,
mf.String(): collectivityOfSaintMartinConfiguration,
pm.String(): saintPierreAndMiquelonConfiguration,
wf.String(): wallisAndFutunaIslandsConfiguration,
ax.String(): alandIslandsConfiguration,
// Experimental IBAN Countries
dz.String(): algeriaConfiguration,
ao.String(): angolaConfiguration,
bj.String(): beninConfiguration,
bf.String(): burkinaFasoConfiguration,
bi.String(): burundiConfiguration,
cm.String(): cameroonConfiguration,
cv.String(): capeVerdeConfiguration,
cf.String(): centralAfricanRepublicConfiguration,
td.String(): chadConfiguration,
km.String(): comorosConfiguration,
cg.String(): congoConfiguration,
dj.String(): djiboutiConfiguration,
eg.String(): egyptConfiguration,
ga.String(): gabonConfiguration,
gw.String(): guineaBissauConfiguration,
hn.String(): hondurasConfiguration,
ir.String(): iranConfiguration,
ci.String(): ivoryCoastConfiguration,
mg.String(): madagascarConfiguration,
ml.String(): maliConfiguration,
ma.String(): moroccoConfiguration,
mz.String(): mozambiqueConfiguration,
ni.String(): nicaraguaConfiguration,
ne.String(): nigerConfiguration,
sn.String(): senegalConfiguration,
tg.String(): togoConfiguration,
}
andorraConfiguration = configuration{
CountryName: "Andorra",
CountryCode: ad,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "2030200359100100",
IBANDefinition: definition{
Length: 24,
Example: "AD1200012030200359100100",
PrintFormat: "AD12 0001 2030 2003 5910 0100",
Structure: "cckkbbbbssssaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 20,
Example: "00012030200359100100",
Structure: "bbbbssssaaaaaaaaaaaa",
},
}
unitedArabEmiratesConfiguration = configuration{
CountryName: "The United Arab Emirates",
CountryCode: ae,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "1234567890123456",
IBANDefinition: definition{
Length: 23,
Example: "AE070331234567890123456",
PrintFormat: "AE07 0331 2345 6789 0123 456",
Structure: "cckkbbbaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 19,
Example: "0331234567890123456",
Structure: "bbbaaaaaaaaaaaaaaaa",
},
}
albaniaConfiguration = configuration{
CountryName: "Albania",
CountryCode: al,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0000000235698741",
IBANDefinition: definition{
Length: 28,
Example: "AL47212110090000000235698741",
PrintFormat: "AL47 2121 1009 0000 0002 3569 8741",
Structure: "cckkbbbssssxaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "212110090000000235698741",
Structure: "bbbssssxaaaaaaaaaaaaaaaa",
},
}
austriaConfiguration = configuration{
CountryName: "Austria",
CountryCode: at,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "BLZ 19043 Kto 234573201",
IBANDefinition: definition{
Length: 20,
Example: "AT611904300234573201",
PrintFormat: "AT61 1904 3002 3457 3201",
Structure: "cckkbbbbbaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 16,
Example: "1904300234573201",
Structure: "bbbbbaaaaaaaaaaa",
},
}
azerbaijanConfiguration = configuration{
CountryName: "Azerbaijan",
CountryCode: az,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "NABZ00000000137010001944",
IBANDefinition: definition{
Length: 28,
Example: "AZ21NABZ00000000137010001944",
PrintFormat: "AZ21 NABZ 0000 0000 1370 1000 1944",
Structure: "cckkwwwwaaaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "NABZ00000000137010001944",
Structure: "wwwwaaaaaaaaaaaaaaaaaaaa",
},
}
bosniaHerzegovinaConfiguration = configuration{
CountryName: "Bosnia and Herzegovina",
CountryCode: ba,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "199-044-00012002-79",
IBANDefinition: definition{
Length: 20,
Example: "BA391290079401028494",
PrintFormat: "BA39 1290 0794 0102 8494",
Structure: "cckkbbbsssaaaaaaaaxx",
},
BBANDefinition: definition{
Length: 16,
Example: "1990440001200279",
Structure: "bbbsssaaaaaaaaxx",
},
}
belgiumConfiguration = configuration{
CountryName: "Belgium",
CountryCode: be,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "539-0075470-34",
IBANDefinition: definition{
Length: 16,
Example: "BE68539007547034",
PrintFormat: "BE68 5390 0754 7034",
Structure: "cckkbbbaaaaaaaxx",
},
BBANDefinition: definition{
Length: 12,
Example: "539007547034",
Structure: "bbbaaaaaaaxx",
},
}
bulgariaConfiguration = configuration{
CountryName: "Bulgaria",
CountryCode: bg,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "BNBG 9661 1020 3456 78",
IBANDefinition: definition{
Length: 22,
Example: "BG80BNBG96611020345678",
PrintFormat: "BG80 BNBG 9661 1020 3456 78",
Structure: "cckkwwwwssssttaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "BNBG96611020345678",
Structure: "wwwwssssttaaaaaaaa",
},
}
bahrainConfiguration = configuration{
CountryName: "Bahrain",
CountryCode: bh,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "00001299123456",
IBANDefinition: definition{
Length: 22,
Example: "BH67BMAG00001299123456",
PrintFormat: "BH67 BMAG 0000 1299 1234 56",
Structure: "cckkwwwwaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "BMAG00001299123456",
Structure: "wwwwaaaaaaaaaaaaaa",
},
}
brazilConfiguration = configuration{
CountryName: "Brazil",
CountryCode: br,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0009795493C1",
IBANDefinition: definition{
Length: 29,
Example: "BR1800360305000010009795493C1",
PrintFormat: "BR18 0036 0305 0000 1000 9795 493C 1",
Structure: "cckkbbbbbbbbsssssaaaaaaaaaatn",
},
BBANDefinition: definition{
Length: 25,
Example: "00360305000010009795493P1",
Structure: "bbbbbbbbsssssaaaaaaaaaatn",
},
}
republicBelarusConfiguration = configuration{
CountryName: "Republic of Belarus",
CountryCode: by,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "3600 0000 0000 0Z00 AB00",
IBANDefinition: definition{
Length: 28,
Example: "BY13NBRB3600900000002Z00AB00",
PrintFormat: "BY13 NBRB 3600 9000 0000 2Z00 AB00",
Structure: "cckkbbbbssssaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "NBRB3600000000000Z00AB00",
Structure: "bbbbssssaaaaaaaaaaaaaaaa",
},
}
switzerlandConfiguration = configuration{
CountryName: "Switzerland",
CountryCode: ch,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "762 1162-3852.957",
IBANDefinition: definition{
Length: 21,
Example: "CH9300762011623852957",
PrintFormat: "CH93 0076 2011 6238 5295 7",
Structure: "cckkbbbbbaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 17,
Example: "00762011623852957",
Structure: "bbbbbaaaaaaaaaaaa",
},
}
costaRicaConfiguration = configuration{
CountryName: "Costa Rica",
CountryCode: cr,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "02001026284066",
IBANDefinition: definition{
Length: 22,
Example: "CR05015202001026284066",
PrintFormat: "CR05 0152 0200 1026 2840 66",
Structure: "cckkobbbaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "015202001026284066",
Structure: "obbbaaaaaaaaaaaaaa",
},
}
cyprusConfiguration = configuration{
CountryName: "Cyprus",
CountryCode: cy,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0000001200527600",
IBANDefinition: definition{
Length: 28,
Example: "CY17002001280000001200527600",
PrintFormat: "CY17 0020 0128 0000 0012 0052 7600",
Structure: "cckkbbbsssssaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "002001280000001200527600",
Structure: "bbbsssssaaaaaaaaaaaaaaaa",
},
}
czechRepublicConfiguration = configuration{
CountryName: "Czech Republic",
CountryCode: cz,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "19-2000145399/0800",
IBANDefinition: definition{
Length: 24,
Example: "CZ6508000000192000145399",
PrintFormat: "CZ65 0800 0000 1920 0014 5399",
Structure: "cckkbbbbssssssaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 20,
Example: "08000000192000145399",
Structure: "bbbbssssssaaaaaaaaaa",
},
}
germanyConfiguration = configuration{
CountryName: "Germany",
CountryCode: de,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "532013000",
IBANDefinition: definition{
Length: 22,
Example: "DE89370400440532013000",
PrintFormat: "DE89 3704 0044 0532 0130 00",
Structure: "cckkbbbbbbbbaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "370400440532013000",
Structure: "bbbbbbbbaaaaaaaaaa",
},
}
denmarkConfiguration = configuration{
CountryName: "Denmark",
CountryCode: dk,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0040 0440116243",
IBANDefinition: definition{
Length: 18,
Example: "DK5000400440116243",
PrintFormat: "DK50 0040 0440 1162 43",
Structure: "cckkbbbbaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 14,
Example: "00400440116243",
Structure: "bbbbaaaaaaaaaa",
},
}
dominicanRepublicConfiguration = configuration{
CountryName: "Dominican Republic",
CountryCode: do,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "00000001212453611324",
IBANDefinition: definition{
Length: 28,
Example: "DO28BAGR00000001212453611324",
PrintFormat: "DO28 BAGR 0000 0001 2124 5361 1324",
Structure: "cckkwwwwaaaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "BAGR00000001212453611324",
Structure: "wwwwaaaaaaaaaaaaaaaaaaaa",
},
}
estoniaConfiguration = configuration{
CountryName: "Estonia",
CountryCode: ee,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "221020145685",
IBANDefinition: definition{
Length: 20,
Example: "EE382200221020145685",
PrintFormat: "EE38 2200 2210 2014 5685",
Structure: "cckkbbssaaaaaaaaaaax",
},
BBANDefinition: definition{
Length: 16,
Example: "2200221020145685",
Structure: "bbssaaaaaaaaaaax",
},
}
spainConfiguration = configuration{
CountryName: "Spain",
CountryCode: es,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "2100 0418 45 0200051332",
IBANDefinition: definition{
Length: 24,
Example: "ES9121000418450200051332",
PrintFormat: "ES91 2100 0418 4502 0005 1332",
Structure: "cckkbbbbssssxxaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 20,
Example: "21000418450200051332",
Structure: "bbbbssssxxaaaaaaaaaa",
},
}
finlandConfiguration = configuration{
CountryName: "Finland",
CountryCode: fi,
IncludedCountryCode: []countryCode{ax},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{ax},
AccountNumberExample: "1234 5600 0007 85",
IBANDefinition: definition{
Length: 18,
Example: "FI2112345600000785",
PrintFormat: "FI21 1234 5600 0007 85",
Structure: "cckkbbbbbbaaaaaaax",
},
BBANDefinition: definition{
Length: 14,
Example: "12345600000785",
Structure: "bbbbbbaaaaaaax",
},
}
faroeIslandsConfiguration = configuration{
CountryName: "Faroe Islands",
CountryCode: fo,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "6460 0001631634",
IBANDefinition: definition{
Length: 18,
Example: "FO6264600001631634",
PrintFormat: "FO62 6460 0001 6316 34",
Structure: "cckkbbbbaaaaaaaaax",
},
BBANDefinition: definition{
Length: 14,
Example: "64600001631634",
Structure: "bbbbaaaaaaaaax",
},
}
franceConfiguration = configuration{
CountryName: "France",
CountryCode: fr,
IncludedCountryCode: []countryCode{gf, gp, mq, re, pf, tf, yt, nc, bl, mf, pm, wf},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{gf, gp, mq, yt, re, pm, bl, mf},
AccountNumberExample: "20041 01005 0500013M026 06",
IBANDefinition: definition{
Length: 27,
Example: "FR1420041010050500013M02606",
PrintFormat: "FR14 2004 1010 0505 0001 3M02 606",
Structure: "cckkbbbbbsssssaaaaaaaaaaaxx",
},
BBANDefinition: definition{
Length: 23,
Example: "20041010050500013M02606",
Structure: "bbbbbsssssaaaaaaaaaaaxx",
},
}
unitedKingdomConfiguration = configuration{
CountryName: "United Kingdom",
CountryCode: gb,
IncludedCountryCode: []countryCode{im, je, gg},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "60-16-13 31926819",
IBANDefinition: definition{
Length: 22,
Example: "GB29NWBK60161331926819",
PrintFormat: "GB29 NWBK 6016 1331 9268 19",
Structure: "cckkwwwwssssssaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "NWBK60161331926819",
Structure: "wwwwssssssaaaaaaaa",
},
}
georgiaConfiguration = configuration{
CountryName: "Georgia",
CountryCode: ge,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0000000101904917",
IBANDefinition: definition{
Length: 22,
Example: "GE29NB0000000101904917",
PrintFormat: "GE29 NB00 0000 0101 9049 17",
Structure: "cckkwwaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "NB0000000101904917",
Structure: "wwaaaaaaaaaaaaaaaa",
},
}
gibraltarConfiguration = configuration{
CountryName: "Gibraltar",
CountryCode: gi,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0000 00007099 453",
IBANDefinition: definition{
Length: 23,
Example: "GI75NWBK000000007099453",
PrintFormat: "GI75 NWBK 0000 0000 7099 453",
Structure: "cckkwwwwaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 19,
Example: "NWBK000000007099453",
Structure: "wwwwaaaaaaaaaaaaaaa",
},
}
greenlandConfiguration = configuration{
CountryName: "Greenland",
CountryCode: gl,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "6471 0001000206",
IBANDefinition: definition{
Length: 18,
Example: "GL8964710001000206",
PrintFormat: "GL89 6471 0001 0002 06",
Structure: "cckkbbbbaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 14,
Example: "64710001000206",
Structure: "bbbbaaaaaaaaaa",
},
}
greeceConfiguration = configuration{
CountryName: "Greece",
CountryCode: gr,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "01250000000012300695",
IBANDefinition: definition{
Length: 27,
Example: "GR1601101250000000012300695",
PrintFormat: "GR16 0110 1250 0000 0001 2300 695",
Structure: "cckkbbbssssaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 23,
Example: "01101250000000012300695",
Structure: "bbbssssaaaaaaaaaaaaaaaa",
},
}
guatemalaConfiguration = configuration{
CountryName: "Guatemala",
CountryCode: gt,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "01020000001210029690",
IBANDefinition: definition{
Length: 28,
Example: "GT82TRAJ01020000001210029690",
PrintFormat: "GT82 TRAJ 0102 0000 0012 1002 9690",
Structure: "cckkwwwwmmttaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "TRAJ01020000001210029690",
Structure: "wwwwmmttaaaaaaaaaaaaaaaa",
},
}
croatiaConfiguration = configuration{
CountryName: "Croatia",
CountryCode: hr,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "1001005-1863000160",
IBANDefinition: definition{
Length: 21,
Example: "HR1210010051863000160",
PrintFormat: "HR12 1001 0051 8630 0016 0",
Structure: "cckkbbbbbbbaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 17,
Example: "10010051863000160",
Structure: "bbbbbbbaaaaaaaaaa",
},
}
hungaryConfiguration = configuration{
CountryName: "Hungary",
CountryCode: hu,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "11773016-11111018-000000009",
IBANDefinition: definition{
Length: 28,
Example: "HU42117730161111101800000000",
PrintFormat: "HU42 1177 3016 1111 1018 0000 0000",
Structure: "cckkbbbsssssaaaaaaaaaaaaaaax",
},
BBANDefinition: definition{
Length: 24,
Example: "117730161111101800000000",
Structure: "bbbsssssaaaaaaaaaaaaaaax",
},
}
irelandConfiguration = configuration{
CountryName: "Ireland",
CountryCode: ie,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "93-11-52 12345678",
IBANDefinition: definition{
Length: 22,
Example: "IE29AIBK93115212345678",
PrintFormat: "IE29 AIBK 9311 5212 3456 78",
Structure: "cckkwwwwssssssaaaaaaaa",
},
BBANDefinition: definition{
Length: 18,
Example: "AIBK93115212345678",
Structure: "wwwwssssssaaaaaaaa",
},
}
israelConfiguration = configuration{
CountryName: "Israel",
CountryCode: il,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "10-800-99999999",
IBANDefinition: definition{
Length: 23,
Example: "IL620108000000099999999",
PrintFormat: "IL62 0108 0000 0009 9999 999",
Structure: "cckkbbbsssaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 19,
Example: "0108000000099999999",
Structure: "bbbsssaaaaaaaaaaaaa",
},
}
iraqConfiguration = configuration{
CountryName: "Iraq",
CountryCode: iq,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "123456789012",
IBANDefinition: definition{
Length: 23,
Example: "IQ98NBIQ850123456789012",
PrintFormat: "IQ98 NBIQ 8501 2345 6789 012",
Structure: "cckkwwwwsssaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 19,
Example: "NBIQ850123456789012",
Structure: "wwwwsssaaaaaaaaaaaa",
},
}
icelandConfiguration = configuration{
CountryName: "Iceland",
CountryCode: is,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0159-26-007654-551073-0339",
IBANDefinition: definition{
Length: 26,
Example: "IS140159260076545510730339",
PrintFormat: "IS14 0159 2600 7654 5510 7303 39",
Structure: "cckkbbbbssaaaaaaiiiiiiiiii",
},
BBANDefinition: definition{
Length: 22,
Example: "0159260076545510730339",
Structure: "bbbbssaaaaaaiiiiiiiiii",
},
}
italyConfiguration = configuration{
CountryName: "Italy",
CountryCode: it,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "X 05428 11101 000000123456",
IBANDefinition: definition{
Length: 27,
Example: "IT60X0542811101000000123456",
PrintFormat: "IT60 X054 2811 1010 0000 0123 456",
Structure: "cckkxbbbbbsssssaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 23,
Example: "X0542811101000000123456",
Structure: "xbbbbbsssssaaaaaaaaaaaa",
},
}
jordanConfiguration = configuration{
CountryName: "Jordan",
CountryCode: jo,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0001310000302",
IBANDefinition: definition{
Length: 30,
Example: "JO94CBJO0010000000000131000302",
PrintFormat: "JO94 CBJO 0010 0000 0000 0131 0003 02",
Structure: "cckkwwwwssssaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 26,
Example: "CBJO0010000000000131000302",
Structure: "wwwwssssaaaaaaaaaaaaaaaaaa",
},
}
kuwaitConfiguration = configuration{
CountryName: "Kuwait",
CountryCode: kw,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "1234560101",
IBANDefinition: definition{
Length: 30,
Example: "KW81CBKU0000000000001234560101",
PrintFormat: "KW81 CBKU 0000 0000 0000 1234 5601 01",
Structure: "cckkwwwwaaaaaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 26,
Example: "CBKU0000000000001234560101",
Structure: "wwwwaaaaaaaaaaaaaaaaaaaaaa",
},
}
kazakhstanConfiguration = configuration{
CountryName: "Kazakhstan",
CountryCode: kz,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "KZ86 125K ZT50 0410 0100",
IBANDefinition: definition{
Length: 20,
Example: "KZ86125KZT5004100100",
PrintFormat: "KZ86 125K ZT50 0410 0100",
Structure: "cckkbbbaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 16,
Example: "125KZT5004100100",
Structure: "bbbaaaaaaaaaaaaa",
},
}
lebanonConfiguration = configuration{
CountryName: "Lebanon",
CountryCode: lb,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "01 001 901229114",
IBANDefinition: definition{
Length: 28,
Example: "LB62099900000001001901229114",
PrintFormat: "LB62 0999 0000 0001 0019 0122 9114",
Structure: "cckkbbbbaaaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 24,
Example: "099900000001001901229114",
Structure: "bbbbaaaaaaaaaaaaaaaaaaaa",
},
}
saintLuciaConfiguration = configuration{
CountryName: "Saint Lucia",
CountryCode: lc,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: false,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "0001 0001 0012 0012 0002 3015",
IBANDefinition: definition{
Length: 32,
Example: "LC55HEMM000100010012001200023015",
PrintFormat: "LC55 HEMM 0001 0001 0012 0012 0002 3015",
Structure: "cckkwwwwaaaaaaaaaaaaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 28,
Example: "HEMM000100010012001200023015",
Structure: "wwwwaaaaaaaaaaaaaaaaaaaaaaaa",
},
}
liechtensteinConfiguration = configuration{
CountryName: "Liechtenstein",
CountryCode: li,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "8810 2324013AA",
IBANDefinition: definition{
Length: 21,
Example: "LI21088100002324013AA",
PrintFormat: "LI21 0881 0000 2324 013A A",
Structure: "cckkbbbbbaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 17,
Example: "088100002324013AA",
Structure: "bbbbbaaaaaaaaaaaa",
},
}
lithuaniaConfiguration = configuration{
CountryName: "Lithuania",
CountryCode: lt,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "11101001000",
IBANDefinition: definition{
Length: 20,
Example: "LT121000011101001000",
PrintFormat: "LT12 1000 0111 0100 1000",
Structure: "cckkbbbbbaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 16,
Example: "1000011101001000",
Structure: "bbbbbaaaaaaaaaaa",
},
}
luxembourgConfiguration = configuration{
CountryName: "Luxembourg",
CountryCode: lu,
IncludedCountryCode: []countryCode{},
IsSEPAAvailable: true,
SEPAIncludedCountryCode: []countryCode{},
AccountNumberExample: "9400644750000",
IBANDefinition: definition{
Length: 20,
Example: "LU280019400644750000",
PrintFormat: "LU28 0019 4006 4475 0000",
Structure: "cckkbbbaaaaaaaaaaaaa",
},
BBANDefinition: definition{
Length: 16,