Error: "Invalid file format for file 'XXXXXXX.DAT' or "Invalid CPA format columns 21-35 needs to be numeric". The errors occur when uploading an Electronic Funds Transfer (EFT) file from Sage 50 Accounting to the bank's website.
There's an error in the formatting of the generated data file.
National Bank rejecting the EFT file
If you're uploading the EFT file to National Bank and you get the error message: "Name of the file is invalid":
- Check prior uploads of EFT file on your account to get the Name TFXXXXXXXXXX (X being digits).
- Rename the EFT file that you're trying to upload with the TFXXXXXXXXXX name. Change the extension to .txt.
- Re-upload the EFT file.
Other banks rejecting the EFT file
1. Verify company bank information is correct
- From the main screen of Sage 50, click Setup then Settings.
- Click Company, then Payment processing.
- Select EFT direct and click Modify existing banks.
- Select the banking information you’re using to generate the file and select Edit.
- Verify that all information is accurate. Fill out all the fields that the bank requires.
- If you found an error, correct it and click OK and then OK again to save the changes.
2. Verify employee, vendor, or customer bank information is correct
- Open your list.
- Select the first employee, vendor, or customer payment that you included in the file that the bank rejected.
- Select Direct deposit (for customer records, select Pre-Authorized Debit).
- Confirm the banking information for the employee, vendor, or customer is correct.
- Repeat the same steps for each record that you included in the rejected file.
- If you found an error, correct it and note the record on which you changed the information.
- Repost the transactions that you need to upload to the bank to pull the updated banking information.
3. Verify the information used when generating the file is correct
- Go to File, Import/Export, then Upload Direct Payments.
- Select the type of file you want to generate.
- Select the transactions you want to include in the file.
- Change the Status from Not Generated to All to see the transactions that were already in the rejected file.
- Click Upload.
- Make sure the options you selected on this screen are correct. The most likely option to cause a rejection is an incorrect Creation No.
- If you’re not sure what creation number the bank is looking for, contact your bank to obtain the next creation number they’re expecting.
- Click Next, and then Save this EFT Direct file.
- Note the file name and location where you're saving the file.
General troubleshooting tips
- If this is the first time setting up Sage 50 EFT, pay special attention to the Bank name field. Some banks prefer CPA Standard.
- If the bank has accepted other files using the same company settings, then the issue is in a new record or the file you generated.
- Common problems include an incorrect creation number or saving the file in a different location than normal.
- If the bank can provide a sample file, see Understanding the EFT-generated .DAT files.
Data Center Numbers
- The CPA Standard for Scotiabank is 00220
- Solution ID
- 225924450088454
- Last Modified Date
- Tue Oct 07 15:03:22 UTC 2025
- Attributes
-
Product Details
Integrated Product: Blueprints
- Views
- 0