sepa_rator-dk 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,625 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Von der Deutschen Kreditwirtschaft bereitgestelltes Technical Validation Subset (TVS) für die SEPA-Lastschrift (nutzbar für CORE und B2B) -->
3
+ <!-- Version gemäß DFÜ-Abkommen Anlage 3, Version 3.3 gemäß EPC Vorgaben, gültig ab November 2019, Namespace analog ISO 20022 Edition 2009, kompatibel zu allen EPC-Vorgaben -->
4
+ <!-- Mit XMLSpy v2008 im Februar 2019 von der SIZ GmbH (Wenzel) bearbeitet. GBIC_3 hat gegenüber GBIC_2 KEINE Änderungen. Die Hochnummerierung ist nur einer einheitlichen Benennung der ab V 3.3 gültigen DK-TVS geschuldet. -->
5
+ <xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02" elementFormDefault="qualified">
6
+ <xs:element name="Document" type="Document"/>
7
+ <xs:complexType name="AccountIdentificationSEPA">
8
+ <xs:sequence>
9
+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
10
+ </xs:sequence>
11
+ </xs:complexType>
12
+ <xs:complexType name="AccountIdentificationSEPAMandate">
13
+ <xs:sequence>
14
+ <xs:choice>
15
+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
16
+ <xs:element name="Othr" type="GenericAccountIdentificationSEPA"/>
17
+ </xs:choice>
18
+ </xs:sequence>
19
+ </xs:complexType>
20
+ <xs:complexType name="GenericAccountIdentificationSEPA">
21
+ <xs:sequence>
22
+ <xs:element name="Id" type="RestrictedSMNDACode"/>
23
+ </xs:sequence>
24
+ </xs:complexType>
25
+ <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleTypeSEPA">
26
+ <xs:restriction base="xs:decimal">
27
+ <xs:minInclusive value="0.01"/>
28
+ <xs:maxInclusive value="999999999.99"/>
29
+ <xs:fractionDigits value="2"/>
30
+ <xs:totalDigits value="11"/>
31
+ </xs:restriction>
32
+ </xs:simpleType>
33
+ <xs:complexType name="ActiveOrHistoricCurrencyAndAmountSEPA">
34
+ <xs:simpleContent>
35
+ <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleTypeSEPA">
36
+ <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCodeEUR" use="required"/>
37
+ </xs:extension>
38
+ </xs:simpleContent>
39
+ </xs:complexType>
40
+ <xs:simpleType name="ActiveOrHistoricCurrencyCodeEUR">
41
+ <xs:restriction base="xs:string">
42
+ <xs:enumeration value="EUR"/>
43
+ </xs:restriction>
44
+ </xs:simpleType>
45
+ <xs:simpleType name="ActiveOrHistoricCurrencyCode">
46
+ <xs:restriction base="xs:string">
47
+ <xs:pattern value="[A-Z]{3,3}"/>
48
+ </xs:restriction>
49
+ </xs:simpleType>
50
+ <xs:complexType name="AmendmentInformationDetailsSDD">
51
+ <xs:sequence>
52
+ <xs:element name="OrgnlMndtId" type="RestrictedIdentificationSEPA1" minOccurs="0">
53
+ <xs:annotation>
54
+ <xs:documentation>Mandatory if changes occur in ‘Mandate Identification’, otherwise not to be used.</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="OrgnlCdtrSchmeId" type="PartyIdentificationSEPA4" minOccurs="0">
58
+ <xs:annotation>
59
+ <xs:documentation>Mandatory if changes occur in 'Creditor Scheme Identification', otherwise not to be used.</xs:documentation>
60
+ </xs:annotation>
61
+ </xs:element>
62
+ <xs:element name="OrgnlDbtrAcct" type="CashAccountSEPAMandate" minOccurs="0">
63
+ <xs:annotation>
64
+ <xs:documentation>Mandatory if changes occur in debtor account, otherwise not to be used.</xs:documentation>
65
+ </xs:annotation>
66
+ </xs:element>
67
+ <xs:element name="OrgnlDbtrAgt" type="BranchAndFinancialInstitutionIdentificationSEPA2" minOccurs="0">
68
+ <xs:annotation>
69
+ <xs:documentation>If changes occur in debtor agent and SMNDA is NOT used in OrgnlDbtrAcct</xs:documentation>
70
+ </xs:annotation>
71
+ </xs:element>
72
+ </xs:sequence>
73
+ </xs:complexType>
74
+ <xs:simpleType name="AnyBICIdentifier">
75
+ <xs:restriction base="xs:string">
76
+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
77
+ </xs:restriction>
78
+ </xs:simpleType>
79
+ <xs:simpleType name="BICIdentifier">
80
+ <xs:restriction base="xs:string">
81
+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ <xs:simpleType name="BatchBookingIndicator">
85
+ <xs:restriction base="xs:boolean"/>
86
+ </xs:simpleType>
87
+ <xs:complexType name="BranchAndFinancialInstitutionIdentificationSEPA3">
88
+ <xs:sequence>
89
+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentificationSEPA3"/>
90
+ </xs:sequence>
91
+ </xs:complexType>
92
+ <xs:complexType name="BranchAndFinancialInstitutionIdentificationSEPA2">
93
+ <xs:sequence>
94
+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentificationSEPA2"/>
95
+ </xs:sequence>
96
+ </xs:complexType>
97
+ <xs:complexType name="CashAccountSEPA1">
98
+ <xs:sequence>
99
+ <xs:element name="Id" type="AccountIdentificationSEPA"/>
100
+ <xs:element name="Ccy" type="ActiveOrHistoricCurrencyCode" minOccurs="0"/>
101
+ </xs:sequence>
102
+ </xs:complexType>
103
+ <xs:complexType name="CashAccountSEPA2">
104
+ <xs:sequence>
105
+ <xs:element name="Id" type="AccountIdentificationSEPA"/>
106
+ </xs:sequence>
107
+ </xs:complexType>
108
+ <xs:complexType name="CashAccountSEPAMandate">
109
+ <xs:sequence>
110
+ <xs:element name="Id" type="AccountIdentificationSEPAMandate"/>
111
+ </xs:sequence>
112
+ </xs:complexType>
113
+ <xs:complexType name="CategoryPurposeSEPA">
114
+ <xs:sequence>
115
+ <xs:element name="Cd" type="ExternalCategoryPurpose1Code"/>
116
+ </xs:sequence>
117
+ </xs:complexType>
118
+ <xs:simpleType name="ChargeBearerTypeSEPACode">
119
+ <xs:restriction base="xs:string">
120
+ <xs:enumeration value="SLEV"/>
121
+ </xs:restriction>
122
+ </xs:simpleType>
123
+ <xs:simpleType name="CountryCode">
124
+ <xs:restriction base="xs:string">
125
+ <xs:pattern value="[A-Z]{2,2}"/>
126
+ </xs:restriction>
127
+ </xs:simpleType>
128
+ <xs:complexType name="CreditorReferenceInformationSEPA1">
129
+ <xs:sequence>
130
+ <xs:element name="Tp" type="CreditorReferenceTypeSEPA"/>
131
+ <xs:element name="Ref" type="Max35Text">
132
+ <xs:annotation>
133
+ <xs:documentation>If a Creditor Reference contains a check digit, the receiving bank is not required to validate this.
134
+ If the receiving bank validates the check digit and if this validation fails, the bank may continue its processing and send the transaction to the next party in the chain.</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:element>
137
+ </xs:sequence>
138
+ </xs:complexType>
139
+ <xs:complexType name="CreditorReferenceTypeSEPA">
140
+ <xs:sequence>
141
+ <xs:element name="CdOrPrtry" type="CreditorReferenceTypeCodeSEPA"/>
142
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
143
+ </xs:sequence>
144
+ </xs:complexType>
145
+ <xs:complexType name="CreditorReferenceTypeCodeSEPA">
146
+ <xs:sequence>
147
+ <xs:element name="Cd" type="DocumentType3CodeSEPA"/>
148
+ </xs:sequence>
149
+ </xs:complexType>
150
+ <xs:complexType name="CustomerDirectDebitInitiationV02">
151
+ <xs:sequence>
152
+ <xs:element name="GrpHdr" type="GroupHeaderSDD"/>
153
+ <xs:element name="PmtInf" type="PaymentInstructionInformationSDD" maxOccurs="unbounded"/>
154
+ </xs:sequence>
155
+ </xs:complexType>
156
+ <xs:complexType name="DateAndPlaceOfBirth">
157
+ <xs:sequence>
158
+ <xs:element name="BirthDt" type="ISODate"/>
159
+ <xs:element name="PrvcOfBirth" type="Max35Text" minOccurs="0"/>
160
+ <xs:element name="CityOfBirth" type="Max35Text"/>
161
+ <xs:element name="CtryOfBirth" type="CountryCode"/>
162
+ </xs:sequence>
163
+ </xs:complexType>
164
+ <xs:simpleType name="DecimalNumber">
165
+ <xs:restriction base="xs:decimal">
166
+ <xs:fractionDigits value="17"/>
167
+ <xs:totalDigits value="18"/>
168
+ </xs:restriction>
169
+ </xs:simpleType>
170
+ <xs:complexType name="DirectDebitTransactionSDD">
171
+ <xs:sequence>
172
+ <xs:element name="MndtRltdInf" type="MandateRelatedInformationSDD"/>
173
+ <xs:element name="CdtrSchmeId" type="PartyIdentificationSEPA3" minOccurs="0">
174
+ <xs:annotation>
175
+ <xs:documentation>It is recommended that all transactions within the same ‘Payment Information’ block have the same ‘Creditor Scheme Identification’.
176
+ This data element must be present at either ‘Payment Information’ or ‘Direct Debit
177
+ Transaction’ level.</xs:documentation>
178
+ </xs:annotation>
179
+ </xs:element>
180
+ </xs:sequence>
181
+ </xs:complexType>
182
+ <xs:complexType name="DirectDebitTransactionInformationSDD">
183
+ <xs:sequence>
184
+ <xs:element name="PmtId" type="PaymentIdentificationSEPA"/>
185
+ <xs:element name="PmtTpInf" type="PaymentTypeInformationSDD" minOccurs="0"/>
186
+ <xs:element name="InstdAmt" type="ActiveOrHistoricCurrencyAndAmountSEPA"/>
187
+ <xs:element name="ChrgBr" type="ChargeBearerTypeSEPACode" minOccurs="0">
188
+ <xs:annotation>
189
+ <xs:documentation>It is recommended that this element be specified at ‘Payment Information’ level.</xs:documentation>
190
+ </xs:annotation>
191
+ </xs:element>
192
+ <xs:element name="DrctDbtTx" type="DirectDebitTransactionSDD"/>
193
+ <xs:element name="UltmtCdtr" type="PartyIdentificationSEPA1" minOccurs="0">
194
+ <xs:annotation>
195
+ <xs:documentation>This data element may be present either at ‘Payment Information’ or at ‘Direct Debit Transaction Information’ level.</xs:documentation>
196
+ </xs:annotation>
197
+ </xs:element>
198
+ <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentificationSEPA3"/>
199
+ <xs:element name="Dbtr" type="PartyIdentificationSEPA2"/>
200
+ <xs:element name="DbtrAcct" type="CashAccountSEPA2"/>
201
+ <xs:element name="UltmtDbtr" type="PartyIdentificationSEPA1" minOccurs="0">
202
+ <xs:annotation>
203
+ <xs:documentation>Mandatory if provided by the debtor in the mandate.</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="Purp" type="PurposeSEPA" minOccurs="0"/>
207
+ <xs:element name="RmtInf" type="RemittanceInformationSEPA1Choice" minOccurs="0"/>
208
+ </xs:sequence>
209
+ </xs:complexType>
210
+ <xs:complexType name="Document">
211
+ <xs:sequence>
212
+ <xs:element name="CstmrDrctDbtInitn" type="CustomerDirectDebitInitiationV02"/>
213
+ </xs:sequence>
214
+ </xs:complexType>
215
+ <xs:simpleType name="DocumentType3CodeSEPA">
216
+ <xs:restriction base="xs:string">
217
+ <xs:enumeration value="SCOR"/>
218
+ </xs:restriction>
219
+ </xs:simpleType>
220
+ <xs:simpleType name="ExternalCategoryPurpose1Code">
221
+ <xs:restriction base="xs:string">
222
+ <xs:minLength value="1"/>
223
+ <xs:maxLength value="4"/>
224
+ </xs:restriction>
225
+ </xs:simpleType>
226
+ <xs:simpleType name="ExternalLocalInstrument1Code">
227
+ <xs:restriction base="xs:string">
228
+ <xs:minLength value="1"/>
229
+ <xs:maxLength value="35"/>
230
+ </xs:restriction>
231
+ </xs:simpleType>
232
+ <xs:simpleType name="ExternalOrganisationIdentification1Code">
233
+ <xs:restriction base="xs:string">
234
+ <xs:minLength value="1"/>
235
+ <xs:maxLength value="4"/>
236
+ </xs:restriction>
237
+ </xs:simpleType>
238
+ <xs:simpleType name="ExternalPersonIdentification1Code">
239
+ <xs:restriction base="xs:string">
240
+ <xs:minLength value="1"/>
241
+ <xs:maxLength value="4"/>
242
+ </xs:restriction>
243
+ </xs:simpleType>
244
+ <xs:simpleType name="ExternalPurpose1Code">
245
+ <xs:restriction base="xs:string">
246
+ <xs:minLength value="1"/>
247
+ <xs:maxLength value="4"/>
248
+ </xs:restriction>
249
+ </xs:simpleType>
250
+ <xs:simpleType name="ExternalServiceLevel1Code">
251
+ <xs:restriction base="xs:string">
252
+ <xs:minLength value="1"/>
253
+ <xs:maxLength value="4"/>
254
+ </xs:restriction>
255
+ </xs:simpleType>
256
+ <xs:complexType name="FinancialInstitutionIdentificationSEPA3">
257
+ <xs:sequence>
258
+ <xs:choice>
259
+ <xs:element name="BIC" type="BICIdentifier"/>
260
+ <xs:element name="Othr" type="OthrIdentification"/>
261
+ </xs:choice>
262
+ </xs:sequence>
263
+ </xs:complexType>
264
+ <xs:complexType name="OthrIdentification">
265
+ <xs:sequence>
266
+ <xs:element name="Id" type="OthrIdentificationCode"/>
267
+ </xs:sequence>
268
+ </xs:complexType>
269
+ <xs:simpleType name="OthrIdentificationCode">
270
+ <xs:restriction base="xs:string">
271
+ <xs:enumeration value="NOTPROVIDED"/>
272
+ </xs:restriction>
273
+ </xs:simpleType>
274
+ <xs:complexType name="FinancialInstitutionIdentificationSEPA2">
275
+ <xs:sequence>
276
+ <xs:element name="BIC" type="BICIdentifier"/>
277
+ </xs:sequence>
278
+ </xs:complexType>
279
+ <xs:simpleType name="RestrictedSMNDACode">
280
+ <xs:restriction base="xs:string">
281
+ <xs:enumeration value="SMNDA"/>
282
+ </xs:restriction>
283
+ </xs:simpleType>
284
+ <xs:complexType name="GenericOrganisationIdentification1">
285
+ <xs:sequence>
286
+ <xs:element name="Id" type="Max35Text"/>
287
+ <xs:element name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice" minOccurs="0"/>
288
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
289
+ </xs:sequence>
290
+ </xs:complexType>
291
+ <xs:complexType name="GenericPersonIdentification1">
292
+ <xs:sequence>
293
+ <xs:element name="Id" type="Max35Text"/>
294
+ <xs:element name="SchmeNm" type="PersonIdentificationSchemeName1Choice" minOccurs="0"/>
295
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
296
+ </xs:sequence>
297
+ </xs:complexType>
298
+ <xs:complexType name="RestrictedPersonIdentificationSEPA">
299
+ <xs:sequence>
300
+ <xs:element name="Id" type="RestrictedPersonIdentifierSEPA"/>
301
+ <xs:element name="SchmeNm" type="RestrictedPersonIdentificationSchemeNameSEPA"/>
302
+ </xs:sequence>
303
+ </xs:complexType>
304
+ <xs:simpleType name="RestrictedPersonIdentifierSEPA">
305
+ <xs:restriction base="xs:string">
306
+ <xs:pattern value="[a-zA-Z]{2,2}[0-9]{2,2}([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|']){3,3}([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|']){1,28}"/>
307
+ </xs:restriction>
308
+ </xs:simpleType>
309
+ <xs:complexType name="GroupHeaderSDD">
310
+ <xs:sequence>
311
+ <xs:element name="MsgId" type="RestrictedIdentificationSEPA1"/>
312
+ <xs:element name="CreDtTm" type="ISODateTime"/>
313
+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
314
+ <xs:element name="CtrlSum" type="DecimalNumber"/>
315
+ <xs:element name="InitgPty" type="PartyIdentificationSEPA1"/>
316
+ </xs:sequence>
317
+ </xs:complexType>
318
+ <xs:simpleType name="IBAN2007Identifier">
319
+ <xs:restriction base="xs:string">
320
+ <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
321
+ </xs:restriction>
322
+ </xs:simpleType>
323
+ <xs:simpleType name="ISODate">
324
+ <xs:restriction base="xs:date"/>
325
+ </xs:simpleType>
326
+ <xs:simpleType name="ISODateTime">
327
+ <xs:restriction base="xs:dateTime"/>
328
+ </xs:simpleType>
329
+ <xs:complexType name="LocalInstrumentSEPA">
330
+ <xs:sequence>
331
+ <xs:element name="Cd" type="ExternalLocalInstrument1Code"/>
332
+ </xs:sequence>
333
+ </xs:complexType>
334
+ <xs:complexType name="MandateRelatedInformationSDD">
335
+ <xs:sequence>
336
+ <xs:element name="MndtId" type="RestrictedIdentificationSEPA1"/>
337
+ <xs:element name="DtOfSgntr" type="ISODate"/>
338
+ <xs:element name="AmdmntInd" type="TrueFalseIndicator" minOccurs="0"/>
339
+ <xs:element name="AmdmntInfDtls" type="AmendmentInformationDetailsSDD" minOccurs="0">
340
+ <xs:annotation>
341
+ <xs:documentation>Mandatory if 'Amendment Indicator' is 'TRUE'
342
+ The reason code from the Rulebook is indicated using one of the following message subelements.</xs:documentation>
343
+ </xs:annotation>
344
+ </xs:element>
345
+ <xs:element name="ElctrncSgntr" type="Max1025Text" minOccurs="0"/>
346
+ </xs:sequence>
347
+ </xs:complexType>
348
+ <xs:simpleType name="Max1025Text">
349
+ <xs:restriction base="xs:string">
350
+ <xs:minLength value="1"/>
351
+ <xs:maxLength value="1025"/>
352
+ </xs:restriction>
353
+ </xs:simpleType>
354
+ <xs:simpleType name="Max140Text">
355
+ <xs:restriction base="xs:string">
356
+ <xs:minLength value="1"/>
357
+ <xs:maxLength value="140"/>
358
+ </xs:restriction>
359
+ </xs:simpleType>
360
+ <xs:simpleType name="Max15NumericText">
361
+ <xs:restriction base="xs:string">
362
+ <xs:pattern value="[0-9]{1,15}"/>
363
+ </xs:restriction>
364
+ </xs:simpleType>
365
+ <xs:simpleType name="Max34Text">
366
+ <xs:restriction base="xs:string">
367
+ <xs:minLength value="1"/>
368
+ <xs:maxLength value="34"/>
369
+ </xs:restriction>
370
+ </xs:simpleType>
371
+ <xs:simpleType name="Max35Text">
372
+ <xs:restriction base="xs:string">
373
+ <xs:minLength value="1"/>
374
+ <xs:maxLength value="35"/>
375
+ </xs:restriction>
376
+ </xs:simpleType>
377
+ <xs:simpleType name="Max70Text">
378
+ <xs:restriction base="xs:string">
379
+ <xs:minLength value="1"/>
380
+ <xs:maxLength value="70"/>
381
+ </xs:restriction>
382
+ </xs:simpleType>
383
+ <xs:complexType name="OrganisationIdentificationSEPAChoice">
384
+ <xs:sequence>
385
+ <xs:choice>
386
+ <xs:element name="BICOrBEI" type="AnyBICIdentifier"/>
387
+ <xs:element name="Othr" type="GenericOrganisationIdentification1"/>
388
+ </xs:choice>
389
+ </xs:sequence>
390
+ </xs:complexType>
391
+ <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
392
+ <xs:sequence>
393
+ <xs:choice>
394
+ <xs:element name="Cd" type="ExternalOrganisationIdentification1Code"/>
395
+ <xs:element name="Prtry" type="Max35Text"/>
396
+ </xs:choice>
397
+ </xs:sequence>
398
+ </xs:complexType>
399
+ <xs:complexType name="PartySEPAChoice">
400
+ <xs:sequence>
401
+ <xs:choice>
402
+ <xs:element name="OrgId" type="OrganisationIdentificationSEPAChoice">
403
+ <xs:annotation>
404
+ <xs:documentation>Either ‘BIC or BEI’ or one
405
+ occurrence of ‘Other’ is allowed.</xs:documentation>
406
+ </xs:annotation>
407
+ </xs:element>
408
+ <xs:element name="PrvtId" type="PersonIdentificationSEPA1Choice">
409
+ <xs:annotation>
410
+ <xs:documentation>Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed</xs:documentation>
411
+ </xs:annotation>
412
+ </xs:element>
413
+ </xs:choice>
414
+ </xs:sequence>
415
+ </xs:complexType>
416
+ <xs:complexType name="PartySEPA2">
417
+ <xs:sequence>
418
+ <xs:element name="PrvtId" type="PersonIdentificationSEPA2">
419
+ <xs:annotation>
420
+ <xs:documentation>Private Identification is used to identify either an organisation or a private
421
+ person.</xs:documentation>
422
+ </xs:annotation>
423
+ </xs:element>
424
+ </xs:sequence>
425
+ </xs:complexType>
426
+ <xs:complexType name="PartyIdentificationSEPA1">
427
+ <xs:sequence>
428
+ <xs:element name="Nm" type="Max70Text" minOccurs="0">
429
+ <xs:annotation>
430
+ <xs:documentation>‘Name’ is limited to 70 characters in length.</xs:documentation>
431
+ </xs:annotation>
432
+ </xs:element>
433
+ <xs:element name="Id" type="PartySEPAChoice" minOccurs="0"/>
434
+ </xs:sequence>
435
+ </xs:complexType>
436
+ <xs:complexType name="PartyIdentificationSEPA2">
437
+ <xs:sequence>
438
+ <xs:element name="Nm" type="Max70Text">
439
+ <xs:annotation>
440
+ <xs:documentation>‘Name’ is limited to 70 characters in length.</xs:documentation>
441
+ </xs:annotation>
442
+ </xs:element>
443
+ <xs:element name="PstlAdr" type="PostalAddressSEPA" minOccurs="0"/>
444
+ <xs:element name="Id" type="PartySEPAChoice" minOccurs="0"/>
445
+ </xs:sequence>
446
+ </xs:complexType>
447
+ <xs:complexType name="PartyIdentificationSEPA3">
448
+ <xs:sequence>
449
+ <xs:element name="Id" type="PartySEPA2"/>
450
+ </xs:sequence>
451
+ </xs:complexType>
452
+ <xs:complexType name="PartyIdentificationSEPA4">
453
+ <xs:sequence>
454
+ <xs:element name="Nm" type="Max70Text" minOccurs="0">
455
+ <xs:annotation>
456
+ <xs:documentation>If present the new’ Name’ must be specified under ‘Creditor’. ‘Name’ is limited to 70 characters in length.</xs:documentation>
457
+ </xs:annotation>
458
+ </xs:element>
459
+ <xs:element name="Id" type="PartySEPA2" minOccurs="0"/>
460
+ </xs:sequence>
461
+ </xs:complexType>
462
+ <xs:complexType name="PartyIdentificationSEPA5">
463
+ <xs:sequence>
464
+ <xs:element name="Nm" type="Max70Text">
465
+ <xs:annotation>
466
+ <xs:documentation>‘Name’ is limited to 70 characters in length.</xs:documentation>
467
+ </xs:annotation>
468
+ </xs:element>
469
+ <xs:element name="PstlAdr" type="PostalAddressSEPA" minOccurs="0"/>
470
+ </xs:sequence>
471
+ </xs:complexType>
472
+ <xs:complexType name="PaymentIdentificationSEPA">
473
+ <xs:sequence>
474
+ <xs:element name="InstrId" type="RestrictedIdentificationSEPA1" minOccurs="0"/>
475
+ <xs:element name="EndToEndId" type="RestrictedIdentificationSEPA1"/>
476
+ </xs:sequence>
477
+ </xs:complexType>
478
+ <xs:complexType name="PaymentInstructionInformationSDD">
479
+ <xs:sequence>
480
+ <xs:element name="PmtInfId" type="RestrictedIdentificationSEPA1"/>
481
+ <xs:element name="PmtMtd" type="PaymentMethod2Code"/>
482
+ <xs:element name="BtchBookg" type="BatchBookingIndicator" minOccurs="0">
483
+ <xs:annotation>
484
+ <xs:documentation>If present and contains ‘true’, batch booking is requested. If present and contains ‘false’, booking per transaction is requested. If element is not present, pre-agreed customer-to-bank conditions apply.</xs:documentation>
485
+ </xs:annotation>
486
+ </xs:element>
487
+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
488
+ <xs:element name="CtrlSum" type="DecimalNumber"/>
489
+ <xs:element name="PmtTpInf" type="PaymentTypeInformationSDD" minOccurs="0"/>
490
+ <xs:element name="ReqdColltnDt" type="ISODate"/>
491
+ <xs:element name="Cdtr" type="PartyIdentificationSEPA5"/>
492
+ <xs:element name="CdtrAcct" type="CashAccountSEPA1"/>
493
+ <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentificationSEPA3"/>
494
+ <xs:element name="UltmtCdtr" type="PartyIdentificationSEPA1" minOccurs="0">
495
+ <xs:annotation>
496
+ <xs:documentation>This data element may be present either at ‘Payment Information’ or at ‘Direct Debit Transaction Information’ level.</xs:documentation>
497
+ </xs:annotation>
498
+ </xs:element>
499
+ <xs:element name="ChrgBr" type="ChargeBearerTypeSEPACode" minOccurs="0">
500
+ <xs:annotation>
501
+ <xs:documentation>It is recommended that this element be specified at ‘Payment Information’ level.</xs:documentation>
502
+ </xs:annotation>
503
+ </xs:element>
504
+ <xs:element name="CdtrSchmeId" type="PartyIdentificationSEPA3" minOccurs="0">
505
+ <xs:annotation>
506
+ <xs:documentation>It is recommended that all transactions within the same ‘Payment Information’ block have the same ‘Creditor Scheme Identification’.
507
+ This data element must be present at either ‘Payment Information’ or ‘Direct Debit
508
+ Transaction’ level.</xs:documentation>
509
+ </xs:annotation>
510
+ </xs:element>
511
+ <xs:element name="DrctDbtTxInf" type="DirectDebitTransactionInformationSDD" maxOccurs="unbounded"/>
512
+ </xs:sequence>
513
+ </xs:complexType>
514
+ <xs:simpleType name="PaymentMethod2Code">
515
+ <xs:restriction base="xs:string">
516
+ <xs:enumeration value="DD"/>
517
+ </xs:restriction>
518
+ </xs:simpleType>
519
+ <xs:complexType name="PaymentTypeInformationSDD">
520
+ <xs:sequence>
521
+ <xs:element name="SvcLvl" type="ServiceLevel"/>
522
+ <xs:element name="LclInstrm" type="LocalInstrumentSEPA">
523
+ <xs:annotation>
524
+ <xs:documentation>Only ‘B2B’ and 'CORE' is allowed. The mixing of different Local Instrument values is not allowed in the same message.</xs:documentation>
525
+ </xs:annotation>
526
+ </xs:element>
527
+ <xs:element name="SeqTp" type="SequenceType1Code"/>
528
+ <xs:element name="CtgyPurp" type="CategoryPurposeSEPA" minOccurs="0">
529
+ <xs:annotation>
530
+ <xs:documentation>Depending on the agreement between the Creditor and the Creditor Bank, ‘Category Purpose’ may be forwarded to the Debtor Bank.</xs:documentation>
531
+ </xs:annotation>
532
+ </xs:element>
533
+ </xs:sequence>
534
+ </xs:complexType>
535
+ <xs:complexType name="PersonIdentificationSEPA1Choice">
536
+ <xs:sequence>
537
+ <xs:choice>
538
+ <xs:element name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth"/>
539
+ <xs:element name="Othr" type="GenericPersonIdentification1"/>
540
+ </xs:choice>
541
+ </xs:sequence>
542
+ </xs:complexType>
543
+ <xs:complexType name="PersonIdentificationSEPA2">
544
+ <xs:sequence>
545
+ <xs:element name="Othr" type="RestrictedPersonIdentificationSEPA">
546
+ <xs:annotation>
547
+ <xs:documentation>Only one occurrence of ‘Other’ is allowed, and no other sub-elements are allowed.
548
+ Identification must be used with an identifier described in General Message Element Specifications, Chapter 1.5.2 of the Implementation Guide.
549
+ Scheme Name’ under ‘Other’ must specify ‘SEPA’ under ‘Proprietary</xs:documentation>
550
+ </xs:annotation>
551
+ </xs:element>
552
+ </xs:sequence>
553
+ </xs:complexType>
554
+ <xs:complexType name="PersonIdentificationSchemeName1Choice">
555
+ <xs:sequence>
556
+ <xs:choice>
557
+ <xs:element name="Cd" type="ExternalPersonIdentification1Code"/>
558
+ <xs:element name="Prtry" type="Max35Text"/>
559
+ </xs:choice>
560
+ </xs:sequence>
561
+ </xs:complexType>
562
+ <xs:complexType name="RestrictedPersonIdentificationSchemeNameSEPA">
563
+ <xs:sequence>
564
+ <xs:element name="Prtry" type="IdentificationSchemeNameSEPA"/>
565
+ </xs:sequence>
566
+ </xs:complexType>
567
+ <xs:simpleType name="IdentificationSchemeNameSEPA">
568
+ <xs:restriction base="xs:string">
569
+ <xs:enumeration value="SEPA"/>
570
+ </xs:restriction>
571
+ </xs:simpleType>
572
+ <xs:complexType name="PostalAddressSEPA">
573
+ <xs:sequence>
574
+ <xs:element name="Ctry" type="CountryCode" minOccurs="0"/>
575
+ <xs:element name="AdrLine" type="Max70Text" minOccurs="0" maxOccurs="2"/>
576
+ </xs:sequence>
577
+ </xs:complexType>
578
+ <xs:complexType name="PurposeSEPA">
579
+ <xs:sequence>
580
+ <xs:element name="Cd" type="ExternalPurpose1Code">
581
+ <xs:annotation>
582
+ <xs:documentation>Only codes from the ISO 20022 ExternalPurposeCode list are allowed.</xs:documentation>
583
+ </xs:annotation>
584
+ </xs:element>
585
+ </xs:sequence>
586
+ </xs:complexType>
587
+ <xs:complexType name="RemittanceInformationSEPA1Choice">
588
+ <xs:sequence>
589
+ <xs:choice>
590
+ <xs:element name="Ustrd" type="Max140Text"/>
591
+ <xs:element name="Strd" type="StructuredRemittanceInformationSEPA1"/>
592
+ </xs:choice>
593
+ </xs:sequence>
594
+ </xs:complexType>
595
+ <xs:simpleType name="SequenceType1Code">
596
+ <xs:restriction base="xs:string">
597
+ <xs:enumeration value="FRST"/>
598
+ <xs:enumeration value="RCUR"/>
599
+ <xs:enumeration value="FNAL"/>
600
+ <xs:enumeration value="OOFF"/>
601
+ </xs:restriction>
602
+ </xs:simpleType>
603
+ <xs:complexType name="ServiceLevel">
604
+ <xs:sequence>
605
+ <xs:element name="Cd" type="ExternalServiceLevel1Code"/>
606
+ </xs:sequence>
607
+ </xs:complexType>
608
+ <xs:complexType name="StructuredRemittanceInformationSEPA1">
609
+ <xs:sequence>
610
+ <xs:element name="CdtrRefInf" type="CreditorReferenceInformationSEPA1" minOccurs="0">
611
+ <xs:annotation>
612
+ <xs:documentation>When present, the receiving bank is not obliged to validate the reference information.</xs:documentation>
613
+ </xs:annotation>
614
+ </xs:element>
615
+ </xs:sequence>
616
+ </xs:complexType>
617
+ <xs:simpleType name="TrueFalseIndicator">
618
+ <xs:restriction base="xs:boolean"/>
619
+ </xs:simpleType>
620
+ <xs:simpleType name="RestrictedIdentificationSEPA1">
621
+ <xs:restriction base="xs:string">
622
+ <xs:pattern value="([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|'| ]){1,35}"/>
623
+ </xs:restriction>
624
+ </xs:simpleType>
625
+ </xs:schema>