Skip to content
All writing
Shams K4 min read

Retail Batch vs the Real-Time Rail: Canada's Two Speeds of Payments

How Canada's batch system (ACSS) works, what a CPA 005 file looks like, and how it differs from the Real-Time Rail.

Most everyday payments in Canada do not move instantly. They move in batches. The Real-Time Rail adds a second speed. This post compares the two, including what the batch file format looks like.

The batch system

Canada's retail batch payment system has two parts: the Automated Clearing Settlement System (ACSS) and the United States Bulk Exchange (USBE). The ACSS clears most day-to-day payments in Canada. It handles both paper items, such as cheques, and electronic items.

Electronic items include:

  • Direct deposits, also called AFT credits
  • Pre-authorized debits (PADs), also called AFT debits
  • Point-of-sale debit payments
  • Online bill payments

The ACSS turned 40 in November 2024. The Bank of Canada oversees it.

How batches work

Banks collect items and exchange them in files. Only certain institutions, called direct clearers, take part directly. Direct clearers must keep settlement accounts at the Bank of Canada. Other institutions, called indirect clearers, clear through them.

The result is simple and cheap, but it is not instant.

The rules behind it

  • Rule F1: rules for Automated Funds Transfer (AFT) transactions
  • Rule H1: pre-authorized debits
  • Standard 005: how to exchange financial data on AFT files (the file format)
  • Standard 007: transaction codes and return reason codes in AFT files

What an AFT file looks like (CPA 005)

The common AFT format is called CPA 005. It is a fixed-width text file. Every line is exactly 1,464 characters long.

The first character tells you the record type:

Record Meaning
A File header (one per file)
C Credit detail, for direct deposits
D Debit detail, for pre-authorized debits
Z File trailer (one per file)

The length comes from simple math: a 24-character prefix plus six segments of 240 characters. The prefix holds the record type, a record count, the originator ID, and a file creation number. Each segment is one transaction, so a C or D line can hold up to six transactions. A line with fewer than six is padded with blanks.

Two fields you will meet quickly:

  • Transaction code. A 3-digit code from the CPA code list that says what kind of payment it is. An invalid code makes the transaction reject.
  • Amount. A 10-digit number with an implied decimal point, so there is no decimal character in the file.

The header can carry a currency code of CAD or USD. The trailer carries control totals, including the number of transactions, so the receiver can check the file.

Each bank or credit union may add its own rules on top of CPA 005. Files that do not match are rejected, so always check your institution's file specification.

What the Real-Time Rail adds

The Real-Time Rail (RTR) is a credit transfer system. It settles each payment on its own, right away, 24 hours a day, every day. Payments are instant and cannot be reversed. It uses ISO 20022 XML messages, not fixed-width files.

Side by side

Retail batch (ACSS) Real-Time Rail
Timing In batches Instant, 24/7/365
Format AFT files such as CPA 005, plus other formats ISO 20022 XML (pacs.008, pacs.002, and others)
Typical use Payroll, bills, PADs, cheques Urgent account-to-account payments
Settlement Grouped One payment at a time
Debits Yes, PADs Credit transfers

Will one replace the other?

Not soon. Sources describe the RTR as working alongside existing rails, not replacing them. Payroll and recurring bills fit batches well. Time-critical payments fit the RTR.

Sources: Payments Canada (retail batch page, Standard 005, rules list), Bank of Canada, Modern Treasury, vendor AFT specifications.

Keep reading

All posts