ISO20022 payments
XML Input File Examples
Direct Debit
1min
For ACH Direct Debit, the PAIN standard is PAIN.008.001.02. This is seen in the 2nd line of the example below.
The example below is for the ACH Direct Debit CCD rail. The XML for ACH Direct Debit PPD is identical to that of ACH Direct Debit CCD, except that the value of the Prtry element is "PPD".
XML
1<?xml version="1.0" encoding="UTF-8"?>
2<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.008.001.02">
3 <CstmrDrctDbtInitn>
4 <GrpHdr>
5 <MsgId>DOMC10000029</MsgId>
6 <CreDtTm>2020-09-03T16:32:48</CreDtTm>
7 <NbOfTxs>3</NbOfTxs>
8 <CtrlSum>6.00</CtrlSum>
9 <InitgPty>
10 <Nm>John Doe Corporation</Nm>
11 <Id>
12 <OrgId>
13 <Othr>
14 <Id>7812871377</Id>
15 </Othr>
16 </OrgId>
17 </Id>
18 </InitgPty>
19 </GrpHdr>
20 <PmtInf>
21 <PmtInfId>DOMC10000029</PmtInfId>
22 <PmtMtd>DD</PmtMtd>
23 <BtchBookg>true</BtchBookg>
24 <NbOfTxs>3</NbOfTxs>
25 <CtrlSum>6.00</CtrlSum>
26 <PmtTpInf>
27 <SvcLvl>
28 <Cd>NURG</Cd>
29 </SvcLvl>
30 <LclInstrm>
31 <Prtry>CCD</Prtry>
32 </LclInstrm>
33 </PmtTpInf>
34 <ReqdColltnDt>2020-09-03</ReqdColltnDt>
35 <Cdtr>
36 <Nm>Upgrade Corporation</Nm>
37 <PstlAdr>
38 <Ctry>US</Ctry>
39 <AdrLine>275 Battery Street, 23rd Floor</AdrLine>
40 <AdrLine>94111 San Francisco</AdrLine>
41 </PstlAdr>
42 <Id>
43 <OrgId>
44 <Othr>
45 <Id>7812871377</Id>
46 </Othr>
47 </OrgId>
48 </Id>
49 </Cdtr>
50 <CdtrAcct>
51 <Id>
52 <Othr>
53 <Id>2152485385</Id>
54 </Othr>
55 </Id>
56 <Ccy>USD</Ccy>
57 </CdtrAcct>
58 <CdtrAgt>
59 <FinInstnId>
60 <ClrSysMmbId>
61 <MmbId>021214891</MmbId>
62 </ClrSysMmbId>
63 <PstlAdr>
64 <Ctry>US</Ctry>
65 </PstlAdr>
66 </FinInstnId>
67 </CdtrAgt>
68 <DrctDbtTxInf>
69 <PmtId>
70 <EndToEndId>100DDEB000040</EndToEndId>
71 </PmtId>
72 <InstdAmt Ccy="USD">3.00</InstdAmt>
73 <DbtrAgt>
74 <FinInstnId>
75 <ClrSysMmbId>
76 <MmbId>123345678</MmbId>
77 </ClrSysMmbId>
78 <Nm>DUMMY</Nm>
79 <PstlAdr>
80 <Ctry>US</Ctry>
81 </PstlAdr>
82 </FinInstnId>
83 </DbtrAgt>
84 <Dbtr>
85 <Nm>DUMMY</Nm>
86 <PstlAdr>
87 <Ctry>US</Ctry>
88 </PstlAdr>
89 </Dbtr>
90 <DbtrAcct>
91 <Id>
92 <Othr>
93 <Id>61651561516</Id>
94 </Othr>
95 </Id>
96 </DbtrAcct>
97 <RmtInf>
98 <Ustrd>Testing</Ustrd>
99 </RmtInf>
100 </DrctDbtTxInf>
101 <DrctDbtTxInf>
102 <PmtId>
103 <EndToEndId>100DDEB000042</EndToEndId>
104 </PmtId>
105 <InstdAmt Ccy="USD">2.00</InstdAmt>
106 <DbtrAgt>
107 <FinInstnId>
108 <ClrSysMmbId>
109 <MmbId>123345678</MmbId>
110 </ClrSysMmbId>
111 <Nm>DUMMY</Nm>
112 <PstlAdr>
113 <Ctry>US</Ctry>
114 </PstlAdr>
115 </FinInstnId>
116 </DbtrAgt>
117 <Dbtr>
118 <Nm>DUMMY</Nm>
119 <PstlAdr>
120 <Ctry>US</Ctry>
121 </PstlAdr>
122 </Dbtr>
123 <DbtrAcct>
124 <Id>
125 <Othr>
126 <Id>61651561516</Id>
127 </Othr>
128 </Id>
129 </DbtrAcct>
130 <RmtInf>
131 <Ustrd>Testing</Ustrd>
132 </RmtInf>
133 </DrctDbtTxInf>
134 <DrctDbtTxInf>
135 <PmtId>
136 <EndToEndId>100DDEB000041</EndToEndId>
137 </PmtId>
138 <InstdAmt Ccy="USD">1.00</InstdAmt>
139 <DbtrAgt>
140 <FinInstnId>
141 <ClrSysMmbId>
142 <MmbId>123345678</MmbId>
143 </ClrSysMmbId>
144 <Nm>DUMMY</Nm>
145 <PstlAdr>
146 <Ctry>US</Ctry>
147 </PstlAdr>
148 </FinInstnId>
149 </DbtrAgt>
150 <Dbtr>
151 <Nm>DUMMY</Nm>
152 <PstlAdr>
153 <Ctry>US</Ctry>
154 </PstlAdr>
155 </Dbtr>
156 <DbtrAcct>
157 <Id>
158 <Othr>
159 <Id>61651561516</Id>
160 </Othr>
161 </Id>
162 </DbtrAcct>
163 <RmtInf>
164 <Ustrd>Testing</Ustrd>
165 </RmtInf>
166 </DrctDbtTxInf>
167 </PmtInf>
168 </CstmrDrctDbtInitn>
169</Document>
🤔
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.