LMF Header

Specific information and usage requirements (for example, mandatory, optional, not used, etc.) specific to mapping SWIFTNet messages into the LMF are given for each header attribute.

The attributes are shown in the order in which they appear in the LMF header.
Attribute Description
LMFType This specifies the LMF message type for the SWIFTNet message being mapped in. A restriction list of valid values is provided in the LMF; the valid values are listed in the LMFType attributes table. See LMFType attributes
version

Set to =NONE. A valid version must be specified for this attribute to indicate the LMF version of the message. However, for ease of maintaining backward compatibility of LMF versions, a type tree syntax object is used to generate/validate this attribute. By default, the value for the current LMF version will be generated when mapping to LMF.

direction Mandatory for SWIFT. Specifies the processing direction for the logical message. Therefore, the value must be O to signify an outbound message (from internal applications to be sent outside the organization). This will actually create a SWIFT inbound message. For messages received from the SWIFT network, this value will be I.
sndaddr

Mandatory for SWIFT. Specifies the LT address for the sender of the message. For messages received from SWIFT this will be populated by the Sender's LT.

rcvaddr

Mandatory for SWIFT. Specifies the address/identifier (typically a BIC) for the receiver of the message. This may be an 8, 11 or 12 character BIC. For messages received from SWIFTNet this will contain the LT of the receiver.

function

Optional for SWIFT. Specifies the function/reason for the logical message. A restriction list with valid values is provided in the LMF type tree. The value must be equal to the datafield function in the Msgfunct class if it is mapped to the LMF (for example, 22A in MT 300). If a Msgfunct class is not mapped to the LMF (e.g. MT 103), the value is normally set to NEWM, but you are free to choose any other value so long as it is in the restriction list.

Subfunction

Optional for SWIFT. Specifies the subfunction for the logical message. A restriction list with valid values is provided in the LMF type tree. The value must be equal to the datafield subfunction in the Msgfunct class if it is mapped to the LMF (e.g. 94A in MT300).

msgtype Mandatory for SWIFT. The value varies according to the SWIFT message type. See LMFType attributes
userref Optional for SWIFT. Specifies any user reference material in the SWIFT User Header Block 3. Contains tags 103, 113, 108, 119, 115, 423, 106, 424, 111, 165 and 433, in that order, delimited by ^. See the SWIFT User Handbook for full definitions of these tags.
headertext

Optional for SWIFT.
Specifies other header information. For messages sent to SWIFT (Input Messages), the value is set to:
[[Priority Block]^[Delivery Monitoring Code]^[Obsolescence Period Code]^^^[Session Number]^[Sequence Number]

For messages received from SWIFT (Output Messages), the value is set to:
[Input Time]^[MIR]^[Output Date]^[Output Time]^[Priority Block]^[Session Number]^[Sequence Number]

priority

Mandatory for SWIFT. Specifies the priority of the SWIFT message. Valid values are "N" (Normal) or "U" (Urgent).

Deliverymonitoring

Mandatory for SWIFT. Specifies the priority of the SWIFT message. Valid values are "N" (Normal) or "U" (Urgent).