@velocity-bpa/n8n-nodes-swift-messaging
v1.0.0
Published
n8n community node for SWIFT messaging operations including message validation, BIC directory lookups, and IBAN utilities
Readme
n8n-nodes-swift-messaging
[Velocity BPA Licensing Notice]
This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).
Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.
For licensing information, visit https://velobpa.com/licensing or contact [email protected].
A comprehensive n8n community node for SWIFT messaging operations, providing access to 3 core resources for international financial communications. Enables creation, validation, and parsing of SWIFT messages, BIC directory lookups, and IBAN utilities for seamless integration with banking workflows.
Features
- SWIFT Message Processing - Create, validate, parse, and format SWIFT MT and MX messages
- BIC Directory Access - Lookup and validate Bank Identifier Codes with comprehensive bank information
- IBAN Validation & Generation - Validate IBANs, calculate check digits, and extract bank details
- Multi-Format Support - Handle both legacy MT messages and modern ISO 20022 XML formats
- Real-time Validation - Comprehensive field validation and error checking for message integrity
- Batch Processing - Process multiple messages, BICs, or IBANs in a single operation
- Standards Compliance - Full compliance with SWIFT, ISO 13616, and ISO 20022 standards
- Error Reporting - Detailed error messages with specific field-level validation feedback
Installation
Community Nodes (Recommended)
- Open n8n
- Go to Settings → Community Nodes
- Click Install a community node
- Enter
n8n-nodes-swift-messaging - Click Install
Manual Installation
cd ~/.n8n
npm install n8n-nodes-swift-messagingDevelopment Installation
git clone https://github.com/Velocity-BPA/n8n-nodes-swift-messaging.git
cd n8n-nodes-swift-messaging
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-swift-messaging
n8n startCredentials Setup
| Field | Description | Required | |-------|-------------|----------| | API Key | SWIFT messaging service API key for authentication | Yes | | Environment | Service environment (sandbox/production) | Yes | | Endpoint URL | Custom API endpoint if using private SWIFT service | No |
Resources & Operations
1. Swift Message
| Operation | Description | |-----------|-------------| | Create | Generate new SWIFT MT or MX messages with specified parameters | | Parse | Parse incoming SWIFT messages and extract structured data | | Validate | Validate message format, fields, and compliance with SWIFT standards | | Format | Convert between MT and MX message formats | | Sign | Apply digital signatures to SWIFT messages | | Verify | Verify digital signatures and message integrity |
2. BIC Directory
| Operation | Description | |-----------|-------------| | Lookup | Search for bank information using BIC codes | | Validate | Validate BIC format and verify bank existence | | Search | Search banks by name, country, or city | | List | Retrieve list of BICs for a specific country or region | | Details | Get comprehensive bank details including addresses and services |
3. IBAN Utility
| Operation | Description | |-----------|-------------| | Validate | Validate IBAN format and check digit verification | | Generate | Generate IBAN from bank code and account number | | Parse | Extract bank code, branch code, and account details from IBAN | | Calculate Check Digits | Calculate and verify IBAN check digits | | Format | Format IBAN with proper spacing and structure | | Get Bank Info | Extract bank information from IBAN structure |
Usage Examples
// Create a SWIFT MT103 payment message
{
"messageType": "MT103",
"senderBIC": "DEUTDEFF",
"receiverBIC": "CHASUS33",
"amount": "1000.00",
"currency": "USD",
"debitAccount": "DE89370400440532013000",
"creditAccount": "US64SVBKUS6S3300958879",
"remittanceInfo": "Invoice payment INV-2024-001"
}// Validate and lookup BIC information
{
"bicCode": "DEUTDEFF",
"includeDetails": true,
"includeBranches": false
}// Validate IBAN and extract bank details
{
"iban": "DE89370400440532013000",
"validateChecksum": true,
"extractBankInfo": true,
"format": "electronic"
}// Parse incoming SWIFT message
{
"messageContent": ":20:FT21354FORWRD\n:23B:CRED\n:32A:211028USD1000,00\n:50K:/12345678901234567890\nJOHN DOE\n123 MAIN STREET\nNEW YORK NY 10001",
"messageFormat": "MT",
"validateFields": true,
"extractMetadata": true
}Error Handling
| Error | Description | Solution | |-------|-------------|----------| | Invalid BIC Format | BIC code doesn't match required 8 or 11 character format | Verify BIC follows format: 4-letter bank code + 2-letter country + 2-character location + optional 3-character branch | | IBAN Checksum Failure | IBAN check digits are invalid | Recalculate check digits or verify the account number and bank code | | Message Validation Error | SWIFT message fields fail validation rules | Check required fields, field lengths, and format specifications for the message type | | Authentication Failed | API key is invalid or expired | Verify API key credentials and check service subscription status | | Unsupported Message Type | Attempting to process unsupported SWIFT message format | Ensure message type is supported (MT103, MT202, etc.) and format is correct | | Rate Limit Exceeded | Too many API requests in timeframe | Implement retry logic with exponential backoff or reduce request frequency |
Development
npm install
npm run build
npm test
npm run lint
npm run devAuthor
Velocity BPA
- Website: velobpa.com
- GitHub: Velocity-BPA
Licensing
This n8n community node is licensed under the Business Source License 1.1.
Free Use
Permitted for personal, educational, research, and internal business use.
Commercial Use
Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.
For licensing inquiries: [email protected]
See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.
Contributing
Contributions are welcome! Please ensure:
- Code follows existing style conventions
- All tests pass (
npm test) - Linting passes (
npm run lint) - Documentation is updated for new features
- Commit messages are descriptive
Support
- Issues: GitHub Issues
- SWIFT Standards: SWIFT Documentation
- ISO 20022: ISO 20022 Standards
