Struct Field71A

Source
pub struct Field71A {
    pub details_of_charges: String,
}
Expand description

§Field 71A: Details of Charges

§Overview

Field 71A specifies who bears the charges in SWIFT payment messages. This field indicates the party responsible for paying the various fees and charges associated with the payment transaction, including correspondent banking fees, intermediary charges, and beneficiary bank charges. The charge allocation is crucial for cost transparency and proper payment processing in international transfers.

§Format Specification

Format: 3!a

  • 3!a: 3 alphabetic characters indicating charge bearer
  • Character set: Alphabetic characters only (A-Z)
  • Case: Typically uppercase

§Structure

OUR
│││
└┴┴─ Charge code (3 letters)

§Field Components

  • Charge Code: Three-letter code indicating charge responsibility
    • Must be exactly 3 alphabetic characters
    • Standard codes defined by SWIFT
    • Case-insensitive but typically uppercase

§Usage Context

Field 71A is used in:

  • MT103: Single Customer Credit Transfer
  • MT200: Financial Institution Transfer
  • MT202: General Financial Institution Transfer
  • MT202COV: Cover for customer credit transfer
  • MT205: Financial Institution Transfer for its own account

§Business Applications

  • Cost allocation: Determining who pays transaction fees
  • Pricing transparency: Clear fee responsibility indication
  • Correspondent banking: Managing charge arrangements
  • Customer agreements: Implementing charge policies
  • Regulatory compliance: Meeting charge disclosure requirements
  • Payment processing: Automated charge handling

§Standard Charge Codes

§BEN (Beneficiary)

  • Description: Beneficiary bears all charges
  • Usage: All fees deducted from payment amount
  • Impact: Beneficiary receives net amount after charges
  • Common in: Incoming payments, salary transfers

§OUR (Ordering Customer)

  • Description: Ordering customer bears all charges
  • Usage: All fees paid separately by sender
  • Impact: Beneficiary receives full payment amount
  • Common in: Commercial payments, urgent transfers

§SHA (Shared)

  • Description: Charges shared between parties
  • Usage: Sender pays sending charges, beneficiary pays receiving charges
  • Impact: Each party pays their respective bank’s fees
  • Common in: Standard international transfers

§Examples

:71A:OUR
└─── Ordering customer bears all charges

:71A:BEN
└─── Beneficiary bears all charges

:71A:SHA
└─── Charges shared between parties

§Charge Code Details

  • OUR: Ordering customer pays all charges

    • Sender bank charges: Paid by ordering customer
    • Correspondent charges: Paid by ordering customer
    • Beneficiary bank charges: Paid by ordering customer
    • Result: Beneficiary receives full amount
  • BEN: Beneficiary pays all charges

    • Sender bank charges: Deducted from payment
    • Correspondent charges: Deducted from payment
    • Beneficiary bank charges: Deducted from payment
    • Result: Beneficiary receives net amount
  • SHA: Shared charge arrangement

    • Sender bank charges: Paid by ordering customer
    • Correspondent charges: Typically shared or negotiated
    • Beneficiary bank charges: Paid by beneficiary
    • Result: Beneficiary receives amount minus receiving charges

§Validation Rules

  1. Length: Must be exactly 3 characters
  2. Character type: Alphabetic characters only
  3. Case: Case-insensitive but normalized to uppercase
  4. Standard codes: Should use recognized SWIFT codes
  5. Required field: Must be present in applicable message types

§Network Validated Rules (SWIFT Standards)

  • Must be exactly 3 alphabetic characters (Error: T15)
  • Must use valid charge code (Error: T71)
  • Code must be recognized by SWIFT network (Error: T72)
  • Field is mandatory in applicable messages (Error: M71)
  • Must be consistent with message type (Error: C71)

Fields§

§details_of_charges: String

Charge details code (3 characters)

Implementations§

Source§

impl Field71A

Source

pub fn new(details_of_charges: String) -> Self

Create a new Field71A with the given charge code

Source

pub fn charge_code(&self) -> &str

Get the charge code

Source

pub fn is_standard_code(&self) -> bool

Check if this is a standard charge code

Source

pub fn description(&self) -> &'static str

Get human-readable description of the charge code

Trait Implementations§

Source§

impl Clone for Field71A

Source§

fn clone(&self) -> Field71A

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 Field71A

Source§

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

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

impl<'de> Deserialize<'de> for Field71A

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 Field71A

Source§

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

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

impl PartialEq for Field71A

Source§

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

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 Field71A

Source§

fn parse(value: &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 StructuralPartialEq for Field71A

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>,