Conversion

Convert CAMT.053 to MT940 for Legacy Systems

Some ERP and treasury systems read only MT940, but your bank now sends CAMT.053. Convert the ISO 20022 XML to MT940 so the old system keeps importing statements.

6 min read
Updated 2026-08-06
By EasyBankConvert Team

TL;DR - Quick Summary

Since the ISO 20022 migration, many banks deliver statements as CAMT.053 XML, but plenty of ERP and treasury systems still read only the older MT940. Converting CAMT.053 to MT940 maps each XML transaction into MT940's tagged lines, so the legacy system keeps importing without a rewrite.

Why convert CAMT.053 down to MT940

The direction of travel is CAMT.053 replacing MT940: banks across the ISO 20022 migration now issue statements as CAMT.053 XML, and the old SWIFT MT940 is being phased out. But software moves slower than banks. Plenty of ERP, treasury, and accounting systems were built to import MT940 and read nothing else, so when the bank switches to CAMT.053 those systems suddenly have a file they cannot parse. Converting the CAMT.053 back down to MT940 is the pragmatic fix: it keeps the existing import working while you are still on a version that has not learned the XML format.

How the XML maps into MT940 tags

MT940 is a flat, tagged text format, and the conversion places each piece of the CAMT.053 XML into the matching tag. The transaction reference goes to tag 20, the account to tag 25, and the statement number to tag 28C. The opening balance becomes tag 60F and the closing balance tag 62F. Every entry in the XML becomes a tag 61 statement line carrying the date and amount, with the CAMT credit-or-debit indicator turned into the D or C mark that MT940 uses. The transaction's details follow in a tag 86 line beneath it.

What compresses in the downgrade

CAMT.053 carries far more per transaction than MT940 can hold: structured remittance information, a bank transaction code, debtor and creditor details, and purpose codes, each in its own named XML element. MT940's tag 86 is a single free-text field with a length limit, so that structured detail is condensed into it during conversion. The numbers that matter for reconciliation, dates, amounts, balances, and the debit or credit direction, carry over exactly; it is the richest counterparty and remittance context that gets flattened into text. For a system that only ever read MT940, that is the expected trade and does not affect the balancing.

Keeping balances and lines correct

A legacy parser is strict, so the MT940 has to be well-formed or the import rejects it. The opening balance in tag 60F, each tag 61 line, and the closing balance in tag 62F all have to tie out, and the statement number has to increment as the system expects. The conversion carries the balances straight from the CAMT.053 balance records and preserves each line's amount and direction, so the file the old system receives reconciles the same way the XML would, just in the format it can actually read.

Accuracy and privacy

Because a treasury or ERP import balances to the statement, the amounts, directions, and balances have to be exact, and the converted MT940 is reviewable before it goes into the system. The output is a standard MT940 the legacy parser accepts. Since the CAMT.053 holds real account activity, the file is processed to build the MT940 and then deleted automatically, with nothing kept on a server afterward.

How it works

  1. Get the CAMT.053: Download the CAMT.053 XML statement from your bank or portal.
  2. Convert to MT940: Convert the CAMT.053 XML to an MT940 file, mapping the XML elements into MT940's tags.
  3. Check the balances: Confirm the opening (60F), line (61), and closing (62F) balances tie out and the statement number is right.
  4. Import to the system: Feed the MT940 file to the legacy ERP, treasury, or accounting system's statement import.

Comparison

FieldCAMT.053 (XML)MT940 (tag)
Transaction referenceRefs / NtryRefTag 20 and 61
Opening balanceBal, type OPBDTag 60F
Statement lineNtry with CdtDbtIndTag 61 with D/C mark
DetailsRmtInf, BkTxCd, partiesTag 86 free text
Closing balanceBal, type CLBDTag 62F

A CAMT.053 XML statement converts to a valid MT940 file in about 30 seconds. Convert your statements now.

See pricing

Frequently Asked Questions

Related guides and articles

Try It Yourself

Experience the power of automated conversion

Start Converting