EFT CPA 005 File Guide

Learn > Payments > EFT

The EFT CPA 005 file format is a Canadian formatting standard for generating electronic funds transfer files.

The EFT CPA 005 file format is a Canadian formatting standard for generating electronic funds transfer (EFT) files - sometimes known as PAD files - for pre-authorized transactions. Originally developed by the Canadian Payments Association for batched, inter-bank transactions, the CPA 005 format is defined as a 1464-byte text record.

Despite its widespread use, the official documentation from the CPA and various banks has been known to contain omissions, inconsistencies, and errors, which makes generating a fully compliant PAD file from scratch a challenge for developers.

EFT CPA 005 File History

Historically, the CPA 005 format was designed to handle thousands of transactions recorded on tape, with dedicated processing centers managing the physical tapes between banks. Not any bank could process these original transaction tapes, they would have to be physically taken to the major processing centers in major cities in Canada to be processed.

Today, while the physical tapes are a thing of the past, the format lives on and is used to process batch pre-authorized transactions between Financial Institutions, overseen by Payments Canada (also known as the Canadian Payments Association).

The CPA 005 file serves as a way to encode all necessary bank account and transaction details into a fixed-length, padded text file.

CPA 005 File Layout and Structure

A CPA 005 file is organized as a text file with each line exactly 1464 characters long. The file contains:

  • Header and Trailer Records: The header (denoted by an A record) carries key metadata such as the file creation date, originator ID, and settlement account information. The trailer (marked with a Z record) provides summary details for reconciliation.
  • D Lines (Debit) and C Lines (Credit): Each detailed record starts with a 24-character header followed by up to six segments of 240 characters each. If fewer than six segments are used, the line is padded to reach the 1464-character requirement. Although D and C lines are designed to work interchangeably, in practice debits and credits are batched separately.

Additional key points about the file layout include strict padding conventions (numeric fields are zero-left padded and text fields are space-right padded) and the handling of line breaks, which can vary across operating systems.

Key Concepts & Conventions

  • Originator ID - A number issued to entities authorized to submit PAD/EFT payments.
  • Bank, Transit, and Account Numbers - These three elements combine to uniquely identify bank accounts, much like a postal address.
  • File Creation Number (FCN) - A sequence number that rotates from 0001 to 9999, used to prevent duplicate submissions.
  • Date Format - Dates are expressed as a 6-digit number (three digits for the year and three for the day of the year).

CPA 005 Challenges

Despite the available documentation on the file specifications, generating a compliant CPA 005 file is not straightforward. The official documents - including those provided by the Canadian Payments Association - contain several inaccuracies and missing details, such as:

  • Inconsistent Field Definitions: Conflicting information exists about reserved fields and the positioning of essential data like the settlement account details within the header.
  • Omissions in Interface Definitions: Unlike modern APIs that specify interfaces (e.g., REST or SOAP), CPA 005 files are simple text files uploaded via an authenticated online banking interface. There’s no inherent transmission protocol defined in the standard.
  • Padding and Line Break Conventions: The documentation does not clearly specify the handling of line breaks or the padding rules, leading to potential misinterpretations.

Learn More about EFT

EFT (Electronic Funds Transfer)

EFT stands for Electronic Funds Transfer and is the backbone of the Canadian payment industry. EFT offers a safe and cost-effective way to electronically credit or debit accounts at any Canadian financial institution in Canadian or U.S. dollars.

EFT Return Codes

+

An EFT return code occurs when an EFT payment is unsuccessful, and each specific code will refer to the reason for the failure.

EFT Reversals Guide

+

EFT reversals are when a payment is reversed due to issues such as incorrect payment details or customer disputes.

Bulk EFT Guide

+

Bulk EFT payments refer to processing Canadian bank account transactions in bulk in order to optimize payment operations at scale.

EFT Cut Off Times

+

EFT cut-off times refer to the deadlines set by financial institutions for processing EFT transactions.

EFT API Integration

+

An EFT API integration connects a business’s software infrastructure to an EFT payment gateway, enabling programmatic access to EFT payment processing.

EFT vs Wire

+

EFT payments and wire transfers are two different types of electronic transactions, each with its own pros and cons.

Speak to a Fintech Specialist Today!

1. Speak To Our Team

Speak to a Fintech Advisor to outline your needs and impact plan.

2. Access Sandbox

Start testing in the VoPay sandbox to explore our advanced API functions.

3. Sign & onboard

Our compliance and onboarding team will guide you through the process.

4. Go live!

Choose a production date and launch your integration with confidence!

Talk with our sales team

We are happy to answer your questions. Fill out the form and we will have one of our team members contact you.