Struct Field55D

Source
pub struct Field55D {
    pub name_and_address: Vec<String>,
}
Expand description

§Field 55D: Third Reimbursement Institution (Option D)

§Overview

Field 55D identifies the third reimbursement institution using name and address information rather than a BIC code or party identifier. This option provides the most detailed identification method for the third institution in the reimbursement chain and is used when full institutional details are required for regulatory compliance, routing, or when other identification methods are not available or sufficient.

§Format Specification

Format: 4*35x

  • 4*35x: Up to 4 lines of name and address information
  • Line length: Maximum 35 characters per line
  • Character set: SWIFT character set (printable ASCII)
  • Content: Institution name, street address, city, postal code, country

§Structure

Line 1: Institution Name (required)
Line 2: Street Address/Building Number
Line 3: City, State/Province, Postal Code
Line 4: Country (recommended for international)

§Usage Context

Field 55D is used in:

  • MT202: General Financial Institution Transfer (when 55A/55B not applicable)
  • MT202COV: Cover for customer credit transfer
  • MT205: Financial Institution Transfer for its own account
  • MT103: Single Customer Credit Transfer (in complex routing)
  • MT200: Financial Institution Transfer

§Business Applications

  • Non-SWIFT institutions: Identifying institutions without BIC codes
  • Regulatory compliance: Providing complete address for compliance screening
  • Small institutions: Local banks, credit unions, or regional institutions
  • Enhanced due diligence: Meeting KYC requirements for reimbursement details
  • Sanctions screening: Enabling comprehensive name/address verification
  • Audit trails: Maintaining detailed third institution records
  • Complex routing: Facilitating multi-hop reimbursement arrangements
  • Regional networks: Supporting regional correspondent relationships

§Examples

:55D:THIRD REIMBURSEMENT BANK
456 REIMBURSEMENT STREET
LONDON EC1A 1BB
UNITED KINGDOM
└─── UK third reimbursement bank with full address

:55D:BANQUE REMBOURSEMENT TIERS
789 RUE DU COMMERCE
PARIS 75002 FRANCE
└─── French third reimbursement bank (3 lines)

:55D:COMMUNITY REIMBURSEMENT BANK
321 SETTLEMENT AVENUE
CHICAGO IL 60601
└─── US community bank (minimal address)

:55D:BANCO REEMBOLSO TERCERO
OFICINA PRINCIPAL
CALLE MAYOR 456
BARCELONA 08001 SPAIN
└─── Spanish third reimbursement bank with detailed address

§Address Format Guidelines

§Line 1: Institution Name (Required)

  • Full legal name of the third reimbursement institution
  • Include organizational form (Bank, Credit Union, Trust, etc.)
  • Avoid abbreviations when possible
  • Maximum 35 characters
  • Building number and street name
  • Suite/floor information if applicable
  • PO Box if street address not available
  • Maximum 35 characters
  • City name, state/province abbreviation
  • Postal code or ZIP code
  • Administrative district if required
  • Maximum 35 characters
  • Full country name (preferred) or ISO code
  • Required for international reimbursement relationships
  • Helps with routing and compliance screening
  • Maximum 35 characters

§Address Standards

  • Use standard postal abbreviations for states/provinces
  • Include postal/ZIP codes when available
  • Spell out country names in full when possible
  • Avoid special characters and diacritical marks
  • Follow local address formatting conventions
  • Ensure consistency with official institution records

§Reimbursement Chain Context

In multi-institution reimbursement chains:

  • Field 53A/B/D: Sender’s correspondent (first institution)
  • Field 54A/B/D: Receiver’s correspondent (second institution)
  • Field 55A/B/D: Third reimbursement institution (third institution)
  • Field 56A/C/D: Intermediary institution (fourth institution)
  • Field 57A/B/C/D: Account with institution (final institution)

§Validation Rules

  1. Minimum content: At least 1 line required
  2. Maximum lines: No more than 4 lines allowed
  3. Line length: Each line maximum 35 characters
  4. Character validation: Only printable ASCII characters
  5. Content requirement: Must contain meaningful institution information
  6. Line ordering: Institution name should be in first line

§Network Validated Rules (SWIFT Standards)

  • Minimum 1 line, maximum 4 lines allowed (Error: C55)
  • Each line cannot exceed 35 characters (Error: T14)
  • Characters must be from SWIFT character set (Error: T61)
  • Lines cannot be empty (Error: T11)
  • Must contain institution name in first line (Error: C56)
  • Field 55D alternative to 55A/55B (Error: C55)
  • Address should be verifiable institution address (Error: C57)
  • Institution must be in reimbursement chain (Error: C58)

Fields§

§name_and_address: Vec<String>

Name and address lines (up to 4 lines of 35 characters each)

Implementations§

Source§

impl Field55D

Source

pub fn new(name_and_address: Vec<String>) -> Result<Self, ParseError>

Create a new Field55D with validation

Source

pub fn from_string(content: impl Into<String>) -> Result<Self, ParseError>

Create from a single string, splitting on newlines

Source

pub fn name_and_address(&self) -> &[String]

Get the name and address lines

Source

pub fn line_count(&self) -> usize

Get the number of lines

Source

pub fn line(&self, index: usize) -> Option<&str>

Get a specific line by index

Source

pub fn add_line(&mut self, line: String) -> Result<(), ParseError>

Add a line of name/address information

Source

pub fn description(&self) -> String

Get human-readable description

Trait Implementations§

Source§

impl Clone for Field55D

Source§

fn clone(&self) -> Field55D

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 Field55D

Source§

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

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

impl<'de> Deserialize<'de> for Field55D

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 Display for Field55D

Source§

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

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

impl PartialEq for Field55D

Source§

fn eq(&self, other: &Field55D) -> 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 Field55D

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 SwiftField for Field55D

Source§

fn parse(content: &str) -> Result<Self>

Parse field value from string representation
Source§

fn to_swift_string(&self) -> String

Convert field back to SWIFT string format
Source§

fn validate(&self) -> ValidationResult

Validate field according to SWIFT format rules
Source§

fn format_spec() -> &'static str

Get field format specification
Source§

impl Eq for Field55D

Source§

impl StructuralPartialEq for Field55D

Auto Trait Implementations§

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> 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> 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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,