AFT Record CFixed-width file

AFT Record C — up to six payments in one Canadian record

One record inside a Canadian — and, unlike every other fixed-width layout on this site, up to six payments inside that one record. is Automated Funds Transfer, the batch stream Canadian direct deposits and pre-authorised debits are originated in, and its layout is published by Payments Canada, the body that owns and operates the country's payment systems. It was the Canadian Payments Association until 2016, which is why practitioners and vendors still call this format CPA 005, after Standard 005, the document that defines it.

DIRECTION: From the originator — the company that wants the payments made — to the financial institution that issued it a ten-character originator identifier, and on to each payee's institution named inside the segments. Direction is carried by the record type character at position 1. A transaction code carries it the same way in a US automated clearing house (ACH) entry or a Bacs Standard 18 line. A C record pushes money out as a direct deposit, and a D record pulls it in as a pre-authorised debit. The difference is what that character covers. It sits in the leader that six segments share, so the smallest thing in this format that can change direction is a record of six payments rather than a single payment. Payments Canada's own rules describe pre-authorised debits and electronic funds transfers as exchanged and settled through the Automated Clearing Settlement System, the retail batch system it operates, with final settlement across settlement accounts at the Bank of Canada.

WHO IS INVOLVED

  • Originator — the company sending the paymentsWrites the file. Its payroll or payables system produces the segments, and identifies itself in the leader of every detail record by a ten-character originator identifier its financial institution issued it. The same identifier is repeated inside each segment, so a full C record carries it seven times.
  • Originating financial institution — the sending bankReads the file against the layout it publishes to its own customers, moves the money across the originator's own account, and releases the items into the clearing stream. It is also the party that issues the originator identifier and agrees the file creation number sequence, which is why two originators can send identically shaped files that only their own institutions can place.
  • Payee's financial institutionNamed in each segment by nine characters — a constant zero, a three-digit institution number and a five-digit branch transit number — and credits the twelve-character account beside them. There is no IBAN in this record and no check digit on the account number, so nothing inside the file checks the address it carries.
  • Payments Canada — the scheme operatorPublishes Standard 005, which defines how financial data is exchanged on AFT files, along with the companion rules that govern AFT transactions, and operates the retail batch system the resulting items clear through. It was the Canadian Payments Association until 2016, and the older name is still attached to the format.

WHAT TO UNDERSTAND ABOUT IT

Every record in the file is exactly 1464 characters. The first logical record is a Header record marked A and the last is a Trailer record marked Z; in between, a record marked C carries credits and a record marked D carries debits.

What makes a C or a D record unlike every other detail record on this site is its shape. It is a 24-character leader followed by six 240-character segments, and 24 plus six times 240 is 1464. One payment fills one segment. Six payments fill one record, and the leader that says who sent the file is written once rather than six times. Segments a record does not need are filled with spaces, so a record carrying two payments is still 1464 characters.

Nothing in those 1464 characters names a field: no tags, no separators, no field names, so the file cannot tell you what it holds. Only the layout document can, and how much of that document this page could reach is a question the coverage note has to answer carefully.

Version + profile: AFT Record C is a fixed-width layout, so a field is found by counting characters and a layout version is not cosmetic: when a publisher revises the document, positions move and a reader that counts to the old offset reads the wrong field rather than failing. Check the version your counterparty is sending before building against this page, and check whether they have a house variant — several of these formats are published as a standard that banks are free to extend.

3 MESSAGES