TOPIC 07/3216 MINNOT STARTED

Reading a file format you did not design

A domestic rail may carry no message at all. It carries a file you read by counting: characters, or separators. Four shapes, one skeleton, and one rule about who publishes what.

L1–L4 are part of the Pro pass

L0 Explain simply

Arjun has to load a from a Brazilian supplier. He opens it. Every line is exactly 240 characters long. There are no tags, no field names, no commas, no quotes. Just characters.

He has met before, so he expects to find a label. In an ISO 20022 message the amount sits inside an element that says IntrBkSttlmAmt. Read the message and you can see what each part is. This file tells him nothing.

That is not a broken file. It is a whole family of formats, and the domestic rails of market after market still run on them. The rule is simple and strange: a field is identified by where it sits, not by what it is called. Characters 120 to 134 are the amount. Not because the file says so. Because a separate document says so.

So the file cannot be read on its own. You need the layout too, and the right version of it.

This topic teaches you how to read one anyway. This lesson groups common payment formats into four shapes, and file formats nearly all share one skeleton. Once you can see the skeleton, an unfamiliar file stops being a wall of characters. (SYNTHETIC / TRAINING ONLY — every person and firm named in this topic is invented.)

PICTURE IT

A corridor of identical doors with no labels and a plan at the front desk

Picture a long hotel corridor. Every door looks the same and none has a number or a name. You are told to collect the envelope behind the door at a certain distance from the entrance. You cannot find it by looking at the doors. You need the floor plan, and the plan is kept at the front desk, not on the corridor wall. A sign opens each stretch of doors and says what kind they are. At the end of each wing, a note gives a count of the rooms. Some envelopes are padded with blank paper or zeros so that every envelope is the same size.

The plan has an edition. If the hotel adds a room in the middle, every door after it moves along by one place. You can still walk the corridor and open doors, and each one holds something that looks like an envelope. Only the right edition of the plan tells you that you opened the wrong door.

THE REAL JOB A format lets two organisations exchange many payments in a compact text file, on the agreement that both hold the same layout document.

  1. What shape is the format
  2. Which layout document, and which version
  3. Where is the record type code, found by position from the layout
  4. Who publishes the layout document
Four questions to ask before reading a new file

HOW THE PICTURE MAPS

How each part of the picture matches the payment
In the pictureIn the payment
The corridorThe file, one record after another
A door at a set distanceA field, found by its character range and not by a name
The plan kept at the front deskThe layout document, published separately from the file
The edition of the planThe layout version, written in the file header
A sign opening each stretch of doors, saying its kindThe record type code, a positional field saying what kind of line a record is
The count of rooms written at the end of each wingThe batch and file trailers, with a count and a sum to check against
An envelope with leading blanks or zerosFiller, which keeps every field at its full width and is part of the data
The office that issues the planThe layout publisher, who decides how much you can know about the file

WHERE THIS PICTURE STOPS

  • A hotel plan is drawn once and checked by people. A layout document may be read by a program that never questions it, so a wrong edition produces wrong values and no error message.
  • The picture shows where a field sits but not the implied decimal point. The layout says where the point belongs. A money field holds no point character, so a valid file can be read as a far larger whole number.
  • A corridor has one shape. Real formats come in four shapes: positional, delimited, tag-value and self-describing, and a real format can be more than one of them. This frame is this site's teaching device and not a standard.
  • Not every file has a batch layer. The header, batch, detail and trailer skeleton is the common case and not a rule.

HOOK

Position finds the field; the plan gives its meaning.

REMEMBER IT THIS WAY

A sequence: the real steps, in order.

Ask in this order: shape, layout, type, publisher. Shape first, then the layout and its version, then the that the layout locates, then who publishes it.

What each part of the trick stands for
In the trickWhat it stands for
shapepositional, delimited, tag-value or self-describing, each read a different way
layoutthe layout document and its version, which the file itself does not contain
typethe record type code, found by its position in the layout, which says which kind of line a record is
publisherwho releases the layout, which tells you how much you can know

This order is a reading aid and not a standard, and when a format mixes shapes the first question has more than one answer.

TELL A FRIEND

A positional is characters in fixed places, so it means nothing without the exact layout document and edition it was written to. Read it with the wrong edition and the values can come out wrong without any error.

OFTEN MIXED UP WITH Reading an ISO 20022 message definition. A self-describing schema message names every field and publishes a schema that says what may appear where, so the message explains itself. A explains nothing: its fields are found by position and the meaning lives in a separate layout document.

MESSAGES INVOLVED

PRACTISE AND KEEP

IMPLEMENTATION RESOURCES

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

Teaching sampleIllustrative; no scheme profile checked

CNAB240 — a payment file header and one Segmento A — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

ACH — a file header, a batch header and one entry detail — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

