Parsing sender - transaction references
The sender’s transaction reference may appear in field 21 of the SWIFT message or may appear in the body of the message preceded by a string such as “OUR REF:”. The reference format is unknown and unpredictable and so cannot be located based upon a pattern. Instead, the preceding string (such as OUR REF:) is located and the next token extracted and passed to the manipulation and validation steps.
Locate
The parser recognizes the following strings or phrases that may precede a Sender’s
Transaction reference:OUR REF OUR REF. OUR REF: OUR TRN OUR TRN. OUR TRN: OUR REFERENCE OUR REFERENCE. OUR REFERENCE: OUR PAYMENT TRN OUR PAYMENT TRN. OUR PAYMENT TRN: OUR PAYMENT REF OUR PAYMENT REF. OUR PAYMENT REF: OUR PAYMENT REFERENCE OUR PAYMENT REFERENCE. OUR PAYMENT REFERENCE: OUR MT103REF OUR MT103REF. OUR MT103REF: OUR MT202REF OUR MT202REF. OUR MT202REF: OUR MT103TRN OUR MT103TRN. OUR MT103TRN: OUR MT202TRN OUR MT202TRN. OUR MT202TRN: OUR MT103REFERENCE OUR MT103REFERENCE. OUR MT103REFERENCE: OUR MT202REFERENCE OUR MT202REFERENCE. OUR MT202REFERENCE: OUR P/OTRN OUR P/OTRN. OUR P/OTRN: OUR P/OREF OUR P/OREF. OUR P/OREF: OUR P/OREFERENCE OUR P/OREFERENCE. OUR P/OREFERENCE: OUR SWIFTP/O TRN OUR SWIFTP/O TRN. OUR SWIFTP/O TRN: OUR SWIFTP/O REF OUR SWIFTP/O REF. OUR SWIFTP/O REF: OUR SWIFTP/O REFERENCE OUR SWIFTP/O REFERENCE. OUR SWIFTP/O REFERENCE: OUR SWIFTMT103 REF OUR SWIFTMT103 REF. OUR SWIFTMT103 REF: OUR SWIFTMT202 REF OUR SWIFTMT202 REF. OUR SWIFTMT202 REF: OUR SWIFTMT103 TRN OUR SWIFTMT103 TRN. OUR SWIFTMT103 TRN: OUR SWIFTMT202 TRN OUR SWIFTMT202 TRN. OUR SWIFTMT202 TRN: OUR SWIFTMT103 REFERENCE OUR SWIFTMT103 REFERENCE. OUR SWIFTMT103 REFERENCE: OUR SWIFTMT202 REFERENCE OUR SWIFTMT202 REFERENCE. OUR SWIFTMT202 REFERENCE:
If found, the parser extracts the string of characters that follows, up to the next white space.
Manipulate/TranslateStep
May select from any of the translate options.
Validate Step
May reference a WHEN block.
Map/Output Step
If the Test/Validate step returns TRUE, or no test/validate step is used and data has been successfully located, the output is saved as a property.
Previous topic Parsing receiver - transaction references Next topic Parsing IMADs