- Knowledgebase
- ISO 20022 Messages
- ISO 20022 business rules
-
Glossary
-
XML / ISO 20022 Standard
-
ISO 20022 Messages
-
XML Schema
- Miscellaneous
- Attribute
- Closing Tag
- Comment
- Content
- Cvc-complex-type
- Cvc-elt
- Cvc-id
- Cvc-identity-constraint
- Cvc-minexclusive-valid
- Cvc-mininclusive-valid
- Cvc-type
- Cvc-totaldigits-valid
- Cvc-attribute
- Cvc-datatype-valid
- Maximum Length
- Cvc-enumeration-valid
- Cvc-fractiondigits-valid
- Cvc-length-valid
- Cvc-maxexclusive-valid
- Cvc-maxinclusive-valid
- Cvc-maxlength-valid
- Cvc-minlength-valid
- Cvc-pattern-valid
- Element Value
- Encoding
- Length
- Mandatory element
- Missing
- Missing Tag
- Missing Child Element
- MIXD
- Root
- Unsupported Characters
- UTF-8
- Value
- Wrong Declaration
-
EPC SEPA
-
CGI-MP
-
US ACH (Nacha)
-
SWIFT MT
-
Finvoice
-
Bank-Specific
-
XMLdation Service Guides
-
Studio Guide
-
Simulator
NbOfTxs
ISO20022 describes NbOfTxs as an optional element which can be given in GrpdHdr and in PmtInf levels. When given in GrpdHdr it is used to indicate the total number transactions in the message. When given in PmtInf it is used to indicate the total number of transactions in the group.
(Bank specific rules may still apply to make either of the levels mandatory.)
Unless otherwise decided with the bank, the validator checks whether the amount of transactions matches with the amount given in NbOfTxs.
The following has valid NbOfTxs:
<GrpHdr>
<NbOfTxs>3</NbOfTxs>
</GrpHdr>
<PmtInf>
<NbOfTxs>1</NbOfTxs>
<CdtTrfTxInf>
<!---->
</CdtTrfTxInf>
</PmtInf>
<PmtInf>
<NbOfTxs>2</NbOfTxs>
<CdtTrfTxInf>
<!---->
</CdtTrfTxInf>
<CdtTrfTxInf>
<!---->
</CdtTrfTxInf>
</PmtInf>
(Various elements removed for the sake of the example)