Bacs Standard 18 — synthetic HSBC-scoped multi-processing data records — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

CNAB400 — one detail record from a Brazilian collection file — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

BR Code — one Pix Copia e Cola string, single-use, addressed by a key — raw TLV

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

ACB EFT — two payments and the contra that balances them — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

Bacs Standard 18 — synthetic HSBC-scoped submission frame — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

Zengin Data — two company-to-bank transfer records — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

Zengin frame — the header, the trailer and the end record around two transfers — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

Image cash letter — a file, a cash letter, a bundle, one cheque and its image, with all three controls — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

ABA — a whole Direct Entry file, from the Descriptive record to the totals — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

CNAB240 Segmento B — two Pix payments, addressed two ways — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

AFT Record C — a header, one record of two payments, and the trailer — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

BgMax — synthetic Receivables report, one service profile — raw POSITIONAL

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

PKO-profile Elixir-O illustration — ordinary and split transfer — raw DELIMITED

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

BAI2 — one American account, reported back the next morning — raw DELIMITED

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

ISO 8583 0100 — a card authorisation, element by element — raw ISO8583

PRO PASS
Teaching sampleIllustrative; no scheme profile checked

UPI intent link — a payment instruction anyone can read — raw URL

PRO PASS
Field matrixIllustrative; no scheme profile checked

CNAB240 Seg A field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

ACH Record 6 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Bacs Std 18 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

CNAB400 Detalhe field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Zengin データ field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

ABA Record 1 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

CNAB240 Seg B (Pix) field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

AFT Record C field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

ISO 8583 0100 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

upi://pay field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

ACH 306 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

BR Code field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Bankserv ACB field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Bacs Std 18 frame field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Zengin frame field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

BgMax field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

Elixir-0 field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

X9.100-187 ICL field matrix

PRO PASS
Field matrixIllustrative; no scheme profile checked

BAI2 field matrix

