Complex types in ISO 20022 pain.001.001.12, generated from the official XSD. Part 1 of 3: AccountIdentification4Choice – DocumentLineInformation2.
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.
AccountIdentification4Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
IBAN | 1..1 | IBAN2007Identifier | pattern [A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30} |
Othr | 1..1 | GenericAccountIdentification1 |
AccountSchemeName1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalAccountIdentification1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
AddressType3Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | AddressType2Code | 6 codes |
Prtry | 1..1 | GenericIdentification30 |
AdviceType1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
CdtAdvc | 0..1 | AdviceType1Choice | |
DbtAdvc | 0..1 | AdviceType1Choice |
AdviceType1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | AdviceType1Code | 2 codes |
Prtry | 1..1 | Max35Text | length 1–35 |
AmountType4Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
InstdAmt | 1..1 | ActiveOrHistoricCurrencyAndAmount | |
EqvtAmt | 1..1 | EquivalentAmount2 |
Authorisation1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | Authorisation1Code | 4 codes |
Prtry | 1..1 | Max128Text | length 1–128 |
BranchAndFinancialInstitutionIdentification8#
| Element | Card. | Type | Constraints |
|---|---|---|---|
FinInstnId | 1..1 | FinancialInstitutionIdentification23 | |
BrnchId | 0..1 | BranchData5 |
BranchData5#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Id | 0..1 | Max35Text | length 1–35 |
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 |
CashAccount40#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Id | 0..1 | AccountIdentification4Choice | |
Tp | 0..1 | CashAccountType2Choice | |
Ccy | 0..1 | ActiveOrHistoricCurrencyCode | pattern [A-Z]{3,3} |
Nm | 0..1 | Max70Text | length 1–70 |
Prxy | 0..1 | ProxyAccountIdentification1 |
CashAccountType2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalCashAccountType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
CategoryPurpose1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalCategoryPurpose1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
Cheque19#
| Element | Card. | Type | Constraints |
|---|---|---|---|
ChqTp | 0..1 | ChequeType2Code | 5 codes |
ChqNb | 0..1 | Max35Text | length 1–35 |
ChqFr | 0..1 | NameAndAddress18 | |
DlvryMtd | 0..1 | ChequeDeliveryMethod1Choice | |
DlvrTo | 0..1 | NameAndAddress18 | |
InstrPrty | 0..1 | Priority2Code | 2 codes |
ChqMtrtyDt | 0..1 | ISODate | |
FrmsCd | 0..1 | Max35Text | length 1–35 |
MemoFld | 0..2 | Max35Text | length 1–35 |
RgnlClrZone | 0..1 | Max35Text | length 1–35 |
PrtLctn | 0..1 | Max35Text | length 1–35 |
Sgntr | 0..5 | Max70Text | length 1–70 |
ChequeDeliveryMethod1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ChequeDelivery1Code | 12 codes |
Prtry | 1..1 | Max35Text | length 1–35 |
ClearingSystemIdentification2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalClearingSystemIdentification1Code | length 1–5 |
Prtry | 1..1 | Max35Text | length 1–35 |
ClearingSystemMemberIdentification2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
ClrSysId | 0..1 | ClearingSystemIdentification2Choice | |
MmbId | 1..1 | Max35Text | length 1–35 |
Contact13#
| Element | Card. | Type | Constraints |
|---|---|---|---|
NmPrfx | 0..1 | NamePrefix2Code | 5 codes |
Nm | 0..1 | Max140Text | length 1–140 |
PhneNb | 0..1 | PhoneNumber | pattern \+[0-9]{1,3}-[0-9()+\-]{1,30} |
MobNb | 0..1 | PhoneNumber | pattern \+[0-9]{1,3}-[0-9()+\-]{1,30} |
FaxNb | 0..1 | PhoneNumber | pattern \+[0-9]{1,3}-[0-9()+\-]{1,30} |
URLAdr | 0..1 | Max2048Text | length 1–2048 |
EmailAdr | 0..1 | Max256Text | length 1–256 |
EmailPurp | 0..1 | Max35Text | length 1–35 |
JobTitl | 0..1 | Max35Text | length 1–35 |
Rspnsblty | 0..1 | Max35Text | length 1–35 |
Dept | 0..1 | Max70Text | length 1–70 |
Othr | 0..* | OtherContact1 | |
PrefrdMtd | 0..1 | PreferredContactMethod2Code | 6 codes |
CreditTransferMandateData1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
MndtId | 0..1 | Max35Text | length 1–35 |
Tp | 0..1 | MandateTypeInformation2 | |
DtOfSgntr | 0..1 | ISODate | |
DtOfVrfctn | 0..1 | ISODateTime | |
ElctrncSgntr | 0..1 | Max10KBinary | length 1–10240 |
FrstPmtDt | 0..1 | ISODate | |
FnlPmtDt | 0..1 | ISODate | |
Frqcy | 0..1 | Frequency36Choice | |
Rsn | 0..1 | MandateSetupReason1Choice |
CreditTransferTransaction61#
| Element | Card. | Type | Constraints |
|---|---|---|---|
PmtId | 1..1 | PaymentIdentification6 | |
PmtTpInf | 0..1 | PaymentTypeInformation26 | |
Amt | 1..1 | AmountType4Choice | |
XchgRateInf | 0..1 | ExchangeRate1 | |
ChrgBr | 0..1 | ChargeBearerType1Code | 4 codes |
MndtRltdInf | 0..1 | CreditTransferMandateData1 | |
ChqInstr | 0..1 | Cheque19 | |
UltmtDbtr | 0..1 | PartyIdentification272 | |
IntrmyAgt1 | 0..1 | BranchAndFinancialInstitutionIdentification8 | |
IntrmyAgt1Acct | 0..1 | CashAccount40 | |
IntrmyAgt2 | 0..1 | BranchAndFinancialInstitutionIdentification8 | |
IntrmyAgt2Acct | 0..1 | CashAccount40 | |
IntrmyAgt3 | 0..1 | BranchAndFinancialInstitutionIdentification8 | |
IntrmyAgt3Acct | 0..1 | CashAccount40 | |
CdtrAgt | 0..1 | BranchAndFinancialInstitutionIdentification8 | |
CdtrAgtAcct | 0..1 | CashAccount40 | |
Cdtr | 0..1 | PartyIdentification272 | |
CdtrAcct | 0..1 | CashAccount40 | |
UltmtCdtr | 0..1 | PartyIdentification272 | |
InstrForCdtrAgt | 0..* | InstructionForCreditorAgent3 | |
InstrForDbtrAgt | 0..1 | InstructionForDebtorAgent1 | |
Purp | 0..1 | Purpose2Choice | |
RgltryRptg | 0..10 | RegulatoryReporting3 | |
Tax | 0..1 | TaxData1 | |
RltdRmtInf | 0..10 | RemittanceLocation8 | |
RmtInf | 0..1 | RemittanceInformation22 | |
SplmtryData | 0..* | SupplementaryData1 |
CreditorReferenceInformation3#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | CreditorReferenceType3 | |
Ref | 0..1 | Max35Text | length 1–35 |
CreditorReferenceType2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalCreditorReferenceType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
CreditorReferenceType3#
| Element | Card. | Type | Constraints |
|---|---|---|---|
CdOrPrtry | 1..1 | CreditorReferenceType2Choice | |
Issr | 0..1 | Max35Text | length 1–35 |
CustomerCreditTransferInitiationV12#
| Element | Card. | Type | Constraints |
|---|---|---|---|
GrpHdr | 1..1 | GroupHeader114 | |
PmtInf | 1..* | PaymentInstruction44 | |
SplmtryData | 0..* | SupplementaryData1 |
DateAndDateTime2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Dt | 1..1 | ISODate | |
DtTm | 1..1 | ISODateTime |
DateAndPlaceOfBirth1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
BirthDt | 1..1 | ISODate | |
PrvcOfBirth | 0..1 | Max35Text | length 1–35 |
CityOfBirth | 1..1 | Max35Text | length 1–35 |
CtryOfBirth | 1..1 | CountryCode | pattern [A-Z]{2,2} |
DateAndType1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 1..1 | DateType2Choice | |
Dt | 1..1 | ISODate |
DatePeriod2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
FrDt | 1..1 | ISODate | |
ToDt | 1..1 | ISODate |
DateType2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalDateType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
Document#
| Element | Card. | Type | Constraints |
|---|---|---|---|
CstmrCdtTrfInitn | 1..1 | CustomerCreditTransferInitiationV12 |
DocumentAdjustment1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Amt | 1..1 | ActiveOrHistoricCurrencyAndAmount | |
CdtDbtInd | 0..1 | CreditDebitCode | 2 codes |
Rsn | 0..1 | Max4Text | length 1–4 |
AddtlInf | 0..1 | Max140Text | length 1–140 |
DocumentAmount1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 1..1 | DocumentAmountType1Choice | |
Amt | 1..1 | ActiveOrHistoricCurrencyAndAmount |
DocumentAmountType1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalDocumentAmountType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
DocumentLineIdentification1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | DocumentLineType1 | |
Nb | 0..1 | Max35Text | length 1–35 |
RltdDt | 0..1 | ISODate |
DocumentLineInformation2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Id | 1..* | DocumentLineIdentification1 | |
Desc | 0..1 | Max2048Text | length 1–2048 |
Amt | 0..1 | RemittanceAmount4 |
