-
Notifications
You must be signed in to change notification settings - Fork 0
/
FinancialInstitutionCreditTransferV09Types.did
executable file
·726 lines (607 loc) · 14.8 KB
/
FinancialInstitutionCreditTransferV09Types.did
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
module {
public type InstructionForCreditorAgent3 = {
Cd : ?Text;
InstrInf : ?Text;
};
public type AddressType2Code = {
#ADDR;
#BIZZ;
#DLVY;
#HOME;
#MLTO;
#PBOX;
};
public type GenericIdentification30 = {
Id : Text;
Issr : Text;
SchmeNm : ?Text;
};
public type AddressType3Choice = {
Cd : ?AddressType2Code;
Prtry : ?GenericIdentification30;
};
public type PostalAddress24 = {
Flr : ?Text;
DstrctNm : ?Text;
Ctry : ?Text;
Dept : ?Text;
Room : ?Text;
StrtNm : ?Text;
PstBx : ?Text;
PstCd : ?Text;
TwnLctnNm : ?Text;
AdrLine : ?[Text];
TwnNm : ?Text;
AdrTp : ?AddressType3Choice;
CtrySubDvsn : ?Text;
BldgNb : ?Text;
BldgNm : ?Text;
SubDept : ?Text;
};
public type FinancialIdentificationSchemeName1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type GenericFinancialIdentification1 = {
Id : Text;
Issr : ?Text;
SchmeNm : ?FinancialIdentificationSchemeName1Choice;
};
public type ClearingSystemIdentification2Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type ClearingSystemMemberIdentification2 = {
ClrSysId : ?ClearingSystemIdentification2Choice;
MmbId : Text;
};
public type FinancialInstitutionIdentification18 = {
Nm : ?Text;
LEI : ?Text;
PstlAdr : ?PostalAddress24;
BICFI : ?Text;
Othr : ?GenericFinancialIdentification1;
ClrSysMmbId : ?ClearingSystemMemberIdentification2;
};
public type BranchData3 = {
Id : ?Text;
Nm : ?Text;
LEI : ?Text;
PstlAdr : ?PostalAddress24;
};
public type BranchAndFinancialInstitutionIdentification6 = {
FinInstnId : FinancialInstitutionIdentification18;
BrnchId : ?BranchData3;
};
public type Purpose2Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type AccountSchemeName1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type GenericAccountIdentification1 = {
Id : Text;
Issr : ?Text;
SchmeNm : ?AccountSchemeName1Choice;
};
public type AccountIdentification4Choice = {
IBAN : ?Text;
Othr : ?GenericAccountIdentification1;
};
public type CashAccountType2Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type ProxyAccountType1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type ProxyAccountIdentification1 = {
Id : Text;
Tp : ?ProxyAccountType1Choice;
};
public type CashAccount38 = {
Id : AccountIdentification4Choice;
Nm : ?Text;
Tp : ?CashAccountType2Choice;
Ccy : ?Text;
Prxy : ?ProxyAccountIdentification1;
};
public type Priority3Code = {
#HIGH;
#NORM;
#URGT;
};
public type TaxParty1 = {
RegnId : ?Text;
TaxId : ?Text;
TaxTp : ?Text;
};
public type TaxAuthorisation1 = {
Nm : ?Text;
Titl : ?Text;
};
public type TaxParty2 = {
RegnId : ?Text;
Authstn : ?TaxAuthorisation1;
TaxId : ?Text;
TaxTp : ?Text;
};
public type TaxRecordPeriod1Code = {
#HLF1;
#HLF2;
#MM01;
#MM02;
#MM03;
#MM04;
#MM05;
#MM06;
#MM07;
#MM08;
#MM09;
#MM10;
#MM11;
#MM12;
#QTR1;
#QTR2;
#QTR3;
#QTR4;
};
public type DatePeriod2 = {
FrDt : Int;
ToDt : Int;
};
public type TaxPeriod2 = {
Tp : ?TaxRecordPeriod1Code;
Yr : ?Int;
FrToDt : ?DatePeriod2;
};
public type ActiveOrHistoricCurrencyAndAmount = {
Ccy : Text;
value : Float;
};
public type TaxRecordDetails2 = {
Amt : ActiveOrHistoricCurrencyAndAmount;
Prd : ?TaxPeriod2;
};
public type TaxAmount2 = {
Dtls : ?[TaxRecordDetails2];
Rate : ?Float;
TaxblBaseAmt : ?ActiveOrHistoricCurrencyAndAmount;
TtlAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type TaxRecord2 = {
Tp : ?Text;
Prd : ?TaxPeriod2;
Ctgy : ?Text;
CertId : ?Text;
DbtrSts : ?Text;
TaxAmt : ?TaxAmount2;
AddtlInf : ?Text;
CtgyDtls : ?Text;
FrmsCd : ?Text;
};
public type TaxInformation8 = {
Dt : ?Int;
Mtd : ?Text;
SeqNb : ?Float;
Cdtr : ?TaxParty1;
Dbtr : ?TaxParty2;
AdmstnZone : ?Text;
Rcrd : ?[TaxRecord2];
TtlTaxAmt : ?ActiveOrHistoricCurrencyAndAmount;
RefNb : ?Text;
TtlTaxblBaseAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type OrganisationIdentificationSchemeName1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type GenericOrganisationIdentification1 = {
Id : Text;
Issr : ?Text;
SchmeNm : ?OrganisationIdentificationSchemeName1Choice;
};
public type OrganisationIdentification29 = {
LEI : ?Text;
Othr : ?[GenericOrganisationIdentification1];
AnyBIC : ?Text;
};
public type DateAndPlaceOfBirth1 = {
CityOfBirth : Text;
PrvcOfBirth : ?Text;
BirthDt : Int;
CtryOfBirth : Text;
};
public type PersonIdentificationSchemeName1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type GenericPersonIdentification1 = {
Id : Text;
Issr : ?Text;
SchmeNm : ?PersonIdentificationSchemeName1Choice;
};
public type PersonIdentification13 = {
DtAndPlcOfBirth : ?DateAndPlaceOfBirth1;
Othr : ?[GenericPersonIdentification1];
};
public type Party38Choice = {
OrgId : ?OrganisationIdentification29;
PrvtId : ?PersonIdentification13;
};
public type NamePrefix2Code = {
#DOCT;
#MADM;
#MIKS;
#MISS;
#MIST;
};
public type OtherContact1 = {
Id : ?Text;
ChanlTp : Text;
};
public type PreferredContactMethod1Code = {
#CELL;
#FAXX;
#LETT;
#MAIL;
#PHON;
};
public type Contact4 = {
Nm : ?Text;
JobTitl : ?Text;
PhneNb : ?Text;
NmPrfx : ?NamePrefix2Code;
Dept : ?Text;
Othr : ?[OtherContact1];
EmailPurp : ?Text;
PrefrdMtd : ?PreferredContactMethod1Code;
FaxNb : ?Text;
MobNb : ?Text;
EmailAdr : ?Text;
Rspnsblty : ?Text;
};
public type PartyIdentification135 = {
Id : ?Party38Choice;
Nm : ?Text;
PstlAdr : ?PostalAddress24;
CtctDtls : ?Contact4;
CtryOfRes : ?Text;
};
public type Instruction4Code = {
#PHOA;
#TELA;
};
public type InstructionForNextAgent1 = {
Cd : ?Instruction4Code;
InstrInf : ?Text;
};
public type GarnishmentType1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type GarnishmentType1 = {
Issr : ?Text;
CdOrPrtry : GarnishmentType1Choice;
};
public type Garnishment3 = {
Dt : ?Int;
Tp : GarnishmentType1;
GrnshmtAdmstr : ?PartyIdentification135;
RefNb : ?Text;
MplyeeTermntnInd : ?Bool;
FmlyMdclInsrncInd : ?Bool;
Grnshee : ?PartyIdentification135;
RmtdAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type DocumentType3Code = {
#DISP;
#FXDR;
#PUOR;
#RADM;
#RPIN;
#SCOR;
};
public type CreditorReferenceType1Choice = {
Cd : ?DocumentType3Code;
Prtry : ?Text;
};
public type CreditorReferenceType2 = {
Issr : ?Text;
CdOrPrtry : CreditorReferenceType1Choice;
};
public type CreditorReferenceInformation2 = {
Tp : ?CreditorReferenceType2;
Ref : ?Text;
};
public type DiscountAmountType1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type DiscountAmountAndType1 = {
Tp : ?DiscountAmountType1Choice;
Amt : ActiveOrHistoricCurrencyAndAmount;
};
public type CreditDebitCode = {
#CRDT;
#DBIT;
};
public type DocumentAdjustment1 = {
Amt : ActiveOrHistoricCurrencyAndAmount;
Rsn : ?Text;
CdtDbtInd : ?CreditDebitCode;
AddtlInf : ?Text;
};
public type TaxAmountType1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type TaxAmountAndType1 = {
Tp : ?TaxAmountType1Choice;
Amt : ActiveOrHistoricCurrencyAndAmount;
};
public type RemittanceAmount2 = {
DscntApldAmt : ?[DiscountAmountAndType1];
DuePyblAmt : ?ActiveOrHistoricCurrencyAndAmount;
AdjstmntAmtAndRsn : ?[DocumentAdjustment1];
CdtNoteAmt : ?ActiveOrHistoricCurrencyAndAmount;
TaxAmt : ?[TaxAmountAndType1];
RmtdAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type DocumentType6Code = {
#AROI;
#BOLD;
#CINV;
#CMCN;
#CNFA;
#CREN;
#DEBN;
#DISP;
#DNFA;
#HIRI;
#MSIN;
#PUOR;
#SBIN;
#SOAC;
#TSUT;
#VCHR;
};
public type ReferredDocumentType3Choice = {
Cd : ?DocumentType6Code;
Prtry : ?Text;
};
public type ReferredDocumentType4 = {
Issr : ?Text;
CdOrPrtry : ReferredDocumentType3Choice;
};
public type DocumentLineType1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type DocumentLineType1 = {
Issr : ?Text;
CdOrPrtry : DocumentLineType1Choice;
};
public type DocumentLineIdentification1 = {
Nb : ?Text;
Tp : ?DocumentLineType1;
RltdDt : ?Int;
};
public type RemittanceAmount3 = {
DscntApldAmt : ?[DiscountAmountAndType1];
DuePyblAmt : ?ActiveOrHistoricCurrencyAndAmount;
AdjstmntAmtAndRsn : ?[DocumentAdjustment1];
CdtNoteAmt : ?ActiveOrHistoricCurrencyAndAmount;
TaxAmt : ?[TaxAmountAndType1];
RmtdAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type DocumentLineInformation1 = {
Id : [DocumentLineIdentification1];
Amt : ?RemittanceAmount3;
Desc : ?Text;
};
public type ReferredDocumentInformation7 = {
Nb : ?Text;
Tp : ?ReferredDocumentType4;
RltdDt : ?Int;
LineDtls : ?[DocumentLineInformation1];
};
public type TaxInformation7 = {
Dt : ?Int;
Mtd : ?Text;
SeqNb : ?Float;
Cdtr : ?TaxParty1;
Dbtr : ?TaxParty2;
AdmstnZone : ?Text;
Rcrd : ?[TaxRecord2];
TtlTaxAmt : ?ActiveOrHistoricCurrencyAndAmount;
RefNb : ?Text;
UltmtDbtr : ?TaxParty2;
TtlTaxblBaseAmt : ?ActiveOrHistoricCurrencyAndAmount;
};
public type StructuredRemittanceInformation16 = {
GrnshmtRmt : ?Garnishment3;
Invcr : ?PartyIdentification135;
CdtrRefInf : ?CreditorReferenceInformation2;
AddtlRmtInf : ?[Text];
RfrdDocAmt : ?RemittanceAmount2;
RfrdDocInf : ?[ReferredDocumentInformation7];
TaxRmt : ?TaxInformation7;
Invcee : ?PartyIdentification135;
};
public type RemittanceInformation16 = {
Strd : ?[StructuredRemittanceInformation16];
Ustrd : ?[Text];
};
public type CreditTransferTransaction45 = {
Tax : ?TaxInformation8;
InstrForCdtrAgt : ?[InstructionForCreditorAgent3];
PrvsInstgAgt1 : ?BranchAndFinancialInstitutionIdentification6;
PrvsInstgAgt2 : ?BranchAndFinancialInstitutionIdentification6;
PrvsInstgAgt3 : ?BranchAndFinancialInstitutionIdentification6;
Cdtr : PartyIdentification135;
Dbtr : PartyIdentification135;
InstdAmt : ?ActiveOrHistoricCurrencyAndAmount;
InitgPty : ?PartyIdentification135;
IntrmyAgt1Acct : ?CashAccount38;
DbtrAcct : ?CashAccount38;
DbtrAgt : BranchAndFinancialInstitutionIdentification6;
IntrmyAgt1 : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt2 : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt3 : ?BranchAndFinancialInstitutionIdentification6;
PrvsInstgAgt2Acct : ?CashAccount38;
CdtrAcct : ?CashAccount38;
IntrmyAgt3Acct : ?CashAccount38;
UltmtCdtr : ?PartyIdentification135;
UltmtDbtr : ?PartyIdentification135;
CdtrAgtAcct : ?CashAccount38;
DbtrAgtAcct : ?CashAccount38;
InstrForNxtAgt : ?[InstructionForNextAgent1];
PrvsInstgAgt1Acct : ?CashAccount38;
IntrmyAgt2Acct : ?CashAccount38;
RmtInf : ?RemittanceInformation16;
PrvsInstgAgt3Acct : ?CashAccount38;
CdtrAgt : BranchAndFinancialInstitutionIdentification6;
};
public type PaymentIdentification13 = {
ClrSysRef : ?Text;
TxId : ?Text;
UETR : ?Text;
InstrId : ?Text;
EndToEndId : Text;
};
public type SupplementaryDataEnvelope1 = {
any : Any;
};
public type SupplementaryData1 = {
Envlp : SupplementaryDataEnvelope1;
PlcAndNm : ?Text;
};
public type LocalInstrument2Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type ServiceLevel8Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type Priority2Code = {
#HIGH;
#NORM;
};
public type CategoryPurpose1Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type ClearingChannel2Code = {
#BOOK;
#MPNS;
#RTGS;
#RTNS;
};
public type PaymentTypeInformation28 = {
LclInstrm : ?LocalInstrument2Choice;
SvcLvl : ?[ServiceLevel8Choice];
InstrPrty : ?Priority2Code;
CtgyPurp : ?CategoryPurpose1Choice;
ClrChanl : ?ClearingChannel2Code;
};
public type SettlementTimeRequest2 = {
RjctTm : ?Int;
FrTm : ?Int;
TillTm : ?Int;
CLSTm : ?Int;
};
public type ActiveCurrencyAndAmount = {
Ccy : Text;
value : Float;
};
public type RemittanceInformation2 = {
Ustrd : ?[Text];
};
public type SettlementDateTimeIndication1 = {
DbtDtTm : ?Int;
CdtDtTm : ?Int;
};
public type CreditTransferTransaction44 = {
InstrForCdtrAgt : ?[InstructionForCreditorAgent3];
PrvsInstgAgt1 : ?BranchAndFinancialInstitutionIdentification6;
PrvsInstgAgt2 : ?BranchAndFinancialInstitutionIdentification6;
PrvsInstgAgt3 : ?BranchAndFinancialInstitutionIdentification6;
Cdtr : BranchAndFinancialInstitutionIdentification6;
Dbtr : BranchAndFinancialInstitutionIdentification6;
Purp : ?Purpose2Choice;
InstdAgt : ?BranchAndFinancialInstitutionIdentification6;
InstgAgt : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt1Acct : ?CashAccount38;
DbtrAcct : ?CashAccount38;
SttlmPrty : ?Priority3Code;
UndrlygCstmrCdtTrf : ?CreditTransferTransaction45;
DbtrAgt : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt1 : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt2 : ?BranchAndFinancialInstitutionIdentification6;
IntrmyAgt3 : ?BranchAndFinancialInstitutionIdentification6;
PmtId : PaymentIdentification13;
PrvsInstgAgt2Acct : ?CashAccount38;
IntrBkSttlmDt : ?Int;
CdtrAcct : ?CashAccount38;
IntrmyAgt3Acct : ?CashAccount38;
SplmtryData : ?[SupplementaryData1];
UltmtCdtr : ?BranchAndFinancialInstitutionIdentification6;
UltmtDbtr : ?BranchAndFinancialInstitutionIdentification6;
CdtrAgtAcct : ?CashAccount38;
DbtrAgtAcct : ?CashAccount38;
PmtTpInf : ?PaymentTypeInformation28;
SttlmTmReq : ?SettlementTimeRequest2;
InstrForNxtAgt : ?[InstructionForNextAgent1];
IntrBkSttlmAmt : ActiveCurrencyAndAmount;
PrvsInstgAgt1Acct : ?CashAccount38;
IntrmyAgt2Acct : ?CashAccount38;
RmtInf : ?RemittanceInformation2;
PrvsInstgAgt3Acct : ?CashAccount38;
CdtrAgt : ?BranchAndFinancialInstitutionIdentification6;
SttlmTmIndctn : ?SettlementDateTimeIndication1;
};
public type SettlementMethod1Code = {
#CLRG;
#COVE;
#INDA;
#INGA;
};
public type ClearingSystemIdentification3Choice = {
Cd : ?Text;
Prtry : ?Text;
};
public type SettlementInstruction7 = {
SttlmMtd : SettlementMethod1Code;
SttlmAcct : ?CashAccount38;
ClrSys : ?ClearingSystemIdentification3Choice;
InstdRmbrsmntAgtAcct : ?CashAccount38;
InstgRmbrsmntAgt : ?BranchAndFinancialInstitutionIdentification6;
InstgRmbrsmntAgtAcct : ?CashAccount38;
InstdRmbrsmntAgt : ?BranchAndFinancialInstitutionIdentification6;
ThrdRmbrsmntAgtAcct : ?CashAccount38;
ThrdRmbrsmntAgt : ?BranchAndFinancialInstitutionIdentification6;
};
public type GroupHeader93 = {
CtrlSum : ?Float;
InstdAgt : ?BranchAndFinancialInstitutionIdentification6;
InstgAgt : ?BranchAndFinancialInstitutionIdentification6;
SttlmInf : SettlementInstruction7;
BtchBookg : ?Bool;
IntrBkSttlmDt : ?Int;
NbOfTxs : Text;
PmtTpInf : ?PaymentTypeInformation28;
MsgId : Text;
TtlIntrBkSttlmAmt : ?ActiveCurrencyAndAmount;
CreDtTm : Int;
};
public type FinancialInstitutionCreditTransferV09 = {
CdtTrfTxInf : [CreditTransferTransaction44];
GrpHdr : GroupHeader93;
SplmtryData : ?[SupplementaryData1];
};
}