Show/Hide TOC

MT 537 Network Validated Rules

C1 

In sequence A General Information, if the Activity Flag (field :17B::ACTI) indicates no information to be reported, that is, N, then sequence B Status and sequence C Transactions must not be present (Error code(s): E66).

If the Activity Flag (field :17B::ACTI) indicates that there is information to be reported, that is, Y and Statement Structure Type Indicator is per statuses (field :22H::STST//STAT), then sequence B Status is mandatory and sequence C Transactions is not allowed (Error code(s): E66).

If the Activity Flag (field :17B::ACTI) in sequence A General Information indicates that there is information to be reported, that is, Y and Statement Structure Type Indicator is per transactions (field :22H::STST//TRAN), then sequence B Status is not allowed and sequence C Transactions is mandatory (Error code(s): E66).

Sequence A
if field :17B::ACTI is ...
And sequence A
field :22H::STST is
Then sequence B is ... And sequence C is ...
N STAT Not allowed Not allowed
N TRAN Not allowed Not allowed
Y STAT Mandatory Not allowed
Y TRAN Not allowed Mandatory

C2 

If the instruction is against payment (:22H::PAYM//APMT) then it is mandatory to specify a posting amount (field :19A::PSTA). This rule applies to subsequence B2b and C2 (Error code(s): E83).

Subsequence B2b
if field :22H::PAYM is ...
Subsequence B2b
then field :19A::PSTA is ...
APMT Mandatory
Not equal to APMT Optional

Subsequence C2
if field :22H::PAYM is ...
Subsequence C2
then field :19A::PSTA is ...
APMT Mandatory
Not equal to APMT Optional

C3 

The following party fields cannot appear more than once in the same occurrence of subsequence B2b (Error code(s): E84):

Subsequence B2b1

:95a::BUYR

:95a::DEAG

:95a::DECU

:95a::DEI1

:95a::DEI2

:95a::PSET

:95a::REAG

:95a::RECU

:95a::REI1

:95a::REI2

:95a::SELL

The following party fields cannot appear more than once in the same occurrence of subsequence C2 (Error code(s): E84):

Subsequence C2a

:95a::BUYR

:95a::DEAG

:95a::DECU

:95a::DEI1

:95a::DEI2

:95a::PSET

:95a::REAG

:95a::RECU

:95a::REI1

:95a::REI2

:95a::SELL

C4 

If the instruction is a delivery (:22H::REDE//DELI in subsequence B2b) and the Settlement Parties subsequence B2b1 is used, then it is mandatory to specify a receiving agent: one occurrence of Settlement Parties subsequence B2b1 must contain party field :95a::REAG (Error code(s): E85).

If the instruction is a receipt (:22H::REDE//RECE in subsequence B2b) and the Settlement Parties subsequence B2b1 is used, then it is mandatory to specify a delivering agent: one occurrence of Settlement Parties subsequence B2b1 must contain party field :95a::DEAG (Error code(s): E85).

Subsequence B2b
if field :22H::REDE is ...
And if subsequence B2b1 is ... Then in one occurrence of subsequence B2b1 field :95a::REAG is ...
DELI Present Mandatory

Subsequence B2b
if field :22H::REDE is ...
And if subsequence B2b1 is ... Then in one occurrence of subsequence B2b1 field :95a::DEAG is ...
RECE Present Mandatory

If the instruction is a delivery (:22H::REDE//DELI in subsequence C2) and the Settlement Parties subsequence C2a is used, then it is mandatory to specify a receiving agent: one occurrence of Settlement Parties subsequence C2a must contain party field :95a::REAG (Error code(s): E85).

If the instruction is a receipt (:22H::REDE//RECE in subsequence C2) and the Settlement Parties subsequence C2a is used, then it is mandatory to specify a delivering agent: one occurrence of Settlement Parties subsequence C2a must contain party field :95a::DEAG (Error code(s): E85).

Subsequence C2
if field :22H::REDE is ...
And if subsequence C2a is ... Then in one occurrence of subsequence C2a field :95a::REAG is ...
DELI Present Mandatory

Subsequence C2
if field :22H::REDE is ...
And if subsequence C2a is ... Then in one occurrence of subsequence C2a field :95a::DEAG is ...
RECE Present Mandatory

C5 

If subsequence B2b is present: if a qualifier from the list Deliverers is present in a subsequence B2b1, in a field :95a::4!c, then all the remaining qualifiers following this qualifier in the list Deliverers (see below) must be present (Error code(s): E86).

In other words, in subsequence B2b1, the following scenarios must be validated:

If a qualifier from the list Receivers is present in a subsequence B2b1, in a field :95a::4!c, then all the remaining qualifiers following this qualifier in the list Receivers (see below) must be present.

In other words, in subsequence B2b1, the following scenarios must be validated:

If subsequence C2 is present: if a qualifier from the list Deliverers is present in a subsequence C2a, in a field :95a::4!c, then all the remaining qualifiers following this qualifier in the list Deliverers (see below) must be present (Error code(s): E86).

In other words, in subsequence C2, the following scenarios must be validated:

If a qualifier from the list Receivers is present in a subsequence C2a, in a field :95a::4!c, then all the remaining qualifiers following this qualifier in the list Receivers (see below) must be present.

In other words, in subsequence C2, the following scenarios must be validated:

Deliverers   Receivers  
DEI2 Deliverer's Intermediary 2 REI2 Receiver's Intermediary 2
DEI1 Deliverer's Intermediary 1 REI1 Receiver's Intermediary 1
DECU Deliverer's Custodian RECU Receiver's Custodian
SELL Seller (Deliverer) BUYR Buyer (Receiver)

C6 

If the message is a cancellation, that is, Function of the Message (field 23G) is CANC, then subsequence A1 (Linkages) must be present at least once in the message, and in one and only one occurrence of A1, field :20C::PREV must be present; consequently, in all other occurrences of A1, field :20C::PREV is not allowed (Error code(s): E08).

Sequence A
if field :23G: is ...
Then subsequence A1 is ... And field :20C::PREV is ...
CANC Mandatory (minimum one occurrence of A1 must be present) Mandatory in one occurrence of subsequence A1, and not allowed in all other occurrences of subsequence A1
NEWM Optional Not applicable

C7 

In subsequence B2b1, if field :95a::PSET is present, then field :97a::SAFE is not allowed in the same sequence .(Error code(s): E52).

Subsequence B2b1
if field :95a::PSET is ...
Subsequence B2b1
then field :97a::SAFE is ...
Present Not allowed within the same occurrence
Not present Optional

In subsequence C2a, if field :95a::PSET is present, then field :97a::SAFE is not allowed in the same sequence .(Error code(s): E52).

Subsequence C2a
if field :95a::PSET is ...
Subsequence C2a
then field :97a::SAFE is ...
Present Not allowed within the same occurrence
Not present Optional

C8 

Within each occurrence of subsequence B1, the qualifier in field 24B must be the same as the code word (Status Code) used with the appropriate qualifier in field 25D of its surrounding sequence B (Error code(s): E37).

In each occurrence of sequence B Status
In each occurrence of subsequence B1 Reason (if present)
if field :24B:: is ...
Then in sequence B Status
field :25D:: must be ...   (1) 
:24B::CAND :25D::IPRC//CAND
:24B::CANP :25D::IPRC//CANP
:24B::CGEN :25D::IPRC//CGEN
:24B::PACK :25D::IPRC//PACK
:24B::NMAT :25D::MTCH//NMAT
:25D::INMH//NMAT
:24B::PEND :25D::SETT//PEND
:24B::PENF :25D::SETT//PENF
:24B::REPR :25D::IPRC//REPR
:24B::PPRC :25D::IPRC//PPRC

(1)   if the Data Source Scheme is present in field :25D:: then the conditional rule does not apply.

Within each occurrence of subsequence C3a Reason, the qualifier in field 24B must be the same as the code word (Status Code) used with the appropriate qualifier in field 25D of its surrounding subsequence C3 Status (Error code(s): E37).

In each occurrence of subsequence C3 Status
In each occurrence of subsequence C3a Reason (if present)
if field :24B:: is ...
Then in subsequence C3 Status
field :25D:: must be ...   (2) 
:24B::CAND :25D::IPRC//CAND
:24B::CANP :25D::IPRC//CANP
:24B::CGEN :25D::IPRC//CGEN
:24B::PACK :25D::IPRC//PACK
:24B::NMAT :25D::MTCH//NMAT
:25D::INMH//NMAT
:24B::PEND :25D::SETT//PEND
:24B::PENF :25D::SETT//PENF
:24B::REPR :25D::IPRC//REPR
:24B::PPRC :25D::IPRC//PPRC

(2)   if the Data Source Scheme is present in field :25D:: then the conditional rule does not apply.

C9 

In each occurrence of subsequence B2b, field :36B::PSTA cannot appear more than twice (maximum two occurrences). When repeated, one occurrence must have Quantity Type Code FAMT and the other occurrence must have Quantity Type Code AMOR (Error code(s): C71).

Sequence B2b
if field :36B::PSTA is ...
Then one occurrence of :36B::PSTA must be ... And the other occurrence of :36B::PSTA must be ...
Repeated :36B::PSTA//FAMT :36B::PSTA//AMOR
Not repeated Not applicable Not applicable

In each occurrence of subsequence C2, field :36B::PSTA cannot appear more than twice (maximum two occurrences). When repeated, one occurrence must have Quantity Type Code FAMT and the other occurrence must have Quantity Type Code AMOR (Error code(s): C72).

Sequence C2
if field :36B::PSTA is ...
Then one occurrence of :36B::PSTA must be ... And the other occurrence of :36B::PSTA must be ...
Repeated :36B::PSTA//FAMT :36B::PSTA//AMOR
Not repeated Not applicable Not applicable

C10 

A reference to the previously received message must be specified for each transaction reported, that is in each occurrence of subsequence B2 Transaction, field :20C::RELA must be present in one and only one occurrence of subsequence B2a Linkages; field :20C::RELA is not allowed in all other occurrences of subsequence B2a (Error code(s): C73).

A reference to the previously received message must be specified for each transaction reported, that is in each occurrence of sequence C Transaction, field :20C::RELA must be present in one and only one occurrence of subsequence C1 Linkages; field :20C::RELA is not allowed in all other occurrences of subsequence C1 (Error code(s): C74).

C11 

In sequence A, if field :95L::ALTE is present, then field :95a::ACOW must be present (Error code(s): E98).

C12 

In subsequence B2b, field :94a::CLEA must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::CLEA) (Error code(s): E99).

In subsequence B2b, field :94a::SAFE must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::SAFE) (Error code(s): E99).

In subsequence B2b, field :94a::TRAD must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::TRAD) (Error code(s): E99).

In subsequence C2, field :94a::CLEA must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::CLEA) (Error code(s): E99).

In subsequence C2, field :94a::SAFE must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::SAFE) (Error code(s): E99).

In subsequence C2, field :94a::TRAD must not be present more than twice. When repeated, one and only one occurrence must be with format option L (:94L::TRAD) (Error code(s): E99).