The format your bank reports back in (BAI2, MT940, camt.053)
A bank can report one account in three languages. BAI2, the MT statements and the camt messages do the same job — and choosing between them is a real decision.
L1–L4 are part of the Pro pass
L0 Explain simply
A bank has to tell its customer what happened on the account. That sounds like one job. It is one job, and there are several languages for saying it.
Think of a delivery company that will send you a tracking update by text, by email or by a data feed. All three say the parcel arrived. Only one of them is a shape your software can read without a person in the middle.
Bank reporting works the same way. The bank knows what posted to . What it hands you is a file, and the shape of that file is a choice somebody made — sometimes years ago, usually without writing down why.
Three shapes cover most of what you will meet. — the Bank Administration Institute's second balance-reporting specification — is an American format from the 1980s, still in daily use. The statements (MT is short for message type) are the older Swift ones, sent by number rather than by name. The camt messages are the answer from ISO 20022, the international standard for financial messages, and they are written in XML.
Here is why a beginner should care. Your reconciliation only works if the file tells you enough to match each line to something you already knew about. A shorter file is not a simpler life. It is the same work, done later, by a person.
So this topic answers four questions. What does each of the three formats actually carry? Why does a company end up with more than one of them? What is inside a BAI2 file, line by line? And what should you ask your bank for, when you get to choose?
PICTURE IT
Three hotels, three arrival lists
Picture a company that books rooms for visiting staff at three hotels in three different towns. Each hotel sends the company a list of the staff who arrived that day. Each one writes the list in the style of its own front office. The first hotel writes numbered coded lines, separated by commas. The second writes short lines that each start with a tag. The third fills in a form with a labelled box for every kind of fact. A hotel may also offer more than one style. A list says who arrived and gives no orders.
Every guest comes with a booking reference, and all three styles have a place for it. The form gives it a labelled box. The short form and the tagged lines give it a numbered or tagged place, and different hotels fill that place in slightly different ways. Those two styles also have a line of notes, and a number typed there is easy to miss. The company finds the booking reference at once when it is in its place, and has to read every note when it is not.
THE REAL JOB A bank's report tells the what has posted, so each line can be matched to something the owner already knew.
- The bank knows what posted
- It sends a file in one of three shapes
- Read the code that names each line
- Look for the reference in its own place
- Match the line to what you expected
- A reference in free text needs a person
HOW THE PICTURE MAPS
| In the picture | In the payment |
|---|---|
| The company that books the rooms and receives the lists | The company that owns the account and receives the reports |
| The three hotels | The banks, each reporting in the style of its own platform |
| An arrival list that records and gives no orders | A statement message, which reports and never orders |
| Numbered coded lines, separated by commas | A BAI2 file of numbered records |
| Short lines that each start with a tag | Swift MT (message type) statements, announced by a code such as :61: |
| A form with a labelled box for each fact | ISO 20022 camt (cash management) messages: XML, a text format with named elements |
| The booking reference on each guest's record | The payer's reference, such as an invoice number |
| A hotel that fills the reference place in its own way | The reference fields of a BAI2 line, filled differently bank by bank |
| A line of notes | The free-text field of a line |
| The company reading every note to find a number | A person matching a line by hand because the reference sits in free text |
WHERE THIS PICTURE STOPS
- Three hotels in three towns stand for banks in different markets. A company often meets different formats because each bank has a reporting platform built in a different decade. One bank can also offer several formats.
- A labelled box helps only when the writer fills it. Which formats a bank offers, and what it puts in each field, are agreed with the customer and are not set by the standard. The other two formats also have a place for a reference, so the picture is misleading if it suggests that only the form has one.
- The picture shows nothing about timing. Some reports arrive during the day: the
camt.052is a daytime report, and theMT942is its Swift counterpart. The end-of-day statement is a separate report, such as thecamt.053. - The picture has no counterpart for the record codes that nest inside a
BAI2file. It also has none for control totals, the counts and sums a file states about itself, which let a parser refuse a bad file. Nor does it show amounts written with no decimal point. - A newer form does not retire an older one. The topic's sources describe
BAI2as having a current owner, the standards committeeX9, and as still sent by banks. The version in force is a dated fact registered on the topic page.
HOOK
Where the reference sits decides if a line matches by itself.
TELL A FRIEND
A bank can report the same account in three languages: BAI2, the Swift (message type) statements and the . They all record what happened, and the more structure a file carries, the more lines match without a person.
OFTEN MIXED UP WITH Nostro reconciliation. This topic is about the language the bank reports in. Reconciliation is the job of matching those reported lines against your own record and explaining every break.
CURRENT AS CHECKED
1 FIGURE
BAI2 stewardship and its ANSI X9.121 successor
— the Bank Administration Institute's Cash Management Balance Reporting Specifications Version 2 — is not an unowned legacy format. Its copyright was transferred to Accredited Standards Committee X9, Inc., and X9 published a successor, the Balance and Transaction Reporting Standard, under the ANSI X9.121 designation. The successor was written for backwards compatibility with BAI2 rather than as a replacement format banks had to move to at once, and BAI2 files continue to be issued. The version of the successor standard in force changes on X9's own cycle and should be checked against x9.org rather than remembered.
CHECKED 2026-08-16RECHECK BY 2027-08-16
Sources & standards — 2 sources
- Official requirement
ANSI X9.121 — Balance and Transaction Reporting Standard (BTRS) ↗ — Accredited Standards Committee X9, Inc. (ASC X9), published through ANSI · the Balance and Transaction Reporting Standard published under the X9.121 designation, the transfer of BAI2's copyright to ASC X9, and the backwards-compatibility intent
x9.org could not be fetched, confirmed by direct probe on the access date, as did the copies of the standard and its format guide hosted at x9.org and at minneapolisfed.org. The document was NOT opened. Every claim this entry supports was corroborated across two independent web searches whose result content named the designation, the committee and the backwards-compatibility intent. No clause, field or code value is quoted from it, and no version number is asserted here. The version in force is carried as a dated fact in content/standards/current-facts.json, so it can be rechecked.
- Official requirement
Cash Management Balance Reporting Specifications, Version 2 — Technical Reference Manual (BAI2) ↗ — Bank Administration Institute (BAI); copyright since transferred to Accredited Standards Committee X9, Inc. · the Cash Management Balance Reporting Specifications Version 2 — the document whose copyright transferred
Verification boundary, stated plainly because it is not a small one. NEITHER bai.org NOR cdn.bai.org can be reached. Both answer 403 to CONNECT, confirmed by direct probe on the access date, as do x9.org, the Minneapolis Fed's hosted copies and every bank-published restatement found (tdcommercialbanking.com, eastwestbank.com, scotiabank.com, hsbcnet.com, developer.gs.com, developer.huntington.com, bankrec.westpac.com.au). The document was NOT opened.
What this entry supports — the format's name, its publisher, the 1987 replacement of BAI1, the 2001 addition of lending codes, and the eighty-character physical record with comma-delimited fields and a slash end mark — was corroborated across four independent web searches. And the specification's title and publisher are additionally attested by two open-source implementations that name it in their own documentation, one of which prints this URL.
NOT ONE field position, field order or code value on this site is quoted from it: every one comes from the two open implementations cited separately below, which were read in full.
SEE THE PAYMENT MOVE
PICTURE THE JOURNEY
A frame shop, a glass factory and a ledger hall with one card per officeOpen to read the picture, how it matches the payment and where it stops.
PICTURE IT
A frame shop, a glass factory and a ledger hall with one card per office
Picture a frame-shop owner who must pay a glass factory in another country for a load of glass. She keeps her money at her local cashier office. The glass factory keeps its money at a different cashier office abroad. The two offices have no direct dealings. Each keeps a balance card at a ledger hall, and a relay office carries notes between them.
She signs an order slip and hands it to her cashier office. The slip is only a request. The cashier checks that she may order and that her money is there. It also checks the and that no name is on a banned list. If the slip cannot be carried out, she hears in whatever way she and the office agreed. Otherwise the office takes the amount from her account and gives her a small slip that says one amount has left.
The office then writes the payment letter and hands it to the relay office. The relay office checks that the letter follows the printed form, keeps it safe until the next stop is ready and passes it on. It never touches a balance card. The ledger hall reads the letter and checks the names again for itself. Then it lowers her office's card and raises the glass factory's office's card. That entry is the moment the amount changes hands. The hall sends the glass factory's office a credit slip, and the payment letter follows through the relay office.
The glass factory's office checks the letter, matches it to the credit slip and adds the amount to the glass factory's account. Through the day the frame-shop owner receives a balance sheet and a list of entries, and at close a day statement. The ledger hall also sends each cashier office a copy of its own card, and the office compares that copy with its own book.
Several other turns are possible. If the ledger hall keeps a small handling fee, less glass money arrives. If the hall refuses the letter before it makes any entry, her office puts the amount back in her account. If the glass factory's office finds the account closed, it sends the amount back as a new payment the other way. If an office needs more detail, it posts a query note and waits for the reply. If the two copies of a card disagree, a clerk checks whether an entry is merely late or truly missing. If she asks for the amount back after the glass factory is paid, that is only a request, and the glass factory's office can refuse. (SYNTHETIC / TRAINING ONLY: the frame-shop owner and the glass factory are invented.)
THE REAL JOB A company pays a supplier abroad through its bank in the older Swift message format, with confirmations, reports, queries and returns.
HOW THE PICTURE MAPS
| In the picture | In the payment |
|---|---|
| The frame-shop owner signs an order slip for her cashier office | Asha Traders asks Bank Alfa to pay with the request message MT101Who: Asha Traders |
| The cashier checks her right to order, her money, the cut-off and the names | Bank Alfa validates the authority, funds, cut-off, routing and screeningWho: Bank Alfa |
| The office takes the amount and gives her a small slip | Bank Alfa debits Asha Traders; where agreed, MT900 confirms that one debitWho: Bank Alfa |
| The relay office checks the printed form, keeps the letter safe, passes it on | Swift FIN, the message network, checks the format and forwards messages; it holds no account |
| The payment letter that her office posts to the ledger hall | The customer payment message MT103 is the instruction, not the money |
| The ledger hall reads the letter and checks the names for itself | Meridian Bank validates and screens the payment for itselfWho: Meridian Bank |
| The hall lowers one office's card and raises the other's | Book transfer: Meridian Bank debits Bank Alfa's account and credits Nordbank's accountWho: Meridian Bank |
| A credit slip goes to the glass factory's office | MT910 tells Nordbank that its account at Meridian Bank was credited |
| The glass factory's office matches the letter to the slip, then credits | Nordbank validates, screens and matches the payment before it pays its customerWho: Nordbank |
| The glass factory's account goes up | Northstar Components, the supplier, is credited by NordbankWho: Northstar Components |
| A balance sheet and a list of entries by day, a statement at close | MT941 gives balances, MT942 lists daytime entries and MT940 is the day statement |
| The owner ticks each statement line against her own order slip | Asha Traders matches the MT940 entry to its own request, MT101 |
| The hall sends each office a copy of its own card | MT950 reports the entries on Bank Alfa's account at Meridian BankWho: Meridian Bank |
| A clerk lays two cards side by side and finds an entry on only one | Maya Chen compares Bank Alfa's books with the MT950; a lone entry is a breakWho: Maya Chen |
| An entry written today on one card and tomorrow on the other | A timing difference clears itself; an unmatched entry gets a query, MT199 |
| The cashier cannot carry out the slip and tells her in the agreed way | A rejected request: no MT103 is sent and funds stay with Asha Traders |
| The hall keeps a small handling fee as the letter passes | Shared charges: Meridian Bank takes off a fee, so the supplier receives lessWho: Meridian Bank |
| The hall refuses the letter before it makes any entry | REJT: no value is booked, so Bank Alfa restores the customer balance |
| The glass factory's office finds the account closed and sends the amount back | RETN: Nordbank returns settled funds as a second payment the other wayWho: Nordbank |
| An office posts a query note, and the reply comes back | MT195 asks, MT196 answers; MT199 is the free-text version |
| The owner asks her office to get the paid amount back | Bank Alfa sends MT192, a cancellation request; it asks and reverses nothingWho: Bank Alfa |
| The glass factory's office agrees to hand it back, or refuses | MT196 answers: CNCL accepted, with a return to follow, or RJCR refused |
WHERE THIS PICTURE STOPS
- In the picture the owner could ask her office to get the amount back. In the journey that is a cancellation request,
MT192. It only asks. The beneficiary's bank can refuse it, and the first settlement stands. - The slips and sheets in the picture look like proof that the glass factory was paid. They are not.
MT900confirms one debit, andMT940lists entries on Asha Traders' own account. Only the credit at Nordbank shows the supplier was paid. - The ledger hall in the picture is one keeper with a card for each office. This journey settles on one correspondent's books. Other routes use more banks or a shared payment system, and the picture cannot show which.
- The picture does not say how current this route is. This journey is the older Swift message format, and a new build does the same job in
ISO 20022. - The handling fee in the picture is small and illustrative. In the journey the charge option, such as
SHAfor shared, decides who bears each bank's fee. The message trail is the only record of what was taken. - The cashier in the picture tells the owner of a failed slip in an agreed way. A real corporate service is agreed bank by bank, so how a failure reaches the customer varies. Swift's rules have the bank send a rejection advice, normally an
MT195(a query), though anMT199(a free-format message) is allowed. TheISO 20022journey uses the structuredpain.002status report.
HOOK
Messages ask, report and query. One ledger entry settles.
REMEMBER IT THIS WAY
A chunk: a long list grouped so it is easier to hold.
Group the account reports by what they hold: MT941 balances, MT942 daytime entries and MT940 the day statement.
| In the trick | What it stands for |
|---|---|
MT941 | gives balances |
MT942 | lists daytime entries |
MT940 | is the day statement |
TELL A FRIEND
In the older Swift message format, one payment brings a request, the payment message, confirmations, reports and queries. The between banks is what settles it.
OFTEN MIXED UP WITH What the network says back (ACK, NAK). That topic teaches the network's accepted-or-refused answer to one message. This journey shows the bank answers, such as debit, credit, reject, return and statement, which arrive as other messages.
OTHER JOURNEYS ON THIS TOPIC
PRACTISE AND KEEP
IMPLEMENTATION RESOURCES
41 RESOURCES
EVIDENCE AT ARM'S REACH
Apply the base message definition first, then the scheme or infrastructure profile that governs this topic.
An XSD checks XML structure. A usage guideline adds profile rules, conditional fields, code restrictions, and business controls. XSD-valid does not mean scheme-compliant.
Swift Standards MT release material
CBPR+ usage guidelines
PMPG correspondent-payment and reporting market practice
T2 functional specifications, validation rules, and binding XSDs
BAI2 — one American account, reported back the next morning — raw DELIMITED
camt.052 intraday account report — raw XML
camt.053 account statement — raw XML
camt.054 debit notification — raw XML
camt.086 bank services billing statement — raw XML
MT940 customer statement — raw FIN
MT942 interim transaction report — raw FIN
MT950 statement message — raw FIN
Corporate MX positive lifecycle — ZIP pack
MT legacy and migration lifecycle — ZIP pack
MT900 → camt.054 implementation mapping
MT910 → camt.054 implementation mapping
MT941 → camt.052 implementation mapping
MT942 → camt.052 implementation mapping
MT940 → camt.053 implementation mapping
MT950 → camt.053 implementation mapping
MT940 field matrix
MT942 field matrix
MT950 field matrix
camt.052 field matrix
camt.053 field matrix
camt.054 field matrix
camt.086 field matrix
BAI2 field matrix
Payment lifecycle test cases
T2 RTGS implementation pack field and process matrix
T2 RTGS implementation pack test cases
T2 RTGS implementation pack BA checklist
T2 RTGS implementation pack acceptance criteria
T2 RTGS implementation pack migration notes
T2 RTGS implementation pack restricted and release-specific gaps
CBPR+ implementation pack
SEPA credit-transfer implementation pack
SEPA direct-debit implementation pack
High-value payments implementation pack
T2 RTGS implementation pack
Sources for this topic — 9 sources
- Official requirement
Cash Management Balance Reporting Specifications, Version 2 — Technical Reference Manual (BAI2) ↗ — Bank Administration Institute (BAI); copyright since transferred to Accredited Standards Committee X9, Inc. · the Cash Management Balance Reporting Specifications Version 2 — what the format is, who published it and the record structure it defines. The publisher's site refuses this environment's connection, so the document was not opened and no field position on this page is quoted from it
Verification boundary, stated plainly because it is not a small one. NEITHER bai.org NOR cdn.bai.org can be reached. Both answer 403 to CONNECT, confirmed by direct probe on the access date, as do x9.org, the Minneapolis Fed's hosted copies and every bank-published restatement found (tdcommercialbanking.com, eastwestbank.com, scotiabank.com, hsbcnet.com, developer.gs.com, developer.huntington.com, bankrec.westpac.com.au). The document was NOT opened.
What this entry supports — the format's name, its publisher, the 1987 replacement of BAI1, the 2001 addition of lending codes, and the eighty-character physical record with comma-delimited fields and a slash end mark — was corroborated across four independent web searches. And the specification's title and publisher are additionally attested by two open-source implementations that name it in their own documentation, one of which prints this URL.
NOT ONE field position, field order or code value on this site is quoted from it: every one comes from the two open implementations cited separately below, which were read in full.
- Market practice
ministryofjustice/bai2 — a Python parser and writer for the BAI2 format ↗ — Ministry of Justice, United Kingdom (open source, MIT) · the eight record codes, each record's field order, the funds-type branches, the continuation rule and the nested control totals; and its own statement about bank-by-bank dialects
An implementation and not the publisher, and the reason this site can describe the layout at all: the specification is unreachable from here and this is a transcription of it that is not. Read at raw.githubusercontent.com on the access date at the master branch: bai2/constants.py, bai2/models.py, bai2/parsers.py, bai2/helpers.py, bai2/utils.py and README.rst.
Two of its own statements are carried on this site as claims about the format's dialects rather than about the library. It says in as many words that different banks implement the specification in slightly different ways, and that it is known to work with files from three named banks. Its helper for the account identifier record normalises an extra comma that it records as emitted by some banks and not others, which is a dialect difference visible in code.
Its type-code table is NOT independent of the Ruby implementation cited beside it — the descriptions agree character for character across 469 codes, including the en dashes, so the two are copies of one transcription rather than two readings. This site therefore cites the type-code list at that strength and publishes no exhaustive code table.
- Market practice
venturehacks/bai2 — a Ruby gem that parses BAI2 files received from banks ↗ — Venture Hacks (open source, MIT) · an independent second declaration of the same record codes and field order, in another language by another author
An implementation and not the publisher. Read at raw.githubusercontent.com on the access date at the master branch: lib/bai2/record.rb, lib/bai2/parser.rb, lib/bai2/type-code-data.rb and README.md.
Its source comments name the BAI specification as the origin of its rules, and print a URL for it on bai.org. That is one of the two independent attestations of that document's title and publisher recorded in the specification's own entry.
It refuses any file whose version number is not 2, exactly as the Python implementation does, which is why this site states the version field as a guard rather than as decoration. Its type-code table is a copy of the same transcription the Python implementation carries and is not independent of it — see that entry.
- Official requirement
ANSI X9.121 — Balance and Transaction Reporting Standard (BTRS) ↗ — Accredited Standards Committee X9, Inc. (ASC X9), published through ANSI · BAI2's stewardship by ASC X9 and the successor standard published under the X9.121 designation
x9.org could not be fetched, confirmed by direct probe on the access date, as did the copies of the standard and its format guide hosted at x9.org and at minneapolisfed.org. The document was NOT opened. Every claim this entry supports was corroborated across two independent web searches whose result content named the designation, the committee and the backwards-compatibility intent. No clause, field or code value is quoted from it, and no version number is asserted here. The version in force is carried as a dated fact in content/standards/current-facts.json, so it can be rechecked.
- Official requirement
Swift Standards MT (annual standards releases) ↗ — Swift · Category 9 — MT940, MT942 and MT950, and the boundary between the standard and a bank's own service
Full field-level specifications live in the Swift Knowledge Centre User Handbook behind a swift.com login. Coexistence for in-scope FI-to-FI payment instructions ended on 22 November 2025, but treatment differs by MT: some instructions are NAKed and selected messages can enter temporary, chargeable contingency conversion. Reporting, initiation, investigations and correspondence follow separate roadmaps.
Re-checked on 2026-10-04 by web search for the schedule of Standards Release 2026. Only search excerpts of the Standards Releases page were seen; the page was not opened. They said the deferred part of the release, which holds MT messages outside category 1, ISO 20022 securities and funds messages, tracker messages and exceptions and investigations messages, now has a date of 12 June 2027. They said the first target was the first quarter of 2027, and that the later date follows industry feedback about other change work, including the European move to T+1 settlement. An audit note in docs/research dated 29 September 2026 recorded the same date from the same page.
Re-checked 12 November 2026 via Swift Standards Releases schedule: SR2025 remains the in-force annual MT release pending the deferred SR2026 package.
- Official requirement
ISO 20022 Catalogue of messages ↗ — ISO 20022 Registration Authority · camt.052 BankToCustomerAccountReport, camt.053 BankToCustomerStatement and camt.054 BankToCustomerDebitCreditNotification — the registered definitions of the ISO 20022 reporting messages, including the ClearingSystemReference element in the References group
Each message set is described by a Message Definition Report; earlier versions remain available in the ISO 20022 messages archive.
- Market practice
BNY (the bank formerly named BNY Mellon) ISO 20022 learning guide, Module 4: the pacs.008 customer credit transfer ↗ — BNY · Clearing system reference on the payment message; search excerpt, page not opened
Known only from search excerpts on 2026-10-10: the PDF was not opened. Two BNY (the bank formerly named BNY Mellon) documents appeared in the results (a learning guide and a December 2020 module deck). The SLEV (following service level) wording was attributed to 'one BNY guide', so the exact document is not pinned. It is a bank's teaching material, not a usage guideline, so citations carry the market-practice label and the Cross-Border Payments and Reporting Plus (CBPR+) rule itself is not asserted from it. Check the CBPR+ usage guideline on MyStandards before relying on the SLEV statement.
On 2026-10-12 a further search returned the clearing system reference wording from a BNY pacs.008 learning guide. The page was still not opened and the message version is not stated in the excerpt.
- Market practice
ISO 20022 learning guides — module 6, a deep dive on pacs.004 and pacs.002 ↗ — The Bank of New York Mellon Corporation (BNY) · Original clearing system reference carried in a return; search excerpt, page not opened
Downloaded and read in full from the publisher's own domain on the access date: eight pages, read with pdftotext, so nothing cited from it rests on a search excerpt.
It is a bank's teaching material rather than a standard or a scheme rule, so citations to it carry the market-practice label. Every ISO element address and every presence flag on the mapping tables it supports is read from the published XSD instead, never from this guide.
Where it describes what CBPR+ requires it is reporting a usage guideline this site does not reproduce. Nothing is quoted from those passages and no CBPR+ rule is asserted from them.
One tension in the document is worth recording rather than smoothing over. It describes the MT return convention as sending the original message back unchanged with a return code in field 72. And then says in the next section that the resulting ambiguity — whether the parties listed are the original's or the return's — is exactly what the return chain was added to remove. Both halves are taken together, because the first read alone would suggest the convention was settled when the document's own point is that it was not.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Three families stand in for a wider set: electronic data interchange (EDI) transaction sets, bank-proprietary formats and API-delivered reporting all do this job too and are not covered here. Which formats a given bank offers, and what it puts in each field, are bilateral service matters rather than standard requirements. The ClearingSystemReference element's definition, optionality and length were corroborated across independent web search results rather than read on the ISO 20022 catalogue's own page, which was not opened.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.