sepa_king_codeur 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.travis.yml +37 -0
- data/CONTRIBUTING.md +38 -0
- data/Gemfile +2 -0
- data/LICENSE.txt +22 -0
- data/README.md +297 -0
- data/Rakefile +6 -0
- data/gemfiles/Gemfile-activemodel-3.1.x +5 -0
- data/gemfiles/Gemfile-activemodel-3.2.x +5 -0
- data/gemfiles/Gemfile-activemodel-4.0.x +5 -0
- data/gemfiles/Gemfile-activemodel-4.1.x +5 -0
- data/gemfiles/Gemfile-activemodel-4.2.x +5 -0
- data/gemfiles/Gemfile-activemodel-5.0.x +5 -0
- data/gemfiles/Gemfile-activemodel-5.1.x +5 -0
- data/gemfiles/Gemfile-activemodel-5.2.x +5 -0
- data/gemfiles/Gemfile-activemodel-6.0.x +5 -0
- data/lib/schema/pain.001.001.03.ch.02.xsd +1212 -0
- data/lib/schema/pain.001.001.03.xsd +921 -0
- data/lib/schema/pain.001.002.03.xsd +450 -0
- data/lib/schema/pain.001.003.03.xsd +474 -0
- data/lib/schema/pain.008.001.02.xsd +879 -0
- data/lib/schema/pain.008.002.02.xsd +597 -0
- data/lib/schema/pain.008.003.02.xsd +614 -0
- data/lib/sepa_king.rb +19 -0
- data/lib/sepa_king/account.rb +19 -0
- data/lib/sepa_king/account/creditor_account.rb +8 -0
- data/lib/sepa_king/account/creditor_address.rb +37 -0
- data/lib/sepa_king/account/debtor_account.rb +5 -0
- data/lib/sepa_king/account/debtor_address.rb +37 -0
- data/lib/sepa_king/converter.rb +51 -0
- data/lib/sepa_king/error.rb +4 -0
- data/lib/sepa_king/message.rb +169 -0
- data/lib/sepa_king/message/credit_transfer.rb +137 -0
- data/lib/sepa_king/message/direct_debit.rb +207 -0
- data/lib/sepa_king/transaction.rb +56 -0
- data/lib/sepa_king/transaction/credit_transfer_transaction.rb +31 -0
- data/lib/sepa_king/transaction/direct_debit_transaction.rb +56 -0
- data/lib/sepa_king/validator.rb +57 -0
- data/lib/sepa_king/version.rb +3 -0
- data/sepa_king.gemspec +33 -0
- data/spec/account_spec.rb +42 -0
- data/spec/converter_spec.rb +74 -0
- data/spec/credit_transfer_spec.rb +520 -0
- data/spec/credit_transfer_transaction_spec.rb +74 -0
- data/spec/creditor_account_spec.rb +23 -0
- data/spec/debtor_account_spec.rb +12 -0
- data/spec/debtor_address_spec.rb +12 -0
- data/spec/direct_debit_spec.rb +657 -0
- data/spec/direct_debit_transaction_spec.rb +69 -0
- data/spec/examples/pain.001.001.03.ch.02.xml +172 -0
- data/spec/examples/pain.001.001.03.xml +89 -0
- data/spec/examples/pain.001.002.03.xml +89 -0
- data/spec/examples/pain.001.003.03.xml +89 -0
- data/spec/examples/pain.008.002.02.xml +134 -0
- data/spec/examples/pain.008.003.02.xml +134 -0
- data/spec/message_spec.rb +128 -0
- data/spec/spec_helper.rb +33 -0
- data/spec/support/active_model.rb +30 -0
- data/spec/support/custom_matcher.rb +60 -0
- data/spec/support/factories.rb +24 -0
- data/spec/support/validations.rb +27 -0
- data/spec/transaction_spec.rb +134 -0
- data/spec/validation_spec.rb +25 -0
- data/spec/validator_spec.rb +99 -0
- metadata +250 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'spec_helper'
|
3
|
+
|
4
|
+
describe SEPA::DirectDebitTransaction do
|
5
|
+
describe :initialize do
|
6
|
+
it 'should create a valid transaction' do
|
7
|
+
expect(
|
8
|
+
SEPA::DirectDebitTransaction.new name: 'Zahlemann & Söhne Gbr',
|
9
|
+
bic: 'SPUEDE2UXXX',
|
10
|
+
iban: 'DE21500500009876543210',
|
11
|
+
amount: 39.99,
|
12
|
+
reference: 'XYZ-1234/123',
|
13
|
+
remittance_information: 'Vielen Dank für Ihren Einkauf!',
|
14
|
+
mandate_id: 'K-02-2011-12345',
|
15
|
+
mandate_date_of_signature: Date.new(2011,1,25)
|
16
|
+
).to be_valid
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
describe :schema_compatible? do
|
21
|
+
context 'for pain.008.003.02' do
|
22
|
+
it 'should succeed' do
|
23
|
+
expect(SEPA::DirectDebitTransaction.new({})).to be_schema_compatible('pain.008.003.02')
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'should fail for invalid attributes' do
|
27
|
+
expect(SEPA::DirectDebitTransaction.new(:currency => 'CHF')).not_to be_schema_compatible('pain.001.003.03')
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
context 'for pain.008.002.02' do
|
32
|
+
it 'should succeed for valid attributes' do
|
33
|
+
expect(SEPA::DirectDebitTransaction.new(:bic => 'SPUEDE2UXXX', :local_instrument => 'CORE')).to be_schema_compatible('pain.008.002.02')
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'should fail for invalid attributes' do
|
37
|
+
expect(SEPA::DirectDebitTransaction.new(:bic => nil)).not_to be_schema_compatible('pain.008.002.02')
|
38
|
+
expect(SEPA::DirectDebitTransaction.new(:bic => 'SPUEDE2UXXX', :local_instrument => 'COR1')).not_to be_schema_compatible('pain.008.002.02')
|
39
|
+
expect(SEPA::DirectDebitTransaction.new(:bic => 'SPUEDE2UXXX', :currency => 'CHF')).not_to be_schema_compatible('pain.008.002.02')
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'for pain.008.001.02' do
|
44
|
+
it 'should succeed for valid attributes' do
|
45
|
+
expect(SEPA::DirectDebitTransaction.new(:bic => 'SPUEDE2UXXX', :currency => 'CHF')).to be_schema_compatible('pain.008.001.02')
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
context 'Mandate Date of Signature' do
|
51
|
+
it 'should accept valid value' do
|
52
|
+
expect(SEPA::DirectDebitTransaction).to accept(Date.today, Date.today - 1, for: :mandate_date_of_signature)
|
53
|
+
end
|
54
|
+
|
55
|
+
it 'should not accept invalid value' do
|
56
|
+
expect(SEPA::DirectDebitTransaction).not_to accept(nil, '2010-12-01', Date.today + 1, for: :mandate_date_of_signature)
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
context 'Requested date' do
|
61
|
+
it 'should allow valid value' do
|
62
|
+
expect(SEPA::DirectDebitTransaction).to accept(nil, Date.new(1999, 1, 1), Date.today.next, Date.today + 2, for: :requested_date)
|
63
|
+
end
|
64
|
+
|
65
|
+
it 'should not allow invalid value' do
|
66
|
+
expect(SEPA::DirectDebitTransaction).not_to accept(Date.new(1995,12,21), Date.today - 1, Date.today, for: :requested_date)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,172 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!--
|
3
|
+
(C) Copyright 2010, SKSF, www.sksf.ch
|
4
|
+
|
5
|
+
Anregungen und Fragen zu diesem Dokument können an das jeweilige Finanzinstitut gerichtet werden.
|
6
|
+
Allgemeine Anregungen können auch bei der SIX Interbank Clearing AG unter folgender Adresse angebracht werden:
|
7
|
+
pm@six-group.com
|
8
|
+
-->
|
9
|
+
<Document xmlns="http://www.six-interbank-clearing.com/de/pain.001.001.03.ch.02.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.six-interbank-clearing.com/de/pain.001.001.03.ch.02.xsd pain.001.001.03.ch.02.xsd">
|
10
|
+
<CstmrCdtTrfInitn>
|
11
|
+
<GrpHdr>
|
12
|
+
<MsgId>MSG-01</MsgId>
|
13
|
+
<CreDtTm>2010-02-15T07:30:00</CreDtTm>
|
14
|
+
<NbOfTxs>3</NbOfTxs>
|
15
|
+
<CtrlSum>15850.00</CtrlSum>
|
16
|
+
<InitgPty>
|
17
|
+
<Nm>MUSTER AG</Nm>
|
18
|
+
</InitgPty>
|
19
|
+
</GrpHdr>
|
20
|
+
<PmtInf>
|
21
|
+
<PmtInfId>PMTINF-01</PmtInfId>
|
22
|
+
<PmtMtd>TRF</PmtMtd>
|
23
|
+
<BtchBookg>true</BtchBookg>
|
24
|
+
<ReqdExctnDt>2010-02-22</ReqdExctnDt>
|
25
|
+
<Dbtr>
|
26
|
+
<Nm>MUSTER AG</Nm>
|
27
|
+
<PstlAdr>
|
28
|
+
<Ctry>CH</Ctry>
|
29
|
+
<AdrLine>SELDWYLA</AdrLine>
|
30
|
+
</PstlAdr>
|
31
|
+
</Dbtr>
|
32
|
+
<DbtrAcct>
|
33
|
+
<Id>
|
34
|
+
<IBAN>CH5481230000001998736</IBAN>
|
35
|
+
</Id>
|
36
|
+
</DbtrAcct>
|
37
|
+
<DbtrAgt>
|
38
|
+
<FinInstnId>
|
39
|
+
<BIC>RAIFCH22</BIC>
|
40
|
+
</FinInstnId>
|
41
|
+
</DbtrAgt>
|
42
|
+
<CdtTrfTxInf>
|
43
|
+
<PmtId>
|
44
|
+
<InstrId>INSTRID-01-01</InstrId>
|
45
|
+
<EndToEndId>ENDTOENDID-001</EndToEndId>
|
46
|
+
</PmtId>
|
47
|
+
<PmtTpInf>
|
48
|
+
<LclInstrm>
|
49
|
+
<Prtry>CH01</Prtry>
|
50
|
+
</LclInstrm>
|
51
|
+
</PmtTpInf>
|
52
|
+
<Amt>
|
53
|
+
<InstdAmt Ccy="CHF">3949.75</InstdAmt>
|
54
|
+
</Amt>
|
55
|
+
<CdtrAcct>
|
56
|
+
<Id>
|
57
|
+
<Othr>
|
58
|
+
<Id>01-39139-1</Id>
|
59
|
+
</Othr>
|
60
|
+
</Id>
|
61
|
+
</CdtrAcct>
|
62
|
+
<RmtInf>
|
63
|
+
<Strd>
|
64
|
+
<CdtrRefInf>
|
65
|
+
<Ref>210000000003139471430009017</Ref>
|
66
|
+
</CdtrRefInf>
|
67
|
+
</Strd>
|
68
|
+
</RmtInf>
|
69
|
+
</CdtTrfTxInf>
|
70
|
+
</PmtInf>
|
71
|
+
<PmtInf>
|
72
|
+
<PmtInfId>PMTINF-02</PmtInfId>
|
73
|
+
<PmtMtd>TRF</PmtMtd>
|
74
|
+
<BtchBookg>true</BtchBookg>
|
75
|
+
<ReqdExctnDt>2010-02-18</ReqdExctnDt>
|
76
|
+
<Dbtr>
|
77
|
+
<Nm>MUSTER AG</Nm>
|
78
|
+
<PstlAdr>
|
79
|
+
<Ctry>CH</Ctry>
|
80
|
+
<AdrLine>SELDWYLA</AdrLine>
|
81
|
+
</PstlAdr>
|
82
|
+
</Dbtr>
|
83
|
+
<DbtrAcct>
|
84
|
+
<Id>
|
85
|
+
<IBAN>CH5481230000001998736</IBAN>
|
86
|
+
</Id>
|
87
|
+
</DbtrAcct>
|
88
|
+
<DbtrAgt>
|
89
|
+
<FinInstnId>
|
90
|
+
<BIC>RAIFCH22</BIC>
|
91
|
+
</FinInstnId>
|
92
|
+
</DbtrAgt>
|
93
|
+
<CdtTrfTxInf>
|
94
|
+
<PmtId>
|
95
|
+
<InstrId>INSTRID-02-01</InstrId>
|
96
|
+
<EndToEndId>ENDTOENDID-002</EndToEndId>
|
97
|
+
</PmtId>
|
98
|
+
<PmtTpInf>
|
99
|
+
<LclInstrm>
|
100
|
+
<Prtry>CH02</Prtry>
|
101
|
+
</LclInstrm>
|
102
|
+
</PmtTpInf>
|
103
|
+
<Amt>
|
104
|
+
<InstdAmt Ccy="CHF">8479.25</InstdAmt>
|
105
|
+
</Amt>
|
106
|
+
<Cdtr>
|
107
|
+
<Nm>Robert Scheider SA</Nm>
|
108
|
+
<PstlAdr>
|
109
|
+
<StrtNm>Rue de la gare</StrtNm>
|
110
|
+
<BldgNb>24</BldgNb>
|
111
|
+
<PstCd>2501</PstCd>
|
112
|
+
<TwnNm>Biel</TwnNm>
|
113
|
+
<Ctry>CH</Ctry>
|
114
|
+
</PstlAdr>
|
115
|
+
</Cdtr>
|
116
|
+
<CdtrAcct>
|
117
|
+
<Id>
|
118
|
+
<Othr>
|
119
|
+
<Id>25-9034-2</Id>
|
120
|
+
</Othr>
|
121
|
+
</Id>
|
122
|
+
</CdtrAcct>
|
123
|
+
<RmtInf>
|
124
|
+
<Ustrd>Rechnung Nr. 408</Ustrd>
|
125
|
+
</RmtInf>
|
126
|
+
</CdtTrfTxInf>
|
127
|
+
<CdtTrfTxInf>
|
128
|
+
<PmtId>
|
129
|
+
<InstrId>INSTRID-02-02</InstrId>
|
130
|
+
<EndToEndId>ENDTOENDID-003</EndToEndId>
|
131
|
+
</PmtId>
|
132
|
+
<PmtTpInf>
|
133
|
+
<SvcLvl>
|
134
|
+
<Cd>SEPA</Cd>
|
135
|
+
</SvcLvl>
|
136
|
+
</PmtTpInf>
|
137
|
+
<Amt>
|
138
|
+
<InstdAmt Ccy="EUR">3421.00</InstdAmt>
|
139
|
+
</Amt>
|
140
|
+
<CdtrAgt>
|
141
|
+
<FinInstnId>
|
142
|
+
<BIC>DEUTDEFF</BIC>
|
143
|
+
</FinInstnId>
|
144
|
+
</CdtrAgt>
|
145
|
+
<Cdtr>
|
146
|
+
<Nm>Peter Haller</Nm>
|
147
|
+
<PstlAdr>
|
148
|
+
<AdrLine>Rosenauweg 4</AdrLine>
|
149
|
+
<AdrLine>DE-80036 München</AdrLine>
|
150
|
+
</PstlAdr>
|
151
|
+
</Cdtr>
|
152
|
+
<CdtrAcct>
|
153
|
+
<Id>
|
154
|
+
<IBAN>DE62007620110623852957</IBAN>
|
155
|
+
</Id>
|
156
|
+
</CdtrAcct>
|
157
|
+
<RmtInf>
|
158
|
+
<Strd>
|
159
|
+
<CdtrRefInf>
|
160
|
+
<Tp>
|
161
|
+
<CdOrPrtry>
|
162
|
+
<Cd>SCOR</Cd>
|
163
|
+
</CdOrPrtry>
|
164
|
+
</Tp>
|
165
|
+
<Ref>RF712348231</Ref>
|
166
|
+
</CdtrRefInf>
|
167
|
+
</Strd>
|
168
|
+
</RmtInf>
|
169
|
+
</CdtTrfTxInf>
|
170
|
+
</PmtInf>
|
171
|
+
</CstmrCdtTrfInitn>
|
172
|
+
</Document>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Mit XMLSpy v2008 rel. 2 sp2 (http://www.altova.com) von benutzerservice benutzerservice (SIZ GmbH) bearbeitet -->
|
3
|
+
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03 pain.001.001.03.xsd">
|
4
|
+
<CstmrCdtTrfInitn>
|
5
|
+
<GrpHdr>
|
6
|
+
<MsgId>Message-ID-4711</MsgId>
|
7
|
+
<CreDtTm>2010-11-11T09:30:47.000Z</CreDtTm>
|
8
|
+
<NbOfTxs>2</NbOfTxs>
|
9
|
+
<InitgPty>
|
10
|
+
<Nm>Initiator Name</Nm>
|
11
|
+
</InitgPty>
|
12
|
+
</GrpHdr>
|
13
|
+
<PmtInf>
|
14
|
+
<PmtInfId>Payment-Information-ID-4711</PmtInfId>
|
15
|
+
<PmtMtd>TRF</PmtMtd>
|
16
|
+
<BtchBookg>true</BtchBookg>
|
17
|
+
<NbOfTxs>2</NbOfTxs>
|
18
|
+
<CtrlSum>6655.86</CtrlSum>
|
19
|
+
<PmtTpInf>
|
20
|
+
<SvcLvl>
|
21
|
+
<Cd>SEPA</Cd>
|
22
|
+
</SvcLvl>
|
23
|
+
</PmtTpInf>
|
24
|
+
<ReqdExctnDt>2010-11-25</ReqdExctnDt>
|
25
|
+
<Dbtr>
|
26
|
+
<Nm>Debtor Name</Nm>
|
27
|
+
</Dbtr>
|
28
|
+
<DbtrAcct>
|
29
|
+
<Id>
|
30
|
+
<IBAN>DE87200500001234567890</IBAN>
|
31
|
+
</Id>
|
32
|
+
</DbtrAcct>
|
33
|
+
<DbtrAgt>
|
34
|
+
<FinInstnId>
|
35
|
+
<BIC>BANKDEFFXXX</BIC>
|
36
|
+
</FinInstnId>
|
37
|
+
</DbtrAgt>
|
38
|
+
<ChrgBr>SLEV</ChrgBr>
|
39
|
+
<CdtTrfTxInf>
|
40
|
+
<PmtId>
|
41
|
+
<EndToEndId>OriginatorID1234</EndToEndId>
|
42
|
+
</PmtId>
|
43
|
+
<Amt>
|
44
|
+
<InstdAmt Ccy="EUR">6543.14</InstdAmt>
|
45
|
+
</Amt>
|
46
|
+
<CdtrAgt>
|
47
|
+
<FinInstnId>
|
48
|
+
<BIC>SPUEDE2UXXX</BIC>
|
49
|
+
</FinInstnId>
|
50
|
+
</CdtrAgt>
|
51
|
+
<Cdtr>
|
52
|
+
<Nm>Creditor Name</Nm>
|
53
|
+
</Cdtr>
|
54
|
+
<CdtrAcct>
|
55
|
+
<Id>
|
56
|
+
<IBAN>DE21500500009876543210</IBAN>
|
57
|
+
</Id>
|
58
|
+
</CdtrAcct>
|
59
|
+
<RmtInf>
|
60
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
61
|
+
</RmtInf>
|
62
|
+
</CdtTrfTxInf>
|
63
|
+
<CdtTrfTxInf>
|
64
|
+
<PmtId>
|
65
|
+
<EndToEndId>OriginatorID1235</EndToEndId>
|
66
|
+
</PmtId>
|
67
|
+
<Amt>
|
68
|
+
<InstdAmt Ccy="EUR">112.72</InstdAmt>
|
69
|
+
</Amt>
|
70
|
+
<CdtrAgt>
|
71
|
+
<FinInstnId>
|
72
|
+
<BIC>SPUEDE2UXXX</BIC>
|
73
|
+
</FinInstnId>
|
74
|
+
</CdtrAgt>
|
75
|
+
<Cdtr>
|
76
|
+
<Nm>Other Creditor Name</Nm>
|
77
|
+
</Cdtr>
|
78
|
+
<CdtrAcct>
|
79
|
+
<Id>
|
80
|
+
<IBAN>DE21500500001234567897</IBAN>
|
81
|
+
</Id>
|
82
|
+
</CdtrAcct>
|
83
|
+
<RmtInf>
|
84
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
85
|
+
</RmtInf>
|
86
|
+
</CdtTrfTxInf>
|
87
|
+
</PmtInf>
|
88
|
+
</CstmrCdtTrfInitn>
|
89
|
+
</Document>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Mit XMLSpy v2008 rel. 2 sp2 (http://www.altova.com) von benutzerservice benutzerservice (SIZ GmbH) bearbeitet -->
|
3
|
+
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.002.03 pain.001.002.03.xsd">
|
4
|
+
<CstmrCdtTrfInitn>
|
5
|
+
<GrpHdr>
|
6
|
+
<MsgId>Message-ID-4711</MsgId>
|
7
|
+
<CreDtTm>2010-11-11T09:30:47.000Z</CreDtTm>
|
8
|
+
<NbOfTxs>2</NbOfTxs>
|
9
|
+
<InitgPty>
|
10
|
+
<Nm>Initiator Name</Nm>
|
11
|
+
</InitgPty>
|
12
|
+
</GrpHdr>
|
13
|
+
<PmtInf>
|
14
|
+
<PmtInfId>Payment-Information-ID-4711</PmtInfId>
|
15
|
+
<PmtMtd>TRF</PmtMtd>
|
16
|
+
<BtchBookg>true</BtchBookg>
|
17
|
+
<NbOfTxs>2</NbOfTxs>
|
18
|
+
<CtrlSum>6655.86</CtrlSum>
|
19
|
+
<PmtTpInf>
|
20
|
+
<SvcLvl>
|
21
|
+
<Cd>SEPA</Cd>
|
22
|
+
</SvcLvl>
|
23
|
+
</PmtTpInf>
|
24
|
+
<ReqdExctnDt>2010-11-25</ReqdExctnDt>
|
25
|
+
<Dbtr>
|
26
|
+
<Nm>Debtor Name</Nm>
|
27
|
+
</Dbtr>
|
28
|
+
<DbtrAcct>
|
29
|
+
<Id>
|
30
|
+
<IBAN>DE87200500001234567890</IBAN>
|
31
|
+
</Id>
|
32
|
+
</DbtrAcct>
|
33
|
+
<DbtrAgt>
|
34
|
+
<FinInstnId>
|
35
|
+
<BIC>BANKDEFFXXX</BIC>
|
36
|
+
</FinInstnId>
|
37
|
+
</DbtrAgt>
|
38
|
+
<ChrgBr>SLEV</ChrgBr>
|
39
|
+
<CdtTrfTxInf>
|
40
|
+
<PmtId>
|
41
|
+
<EndToEndId>OriginatorID1234</EndToEndId>
|
42
|
+
</PmtId>
|
43
|
+
<Amt>
|
44
|
+
<InstdAmt Ccy="EUR">6543.14</InstdAmt>
|
45
|
+
</Amt>
|
46
|
+
<CdtrAgt>
|
47
|
+
<FinInstnId>
|
48
|
+
<BIC>SPUEDE2UXXX</BIC>
|
49
|
+
</FinInstnId>
|
50
|
+
</CdtrAgt>
|
51
|
+
<Cdtr>
|
52
|
+
<Nm>Creditor Name</Nm>
|
53
|
+
</Cdtr>
|
54
|
+
<CdtrAcct>
|
55
|
+
<Id>
|
56
|
+
<IBAN>DE21500500009876543210</IBAN>
|
57
|
+
</Id>
|
58
|
+
</CdtrAcct>
|
59
|
+
<RmtInf>
|
60
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
61
|
+
</RmtInf>
|
62
|
+
</CdtTrfTxInf>
|
63
|
+
<CdtTrfTxInf>
|
64
|
+
<PmtId>
|
65
|
+
<EndToEndId>OriginatorID1235</EndToEndId>
|
66
|
+
</PmtId>
|
67
|
+
<Amt>
|
68
|
+
<InstdAmt Ccy="EUR">112.72</InstdAmt>
|
69
|
+
</Amt>
|
70
|
+
<CdtrAgt>
|
71
|
+
<FinInstnId>
|
72
|
+
<BIC>SPUEDE2UXXX</BIC>
|
73
|
+
</FinInstnId>
|
74
|
+
</CdtrAgt>
|
75
|
+
<Cdtr>
|
76
|
+
<Nm>Other Creditor Name</Nm>
|
77
|
+
</Cdtr>
|
78
|
+
<CdtrAcct>
|
79
|
+
<Id>
|
80
|
+
<IBAN>DE21500500001234567897</IBAN>
|
81
|
+
</Id>
|
82
|
+
</CdtrAcct>
|
83
|
+
<RmtInf>
|
84
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
85
|
+
</RmtInf>
|
86
|
+
</CdtTrfTxInf>
|
87
|
+
</PmtInf>
|
88
|
+
</CstmrCdtTrfInitn>
|
89
|
+
</Document>
|
@@ -0,0 +1,89 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!-- Mit XMLSpy v2008 rel. 2 sp2 (http://www.altova.com) von benutzerservice benutzerservice (SIZ GmbH) bearbeitet -->
|
3
|
+
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.003.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:iso:std:iso:20022:tech:xsd:pain.001.003.03 pain.001.003.03.xsd">
|
4
|
+
<CstmrCdtTrfInitn>
|
5
|
+
<GrpHdr>
|
6
|
+
<MsgId>Message-ID-4711</MsgId>
|
7
|
+
<CreDtTm>2010-11-11T09:30:47.000Z</CreDtTm>
|
8
|
+
<NbOfTxs>2</NbOfTxs>
|
9
|
+
<InitgPty>
|
10
|
+
<Nm>Initiator Name</Nm>
|
11
|
+
</InitgPty>
|
12
|
+
</GrpHdr>
|
13
|
+
<PmtInf>
|
14
|
+
<PmtInfId>Payment-Information-ID-4711</PmtInfId>
|
15
|
+
<PmtMtd>TRF</PmtMtd>
|
16
|
+
<BtchBookg>true</BtchBookg>
|
17
|
+
<NbOfTxs>2</NbOfTxs>
|
18
|
+
<CtrlSum>6655.86</CtrlSum>
|
19
|
+
<PmtTpInf>
|
20
|
+
<SvcLvl>
|
21
|
+
<Cd>SEPA</Cd>
|
22
|
+
</SvcLvl>
|
23
|
+
</PmtTpInf>
|
24
|
+
<ReqdExctnDt>2010-11-25</ReqdExctnDt>
|
25
|
+
<Dbtr>
|
26
|
+
<Nm>Debtor Name</Nm>
|
27
|
+
</Dbtr>
|
28
|
+
<DbtrAcct>
|
29
|
+
<Id>
|
30
|
+
<IBAN>DE87200500001234567890</IBAN>
|
31
|
+
</Id>
|
32
|
+
</DbtrAcct>
|
33
|
+
<DbtrAgt>
|
34
|
+
<FinInstnId>
|
35
|
+
<BIC>BANKDEFFXXX</BIC>
|
36
|
+
</FinInstnId>
|
37
|
+
</DbtrAgt>
|
38
|
+
<ChrgBr>SLEV</ChrgBr>
|
39
|
+
<CdtTrfTxInf>
|
40
|
+
<PmtId>
|
41
|
+
<EndToEndId>OriginatorID1234</EndToEndId>
|
42
|
+
</PmtId>
|
43
|
+
<Amt>
|
44
|
+
<InstdAmt Ccy="EUR">6543.14</InstdAmt>
|
45
|
+
</Amt>
|
46
|
+
<CdtrAgt>
|
47
|
+
<FinInstnId>
|
48
|
+
<BIC>SPUEDE2UXXX</BIC>
|
49
|
+
</FinInstnId>
|
50
|
+
</CdtrAgt>
|
51
|
+
<Cdtr>
|
52
|
+
<Nm>Creditor Name</Nm>
|
53
|
+
</Cdtr>
|
54
|
+
<CdtrAcct>
|
55
|
+
<Id>
|
56
|
+
<IBAN>DE21500500009876543210</IBAN>
|
57
|
+
</Id>
|
58
|
+
</CdtrAcct>
|
59
|
+
<RmtInf>
|
60
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
61
|
+
</RmtInf>
|
62
|
+
</CdtTrfTxInf>
|
63
|
+
<CdtTrfTxInf>
|
64
|
+
<PmtId>
|
65
|
+
<EndToEndId>OriginatorID1235</EndToEndId>
|
66
|
+
</PmtId>
|
67
|
+
<Amt>
|
68
|
+
<InstdAmt Ccy="EUR">112.72</InstdAmt>
|
69
|
+
</Amt>
|
70
|
+
<CdtrAgt>
|
71
|
+
<FinInstnId>
|
72
|
+
<BIC>SPUEDE2UXXX</BIC>
|
73
|
+
</FinInstnId>
|
74
|
+
</CdtrAgt>
|
75
|
+
<Cdtr>
|
76
|
+
<Nm>Other Creditor Name</Nm>
|
77
|
+
</Cdtr>
|
78
|
+
<CdtrAcct>
|
79
|
+
<Id>
|
80
|
+
<IBAN>DE21500500001234567897</IBAN>
|
81
|
+
</Id>
|
82
|
+
</CdtrAcct>
|
83
|
+
<RmtInf>
|
84
|
+
<Ustrd>Unstructured Remittance Information</Ustrd>
|
85
|
+
</RmtInf>
|
86
|
+
</CdtTrfTxInf>
|
87
|
+
</PmtInf>
|
88
|
+
</CstmrCdtTrfInitn>
|
89
|
+
</Document>
|