MT196

Struct MT196 

Source
pub struct MT196 {
    pub field_20: Field20,
    pub field_21: Field21NoOption,
    pub field_76: Field76,
    pub field_77a: Option<Field77A>,
    pub field_11: Option<Field11>,
    pub field_79: Option<Field79>,
}
Expand description

MT196: Answers

§Purpose

Used to provide comprehensive answers and responses to various queries and requests related to customer payments and transactions. This flexible message format serves as the standard response mechanism for payment inquiries, cancellation requests, and status updates in the SWIFT payment ecosystem.

§Scope

This message is:

  • Used for responses to queries about payment status, cancellation requests, and transaction inquiries
  • Applicable for structured answers with detailed information and resolution status
  • Designed for flexible narrative content supporting various inquiry types
  • Compatible with automated and manual response generation systems
  • Subject to validation rules for proper reference tracking and response formatting
  • Integrated with customer service and payment processing workflow systems

§Key Features

  • Comprehensive Query Response: Structured response to various types of payment inquiries and requests
  • Reference Tracking System: Direct links to original query or request messages
  • Detailed Narrative Content: Field 76 for comprehensive explanatory information and answers
  • Status Resolution Information: Clear indication of query resolution and processing outcomes
  • Flexible Response Format: Adaptable to different types of customer payment inquiries and scenarios
  • Audit Trail Support: Complete documentation of inquiry resolution for compliance and tracking

§Common Use Cases

  • Response to MT192 cancellation requests with approval or rejection status
  • Status updates on payment processing and execution outcomes
  • Detailed inquiry responses about transaction details and processing steps
  • Error resolution and clarification messages for payment issues
  • Customer service communications for payment-related questions
  • Regulatory inquiry responses for compliance and audit purposes
  • Technical problem resolution and system status communications

§Message Structure

  • Field 20: Sender’s Reference (mandatory) - Unique reference for response message
  • Field 21: Related Reference (mandatory) - Reference to original query or request message
  • Field 76: Answers (mandatory) - Detailed response content and status information
  • Field 77A: Proprietary Message (optional) - Additional proprietary information for specific scenarios
  • Field 11: Message Type and Date (optional) - Reference to original message type and processing date
  • Field 79: Narrative (optional) - Additional explanatory text and detailed information

§Network Validation Rules

  • Reference Format Validation: Reference fields must not start/end with ‘/’ or contain ‘//’
  • Mutual Exclusivity: Field 79 and original message field copies cannot both be present
  • Field 11 Format: Field 11 must have proper format when present (minimum 8 characters)
  • Answer Content Validation: Field 76 must contain valid answer codes and non-empty content
  • Reference Consistency: All references must be consistent with original inquiry message
  • Response Completeness: All mandatory fields must be present with valid content
  • Format Compliance: All fields must comply with SWIFT format specifications

§SRG2025 Status

  • Structural Changes: None - MT196 format remains stable for answer and response processing
  • Validation Updates: Enhanced validation for response completeness and reference accuracy
  • Processing Improvements: Improved handling of automated response generation
  • Compliance Notes: Strengthened requirements for audit trail and regulatory response documentation

§Integration Considerations

  • Banking Systems: Compatible with customer service systems and payment processing platforms
  • API Integration: RESTful API support for modern digital banking response systems
  • Processing Requirements: Supports both automated and manual response generation workflows
  • Compliance Integration: Built-in validation for regulatory response requirements and documentation

§Relationship to Other Messages

  • Triggers: Directly triggered by MT192 cancellation requests and various payment inquiry messages
  • Responses: Provides definitive responses to inquiries, completing request-response workflows
  • Related: Works with payment messages, customer service systems, and audit platforms
  • Alternatives: Direct system notifications for internal processing status updates
  • Status Updates: Final response message in inquiry and request resolution lifecycle

Fields§

§field_20: Field20§field_21: Field21NoOption§field_76: Field76§field_77a: Option<Field77A>§field_11: Option<Field11>§field_79: Option<Field79>

Implementations§

Source§

impl MT196

Source

pub fn validate() -> &'static str

Get validation rules for this message type

Trait Implementations§

Source§

impl Clone for MT196

Source§

fn clone(&self) -> MT196

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MT196

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MT196

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for MT196

Source§

fn eq(&self, other: &MT196) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for MT196

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl SwiftMessageBody for MT196

Source§

fn message_type() -> &'static str

Get the message type identifier (e.g., “103”, “202”)
Source§

fn from_fields( fields: HashMap<String, Vec<(String, usize)>>, ) -> SwiftResult<Self>

Create from field map with sequential consumption tracking
Source§

fn from_fields_with_config( fields: HashMap<String, Vec<(String, usize)>>, config: &ParserConfig, ) -> Result<ParseResult<Self>, ParseError>

Create from field map with configuration for error collection
Source§

fn to_fields(&self) -> HashMap<String, Vec<String>>

Convert to field map
Source§

fn required_fields() -> Vec<&'static str>

Get required field tags for this message type
Source§

fn optional_fields() -> Vec<&'static str>

Get optional field tags for this message type
Source§

fn to_ordered_fields(&self) -> Vec<(String, String)>

Convert to ordered field list for MT serialization Returns fields in the correct sequence order for multi-sequence messages
Source§

impl StructuralPartialEq for MT196

Auto Trait Implementations§

§

impl Freeze for MT196

§

impl RefUnwindSafe for MT196

§

impl Send for MT196

§

impl Sync for MT196

§

impl Unpin for MT196

§

impl UnwindSafe for MT196

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Fake for T

Source§

fn fake<U>(&self) -> U
where Self: FakeBase<U>,

Source§

fn fake_with_rng<U, R>(&self, rng: &mut R) -> U
where R: Rng + ?Sized, Self: FakeBase<U>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,