The bank statement is the one reliable record of who paid and when. If payments are keyed in by hand, your receivables report runs days behind the bank. Most business banking portals let you download the statement as a file, usually in one of two formats: MT940 or camt.053. Here is what each one contains, which works better for automatic matching, and what a calm daily import routine looks like.
MT940: the plain-text statement from the SWIFT world
MT940 (Customer Statement Message) belongs to the SWIFT MT standards. The file is plain text, and every line starts with a tag between two colons. The main tags are:
| Tag | What it holds |
|---|---|
:20: |
message reference |
:25: |
the account, often as an IBAN |
:28C: |
statement number and page number |
:60F: |
opening balance: credit or debit, date, currency, amount |
:61: |
one transaction line: value date, entry date, credit or debit, amount, transaction code, references |
:86: |
extra information for the preceding :61: line: payment details, payer, account |
:62F: |
closing balance |
A short example with made-up data:
:20:STMT261203
:25:BG00XXXX00000000000000
:28C:00233/001
:60F:C261202EUR10000,00
:61:2612031203C1250,00NTRFNONREF//REF0001
:86:PAYMENT INVOICE 0000001234
:62F:C261203EUR11250,00
The strength of MT940 is that almost every accounting or ERP package can read it. Its weak spot is the :86: field. It carries the payment details, the payer's name and account, and space is tight: ING's format guide for Bulgaria allows up to 6 lines of 65 characters and truncates anything beyond 390 characters. The layout inside the field also depends on the bank. Some banks write free text, others split the field into subfields with code words.
camt.053: the ISO 20022 XML statement
camt.053 (Bank-to-Customer Statement) is the end-of-day statement under ISO 20022. The file is XML, and each value sits in its own named element:
Balwith codeOPBDfor the opening balance andCLBDfor the closing balance;Ntryfor each transaction, with amount, sign, booking date and value date;RltdPtiesfor the parties, including the payer's IBAN (DbtrAcct);RmtInffor the payment details: free text (Ustrd) or a structured creditor reference (Strd);Refsfor transaction references such asEndToEndId.
Your software no longer has to guess which piece of text is a name, an account or an invoice number.
The wider family: MT942, camt.052 and camt.054
Besides the daily statement there are two more message types:
| Purpose | MT | ISO 20022 |
|---|---|---|
| end-of-day statement | MT940 | camt.053 |
| intraday movements | MT942 | camt.052 |
| notice of a single credit or debit | MT910 / MT900 | camt.054 |
camt.052 and MT942 report movements during the day, for example every hour. camt.054 is usually sent each time an entry is booked. For bookkeeping and receivables the daily statement remains the main file. Intraday reports are handy for a quick look, but final balances come with camt.053 or MT940.
Which one is better for automatic matching
If your bank offers both and your software reads XML, choose camt.053. The reasons are practical:
- The payer's IBAN has its own field. Your software can recognize the customer even when the payment details are empty or garbled.
- Payment details are not mixed with other data. In MT940 an invoice number can be split across two lines of
:86:or cut off. - References have a fixed place. A structured creditor reference travels from the transfer to the statement in the same element.
- The encoding is explicit. An XML file declares its own encoding. ING Bulgaria, for example, specifies UTF-8 for its camt files.
MT940 still works well when the bank fills :86: consistently and your software knows that bank's subfields. What matters is not switching formats every month: recognition rules are set up once per format and bank.
Does the end of MT on SWIFT affect your statements?
On November 22, 2025, the coexistence period for MT and ISO 20022 ended for cross-border payment instructions between financial institutions (CBPR+). That change concerns bank-to-bank messages. Swift states that migration is not mandatory for corporates at this time and that MT940 and MT942 can still be exchanged within its SCORE service after November 2025. Which statement formats your bank offers is the bank's decision, so ask them. Moving to camt.053 when your bank supports it is a sensible step.
Encoding: why Cyrillic sometimes turns into gibberish
Bulgarian banks write payment details and names in Cyrillic. A plain-text file, however, does not say which encoding it uses. When the software expects UTF-8 and the file is in windows-1251 (the 8-bit Cyrillic code page), names come out as nonsense characters. The reverse happens too. Ask your bank which encoding it uses, or use software that detects it automatically. Do not edit or re-save the file in Excel before importing: that can change both the encoding and the numbers.
How to get the files from online banking
In business online banking, statements usually live under "Statements" or "Reports". You pick the account, the period and the format. Watch three things:
- One day, one file. Some banks combine several days and several accounts in one file. ING Bulgaria, for example, sorts such a file by account first, then by date. Your software has to split it into separate statements.
- Each currency account has its own statement. Do not mix the USD account with the EUR one.
- Final, not intraday. Download the daily statement for a closed day, not a report of today's movements.
A daily import routine
- Every business day, import the previous day's statement for each account.
- Check the balance. The opening balance (
:60F:orOPBD) must equal the closing balance of the previous statement. If it does not, a day is missing or the file is wrong. Also check that the statement number is the next one in sequence. - Never import the same statement twice. Account, statement number and date identify it uniquely. Your software should refuse a duplicate instead of relying on your memory.
- Match in order. First by invoice number in the payment details, then by amount and payer IBAN, and finally by hand. Watch for partial payments and single transfers that cover several invoices.
- Book bank fees separately. They have no customer invoice and should not sit in the "unmatched" pile.
- Keep unknown payments on a separate list. Waiting a day is better than closing the wrong invoice.
- Finally, compare the closing balance in your software with the one on the statement.
That way your receivables dashboard shows today's picture, not last week's.
How TEUdesk helps
TEUdesk imports MT940 and camt.053 statements and detects the format and encoding on its own. It finds the account by the IBAN in the file. Before anything is saved, you see what will be imported, and a repeated statement is recognized. The system suggests matches with your invoices on three levels: certain, probable and manual choice. Bank fees are recorded separately. A confirmed payment updates payment control and the customer card right away. Collected amounts also flow into the monthly receivables report. Learn more on the Bank statements page, or request a demo to see it with sample files.
Sources
- Swift, ISO 20022 FAQs: Corporates
- Swift, ISO 20022 FAQs: MT to ISO 20022 Conversion
- SIX, Swiss Payment Standards: Customer-Bank Messages (Reports), camt.052, camt.053, camt.054, version 2.0.2
- ING, InsideBusiness Payments Bulgaria, Annex to the User Guide (January 2026)
- Westpac BankRec, MT940 statement format
- cp1251(7), Linux manual page