Contents DocumentLineType1 DocumentLineType1Choice (choice — supply one) DocumentType1 DocumentType2Choice (choice — supply one) EquivalentAmount2 ExchangeRate1 FinancialIdentificationSchemeName1Choice (choice — supply one) FinancialInstitutionIdentification23 Frequency36Choice (choice — supply one) FrequencyAndMoment1 FrequencyPeriod1 Garnishment4 GarnishmentType1 GarnishmentType1Choice (choice — supply one) GenericAccountIdentification1 GenericFinancialIdentification1 GenericIdentification30 GenericOrganisationIdentification3 GenericPersonIdentification2 GroupHeader114 InstructionForCreditorAgent3 InstructionForDebtorAgent1 LocalInstrument2Choice (choice — supply one) MandateClassification1Choice (choice — supply one) MandateSetupReason1Choice (choice — supply one) MandateTypeInformation2 NameAndAddress18 OrganisationIdentification39 OrganisationIdentificationSchemeName1Choice (choice — supply one) OtherContact1 Party52Choice (choice — supply one) PartyIdentification272 PaymentIdentification6 PaymentInitiationSource1
Complex types in ISO 20022 pain.001.001.12, generated from the official XSD. Part 2 of 3 — DocumentLineType1 – PaymentInitiationSource1.
Part 1 · Part 2 · Part 3
Each type is defined once here. The message structure repeats a party or address block under every party; this view does not, which is what you want when mapping source fields.
A choice type means the children are alternatives — supply one, not all. Cardinality in bold is required.
DocumentLineType1#
Element
Card.
Type
Constraints
CdOrPrtry
1..1
DocumentLineType1Choice
Issr
0..1
Max35Text
length 1–35
DocumentLineType1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalDocumentLineType1Code
length 1–4
Prtry
1..1
Max35Text
length 1–35
DocumentType1#
Element
Card.
Type
Constraints
CdOrPrtry
1..1
DocumentType2Choice
Issr
0..1
Max35Text
length 1–35
DocumentType2Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalDocumentType1Code
length 1–4
Prtry
1..1
Max35Text
length 1–35
EquivalentAmount2#
Element
Card.
Type
Constraints
Amt
1..1
ActiveOrHistoricCurrencyAndAmount
CcyOfTrf
1..1
ActiveOrHistoricCurrencyCode
pattern [A-Z]{3,3}
ExchangeRate1#
Element
Card.
Type
Constraints
UnitCcy
0..1
ActiveOrHistoricCurrencyCode
pattern [A-Z]{3,3}
XchgRate
0..1
BaseOneRate
10 decimals max
RateTp
0..1
ExchangeRateType1Code
3 codes
CtrctId
0..1
Max35Text
length 1–35
FinancialIdentificationSchemeName1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalFinancialInstitutionIdentification1Code
length 1–4
Prtry
1..1
Max35Text
length 1–35
FinancialInstitutionIdentification23#
Element
Card.
Type
Constraints
BICFI
0..1
BICFIDec2014Identifier
pattern [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-…
ClrSysMmbId
0..1
ClearingSystemMemberIdentification2
LEI
0..1
LEIIdentifier
pattern [A-Z0-9]{18,18}[0-9]{2,2}
Nm
0..1
Max140Text
length 1–140
PstlAdr
0..1
PostalAddress27
Othr
0..1
GenericFinancialIdentification1
Frequency36Choice (choice — supply one) #
Element
Card.
Type
Constraints
Tp
1..1
Frequency6Code
9 codes
Prd
1..1
FrequencyPeriod1
PtInTm
1..1
FrequencyAndMoment1
FrequencyAndMoment1#
Element
Card.
Type
Constraints
Tp
1..1
Frequency6Code
9 codes
PtInTm
1..1
Exact2NumericText
pattern [0-9]{2}
FrequencyPeriod1#
Element
Card.
Type
Constraints
Tp
1..1
Frequency6Code
9 codes
CntPerPrd
1..1
DecimalNumber
17 decimals max
Garnishment4#
Element
Card.
Type
Constraints
Tp
1..1
GarnishmentType1
Grnshee
0..1
PartyIdentification272
GrnshmtAdmstr
0..1
PartyIdentification272
RefNb
0..1
Max140Text
length 1–140
Dt
0..1
ISODate
RmtdAmt
0..1
ActiveOrHistoricCurrencyAndAmount
FmlyMdclInsrncInd
0..1
TrueFalseIndicator
MplyeeTermntnInd
0..1
TrueFalseIndicator
GarnishmentType1#
Element
Card.
Type
Constraints
CdOrPrtry
1..1
GarnishmentType1Choice
Issr
0..1
Max35Text
length 1–35
GarnishmentType1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalGarnishmentType1Code
length 1–4
Prtry
1..1
Max35Text
length 1–35
GenericAccountIdentification1#
Element
Card.
Type
Constraints
Id
1..1
Max34Text
length 1–34
SchmeNm
0..1
AccountSchemeName1Choice
Issr
0..1
Max35Text
length 1–35
GenericFinancialIdentification1#
Element
Card.
Type
Constraints
Id
1..1
Max35Text
length 1–35
SchmeNm
0..1
FinancialIdentificationSchemeName1Choice
Issr
0..1
Max35Text
length 1–35
GenericIdentification30#
Element
Card.
Type
Constraints
Id
1..1
Exact4AlphaNumericText
pattern [a-zA-Z0-9]{4}
Issr
1..1
Max35Text
length 1–35
SchmeNm
0..1
Max35Text
length 1–35
GenericOrganisationIdentification3#
Element
Card.
Type
Constraints
Id
1..1
Max256Text
length 1–256
SchmeNm
0..1
OrganisationIdentificationSchemeName1Choice
Issr
0..1
Max35Text
length 1–35
GenericPersonIdentification2#
Element
Card.
Type
Constraints
Id
1..1
Max256Text
length 1–256
SchmeNm
0..1
PersonIdentificationSchemeName1Choice
Issr
0..1
Max35Text
length 1–35
Element
Card.
Type
Constraints
MsgId
1..1
Max35Text
length 1–35
CreDtTm
1..1
ISODateTime
Authstn
0..2
Authorisation1Choice
NbOfTxs
1..1
Max15NumericText
pattern [0-9]{1,15}
CtrlSum
0..1
DecimalNumber
17 decimals max
InitgPty
1..1
PartyIdentification272
FwdgAgt
0..1
BranchAndFinancialInstitutionIdentification8
InitnSrc
0..1
PaymentInitiationSource1
InstructionForCreditorAgent3#
Element
Card.
Type
Constraints
Cd
0..1
ExternalCreditorAgentInstruction1Code
length 1–4
InstrInf
0..1
Max140Text
length 1–140
InstructionForDebtorAgent1#
Element
Card.
Type
Constraints
Cd
0..1
ExternalDebtorAgentInstruction1Code
length 1–4
InstrInf
0..1
Max140Text
length 1–140
LocalInstrument2Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalLocalInstrument1Code
length 1–35
Prtry
1..1
Max35Text
length 1–35
MandateClassification1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
MandateClassification1Code
3 codes
Prtry
1..1
Max35Text
length 1–35
MandateSetupReason1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalMandateSetupReason1Code
length 1–4
Prtry
1..1
Max70Text
length 1–70
Element
Card.
Type
Constraints
SvcLvl
0..1
ServiceLevel8Choice
LclInstrm
0..1
LocalInstrument2Choice
CtgyPurp
0..1
CategoryPurpose1Choice
Clssfctn
0..1
MandateClassification1Choice
NameAndAddress18#
Element
Card.
Type
Constraints
Nm
1..1
Max140Text
length 1–140
Adr
1..1
PostalAddress27
OrganisationIdentification39#
Element
Card.
Type
Constraints
AnyBIC
0..1
AnyBICDec2014Identifier
pattern [A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-…
LEI
0..1
LEIIdentifier
pattern [A-Z0-9]{18,18}[0-9]{2,2}
Othr
0..*
GenericOrganisationIdentification3
OrganisationIdentificationSchemeName1Choice (choice — supply one) #
Element
Card.
Type
Constraints
Cd
1..1
ExternalOrganisationIdentification1Code
length 1–4
Prtry
1..1
Max35Text
length 1–35
Element
Card.
Type
Constraints
ChanlTp
1..1
Max4Text
length 1–4
Id
0..1
Max128Text
length 1–128
Party52Choice (choice — supply one) #
Element
Card.
Type
Constraints
OrgId
1..1
OrganisationIdentification39
PrvtId
1..1
PersonIdentification18
PartyIdentification272#
Element
Card.
Type
Constraints
Nm
0..1
Max140Text
length 1–140
PstlAdr
0..1
PostalAddress27
Id
0..1
Party52Choice
CtryOfRes
0..1
CountryCode
pattern [A-Z]{2,2}
CtctDtls
0..1
Contact13
PaymentIdentification6#
Element
Card.
Type
Constraints
InstrId
0..1
Max35Text
length 1–35
EndToEndId
1..1
Max35Text
length 1–35
UETR
0..1
UUIDv4Identifier
pattern [a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89…
PaymentInitiationSource1#
Element
Card.
Type
Constraints
Nm
1..1
Max140Text
length 1–140
Prvdr
0..1
Max35Text
length 1–35
Vrsn
0..1
Max35Text
length 1–35