PRO PASS
Sources for this topic — 14 sources
  1. Scheme-specific rule

    Layout Padrão CNAB240 ↗ — FEBRABAN (Federação Brasileira de Bancos) · the CNAB240 layout FEBRABAN publishes and what it governs: the record kinds a payment file carries and the batch structure around them. No character position on this page is quoted from it — the publisher's host could not be fetched (a reachability gap, not a statement about the publisher).

    Defines the 240-position record layout Brazilian banks exchange with their corporate customers for payments and collections: the record types, the batch structure, and the character position and picture clause of every field. · Checked 2026-08-04

    Published openly as a versioned PDF, and this entry does not claim to have opened it: febraban.org.br could not be fetched, so verification relied on two independent web-search excerpts.

    The version and date carried here — V 10 11, 21/08/2023 — are read off the published file name rather than from the document itself. And search results list a second file carrying the same version string under a different date, so treat both as the publisher's naming and not as the layout's own declaration.

    FEBRABAN revises the layout, and a revision moves field positions, so the version in force between a bank and its customer is what governs. Individual banks publish their own manuals derived from it and are free to use the reserved areas, which is why two banks' CNAB240 files can differ while both conform.

  2. Scheme-specific rule

    ACH Network and Nacha Operating Rules ↗ — Nacha · the ACH Network and what the Operating Rules govern — who takes part, what the Rules cover and who enforces them. The Rules are a paid publication rather than an openly published document, so no record length, character position or code value on this page is quoted from them.

    Governs the US ACH Network: batch credit and debit transfers between an ODFI and an RDFI, cleared by the two ACH Operators (the Federal Reserve and The Clearing House) and settled on a deferred, netted basis. Same Day ACH runs defined intraday windows with a per-payment limit of USD 1,000,000 (effective 18 March 2022; scheduled to rise to USD 10,000,000 on 17 September 2027). · Checked 2026-07-14

    Nacha writes and enforces the Operating Rules but does not itself process ACH payments. The Rules themselves are a paid publication and cannot be read. So this entry supports the ACH Network's identity, scope and governance — who takes part, what the Rules cover and who enforces them — rather than the wording, character position or code value of any individual field. Where this site shows a record length, a record type code or a Standard Entry Class value, the open implementation that was read for it is cited beside this entry.

  3. Market practice

    moov-io/ach — a reader and writer for the Nacha ACH file format ↗ — The Moov Authors (open source, Apache 2.0) · file.go and entryDetail.go — the 94-character record length and the record type codes, read from an open implementation of the format

    An open implementation of the ACH file format whose parser carries the character position of every field on the File Header, Batch Header and Entry Detail records. Used here to check the position table published on this site. · Checked 2026-08-04

    An implementation, not the standard: Nacha's Operating Rules are the authority, and where a scheme rule and an implementation disagree the rule wins. Cited because it is readable — a reader can open the parser and count the same characters this site counts.

  4. Market practice

    CNAB Layouts — FEBRABAN file layouts transcribed to YAML ↗ — Glauber Portella (open source) · position ranges and picture clauses for the CNAB240 payments layout, including the record-type field at position 8 and the seven values of its domain

    A machine-readable transcription of the FEBRABAN CNAB240 layouts, giving each field's position range and picture clause. Used here to check the position table published on this site against something a reader can open and check for themselves. · Checked 2026-08-04

    A community transcription, not the standard: the payments (pagamentos) layout it carries declares itself version 09.1, which is older than the version FEBRABAN currently publishes.

    It is cited for the shape of the record and for positions that are stable across versions: the 8-character common prefix of bank code, batch number and record type, and the segment letter. It is never cited as the authority on a current field position.

    Positions 9 to 13 are not part of that prefix: on a detail record they carry the record's sequence number within the batch, and on a file header the same characters are a FEBRABAN-reserved filler. Read FEBRABAN's own PDF, at the version your counterparty sends, before building.

  5. Official requirement

    Swift Standards MT (annual standards releases) ↗ — Swift · SWIFT MT as a tag-value format — the field tags, such as 32A for the amount, defined by the annual standards releases

    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 8583:2023 — Financial-transaction-card-originated messages ↗ — International Organization for Standardization (ISO) · ISO 8583 as a numbered-data-element card message — the message type indicator, the bitmap and the data elements

    The card-message standard behind authorisation, clearing and settlement traffic between acquirers, schemes and issuers: the message type identifier, the bitmap, and the numbered data elements that give the format its shape. The authority for the ISO 8583 claims on this site, which the ISO 20022 catalogue does not cover. The 2023 third edition consolidates the withdrawn 2003 multi-part text (ISO 8583-1:2003, catalogue 31628). · Checked 2026-08-25

    Verification relied on web-search excerpts of the publisher's own catalogue page. iso.org refused a direct fetch, which is an access limit rather than a finding about the catalogue.

    Under the 2023 edition the document itself spells out message structure and format. Message, field and code-value tables are licensed electronic inserts at standards.iso.org/iso/8583 under a customer licence agreement. That is a different access model from treating the standard as a single paid PDF. This entry supports the standard's identity, scope and structure rather than the wording of any individual data element.

  7. Scheme-specific rule

    Unified Payments Interface (UPI) ↗ — National Payments Corporation of India (NPCI) · UPI as an NPCI-operated scheme, and what NPCI publishes about it openly

    Describes UPI, the NPCI-operated real-time retail payment system: instant account-to-account transfers 24/7/365 addressed by a Virtual Payment Address (VPA / UPI ID) so account numbers are not shared, built over the IMPS infrastructure, regulated by the Reserve Bank of India. · Checked 2026-07-14

    NPCI is an RBI-regulated entity. UPI is built over IMPS and uses a VPA rather than raw account details.

  8. Scheme-specific rule

    Bacs Standard 18 file format ↗ — Pay.UK / Bacs Payment Schemes Limited · Bacs Standard 18 as the positional file submitted into Bacs, named here as one of the fixed-width domestic formats

    The fixed-format file used to submit Direct Credits and Direct Debits into Bacs. Cited for the identity and shape of the format — Bacs payment messages are carried in a positional layout known as Standard 18. And not for any field position, nor for the Bacs clearing cycle, which the separate Pay.UK scheme entry carries. · Checked 2026-08-04

    A positional layout rather than a message standard: meaning is carried by where a character sits in each record.

    The publication itself is reached through the scheme and its accredited software suppliers and is not reachable. So the transaction-record positions this site publishes are taken from two independent open implementations that agree position for position, cited beside it.

    The label records that wrap the data — VOL1, HDR1, HDR2, UHL1, EOF1, EOF2, UTL1 — are NOT published here: the only open description of them is self-declared as inferred from validator behaviour, and they vary by bank and service user number.

  9. Scheme-specific rule

    Zengin System ↗ — Japanese Banks Payment Clearing Network (Zengin-Net) · the Zengin System — Japan's interbank clearing system for domestic retail credit transfers, named here as one of the file-based domestic rails

    Describes the Zengin System, Japans interbank clearing system for domestic retail credit transfers (launched 1973), operated by the Japanese Banks Payment Clearing Network (Zengin-Net). Payments below JPY 100 million settle on a deferred net settlement basis across accounts at the Bank of Japan. Payments of JPY 100 million or more settle RTGS in BOJ-NET (since the Next-Generation RTGS project of November 2011). · Checked 2026-07-14

    Zengin clears retail credit transfers and nets positions settled at the Bank of Japan; large-value items are diverted to RTGS in BOJ-NET.

  10. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

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

    What this simplifies: The four-shapes frame is this site's teaching device, not a standard, and real formats mix them — an ISO 8583 message is tag-value at the data-element level and fixed-width inside several of those elements. The header/batch/detail/trailer skeleton is the common case rather than a rule: some file formats carry no batch layer at all.

    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.

  11. Scheme-specific rule

    National Automated Clearing House (NACH) ↗ — National Payments Corporation of India (NPCI) · NACH as NPCI's bulk clearing rail, named here as one of the file-based domestic rails

    Describes NACH, the NPCI-operated bulk clearing system for recurring high-volume push and pull payments: NACH Credit (e.g. salary, dividend, subsidy disbursement) and NACH Debit (e.g. utility, loan EMI, insurance collections under a registered mandate), processed in batch cycles. · Checked 2026-07-14

    NACH is Indias bulk/recurring batch system, analogous to Bacs (UK) and ACH (US).

  12. Scheme-specific rule

    NACH circulars on the NACH Debit 156 to ACH Debit 306 file-format migration — Circular No. 219 (2016-17), No. 267 (2017-18) and No. 26 (2018-19) ↗ — National Payments Corporation of India (NPCI) · circular titles naming the NACH Debit 156 and ACH Debit 306 file formats

    The two record lengths NPCI's own circular titles name for its bulk file formats — NACH Debit 156 migrating to ACH Debit 306 — and the fact that the migration was announced by circular. The circulars name the lengths and do not carry the field layout. · Checked 2026-08-04

    Search excerpts only, page not opened. The two record lengths were read from the operator's own circular titles as they appeared in search results, and corroborated across three separate circulars naming the same two numbers. Strong, because a filename is hard to scramble, and still not a page read. These circulars name the record lengths and do not carry the field layout; the layout negative is recorded as india-nach-file-layout with verdict member-only.

  13. Market practice

    BBPS API — Bharat Bill Payment System API Integration Document, version 1.4 ↗ — BillAvenue (a Bharat Connect / BBPS operating unit) · the rule that every amount in a Bharat Connect request or response is in paise

    An operating unit's restatement of the Bharat Connect API specification, cited for one claim: that every amount in a request or response is expressed in paise. No element name, length, cardinality or code table is asserted from it. · Checked 2026-08-04

    An operating unit restating the scheme's specification, not the scheme itself; the scheme's own BBPS API Specifications v14.1 sits on bharat-connect.com and is likewise 403 here. Search excerpts only, page not opened, so this was read as search summarisation. It supports the single sentence the site takes from it — that every amount in a Bharat Connect request or response is expressed in paise. No element name, length, cardinality or code table is asserted from it.

  14. Market practiceVersion16,8pages; publicationdate not seen

    PKO iPKO biznes ELIXIR-O bank input structure — Version16 ↗ — PKO Bank Polski · the Elixir-0 record as Polish banks publish it to their corporate customers: one payment order per line, fields separated by a comma, text fields wrapped in quotation marks. Cited for the delimited shape and for nothing else on this page; no document behind it was opened.

    Actual complete PKOiPKObiznes ELIXIR-O v16bank input specification: headerless records, fixed/variable field types, instruction/routing codes, codepages/quoting, split-payment title, optional multi-part field16and16-character first-line own reference. This bank/customer profile, not KIRnative wire or all other bank dialects. Older multi-bank search comparisons remain historical evidence only. · Checked 2026-11-06

    Historical search/access notes from 5 August 2026 follow. Verification boundary, and it is the whole of this entry's weight. Every one of these publishers answers a refusal to a fetch — pkobp.pl, mbank.pl, ing.pl, bankmillennium.pl, aliorbank.pl, bosbank.pl, sgb.pl, bgk.pl, citibank.pl and i-bs.pl were each attempted — so no document behind this entry was opened. Everything cited from it comes from web-search summarisation over those documents across eleven searches on the access date. Those searches were run in Polish rather than in English, because a United States search index under-represents Polish publishers badly enough to have hidden the format entirely.

    That is weaker than a page-image read and it is cited at that strength: nothing on this site quotes a line from any of these documents. And no field ordinal rests on this entry alone — the order of the sixteen fields comes from three open implementations read in full and is cited to them.

    These are also banks' documents rather than the scheme owner's. Where one narrows the format, that is a bank rule: the documents recovered here disagree with each other on how many fields a record has, on which code pages are accepted and on what the last field carries. Say as this bank publishes it, never as Elixir-0 requires.

    Follow-up6November2026: actual entire8-page170832-byte PKOv16PDF downloaded and text read; SHA256 ea3a6866d84ce4b0d7ac5f85c07af27c3ad3d47149169e86400f07f130cdcb9d. This resolves earlier no-document-opened statement only for this named bank/version, not every publisher in the old search set. Whole field16is6×35aV; first-line reference16characters. Actual quoted VATcomma allowed, nestedquotes rejected, field5route0/2/7, banklimit5000records. No live bank acceptance or whole private KIRprofile certification.

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.