CPA 005 File Generator: Excel or CSV to Canadian EFT File avatar

CPA 005 File Generator: Excel or CSV to Canadian EFT File

Pricing

$20.00 / 1,000 payment in the cpa 005 files

Go to Apify Store
CPA 005 File Generator: Excel or CSV to Canadian EFT File

CPA 005 File Generator: Excel or CSV to Canadian EFT File

Create the CPA 005 file (AFT, often called EFT file) for payroll and supplier payments by direct deposit, or for pre-authorized debits, from an Excel, CSV or JSON list, ready to upload to your Canadian online banking. Every row is checked first.

Pricing

$20.00 / 1,000 payment in the cpa 005 files

Rating

0.0

(0)

Developer

Flavio D'Orio

Flavio D'Orio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

Still typing payroll or supplier payments one by one into your business online banking? This Actor creates the CPA 005 file (AFT, Automated Funds Transfer, often called EFT file or direct deposit file) from an Excel, CSV or JSON list, and you upload it to your Canadian bank in one go to pay everyone at once, or to collect pre-authorized debits. Every row is checked first: institution and transit number, account number, name, amount, date and transaction code, on the calendar of the Canadian payments system. Rows with a mistake never reach the bank: you find them in an Excel report, with the row of your list and the problem in plain words.

