Field60F

Struct Field60F 

Source
pub struct Field60F {
    pub debit_credit_mark: String,
    pub value_date: NaiveDate,
    pub currency: String,
    pub amount: f64,
}
Expand description

Field 60: Opening Balance

§Purpose

Specifies the opening balance of an account in customer statement messages (MT 940) and other cash management contexts. This field establishes the starting position for account balance calculations and provides the foundation for statement processing and account reconciliation. Essential for cash management and account monitoring.

§Format Options Overview

  • Option F: First opening balance - initial balance at statement start
  • Option M: Intermediate opening balance - balance after sequence breaks

§Business Context Applications

  • Customer Statements: Opening balance for MT 940 Customer Statement Message
  • Cash Management: Starting position for balance calculations
  • Account Reconciliation: Foundation for account balance verification
  • Sequence Processing: Balance continuation across statement sequences

§Network Validation Requirements

  • Date Validation: Value date must be valid calendar date
  • Currency Validation: Must be valid ISO 4217 currency code
  • Amount Format: Decimal amount with proper precision
  • Mark Validation: Debit/Credit mark must be D (Debit) or C (Credit)

§Balance Calculation Context

§Opening Balance Logic

  • First Balance (F): Initial balance at beginning of statement period
  • Intermediate Balance (M): Balance at sequence break within statement
  • Continuity: Ensures balance continuity across statement processing
  • Verification: Enables balance verification and reconciliation

§Statement Processing

  • MT 940 Integration: Core component of customer statement messages
  • Sequence Management: Handles statement sequence breaks
  • Balance Chain: Links to statement lines (Field 61) and closing balance (Field 62)
  • Period Definition: Establishes statement period starting point

§Regional Considerations

  • European Banking: SEPA statement requirements and Euro processing
  • US Banking: Federal Reserve and commercial bank statement standards
  • Asian Markets: Local banking statement requirements
  • Cross-Border: Multi-currency account statement processing

§Error Prevention Guidelines

  • Date Verification: Confirm value date is within acceptable range
  • Currency Consistency: Ensure currency matches account currency
  • Amount Precision: Verify amount precision matches currency requirements
  • Mark Validation: Confirm debit/credit mark is appropriate
  • Field 61: Statement Line (transaction details)
  • Field 62: Closing Balance (ending balance)
  • Field 64: Closing Available Balance (available funds)
  • Field 65: Forward Available Balance (future availability)

§Compliance Framework

  • Banking Regulations: Compliance with local banking statement requirements
  • Audit Documentation: Proper balance documentation for audit trails
  • Customer Communication: Clear balance communication to account holders
  • Reconciliation Support: Foundation for account reconciliation processes

§See Also

  • Swift FIN User Handbook: Opening Balance Specifications

  • MT 940 Message Standards: Customer Statement Message

  • Cash Management Guidelines: Balance Processing Standards

  • Account Statement Requirements: Regional Banking Standards

    Field 60F: First Opening Balance

Initial opening balance at the beginning of a statement period. Used when starting a new statement or account balance sequence.

Fields§

§debit_credit_mark: String

Debit or Credit mark

Format: 1!a - ‘D’ (Debit) or ‘C’ (Credit) Indicates whether the opening balance is a debit or credit position

§value_date: NaiveDate

Value date of the opening balance

Format: 6!n (YYMMDD) - Date when balance is effective Must be valid calendar date within acceptable range

§currency: String

Currency of the balance

Format: 3!a - ISO 4217 currency code (USD, EUR, GBP, etc.) Must match account currency for consistency

§amount: f64

Opening balance amount

Format: 15d - Decimal amount with comma separator Precision must match currency requirements

Trait Implementations§

Source§

impl Clone for Field60F

Source§

fn clone(&self) -> Field60F

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 Field60F

Source§

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

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

impl<'de> Deserialize<'de> for Field60F

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 Field60F

Source§

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

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 Field60F

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 format_spec() -> &'static str

Get field format specification
Source§

fn parse_with_variant( value: &str, _variant: Option<&str>, _field_tag: Option<&str>, ) -> Result<Self>
where Self: Sized,

Parse field value with variant hint for enum fields Default implementation falls back to regular parse
Source§

fn valid_variants() -> Option<Vec<&'static str>>

Get valid variant letters for enum fields Returns None for non-enum fields, Some(vec) for enum fields
Source§

impl StructuralPartialEq for Field60F

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