Example of Remittance Information XML
The system generates different XML code depending on the values of the processing options on the Remittance Information tab of the SEPA Credit Transfer POs - COMM - 04 program (P744001). Review the examples for a payment that has two suppliers (supplier A with 2 vouchers (INV DISC. 1 and INV DISC. 4) and supplier B with 2 vouchers (INV DISC. 2 and INV DISC 3):
If the Remittance Information Mode processing option is set to non-structured, the Inform multiple invoices (Y/N) processing option is set to multiple occurrences, the system generates the following XML code:
<CdtTrfTxInf> <RmtInf> <Ustrd>INV DISC. 1/2013-01-10/20000.00/14000.00/6000.00 INV DISC. 2/2013-01-15/10000.00/10000.00/.00</Ustrd> </RmtInf> </CdtTrfTxInf> <CdtTrfTxInf> <RmtInf> <Ustrd>INV DISC.3/2013-01-10/20000.00/14000.00/6000.00 INV DISC. 4/2013-01-15/10000.00/10000.00/.00</Ustrd> </RmtInf> </CdtTrfTxInf>
If the Remittance Information Mode processing option is set to non-structured, the Inform multiple invoices (Y/N) processing option is set to a single occurrence, the system generates the following XML code:
<CdtTrfTxInf> <RmtInf> <Ustrd>INV DISC. 1/2013-01-10/20000.00/14000.00/6000.00 </Ustrd> </RmtInf> </CdtTrfTxInf> <CdtTrfTxInf> <RmtInf> <Ustrd>INV DISC. 3/2013-01-10/20000.00/14000.00/6000.00 </Ustrd> </RmtInf> </CdtTrfTxInf>
If the Remittance Information Mode processing option is set to structured, the Inform multiple invoices (Y/N) processing option is set to multiple occurrences, the system generates the following XML code:
<RmtInf> <Strd> <RmtInf> <Strd> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> <Ref>INV DISC. 1</Ref> </CdtrRefInf> </Strd> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> <RmtInf> <Strd> <RmtInf> <Strd> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> <Ref>INV DISC. 1</Ref> </CdtrRefInf> </Strd> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> </CdtrRefInf> </Strd> </RmtInf> <RmtInf> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> General Ops</Issr> </Tp> <Ref>INV DISC. 3</Ref> </CdtrRefInf> </Strd> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr>General Ops</Issr> </Tp> <Ref>INV DISC. 4</Ref> </CdtrRefInf> </Strd> </RmtInf>
If the Remittance Information Mode processing option is set to structured, the Inform multiple invoices (Y/N) processing option is set to a single occurrence, the system generates the following XML code:
<RmtInf> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> <Ref>INV DISC.1</Ref> </CdtrRefInf> </Strd> </RmtInf> <RmtInf> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> General Ops</Issr> </Tp> <Ref>INV DISC.3</Ref> </CdtrRefInf> <RmtInf> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> Vision Operations</Issr> </Tp> <Ref>INV DISC.1</Ref> </CdtrRefInf> </Strd> </RmtInf> <RmtInf> <Strd> <CdtrRefinf> <Tp> <CdOrPrtry> <Cd>SCOR</Cd> </CdOrPrtry> <Issr> General Ops</Issr> </Tp> <Ref>INV DISC.3</Ref> </CdtrRefInf> </RmtInf>