Image cash letter — a file, a cash letter, a bundle, one cheque and its image, with all three controls
Nine of the 80-character records a cheque file is made of, and the smallest complete file there is. Those are a file header, a cash letter header, a bundle header, one cheque, the endorsement behind it, the picture of it, and the three control records that close the bundle, the cash letter and the file. 001–002 is the on every line — 01, 10, 20, 25, 26, 50, 70, 90, 99 — and it is the only thing that says which layout the other 78 characters are written in.
Follow the one cheque up through the nesting, because that is what the controls are for. 048–057 on the Check Detail reads 0000123456, and means $1,234.56 — eight digits and two more, with the decimal point implied and never written. 007–018 on the Bundle Control reads 000000123456. 017–030 on the Cash Letter Control reads 00000000123456. 025–040 on the File Control reads 0000000000123456. Same amount, four widths, four different fields on four different records, and a reader who mistakes one width for another is out by a factor of a hundred.
The counts run the other way. 003–006 says one item in the bundle, 003–008 on the Cash Letter Control says one bundle, and 009–016 on the File Control says nine records — which is this file, all of it. A cheque file carries no checksum: if a transmission truncates, these three counts are what notices, and nothing else will.
Two characters are worth stopping on, because both are the file describing itself. 005–005 on the file header carries T, marking the whole transmission a test rather than production, which is what a training sample should say in its own data rather than only in the note beneath it. And 074–074 on the addendum carries Y: this is the institution that truncated the paper cheque and stopped it travelling. That is the whole idea the format exists for. The picture at 003–003 on the Image View Detail is what moves from here on, and the cheque itself stays where it was deposited.
SYNTHETIC / TRAINING ONLY. Every identifier here is constructed and none of it may be sent. The three routing numbers are built on a 00 prefix, which is not issued to United States depository institutions, and each check digit is the one its own preceding digits compute to. The weighted modulus check this format relies on still passes on a number no bank holds. Alder Freight Ltd is this site's registered fictional cast, and the field truncates its legal name at fifteen characters, which is what that field does. The account and cheque serial in the On-Us field, the item sequence number, the cash letter identifier, the dates and the amount are invented. The file marks itself a test file at 005–005, which is true of it.
FULL X9.100-187 ICL REFERENCE →
Sources for this sample — 3 sources
- Official requirement2021 edition (ANSI X9.100-187-2021)
ANSI X9.100-187 — Electronic Exchange of Check and Image Data ↗ — Accredited Standards Committee X9 (ASC X9), published through ANSI · the standard that defines this file — cited for what the format is and who maintains it, and for no character in these lines: it is a paid publication and was not opened
Not read. The standard is sold through the ANSI webstore rather than published, and x9.org could not be fetched, so no record type, character position, length or value on this site is quoted from it. This entry supports only the standard's identity, scope and access model, which is why citations to it carry the market-practice label rather than a binding one.
Verified from two independent web-search excerpts on the access date. Those are ANSI's own article on the standard, and the ANSI webstore listing for the 2021 edition. That edition is also sold bundled with ASC X9 TR 47-2022, the Universal Companion Document that restates the record and field detail for industry adoption. Neither the standard nor TR 47 was opened.
The current edition is 2021. What this site publishes about the format comes from an open implementation whose record tables are published as coming from the 2013 and 2016 editions, so the site's record is a revision behind the standard and says so.
- Market practice
moov-io/imagecashletter — a reader, writer and validator for the X9 image cash letter format ↗ — The Moov Authors (open source, Apache 2.0) · fileHeader.go, cashLetterHeader.go, bundleHeader.go, checkDetail.go, checkDetailAddendumA.go, imageViewDetail.go, bundleControl.go, cashLetterControl.go and fileControl.go — the 80-character record, the record type codes, every field position these lines write into, and the twelve indicator values written above: the standard level, the test-file indicator, the collection type, the cash letter record type, the documentation type on both the cash letter and the cheque, the return acceptance indicator, the MICR valid indicator, the correction indicator, the archive type, the truncation indicator, the image indicator, the image view format, the view side and the view descriptor
An implementation, not the standard. ANSI X9.100-187 is sold rather than published and was not read for this site, so where the two differ the standard governs and this site is the one that is wrong.
Its documentation and its Go source were read as two independent readings and reconciled field by field. They agree exactly on every field this site publishes. They do not agree everywhere: the record tables for the Check Detail Addendum C, Return Detail, Return Detail Addendum B and D and Routing Number Summary records print sizes that contradict the spans beside them. And the Bundle Control table names two fields the parser does not have. Nothing from those tables is published here. The one disagreement that is published is the nine characters at 055-063 of the Bundle Header, where the table says reserved and the code reads a return location routing number.
Read from the master branch at https://raw.githubusercontent.com/moov-io/imagecashletter/master/ on the access date — docs/file-structure.md and the per-record Go sources. Master is not a released version, and the GitHub API is not reachable for this repository, so no release tag was recorded.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Fictional institutions, account, cheque serial, item sequence, cash letter identifier, dates and amount, and nine records rather than a real file. A production file carries many cash letters, many bundles and many items, and usually a picture of each face rather than one. This file says so in its own data — the image count at 031–035 is
00001and the view side at 032–032 is the front. Fields the record page does not curate are left blank rather than filled, which a real file may not do: the positions this sample teaches are the ones the record declares, and everything between them is width to count against. The External Processing Code at 018–018 is blank because it is conditional and the implementation read for this page declares no value domain for it. Not validated against any clearing arrangement, and not run through any reader.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.