Operations & Treasury / Learning brief

One account, three languages

What this means in plain language

A bank can tell you what happened on an account in three languages: , the (MT) statements and the camt messages. Choosing between them is less about which is modern and more about how much structure survives, because structure decides whether a line matches by itself.

Understand the full idea, step by step

A bank has to tell its customer what happened on the account. That sounds like one job. It is one job, with several languages for saying it.

Think of a delivery company that will update you 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 shape of the file is a choice somebody made, sometimes years ago, usually without writing down why.

Evidence & review

REVIEWED 2026-10-10

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

Account reporting formats a corporate may receive: BAI2 (an American text file), the Swift Message Type (MT) statements (MT940, MT942, MT950) and the ISO 20022 camt reporting messages (camt.052, camt.053, camt.054). Other families, such as bank-proprietary formats and reporting by API, do the same job and are not covered.

What this brief simplifies: Three families stand in for a wider set. Which formats a bank offers, and what it puts in each field, are agreements between that bank and its customer, not standard requirements. The Bank Administration Institute format 2 (BAI2) specification itself was not opened. Record codes and field order were read from independent open implementations that agree, and no table of type codes is given. Ownership and successor details are dated facts on the topic page. The scene is fictional.

Sources for this brief — 7 sources
  1. 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 was not reached, so the document was not opened and no field position on this page is quoted from it

    The specification the BAI2 file is written to: the record types a bank-to-corporate balance and transaction report carries, the three-digit type codes that classify a balance or a movement, and the funds-availability information beside each amount. Cited on this site for the format's identity, its publisher and the record and code structure that the two open implementations beside it declare independently. · Checked 2026-08-16

    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.

  2. 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

    A field-by-field declaration of the BAI2 record layout. Its RecordCode enumeration names eight record types — 01 file header, 02 group header, 03 account identifier, 16 transaction detail, 49 account trailer, 88 continuation, 98 group trailer, 99 file trailer — and each record's parser declares its fields in wire order.

    It also carries the enumerations the layout depends on. FundsType (0 immediate, 1 one-day, 2 two-day, Z unknown, and the three that consume further fields — S a simple three-way split, V a value-dated pair, D a counted list of day-and-amount pairs). GroupStatus (1 update, 2 deletion, 3 correction, 4 test only), and AsOfDateModifier (1 interim previous day, 2 final previous day, 3 interim same day, 4 final same day). And the YYMMDD date and military-time readings, and a TypeCodes table of the three-digit balance and transaction codes.

    Its control-total and record-count validations are cited for what the trailers are for. It raises an integrity failure when an account trailer's control total does not equal the sum of the transaction amounts plus the summary amounts on the account identifier above them, and the same at group and file level. · Checked 2026-08-16

    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.

  3. 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 independent second declaration of the same record layout, written in another language by another author, and the corroboration behind every field order this site publishes for BAI2. Its RECORD_CODES map names the same eight record types, and its SIMPLE_FIELD_MAP declares the field order of records 01, 02, 49, 98 and 99 while two hand-written parsers cover records 03 and 16 — the two whose fields repeat.

    On every record both implementations declare, the field order is identical. On the 01 it is sender, receiver, creation date, creation time, file identification number, physical record length, block size and version number. On the 02 it is destination, originator, group status, as-of date, as-of time, currency and as-of-date modifier. On the 03 it is account number, currency and then repeating four-field short overviews. On the 16 it is type code, amount, funds type, then bank reference, customer reference and free text. On the trailers it is control total with record count.

    It is also cited for the funds-type branches, where S, V and D each consume a different number of following fields. And for the continuation rule: a record whose code is 88 is merged into the record above it before any field is read. · Checked 2026-08-16

    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.

  4. 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

    BAI2's standards successor, and the reason a reader must not treat BAI2 as an unowned legacy format. Cited for the stewardship story only: that BAI2's copyright passed to ASC X9, that X9 published a successor standard under the designation X9.121. And that the successor was written for backwards compatibility with BAI2 rather than as a replacement format banks had to move to at once. · Checked 2026-08-16

    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.

  5. 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

    Defines the MT message standards (including MT101, MT103, MT202/202 COV, and the MT9xx statement messages) exchanged over the Swift FIN network, maintained through annual standards releases. · Checked 2026-11-12

    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.

  6. 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

    Defines the current versions of all ISO 20022 message definitions, including the pain, pacs, and camt messages taught on this site. · Checked 2026-07-12

    Each message set is described by a Message Definition Report; earlier versions remain available in the ISO 20022 messages archive.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HEREThe 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.Opens at L0 Explain simply · about 14 min

Also covered in Reading a balance reporting file line by line: records, control totals and type codes, Reading an ISO 20022 statement: the entries, the bank transaction codes, the balances and the MT940 (customer statement message) twin.

Related briefs

Three Thursdays, one sentence

Three different Thursdays at Bank Alfa end with the same sentence in the same report: the payment did not settle. They are three completely different problems with different owners and fixes, and naming which one you face decides what happens next.

READ BRIEF

One payer, twenty debtors

When a group of companies pays through one central team, the account that is debited is no longer the company that owed the money. A payment message has a slot for that difference, and leaving it empty makes a correct payment impossible to reconcile.

READ BRIEF

The pile that stopped

Almost every payment a bank handles overnight is already finished by the time the day shift sits down. The work is the small pile that stopped, and the skill is knowing which stopped item has a deadline and which one only feels urgent.

READ BRIEF