pub struct Field62F {
pub debit_credit_mark: String,
pub value_date: NaiveDate,
pub currency: String,
pub amount: f64,
}
Expand description
Field 62: Closing Balance
§Purpose
Specifies the closing balance of an account in customer statement messages (MT 940) and other cash management contexts. This field represents the final balance position after processing all transactions within the statement period. Essential for account balance verification, reconciliation, and cash management reporting.
§Format Options Overview
- Option F: Final closing balance - balance at statement end
- Option M: Intermediate closing balance - balance at sequence break
§Business Context Applications
- Customer Statements: Closing balance for MT 940 Customer Statement Message
- Cash Management: Final balance position for period
- Account Reconciliation: End position for balance verification
- Sequence Processing: Balance handoff between 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 Continuity: Must align with opening balance plus transactions
§Balance Calculation Logic
§Closing Balance Formula
Closing Balance = Opening Balance (Field 60) + Sum of Statement Lines (Field 61)
§Balance Types
- Final Balance (F): Balance at end of complete statement period
- Intermediate Balance (M): Balance at sequence break within statement
- Verification: Mathematical verification against transaction totals
- Continuity: Becomes opening balance for next period
§Statement Processing Integration
- MT 940 Component: Essential element of customer statement messages
- Transaction Summary: Reflects cumulative effect of all statement transactions
- Period Closure: Defines end of statement period
- Reconciliation: Enables customer balance reconciliation
§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
- Balance Verification: Confirm closing balance equals opening plus transactions
- Date Consistency: Ensure value date aligns with statement period
- Currency Matching: Verify currency matches account and transaction currency
- Precision Validation: Confirm amount precision meets currency standards
§Related Fields Integration
- Field 60: Opening Balance (period starting point)
- Field 61: Statement Line (individual transactions)
- 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 closing balance documentation
- Customer Communication: Clear final balance communication
- Reconciliation Standards: Foundation for account reconciliation
§Cash Management Applications
- Liquidity Management: Final position for liquidity planning
- Cash Forecasting: Input for cash flow forecasting
- Risk Management: Position assessment for risk management
- Performance Reporting: Balance reporting for performance analysis
§See Also
-
Swift FIN User Handbook: Closing Balance Specifications
-
MT 940 Message Standards: Customer Statement Message
-
Cash Management Guidelines: Balance Processing Standards
-
Account Statement Requirements: Regional Banking Standards
Field 62F: Final Closing Balance
Final closing balance at the end of a complete statement period. Represents the definitive account position after all transactions.
Fields§
§debit_credit_mark: String
Debit or Credit mark
Format: 1!a - ‘D’ (Debit) or ‘C’ (Credit) Indicates whether the closing balance is a debit or credit position
value_date: NaiveDate
Value date of the closing balance
Format: 6!n (YYMMDD) - Date when balance is effective Typically the last business day of the statement period
currency: String
Currency of the balance
Format: 3!a - ISO 4217 currency code (USD, EUR, GBP, etc.) Must match account currency and opening balance currency
amount: f64
Final closing balance amount
Format: 15d - Decimal amount with comma separator Result of opening balance plus all statement line transactions
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field62F
impl<'de> Deserialize<'de> for Field62F
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl SwiftField for Field62F
impl SwiftField for Field62F
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
impl StructuralPartialEq for Field62F
Auto Trait Implementations§
impl Freeze for Field62F
impl RefUnwindSafe for Field62F
impl Send for Field62F
impl Sync for Field62F
impl Unpin for Field62F
impl UnwindSafe for Field62F
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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