Free CSV & Excel to CPA 005 File Converter
Instantly convert payroll spreadsheets, supplier payments, and vendor CSV/Excel files into compliant 1464-byte Canadian Payments Association (CPA) Standard 005 AFT files. Compatible with RBC, TD, BMO, CIBC, Scotiabank, and National Bank.
Bank Compliance & Security Notice
This free utility is provided by Currency Mart Inc. to assist Canadian bookkeepers, accountants, and businesses in generating CPA Standard 005 files. All file parsing and formatting happens 100% locally in your web browser — zero financial data or bank credentials are ever transmitted to or stored on our servers. Always test your generated files in your bank's test environment before issuing production disbursements.
1 Import CSV or Excel Spreadsheet
Drag & Drop your CSV or Excel file here
Accepts .csv, .xlsx, .xls, .tsv, or .txt files
Spreadsheet Column Mapping
Match your spreadsheet headers to standard CPA 005 transaction fields:
2 Header & Bank Settings (Record Type A & Batch)
Bank 003
Bank 004
Bank 001
Bank 002
Bank 010
Bank 006
3 Payment Records & Recipients
| # | Payee / Payor Name (max 30) | Bank # (3) | Transit # (5) | Account # (12) | Amount ($) | Cross-Ref / Memo (19) |
|---|
CPA 005 (1464-Byte) File Validator & Inspector
Paste your 1464-byte CPA 005 file content or drag and drop a .txt file to inspect byte offsets, record counts, segment alignment, and trailer control balances.
Drag & Drop existing CPA 005 text file here
Record & Segment Diagnostics
| Line | Record Type | Status | Field Inspection & Details |
|---|
Understanding Payments Canada Standard 005 (1464-Byte AFT)
In Canada, commercial automated clearing settlement is governed by Payments Canada Standard 005 (Standards for the Exchange of Financial Data on AFT Files). Whether submitting payroll direct deposits, accounts payable supplier payments, or collecting pre-authorized debits (PAD), Canadian financial institutions require exact character positioning, zero-padding, and mathematically verified control records.
Record Type A (File Header)
The very first line of every CPA 005 file (exactly 1,464 characters). Contains:
- Position 1: Record Type ID (
A) - Positions 2-10: Record Count (
000000001) - Positions 11-20: Originator ID (10 chars assigned by your bank)
- Positions 21-24: File Creation Number (4 digits, e.g.
0001) - Positions 25-30: Creation Date in Julian format (
0YYDDD) - Positions 31-35: Destination Data Centre routing code
Record Types C & D (6 Segments per Line)
Unlike legacy 80-byte single-row formats, Standard 005 packs up to 6 payment segments of 240 characters each into every 1464-byte record line:
- Header (24 chars): Type (
Cfor Credit,Dfor Debit) + Record Count (9) + Control Data (14). - Segments 1 to 6 (240 chars each): Transaction Type, Amount in cents (10 digits), Due Date (6 digits Julian), 9-digit Institutional ID (
0 + 3-digit Bank + 5-digit Transit), Account # (12 chars), Item Trace Number (22 digits), Payee Name (30 chars), and Return Routing info. - Unused segments within a record are padded with spaces to maintain the exact 1464-byte width.
Record Type Z (Trailer & Control Balances)
The final line of the file (1,464 characters). Provides independent mathematical verification of all transactions in the batch: Total Value of Debits (14 digits in cents), Total Count of Debits (8 digits), Total Value of Credits (14 digits in cents), and Total Count of Credits (8 digits). Banks reject files instantly if the Record Z totals do not reconcile with the sum of records.
Supported Canadian Banks & File Specifications
Our converter produces standard 1464-byte files tested for direct upload across Canadian commercial banking portals:
| Bank Name | Bank # | Online Banking System | Standard Format |
|---|---|---|---|
| Royal Bank of Canada (RBC) | 003 |
RBC Express / ACH Direct Deposit | 1464-Byte Standard CPA 005 / Royal Bank Format |
| TD Canada Trust | 004 |
TD WebBusiness / Commercial Banking | 1464-Byte CPA 005 AFT |
| Bank of Montreal (BMO) | 001 |
BMO Online Banking for Business (OLBB) | 1464-Byte CPA 005 & 80-Byte Format |
| Scotiabank | 002 |
ScotiaConnect Electronic Funds Transfer | 1464-Byte CPA 005 AFT |
| CIBC | 010 |
CIBC Cash Management / CMO | 1464-Byte CPA 005 AFT |
| National Bank of Canada | 006 |
National Bank Internet Banking for Business | 1464-Byte CPA 005 AFT |
Frequently Asked Questions (FAQ)
0YYDDD, where 0 is a constant zero, YY represents the last two digits of the year (e.g. 26 for 2026), and DDD is the 3-digit day number of the calendar year (from 001 to 366). Our converter calculates this automatically based on your selected file creation date and funds availability date.