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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ca62ed920c4d2ce13b49769c04d5dcd0e7961bca68625f4d913a8f5236c15c43
4
+ data.tar.gz: 1dedbcdb792f91935c305428ce5cd427e08825505e1607a3ec42560168b2aa14
5
+ SHA512:
6
+ metadata.gz: 54bcab635ffac028515b650ee37c068b96e392c11f20ee8a673ce80f8a0e7f13392da2aa98796e4c571f23fd7eb41bf00282e334de5a9582adb0eee828be22de
7
+ data.tar.gz: 1227d4bd7b1a629e3cd7643e5dc7f18ab8e287e1420cd716f97ea2aafa869b2348af36295db52081ed08a3ef5d626584049be40fd179a483dd016906f6ade74e
data/LICENSE.txt ADDED
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2013-2022 Georg Leciejewski (Sales King GmbH) & Georg Ledermann
2
+ Copyright (c) 2025-2026 AdVitam (https://www.advitam.fr)
3
+
4
+ MIT License
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ "Software"), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # sepa_rator-dk
2
+
3
+ German (Deutsche Kreditwirtschaft / GBIC) XSD schemas for [sepa_rator](https://github.com/AdVitam/sepa_rator). Required to validate the `dk.*` profiles.
4
+
5
+ ```ruby
6
+ gem 'sepa_rator-dk'
7
+ ```
8
+
9
+ Bundler auto-requires `sepa_rator/dk`, which registers the schema directory with `SEPA.register_schema_root` — no further setup needed.
@@ -0,0 +1,499 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Von der Deutschen Kreditwirtschaft bereitgestelltes Technical Validation Subset (TVS) für die SEPA-Überweisung -->
3
+ <!-- Darüber hinaus auch nutzbar für die SEPA-Echtzeitüberweisung (Terminierung nur mit Tagesangabe - für Angabe einer Uhrzeit wäre das TVS pain.001.001.08_GBIC_1 heranzuziehen. -->
4
+ <!-- Das TVS kann auch für taggleiche Euro-Eilzahlungen (non-SEPA) verwendet werden -->
5
+ <!-- Version gemäß DFÜ-Abkommen Anlage 3, Version 3.3, gültig ab November 2019 gemäß EPC IG , Namespace analog ISO 20022 Edition 2009, voll kompatibel zu allen EPC-Vorgaben -->
6
+ <!-- Das TVS der DK trägt nun den Dateinamen _GBIC_3 -->
7
+ <!-- Mit XMLSpy v2008 rel. 2 (http://www.altova.com) von Wenzel (SIZ Bonn) bearbeitet -->
8
+ <xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" elementFormDefault="qualified">
9
+ <xs:element name="Document" type="Document"/>
10
+ <xs:complexType name="AccountIdentificationSEPA">
11
+ <xs:sequence>
12
+ <xs:element name="IBAN" type="IBAN2007Identifier"/>
13
+ </xs:sequence>
14
+ </xs:complexType>
15
+ <xs:simpleType name="ActiveOrHistoricCurrencyAndAmount_SimpleTypeSEPA">
16
+ <xs:restriction base="xs:decimal">
17
+ <xs:minInclusive value="0.01"/>
18
+ <xs:maxInclusive value="999999999.99"/>
19
+ <xs:fractionDigits value="2"/>
20
+ <xs:totalDigits value="11"/>
21
+ </xs:restriction>
22
+ </xs:simpleType>
23
+ <xs:simpleType name="ActiveOrHistoricCurrencyCode">
24
+ <xs:restriction base="xs:string">
25
+ <xs:pattern value="[A-Z]{3,3}"/>
26
+ </xs:restriction>
27
+ </xs:simpleType>
28
+ <xs:complexType name="ActiveOrHistoricCurrencyAndAmountSEPA">
29
+ <xs:simpleContent>
30
+ <xs:extension base="ActiveOrHistoricCurrencyAndAmount_SimpleTypeSEPA">
31
+ <xs:attribute name="Ccy" type="ActiveOrHistoricCurrencyCodeEUR" use="required"/>
32
+ </xs:extension>
33
+ </xs:simpleContent>
34
+ </xs:complexType>
35
+ <xs:simpleType name="ActiveOrHistoricCurrencyCodeEUR">
36
+ <xs:restriction base="xs:string">
37
+ <xs:enumeration value="EUR"/>
38
+ </xs:restriction>
39
+ </xs:simpleType>
40
+ <xs:complexType name="AmountTypeSEPA">
41
+ <xs:sequence>
42
+ <xs:element name="InstdAmt" type="ActiveOrHistoricCurrencyAndAmountSEPA"/>
43
+ </xs:sequence>
44
+ </xs:complexType>
45
+ <xs:simpleType name="AnyBICIdentifier">
46
+ <xs:restriction base="xs:string">
47
+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
48
+ </xs:restriction>
49
+ </xs:simpleType>
50
+ <xs:simpleType name="BICIdentifier">
51
+ <xs:restriction base="xs:string">
52
+ <xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/>
53
+ </xs:restriction>
54
+ </xs:simpleType>
55
+ <xs:simpleType name="BatchBookingIndicator">
56
+ <xs:restriction base="xs:boolean"/>
57
+ </xs:simpleType>
58
+ <xs:complexType name="BranchAndFinancialInstitutionIdentificationSEPA1">
59
+ <xs:sequence>
60
+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentificationSEPA1"/>
61
+ </xs:sequence>
62
+ </xs:complexType>
63
+ <xs:complexType name="BranchAndFinancialInstitutionIdentificationSEPA3">
64
+ <xs:sequence>
65
+ <xs:element name="FinInstnId" type="FinancialInstitutionIdentificationSEPA3"/>
66
+ </xs:sequence>
67
+ </xs:complexType>
68
+ <xs:complexType name="CashAccountSEPA1">
69
+ <xs:sequence>
70
+ <xs:element name="Id" type="AccountIdentificationSEPA"/>
71
+ <xs:element name="Ccy" type="ActiveOrHistoricCurrencyCode" minOccurs="0"/>
72
+ </xs:sequence>
73
+ </xs:complexType>
74
+ <xs:complexType name="CashAccountSEPA2">
75
+ <xs:sequence>
76
+ <xs:element name="Id" type="AccountIdentificationSEPA"/>
77
+ </xs:sequence>
78
+ </xs:complexType>
79
+ <xs:complexType name="CategoryPurposeSEPA">
80
+ <xs:sequence>
81
+ <xs:element name="Cd" type="ExternalCategoryPurpose1Code"/>
82
+ </xs:sequence>
83
+ </xs:complexType>
84
+ <xs:simpleType name="ChargeBearerTypeSEPACode">
85
+ <xs:restriction base="xs:string">
86
+ <xs:enumeration value="SLEV"/>
87
+ </xs:restriction>
88
+ </xs:simpleType>
89
+ <xs:simpleType name="CountryCode">
90
+ <xs:restriction base="xs:string">
91
+ <xs:pattern value="[A-Z]{2,2}"/>
92
+ </xs:restriction>
93
+ </xs:simpleType>
94
+ <xs:complexType name="CreditTransferTransactionInformationSCT">
95
+ <xs:sequence>
96
+ <xs:element name="PmtId" type="PaymentIdentificationSEPA"/>
97
+ <xs:element name="PmtTpInf" type="PaymentTypeInformationSCT2" minOccurs="0">
98
+ <xs:annotation>
99
+ <xs:documentation>If used, it is recommended to be used at ‘Payment Information’ level and not at ‘Credit Transfer Transaction Information’ level.</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:element>
102
+ <xs:element name="Amt" type="AmountTypeSEPA"/>
103
+ <xs:element name="ChrgBr" type="ChargeBearerTypeSEPACode" minOccurs="0">
104
+ <xs:annotation>
105
+ <xs:documentation>It is recommended that this element be specified at ‘Payment Information’ level.</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:element>
108
+ <xs:element name="UltmtDbtr" type="PartyIdentificationSEPA1" minOccurs="0">
109
+ <xs:annotation>
110
+ <xs:documentation>This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level.</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:element>
113
+ <xs:element name="CdtrAgt" type="BranchAndFinancialInstitutionIdentificationSEPA1" minOccurs="0"/>
114
+ <xs:element name="Cdtr" type="PartyIdentificationSEPA2"/>
115
+ <xs:element name="CdtrAcct" type="CashAccountSEPA2"/>
116
+ <xs:element name="UltmtCdtr" type="PartyIdentificationSEPA1" minOccurs="0"/>
117
+ <xs:element name="Purp" type="PurposeSEPA" minOccurs="0"/>
118
+ <xs:element name="RmtInf" type="RemittanceInformationSEPA1Choice" minOccurs="0"/>
119
+ </xs:sequence>
120
+ </xs:complexType>
121
+ <xs:complexType name="CreditorReferenceInformationSEPA1">
122
+ <xs:sequence>
123
+ <xs:element name="Tp" type="CreditorReferenceTypeSEPA"/>
124
+ <xs:element name="Ref" type="Max35Text">
125
+ <xs:annotation>
126
+ <xs:documentation>If a Creditor Reference contains a check digit, the receiving bank is not required to validate this.
127
+ 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.
128
+ RF Creditor Reference may be used (ISO 11649).</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:element>
131
+ </xs:sequence>
132
+ </xs:complexType>
133
+ <xs:complexType name="CreditorReferenceTypeSEPA">
134
+ <xs:sequence>
135
+ <xs:element name="CdOrPrtry" type="CreditorReferenceTypeCodeSEPA"/>
136
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
137
+ </xs:sequence>
138
+ </xs:complexType>
139
+ <xs:complexType name="CreditorReferenceTypeCodeSEPA">
140
+ <xs:sequence>
141
+ <xs:element name="Cd" type="DocumentType3CodeSEPA"/>
142
+ </xs:sequence>
143
+ </xs:complexType>
144
+ <xs:complexType name="CustomerCreditTransferInitiationV03">
145
+ <xs:sequence>
146
+ <xs:element name="GrpHdr" type="GroupHeaderSCT"/>
147
+ <xs:element name="PmtInf" type="PaymentInstructionInformationSCT" maxOccurs="unbounded"/>
148
+ </xs:sequence>
149
+ </xs:complexType>
150
+ <xs:complexType name="DateAndPlaceOfBirth">
151
+ <xs:sequence>
152
+ <xs:element name="BirthDt" type="ISODate"/>
153
+ <xs:element name="PrvcOfBirth" type="Max35Text" minOccurs="0"/>
154
+ <xs:element name="CityOfBirth" type="Max35Text"/>
155
+ <xs:element name="CtryOfBirth" type="CountryCode"/>
156
+ </xs:sequence>
157
+ </xs:complexType>
158
+ <xs:simpleType name="DecimalNumber">
159
+ <xs:restriction base="xs:decimal">
160
+ <xs:fractionDigits value="17"/>
161
+ <xs:totalDigits value="18"/>
162
+ </xs:restriction>
163
+ </xs:simpleType>
164
+ <xs:complexType name="Document">
165
+ <xs:sequence>
166
+ <xs:element name="CstmrCdtTrfInitn" type="CustomerCreditTransferInitiationV03"/>
167
+ </xs:sequence>
168
+ </xs:complexType>
169
+ <xs:simpleType name="DocumentType3CodeSEPA">
170
+ <xs:restriction base="xs:string">
171
+ <xs:enumeration value="SCOR"/>
172
+ </xs:restriction>
173
+ </xs:simpleType>
174
+ <xs:simpleType name="ExternalCategoryPurpose1Code">
175
+ <xs:restriction base="xs:string">
176
+ <xs:minLength value="1"/>
177
+ <xs:maxLength value="4"/>
178
+ </xs:restriction>
179
+ </xs:simpleType>
180
+ <xs:simpleType name="ExternalOrganisationIdentification1Code">
181
+ <xs:restriction base="xs:string">
182
+ <xs:minLength value="1"/>
183
+ <xs:maxLength value="4"/>
184
+ </xs:restriction>
185
+ </xs:simpleType>
186
+ <xs:simpleType name="ExternalPersonIdentification1Code">
187
+ <xs:restriction base="xs:string">
188
+ <xs:minLength value="1"/>
189
+ <xs:maxLength value="4"/>
190
+ </xs:restriction>
191
+ </xs:simpleType>
192
+ <xs:simpleType name="ExternalPurpose1Code">
193
+ <xs:restriction base="xs:string">
194
+ <xs:minLength value="1"/>
195
+ <xs:maxLength value="4"/>
196
+ </xs:restriction>
197
+ </xs:simpleType>
198
+ <xs:simpleType name="ExternalServiceLevel1Code">
199
+ <xs:restriction base="xs:string">
200
+ <xs:minLength value="1"/>
201
+ <xs:maxLength value="4"/>
202
+ </xs:restriction>
203
+ </xs:simpleType>
204
+ <xs:complexType name="FinancialInstitutionIdentificationSEPA1">
205
+ <xs:sequence>
206
+ <xs:element name="BIC" type="BICIdentifier"/>
207
+ </xs:sequence>
208
+ </xs:complexType>
209
+ <xs:complexType name="FinancialInstitutionIdentificationSEPA3">
210
+ <xs:sequence>
211
+ <xs:choice>
212
+ <xs:element name="BIC" type="BICIdentifier"/>
213
+ <xs:element name="Othr" type="OthrIdentification"/>
214
+ </xs:choice>
215
+ </xs:sequence>
216
+ </xs:complexType>
217
+ <xs:complexType name="OthrIdentification">
218
+ <xs:sequence>
219
+ <xs:element name="Id" type="OthrIdentificationCode"/>
220
+ </xs:sequence>
221
+ </xs:complexType>
222
+ <xs:simpleType name="OthrIdentificationCode">
223
+ <xs:restriction base="xs:string">
224
+ <xs:enumeration value="NOTPROVIDED"/>
225
+ </xs:restriction>
226
+ </xs:simpleType>
227
+ <xs:complexType name="GenericOrganisationIdentification1">
228
+ <xs:sequence>
229
+ <xs:element name="Id" type="Max35Text"/>
230
+ <xs:element name="SchmeNm" type="OrganisationIdentificationSchemeName1Choice" minOccurs="0"/>
231
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
232
+ </xs:sequence>
233
+ </xs:complexType>
234
+ <xs:complexType name="GenericPersonIdentification1">
235
+ <xs:sequence>
236
+ <xs:element name="Id" type="Max35Text"/>
237
+ <xs:element name="SchmeNm" type="PersonIdentificationSchemeName1Choice" minOccurs="0"/>
238
+ <xs:element name="Issr" type="Max35Text" minOccurs="0"/>
239
+ </xs:sequence>
240
+ </xs:complexType>
241
+ <xs:complexType name="GroupHeaderSCT">
242
+ <xs:sequence>
243
+ <xs:element name="MsgId" type="RestrictedIdentificationSEPA1"/>
244
+ <xs:element name="CreDtTm" type="ISODateTime"/>
245
+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
246
+ <xs:element name="CtrlSum" type="DecimalNumber"/>
247
+ <xs:element name="InitgPty" type="PartyIdentificationSEPA1"/>
248
+ </xs:sequence>
249
+ </xs:complexType>
250
+ <xs:simpleType name="IBAN2007Identifier">
251
+ <xs:restriction base="xs:string">
252
+ <xs:pattern value="[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}"/>
253
+ </xs:restriction>
254
+ </xs:simpleType>
255
+ <xs:simpleType name="ISODate">
256
+ <xs:restriction base="xs:date"/>
257
+ </xs:simpleType>
258
+ <xs:simpleType name="ISODateTime">
259
+ <xs:restriction base="xs:dateTime"/>
260
+ </xs:simpleType>
261
+ <xs:simpleType name="Max140Text">
262
+ <xs:restriction base="xs:string">
263
+ <xs:minLength value="1"/>
264
+ <xs:maxLength value="140"/>
265
+ </xs:restriction>
266
+ </xs:simpleType>
267
+ <xs:simpleType name="Max15NumericText">
268
+ <xs:restriction base="xs:string">
269
+ <xs:pattern value="[0-9]{1,15}"/>
270
+ </xs:restriction>
271
+ </xs:simpleType>
272
+ <xs:simpleType name="Max35Text">
273
+ <xs:restriction base="xs:string">
274
+ <xs:minLength value="1"/>
275
+ <xs:maxLength value="35"/>
276
+ </xs:restriction>
277
+ </xs:simpleType>
278
+ <xs:simpleType name="Max70Text">
279
+ <xs:restriction base="xs:string">
280
+ <xs:minLength value="1"/>
281
+ <xs:maxLength value="70"/>
282
+ </xs:restriction>
283
+ </xs:simpleType>
284
+ <xs:complexType name="OrganisationIdentificationSEPAChoice">
285
+ <xs:sequence>
286
+ <xs:choice>
287
+ <xs:element name="BICOrBEI" type="AnyBICIdentifier"/>
288
+ <xs:element name="Othr" type="GenericOrganisationIdentification1"/>
289
+ </xs:choice>
290
+ </xs:sequence>
291
+ </xs:complexType>
292
+ <xs:complexType name="OrganisationIdentificationSchemeName1Choice">
293
+ <xs:sequence>
294
+ <xs:choice>
295
+ <xs:element name="Cd" type="ExternalOrganisationIdentification1Code"/>
296
+ <xs:element name="Prtry" type="Max35Text"/>
297
+ </xs:choice>
298
+ </xs:sequence>
299
+ </xs:complexType>
300
+ <xs:complexType name="PartySEPAChoice">
301
+ <xs:sequence>
302
+ <xs:choice>
303
+ <xs:element name="OrgId" type="OrganisationIdentificationSEPAChoice">
304
+ <xs:annotation>
305
+ <xs:documentation>Either ‘BIC or BEI’ or one
306
+ occurrence of ‘Other’ is allowed.</xs:documentation>
307
+ </xs:annotation>
308
+ </xs:element>
309
+ <xs:element name="PrvtId" type="PersonIdentificationSEPA1Choice">
310
+ <xs:annotation>
311
+ <xs:documentation>Either ‘Date and Place of Birth’ or one occurrence of ‘Other’ is allowed.</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:element>
314
+ </xs:choice>
315
+ </xs:sequence>
316
+ </xs:complexType>
317
+ <xs:complexType name="PartyIdentificationSEPA1">
318
+ <xs:sequence>
319
+ <xs:element name="Nm" type="Max70Text" minOccurs="0">
320
+ <xs:annotation>
321
+ <xs:documentation>‘Name’ is limited to 70 characters
322
+ in length.</xs:documentation>
323
+ </xs:annotation>
324
+ </xs:element>
325
+ <xs:element name="Id" type="PartySEPAChoice" minOccurs="0"/>
326
+ </xs:sequence>
327
+ </xs:complexType>
328
+ <xs:complexType name="PartyIdentificationSEPA2">
329
+ <xs:sequence>
330
+ <xs:element name="Nm" type="Max70Text">
331
+ <xs:annotation>
332
+ <xs:documentation>‘Name’ is limited to 70 characters
333
+ in length.</xs:documentation>
334
+ </xs:annotation>
335
+ </xs:element>
336
+ <xs:element name="PstlAdr" type="PostalAddressSEPA" minOccurs="0"/>
337
+ <xs:element name="Id" type="PartySEPAChoice" minOccurs="0"/>
338
+ </xs:sequence>
339
+ </xs:complexType>
340
+ <xs:complexType name="PaymentIdentificationSEPA">
341
+ <xs:sequence>
342
+ <xs:element name="InstrId" type="RestrictedIdentificationSEPA1" minOccurs="0"/>
343
+ <xs:element name="EndToEndId" type="RestrictedIdentificationSEPA1"/>
344
+ </xs:sequence>
345
+ </xs:complexType>
346
+ <xs:complexType name="PaymentInstructionInformationSCT">
347
+ <xs:sequence>
348
+ <xs:element name="PmtInfId" type="RestrictedIdentificationSEPA1"/>
349
+ <xs:element name="PmtMtd" type="PaymentMethodSCTCode">
350
+ <xs:annotation>
351
+ <xs:documentation>Only ‘TRF’ is allowed.</xs:documentation>
352
+ </xs:annotation>
353
+ </xs:element>
354
+ <xs:element name="BtchBookg" type="BatchBookingIndicator" minOccurs="0">
355
+ <xs:annotation>
356
+ <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>
357
+ </xs:annotation>
358
+ </xs:element>
359
+ <xs:element name="NbOfTxs" type="Max15NumericText"/>
360
+ <xs:element name="CtrlSum" type="DecimalNumber"/>
361
+ <xs:element name="PmtTpInf" type="PaymentTypeInformationSCT1" minOccurs="0">
362
+ <xs:annotation>
363
+ <xs:documentation>If used, it is recommended to be used only at ‘Payment Information’ level and not at Credit Transfer Transaction Information’ level.
364
+ When Instruction Priority is to be used, ‘Payment Type Information’ must be present at ‘Payment Information’ level. </xs:documentation>
365
+ </xs:annotation>
366
+ </xs:element>
367
+ <xs:element name="ReqdExctnDt" type="ISODate"/>
368
+ <xs:element name="Dbtr" type="PartyIdentificationSEPA2"/>
369
+ <xs:element name="DbtrAcct" type="CashAccountSEPA1"/>
370
+ <xs:element name="DbtrAgt" type="BranchAndFinancialInstitutionIdentificationSEPA3"/>
371
+ <xs:element name="UltmtDbtr" type="PartyIdentificationSEPA1" minOccurs="0">
372
+ <xs:annotation>
373
+ <xs:documentation>This data element may be present either at ‘Payment Information’ or at ‘Credit Transfer Transaction Information’ level.</xs:documentation>
374
+ </xs:annotation>
375
+ </xs:element>
376
+ <xs:element name="ChrgBr" type="ChargeBearerTypeSEPACode" minOccurs="0">
377
+ <xs:annotation>
378
+ <xs:documentation>It is recommended that this element be specified at ‘Payment Information’ level.</xs:documentation>
379
+ </xs:annotation>
380
+ </xs:element>
381
+ <xs:element name="CdtTrfTxInf" type="CreditTransferTransactionInformationSCT" maxOccurs="unbounded"/>
382
+ </xs:sequence>
383
+ </xs:complexType>
384
+ <xs:simpleType name="PaymentMethodSCTCode">
385
+ <xs:restriction base="xs:string">
386
+ <xs:enumeration value="TRF"/>
387
+ </xs:restriction>
388
+ </xs:simpleType>
389
+ <xs:complexType name="PaymentTypeInformationSCT1">
390
+ <xs:sequence>
391
+ <xs:element name="InstrPrty" type="Priority2Code" minOccurs="0">
392
+ <xs:annotation>
393
+ <xs:documentation>If present, pre-agreed customer-to-bank conditions apply.</xs:documentation>
394
+ </xs:annotation>
395
+ </xs:element>
396
+ <xs:element name="SvcLvl" type="ServiceLevel"/>
397
+ <xs:element name="LclInstrm" type="LocalInstrumentSEPA" minOccurs="0">
398
+ <xs:annotation>
399
+ <xs:documentation>Only ‘INST’ allowed for SCT inst. Not present for SCT</xs:documentation>
400
+ </xs:annotation>
401
+ </xs:element>
402
+ <xs:element name="CtgyPurp" type="CategoryPurposeSEPA" minOccurs="0">
403
+ <xs:annotation>
404
+ <xs:documentation>Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank.</xs:documentation>
405
+ </xs:annotation>
406
+ </xs:element>
407
+ </xs:sequence>
408
+ </xs:complexType>
409
+ <xs:complexType name="PaymentTypeInformationSCT2">
410
+ <xs:sequence>
411
+ <xs:element name="SvcLvl" type="ServiceLevel"/>
412
+ <xs:element name="LclInstrm" type="LocalInstrumentSEPA" minOccurs="0">
413
+ <xs:annotation>
414
+ <xs:documentation>Only ‘INST’ allowed for SCT inst. Not present for SCT</xs:documentation>
415
+ </xs:annotation>
416
+ </xs:element>
417
+ <xs:element name="CtgyPurp" type="CategoryPurposeSEPA" minOccurs="0">
418
+ <xs:annotation>
419
+ <xs:documentation>Depending on the agreement between the Originator and the Originator Bank, ‘Category Purpose’ may be forwarded to the Beneficiary Bank.</xs:documentation>
420
+ </xs:annotation>
421
+ </xs:element>
422
+ </xs:sequence>
423
+ </xs:complexType>
424
+ <xs:complexType name="PersonIdentificationSEPA1Choice">
425
+ <xs:sequence>
426
+ <xs:choice>
427
+ <xs:element name="DtAndPlcOfBirth" type="DateAndPlaceOfBirth"/>
428
+ <xs:element name="Othr" type="GenericPersonIdentification1"/>
429
+ </xs:choice>
430
+ </xs:sequence>
431
+ </xs:complexType>
432
+ <xs:complexType name="PersonIdentificationSchemeName1Choice">
433
+ <xs:sequence>
434
+ <xs:choice>
435
+ <xs:element name="Cd" type="ExternalPersonIdentification1Code"/>
436
+ <xs:element name="Prtry" type="Max35Text"/>
437
+ </xs:choice>
438
+ </xs:sequence>
439
+ </xs:complexType>
440
+ <xs:complexType name="PostalAddressSEPA">
441
+ <xs:sequence>
442
+ <xs:element name="Ctry" type="CountryCode" minOccurs="0"/>
443
+ <xs:element name="AdrLine" type="Max70Text" minOccurs="0" maxOccurs="2"/>
444
+ </xs:sequence>
445
+ </xs:complexType>
446
+ <xs:simpleType name="Priority2Code">
447
+ <xs:restriction base="xs:string">
448
+ <xs:enumeration value="HIGH"/>
449
+ <xs:enumeration value="NORM"/>
450
+ </xs:restriction>
451
+ </xs:simpleType>
452
+ <xs:complexType name="PurposeSEPA">
453
+ <xs:sequence>
454
+ <xs:element name="Cd" type="ExternalPurpose1Code">
455
+ <xs:annotation>
456
+ <xs:documentation>Only codes from the ISO 20022 ExternalPurposeCode list are allowed.</xs:documentation>
457
+ </xs:annotation>
458
+ </xs:element>
459
+ </xs:sequence>
460
+ </xs:complexType>
461
+ <xs:complexType name="RemittanceInformationSEPA1Choice">
462
+ <xs:sequence>
463
+ <xs:choice>
464
+ <xs:element name="Ustrd" type="Max140Text"/>
465
+ <xs:element name="Strd" type="StructuredRemittanceInformationSEPA1"/>
466
+ </xs:choice>
467
+ </xs:sequence>
468
+ </xs:complexType>
469
+ <xs:complexType name="ServiceLevel">
470
+ <xs:sequence>
471
+ <xs:element name="Cd" type="ExternalServiceLevel1Code"/>
472
+ </xs:sequence>
473
+ </xs:complexType>
474
+ <xs:complexType name="StructuredRemittanceInformationSEPA1">
475
+ <xs:sequence>
476
+ <xs:element name="CdtrRefInf" type="CreditorReferenceInformationSEPA1" minOccurs="0">
477
+ <xs:annotation>
478
+ <xs:documentation>When present, the receiving bank is not obliged to validate the the reference information. </xs:documentation>
479
+ </xs:annotation>
480
+ </xs:element>
481
+ </xs:sequence>
482
+ </xs:complexType>
483
+ <xs:simpleType name="RestrictedIdentificationSEPA1">
484
+ <xs:restriction base="xs:string">
485
+ <xs:pattern value="([A-Za-z0-9]|[\+|\?|/|\-|:|\(|\)|\.|,|'| ]){1,35}"/>
486
+ </xs:restriction>
487
+ </xs:simpleType>
488
+ <xs:complexType name="LocalInstrumentSEPA">
489
+ <xs:sequence>
490
+ <xs:element name="Cd" type="ExternalLocalInstrument1Code"/>
491
+ </xs:sequence>
492
+ </xs:complexType>
493
+ <xs:simpleType name="ExternalLocalInstrument1Code">
494
+ <xs:restriction base="xs:string">
495
+ <xs:minLength value="1"/>
496
+ <xs:maxLength value="35"/>
497
+ </xs:restriction>
498
+ </xs:simpleType>
499
+ </xs:schema>