Complex types in ISO 20022 pain.001.001.10, generated from the official XSD. Part 3 of 3: PostalAddress24 – TaxRecordDetails2.
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.
PostalAddress24#
| Element | Card. | Type | Constraints |
|---|---|---|---|
AdrTp | 0..1 | AddressType3Choice | |
Dept | 0..1 | Max70Text | length 1–70 |
SubDept | 0..1 | Max70Text | length 1–70 |
StrtNm | 0..1 | Max70Text | length 1–70 |
BldgNb | 0..1 | Max16Text | length 1–16 |
BldgNm | 0..1 | Max35Text | length 1–35 |
Flr | 0..1 | Max70Text | length 1–70 |
PstBx | 0..1 | Max16Text | length 1–16 |
Room | 0..1 | Max70Text | length 1–70 |
PstCd | 0..1 | Max16Text | length 1–16 |
TwnNm | 0..1 | Max35Text | length 1–35 |
TwnLctnNm | 0..1 | Max35Text | length 1–35 |
DstrctNm | 0..1 | Max35Text | length 1–35 |
CtrySubDvsn | 0..1 | Max35Text | length 1–35 |
Ctry | 0..1 | CountryCode | pattern [A-Z]{2,2} |
AdrLine | 0..7 | Max70Text | length 1–70 |
ProxyAccountIdentification1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | ProxyAccountType1Choice | |
Id | 1..1 | Max2048Text | length 1–2048 |
ProxyAccountType1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalProxyAccountType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
Purpose2Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalPurpose1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
ReferredDocumentInformation7#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | ReferredDocumentType4 | |
Nb | 0..1 | Max35Text | length 1–35 |
RltdDt | 0..1 | ISODate | |
LineDtls | 0..* | DocumentLineInformation1 |
ReferredDocumentType3Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | DocumentType6Code | 16 codes |
Prtry | 1..1 | Max35Text | length 1–35 |
ReferredDocumentType4#
| Element | Card. | Type | Constraints |
|---|---|---|---|
CdOrPrtry | 1..1 | ReferredDocumentType3Choice | |
Issr | 0..1 | Max35Text | length 1–35 |
RegulatoryAuthority2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Nm | 0..1 | Max140Text | length 1–140 |
Ctry | 0..1 | CountryCode | pattern [A-Z]{2,2} |
RegulatoryReporting3#
| Element | Card. | Type | Constraints |
|---|---|---|---|
DbtCdtRptgInd | 0..1 | RegulatoryReportingType1Code | 3 codes |
Authrty | 0..1 | RegulatoryAuthority2 | |
Dtls | 0..* | StructuredRegulatoryReporting3 |
RemittanceAmount2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
DuePyblAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
DscntApldAmt | 0..* | DiscountAmountAndType1 | |
CdtNoteAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
TaxAmt | 0..* | TaxAmountAndType1 | |
AdjstmntAmtAndRsn | 0..* | DocumentAdjustment1 | |
RmtdAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount |
RemittanceAmount3#
| Element | Card. | Type | Constraints |
|---|---|---|---|
DuePyblAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
DscntApldAmt | 0..* | DiscountAmountAndType1 | |
CdtNoteAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
TaxAmt | 0..* | TaxAmountAndType1 | |
AdjstmntAmtAndRsn | 0..* | DocumentAdjustment1 | |
RmtdAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount |
RemittanceInformation16#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Ustrd | 0..* | Max140Text | length 1–140 |
Strd | 0..* | StructuredRemittanceInformation16 |
RemittanceLocation7#
| Element | Card. | Type | Constraints |
|---|---|---|---|
RmtId | 0..1 | Max35Text | length 1–35 |
RmtLctnDtls | 0..* | RemittanceLocationData1 |
RemittanceLocationData1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Mtd | 1..1 | RemittanceLocationMethod2Code | 6 codes |
ElctrncAdr | 0..1 | Max2048Text | length 1–2048 |
PstlAdr | 0..1 | NameAndAddress16 |
ServiceLevel8Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalServiceLevel1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
StructuredRegulatoryReporting3#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | Max35Text | length 1–35 |
Dt | 0..1 | ISODate | |
Ctry | 0..1 | CountryCode | pattern [A-Z]{2,2} |
Cd | 0..1 | Max10Text | length 1–10 |
Amt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
Inf | 0..* | Max35Text | length 1–35 |
StructuredRemittanceInformation16#
| Element | Card. | Type | Constraints |
|---|---|---|---|
RfrdDocInf | 0..* | ReferredDocumentInformation7 | |
RfrdDocAmt | 0..1 | RemittanceAmount2 | |
CdtrRefInf | 0..1 | CreditorReferenceInformation2 | |
Invcr | 0..1 | PartyIdentification135 | |
Invcee | 0..1 | PartyIdentification135 | |
TaxRmt | 0..1 | TaxInformation7 | |
GrnshmtRmt | 0..1 | Garnishment3 | |
AddtlRmtInf | 0..3 | Max140Text | length 1–140 |
SupplementaryData1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
PlcAndNm | 0..1 | Max350Text | length 1–350 |
Envlp | 1..1 | SupplementaryDataEnvelope1 |
TaxAmount2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Rate | 0..1 | PercentageRate | 10 decimals max |
TaxblBaseAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
TtlAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
Dtls | 0..* | TaxRecordDetails2 |
TaxAmountAndType1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | TaxAmountType1Choice | |
Amt | 1..1 | ActiveOrHistoricCurrencyAndAmount |
TaxAmountType1Choice (choice: supply one)#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cd | 1..1 | ExternalTaxAmountType1Code | length 1–4 |
Prtry | 1..1 | Max35Text | length 1–35 |
TaxAuthorisation1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Titl | 0..1 | Max35Text | length 1–35 |
Nm | 0..1 | Max140Text | length 1–140 |
TaxInformation7#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cdtr | 0..1 | TaxParty1 | |
Dbtr | 0..1 | TaxParty2 | |
UltmtDbtr | 0..1 | TaxParty2 | |
AdmstnZone | 0..1 | Max35Text | length 1–35 |
RefNb | 0..1 | Max140Text | length 1–140 |
Mtd | 0..1 | Max35Text | length 1–35 |
TtlTaxblBaseAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
TtlTaxAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
Dt | 0..1 | ISODate | |
SeqNb | 0..1 | Number | 0 decimals max |
Rcrd | 0..* | TaxRecord2 |
TaxInformation8#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Cdtr | 0..1 | TaxParty1 | |
Dbtr | 0..1 | TaxParty2 | |
AdmstnZone | 0..1 | Max35Text | length 1–35 |
RefNb | 0..1 | Max140Text | length 1–140 |
Mtd | 0..1 | Max35Text | length 1–35 |
TtlTaxblBaseAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
TtlTaxAmt | 0..1 | ActiveOrHistoricCurrencyAndAmount | |
Dt | 0..1 | ISODate | |
SeqNb | 0..1 | Number | 0 decimals max |
Rcrd | 0..* | TaxRecord2 |
TaxParty1#
| Element | Card. | Type | Constraints |
|---|---|---|---|
TaxId | 0..1 | Max35Text | length 1–35 |
RegnId | 0..1 | Max35Text | length 1–35 |
TaxTp | 0..1 | Max35Text | length 1–35 |
TaxParty2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
TaxId | 0..1 | Max35Text | length 1–35 |
RegnId | 0..1 | Max35Text | length 1–35 |
TaxTp | 0..1 | Max35Text | length 1–35 |
Authstn | 0..1 | TaxAuthorisation1 |
TaxPeriod2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Yr | 0..1 | ISODate | |
Tp | 0..1 | TaxRecordPeriod1Code | 18 codes |
FrToDt | 0..1 | DatePeriod2 |
TaxRecord2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Tp | 0..1 | Max35Text | length 1–35 |
Ctgy | 0..1 | Max35Text | length 1–35 |
CtgyDtls | 0..1 | Max35Text | length 1–35 |
DbtrSts | 0..1 | Max35Text | length 1–35 |
CertId | 0..1 | Max35Text | length 1–35 |
FrmsCd | 0..1 | Max35Text | length 1–35 |
Prd | 0..1 | TaxPeriod2 | |
TaxAmt | 0..1 | TaxAmount2 | |
AddtlInf | 0..1 | Max140Text | length 1–140 |
TaxRecordDetails2#
| Element | Card. | Type | Constraints |
|---|---|---|---|
Prd | 0..1 | TaxPeriod2 | |
Amt | 1..1 | ActiveOrHistoricCurrencyAndAmount |
