Expand description
§SWIFT Message Headers and Trailers
§Purpose
Comprehensive header and trailer structures for SWIFT MT messages, implementing the complete SWIFT FIN block structure including Basic Header (Block 1), Application Header (Block 2), User Header (Block 3), and Trailer (Block 5).
§Block Structure
- Block 1: Basic Header - Sender identification and routing information
- Block 2: Application Header - Message type and delivery information
- Block 3: User Header - Optional user-defined fields and references
- Block 5: Trailer - Optional authentication and delivery confirmation
§Features
- Complete SWIFT Compliance: Follows SWIFT User Handbook specifications
- Type-Safe Parsing: Strongly-typed header structures with validation
- Authentication Support: MAC and authentication key handling
- Sample Generation: Realistic header generation for testing
- Network Validation: BIC validation and routing verification
Structs§
- Application
Header - Application Header (Block 2): Message Type and Routing Information
- Balance
Checkpoint - Balance checkpoint structure for Tag 423
- Basic
Header - Basic Header (Block 1): SWIFT Message Identification and Routing
- Message
Input Reference - Message Input Reference structure for Tag 106
- Message
Output Reference - Message Output Reference structure (similar to MIR but for output)
- Message
Reference - Message Reference structure for MRF tag
- Payment
Controls Info - Payment controls information structure for Tag 434
- Payment
Release Info - Payment release information structure for Tag 165
- Possible
Duplicate Emission - Possible Duplicate Emission structure for PDE tag
- Possible
Duplicate Message - Possible Duplicate Message structure for PDM tag
- Sanctions
Screening Info - Sanctions screening information structure for Tag 433
- System
Originated Message - System Originated Message structure for SYS tag
- Trailer
- Trailer (Block 5): Message Security and Control Information
- User
Header - User Header (Block 3): Extended Service Options and Controls