ANNOTATED SAMPLE

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

Three of the 1464-character lines a file is made of: the Header record marked A, one Credit detail record marked C, and the Trailer record marked Z. Character 1 is what says which of them you are holding, and until it has been read the same characters mean different things. 025–030 is the file creation date on the header, and on the detail record it is the first payment's transaction code followed by the front of its amount.

The detail record is the shape worth studying, because it is not one payment. Twenty-four characters of leader say what kind of record this is, number it, name the originator and name the file; everything from character 25 onward is six segments of 240 characters, one payment to a segment. A record carrying two payments is still 1464 characters, because the four segments it does not use are filled with spaces. So a count of records is not a count of payments, and the trailer says both: its credit count at 061–068 reads 00000002 while the logical record count at the front of the same line says three.

Money and dates both have to be counted rather than read. The amount at 028–037 reads 0000123456 and means C$1,234.56: ten digits of cents, with the decimal point implied and never written. The date beside it at 038–043 reads 026216, which is not a day, a month and a year at all. It is three characters of year and three of day-of-year, so it is day two hundred and sixteen of 2026, the fourth of August, and the century is nowhere in the field. Notice also where that date sits: inside the segment rather than on a header, so every payment in this record could fall due on a different day.

SYNTHETIC / TRAINING ONLY. Every identifier here is constructed and none of it may be sent. The nine-character routing values name an institution number and a branch transit that Payments Canada's own registers would settle. Those registers were not reachable. They are written as widths to count characters against rather than as numbers shown not to be issued. There is no check digit on an account number here either. The three-digit CPA transaction code is written as three zeros, and it is a placeholder rather than a code. The record page publishes that field's address and says in as many words that no source read for it lists out the values. The fourteen-digit credit total in the trailer is written in the same cents scaling as the segment amounts, which is this site's choice for a sample that has to add up. The record page states that field's width and not its scaling. Demo Trading Ltd, Example Supplies Ltd and Alder Freight Ltd are this site's registered fictional cast. The five runs the record page names but does not tabulate are written here as spaces, and that is a rendering decision rather than a claim that they are empty. The record page says plainly that none of them is space you may use. Not validated against Standard 005 or against any Canadian financial institution.

FULL AFT Record C REFERENCE →

Sources for this sample — 5 sources
  1. Official requirementAmendment 2024-05-23; effective 2024-07-22

    Standard 005 — Standards for Exchange of Financial Data on AFT Files ↗ — Payments Canada · Standard 005 — Standards for the Exchange of Financial Data on AFT Files. Cited for what the document is and who publishes it. Not opened, and no character in these lines is placed from its pages

    Actual 50-page PDF read: SectionC2 distinguishes1464-character A/C/D/E/F/I/J/Z from 208-character S/U/V; logical payment segments differ from records. · Checked 2026-11-06

    V15 audit opened the identified primary provisions on 6 November 2026. The read scope above is specific; an older access caveat no longer describes these provisions.

  2. Market practice

    payette — an AFT/CPA 005 file writer citing TD's EFT 1464 Byte File Layout ↗ — Sphexi (open source) · src/payette/output/eft/cpa005.py — the field-by-field widths of the A header record, the 24-character detail leader, the 240-character detail segment and the Z trailer record, and the shape of the nine-character routing value and the six-digit Julian date, which is what every character in these three lines is placed against

    An open implementation whose AFT writer names each field against TD Bank's Electronic Funds Transfer Customer Guide, 'EFT 1464 Byte File Layout — Credits and Debits', and states that no field in it is invented. Used to check the field widths inside a 240-character segment. · Checked 2026-08-04

    An implementation citing one bank's customer guide, which is a weaker basis than the five independent sources behind the record geometry. Payments Canada's Standard 005 is the authority and could not be opened; the record distinguishes the two confidence levels rather than presenting them as one.

  3. Market practice

    moov-io/cadeft — a reader and writer for the Payments Canada AFT file format ↗ — The Moov Authors (open source, Apache 2.0) · credit.go — the segment runs this sample leaves blank rather than fills: the item trace number, the stored transaction type and the settlement code

    An open implementation of the AFT file whose parser carries the character position of every field inside a 240-character segment, on both the credit segment (credit.go) and the return segment (credit_return.go). Used here to check the segment table published on this site, and to establish that the runs an earlier reading called reserved are named fields. · Checked 2026-08-04

    An implementation, not the standard: Payments Canada Standard 005 is the authority, and where the scheme rule and an implementation disagree the rule wins. Cited because it is readable, and because it is a second one — the segment field widths previously rested on a single open implementation, and this one agrees with it at every offset the site publishes. A field this parser does not name on one record kind is not thereby free space in the format. The two runs left unnamed on a credit segment are the Original Item Trace Number and the Invalid Data Element ID on a return.

  4. Market practice

    Public restatements of the AFT Standard 005 file layout ↗ — Canadian payment-service providers and banks, collectively (Central 1, RBC, X9Ware, Treasury Software and others) · four independent restatements of the CPA 005 file, cited for the geometry these lines obey: the 1464-character record, the A, C, D and Z record types, the 24-character leader with six 240-character segments, the space filling of unused segments, and the justification and padding conventions

    Several Canadian financial institutions and vendors publish their own restatements of the AFT file specification, including Central 1's AFT File Specifications (December 2022). Cited for the record geometry — 1464 characters, the A and Z bracketing records, and the 24 plus six-times-240 segmentation — which all of them state consistently. · Checked 2026-08-25

    Secondary restatements, cited only where they agree with each other and with the scheme operator's published structure. The URL is Payments Canada's own rules and standards hub rather than any one restatement, because the fact rests on their agreement.

    The hub moved and this entry did not. The registered address answered HTTP 404 at the publisher's own not-found page. Payments Canada publishes the catalogue at the address above, which this registry already used for payments-canada-acss, so the correct form was on hand and simply never applied here.

    One claim is withdrawn. The previous note said the publisher's host could not be fetched (a reachability gap, not a statement about the publisher), and that verification relied on web-search content rather than on opening anything. The host answers: the hub was read at HTTP 200 on the access date, and it carries the searchable rules, standards and procedure catalogue with a Standards category.

    The scheme's own Standard 005 is reachable too, and is registered separately as payments-canada-standard-005. This entry stays pointed at the hub, because what it supports is the agreement between independent restatements rather than the Standard's own text.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

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

    What this simplifies: Fictional originator, payees, routing values, account numbers, references and amounts, and three lines rather than a file. Every identifier is constructed and none of the routing values is shown never to have been issued: Payments Canada's registers were not reachable, and no check digit exists on an account number here for a wrong value to fail. The three-digit transaction code is written as three zeros and is a placeholder rather than a code, because the record page publishes that field's address and states that no source read for it enumerates the values. The fourteen-digit credit total in the trailer is written in the same cents scaling as the segment amounts so that the file adds up. The record page states that field's width and not its scaling, and says to take the scaling from Payments Canada's own document. Four of the six segments are space-filled, which is what the format requires of a record carrying fewer than six payments. The five runs the record page names but does not tabulate are written as spaces, which renders the record without claiming those characters are free. The record page says in as many words that none of them is space anybody may use. Not validated against Standard 005 or against any Canadian financial institution.

    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.