What it checks

  • Institution and transit number: 3 and 5 digits, in two columns or as one routing number (0IIITTTTT, like 000112345, or TTTTT-III as on a cheque). It puts back the zeros that Excel drops (1 is 001, 2345 is 02345) and warns when the institution number is not one of the Canadian banks, trust companies and credit unions it knows.
  • Account number: 5 to 12 digits, spaces and dashes taken out. It finds account numbers that Excel turned into 1.23457E+11, and warns when an account number was a number in Excel (its leading zeros may be gone) or is shorter than 7 digits.
  • Name: accents taken out (Hélène becomes HELENE), characters the banks do not take replaced, in capitals if you like, cut to the 30 characters of the file with a warning, so you know what the bank sees.
  • Amount: above zero, at most two decimals. Reads 1,234.56, $1,234.56, CAD 1,234.56, 1 234,56 $ (as written in Quebec) and Excel numbers. 1.250 is refused as ambiguous (1.25 or 1,250?) unless the rest of the column makes it clear. At most 99,999,999.99 for a payment.
  • Date: the payment date of the file, or a date of its own for a row. More than 30 days back or more than 173 days ahead is an error (the banks do not take it); a weekend or a holiday of the payments system (New Year's Day, Good Friday, Victoria Day, Canada Day, Labour Day, the National Day for Truth and Reconciliation, Thanksgiving, Remembrance Day, Christmas, Boxing Day and the days they move to) gets a warning with the day the banks process it. 05/06/2026 is refused as ambiguous (May or June?): write 2026-06-05.
  • Transaction code: a code of Standard 007, like 200 (payroll deposit), 450 (miscellaneous payments), 460 (accounts payable), 470 (fees/dues) or 700 (business pre-authorized debit). Codes kept for governments are refused, and so are codes only for debits in a file of credits.
  • Duplicates: the same payment (institution, transit, account and amount) twice, also in two lists; your own account among the people you pay.
  • Your details: originator ID (up to 10 letters and digits), short name (15 characters), long name (30), destination data centre (5 digits), file creation number (1 to 9999), the institution, transit and number of your account, and the total of the file.

Error: the row does not go in the file, because the bank would refuse or return it. Warning: the row goes in the file, but read it.

The file follows the CPA 005 standard: the header record (A), the credit (C) or debit (D) records with up to six payments of 240 characters each, the trailer record (Z) with the totals and the counts, all 1464 characters long, with CR LF line endings. Before it is saved, the Actor reads the file again and checks every record, every payment, the totals and the counts.

What you get

  • CPA005_FILE.txt in the key-value store (Storage tab): the file to upload to your online banking.
  • REPORT.xlsx: every row of your list with its status, errors, warnings, the fields as they are in the file and its record and segment in the file, with filters and the amounts as numbers.
  • Dataset: one item per row, for Make, Zapier, n8n, your payroll software or your own code.
  • SUMMARY: file created or not, payments, total, payment date, file creation number, problems, notes and the link to the file.

How to use it

  1. Press Start: the input form is prefilled with an example list of three suppliers (free), so you see the file and the report at once.
  2. Fill in your details: the originator ID your bank gave you for CPA 005 files, your short and long name, the destination data centre of your bank (in its guide to CPA 005 files) and the institution, transit and number of your account.
  3. Upload your list, paste it or add a link, choose the transaction code (200 for wages, 450 or 460 for suppliers) and the payment date (empty: the next day the payments system is open), and press Start.
  4. Download CPA005_FILE.txt from the Storage tab and upload it in your online banking, where it imports payment files (CPA 005, AFT or EFT files). If a row has an error no file is made: fix the list with REPORT.xlsx (free), or switch on «Leave out rows with errors».

A list is enough like this (commas, semicolons or tabs all work):

Name,Institution,Transit,Account number,Amount,Reference
Example Supplies Inc,001,00011,1234567,"1,250.00",INV 1001

Optional columns: First name and Last name (instead of Name), Routing number (instead of Institution and Transit), Reference (19 characters, it comes back with a returned payment), Date, Transaction code, Type (credit or debit: a file is all credits or all debits, and a row of the other kind is shown as an error), Currency, Message. Titles are also found when written differently (Employee Name, Payee, Inst No, Branch Transit, Acct #, Net Pay, Montant, Invoice...), in English and French, with title rows above and a total row below, as payroll programs export them.

File creation number: every file you send to your bank needs a new one. Leave the field empty and the Actor counts by itself: 0001 for the first file of your originator ID, then 0002, 0003... (it keeps the last number in a key-value store of your account named cpa005-file-numbers). If your bank already received files from you, write the next number once, and the Actor goes on from there. Upload every file only once.

Automation: from your payroll or accounting software, Make, Zapier or n8n, call the Actor with the link to the list or with the payments as JSON (payments), and take the file from fileUrl in SUMMARY. Switch on «Fail the run if no file is made» so that the automation stops when a row has an error.

Example output

The message of the example list:

CPA 005 file created: 3 payments, paying $4,276.25 CAD on 2026-11-17, file creation number 0001. Download CPA005_FILE.txt in the Storage tab and upload it to your online banking as a CPA 005 (AFT or EFT) file.

The header record (the rest of its 1464 characters is blank):

A000000001EXAMPLE001000102632012345 CAD

One payment of the file (240 characters: transaction code, amount in cents, date, institution and transit, account, names, originator ID, reference, your account for returns):

45000001250000263210001000111234567 0000000000000000000000000EXAMPLE BAKERY EXAMPLE SUPPLIES INC EXAMPLE BAKERY LTD EXAMPLE001INV 1001 0004012347654321 00000000000

One item of the dataset:

{
"status": "included",
"statusText": "in the file",
"row": 3,
"name": "SAMPLE PRINT SHOP",
"type": "credit",
"amount": 980.5,
"currency": "CAD",
"institution": "002",
"transit": "12345",
"accountNumber": "9876543",
"transactionCode": "450",
"date": "2026-11-17",
"reference": "INV 1002",
"message": "",
"record": 2,
"segment": 2,
"errors": [],
"warnings": [],
"source": "example list"
}

Who is it for

  • Small businesses that pay wages or suppliers from a spreadsheet, and whose bank accepts CPA 005 file uploads in its business online banking.
  • Bookkeepers, accountants and payroll services that prepare payment files for their clients.
  • Developers of payroll, accounting and marketplace software: a CPA 005 file from one API call, without writing the 1464-character layout.

Options your bank may ask for

  • Originator ID: the ID your bank gave you when it set you up for CPA 005 (AFT, EFT) files. Some banks write it with 0000 after the number: write it exactly as in your bank's guide.
  • Destination data centre: the 5 digits of the processing centre that receives the file, in your bank's guide.
  • Payments per record: 6 is the standard; choose 1 only if your bank asks for one payment per record.
  • Names in capitals: on by default, as most banks ask.
  • Line endings: CR LF is what most banks take. LF only if your bank asks for it.
  • Currency: CAD, or USD for USD accounts at Canadian institutions, in a file of its own.
  • Debits: to collect money with pre-authorized debits you need a PAD agreement signed by every payor, and your bank must have set you up for debits. Credits and debits go in separate files.

Pricing

$0.02 per payment in the file ($2 per 100 payments). Free: the example of the input form, lists with errors (no file is made) and rows left out. Set a maximum cost per run in the run options if you like: if it does not pay for every payment, no file is made, nothing is charged and the message tells you.

Privacy and security

The Actor runs in your own Apify account: your lists, the file and the report stay in the storage of your run, and it sends nothing anywhere else (it only downloads the links you give it). It never contacts a bank and never moves money: you upload the file yourself. The lists contain names and bank account numbers: delete the run, or set a short data retention, when you no longer need them. The key-value store cpa005-file-numbers holds only your originator ID and the last file creation number.

FAQ

Will my bank accept the file? It follows the CPA 005 standard and every payment passes the checks a file can show. Your bank can still refuse it for reasons that are not in the file (file uploads not enabled for your account, your limits, its cut-off time, a file creation number it already received), and some banks have rules of their own: read the warnings and your bank's guide to CPA 005 files.

Where do I find my originator ID and the destination data centre? In the agreement or the guide your bank gave you when it enabled payment file uploads, or in your online banking where you upload the files.

My bank wants a different file creation number. Write it in «File creation number»: the next files go on from it.

I upload the file tomorrow. Write tomorrow's date in «Day you upload the file»: it is the creation date of the file, and the dates are checked from that day.

Is a feature missing? Ask in the Issues tab.