Excellent outcome. Let me provide comprehensive guidance on all three aspects of your MT940 import challenge:
MT940 File Import Process:
CloudSuite Cash Management processes SWIFT MT940 bank statements through a structured parsing pipeline. The system reads the file, validates the overall structure against MT940 specifications, parses each statement block (beginning balance, transactions, ending balance), extracts transaction details from field 86, and then matches transactions to open items for reconciliation.
Your import was failing at the field 86 parsing stage because the parser encountered subfield delimiters it wasn’t configured to handle. The import process is intentionally strict - if it can’t parse transaction details correctly, it rejects the entire file rather than risk importing incomplete or incorrect data that would compromise cash reconciliation accuracy.
Unexpected File Format Error:
The “unexpected file format” error in this case was somewhat misleading. The file format was still valid MT940, but it used SEPA extensions that your import configuration wasn’t expecting. Specifically, your bank added these SEPA subfields to field 86:
/EREF/ = End-to-end reference (unique transaction identifier)
/KREF/ = Customer reference
/MREF/ = Mandate reference (for direct debits)
/SVWZ/ = SEPA purpose code
The standard MT940 parser in CloudSuite expects field 86 to contain unstructured text or simple key-value pairs. When it encountered the SEPA subfield delimiters (forward slashes), it couldn’t parse the structure correctly and rejected the file. The error message was generic because the parser detected structural elements it didn’t recognize, which it classified as “unexpected format.”
Bank Output Format Mismatch Resolution:
Here’s the complete solution for handling SEPA-extended MT940 files:
Step 1: Update Import Configuration
Navigate to Cash Management > Bank Statement Import > Import Templates
Select your bank’s MT940 template
In the Field 86 Configuration section:
- Change Parser Type from ‘Standard MT940’ to ‘SEPA Extended MT940’
- Enable ‘Parse SEPA Subfields’
- Add subfield mappings:
- /EREF/ → Transaction Reference ID
- /KREF/ → Customer Reference
- /MREF/ → Mandate Reference
- /SVWZ/ → Payment Purpose
- /ABWA/ → Deviant Originator (if used by your bank)
Save the template configuration.
Step 2: Field Mapping
The SEPA subfields contain valuable reconciliation data. Map them to CloudSuite fields:
- /EREF/ should map to the Transaction Reference field in cash management - this provides unique identifiers for matching payments to invoices
- /KREF/ can map to Customer Reference or a custom field for tracking customer-provided payment references
- /MREF/ is critical for direct debit reconciliation - map it to the Mandate ID field if you process SEPA direct debits
- /SVWZ/ provides payment purpose text - map to the Transaction Description field
These mappings ensure all information from the bank statement is captured in CloudSuite for comprehensive reconciliation.
Step 3: Backward Compatibility
Your bank may continue sending SEPA-extended format going forward. To handle both old and new format files during any transition:
In the import template, enable ‘Allow Optional SEPA Subfields’
This setting makes the parser flexible - it will correctly process files with SEPA extensions but won’t fail if it encounters older files without them
This prevents future import failures if the bank sends mixed format files.
Step 4: Process Backlog
For your five days of failed imports:
- Go to Cash Management > Bank Statement Import > Failed Imports
- Select all failed imports from your bank (filter by Bank Code)
- Click ‘Reprocess with Updated Template’
- CloudSuite will re-import the files using your SEPA-extended parser configuration
- Verify the imports succeeded by checking Cash Management > Bank Transactions - you should see five days of transactions now loaded
- Run cash reconciliation for those dates to match the imported transactions
Step 5: Validation and Testing
Request sample files from your bank showing the full range of SEPA subfields they may include. Test your import configuration with these samples to ensure it handles all variations:
- Payments with /EREF/ only
- Direct debits with /EREF/, /MREF/, and /KREF/
- International transfers with additional SEPA fields like /ABWA/ (deviant originator)
This proactive testing prevents future import failures when the bank uses different SEPA subfield combinations.
Best Practice for Bank Format Changes:
Establish a notification protocol with your banking partners. Request that they provide:
- 30-day advance notice of any MT940 format changes
- Sample output files in the new format before go-live
- Documentation of any new fields or subfields being added
This allows you to update CloudSuite import configurations proactively rather than discovering format changes when live imports fail. Add this requirement to your bank service agreements if possible.
Also consider implementing import monitoring alerts in CloudSuite: set up a notification rule that triggers if bank statement imports fail for any bank account two days in a row. This provides early warning of format issues before they create significant reconciliation backlogs.