web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Error Message when attempting to import CSV bank transactions

(0) ShareShare
ReportReport
Posted on by 35

Hi All:

I have an account that I cannot connect to the Envestnet Yodlee service, and have attempted to define a CSV file import.  I created the Data Exchange Definitions, and completed the Bank Export/Import Setup.  I also assigned the format to the Bank account.

However when I use the payment reconciliation journal, and create a new journal - when I select the account I want to import into, and run "Import Bank Transactions" I am receiving this error:

Ext. Data Handling Codeunit must have a value in Data Exch. Def: Code=BANKSTMTCSV. It cannot be zero or empty.

0511.error.PNG

However, when I navigate to the settings in Bank Export/Import that column is not empty?

Settings.PNG

I am not sure if I am looking in the wrong place to correct this but if someone could direct me I'd appreciate it.

Thanks,

John

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    131 on at

    Error relates to the data exchange definition itself. Go to the data exchange definition card and add a value to the mentioned field. Codeunit 1240 should do the trick. For CSV the reading/writing xmlport should be 1220

  • Jshelvey Profile Picture
    35 on at

    Hi Josh, thanks for your response.  Updating the card as you explained eliminated the error message.  However, my file selection is now not doing anything.  When I select my file the screen spins for a moment, and then I am back to the same modal popover asking me to select a file.

    Choose.PNG

    Here are the card settings, in case anything jumps out at you.  I am planning to import .csv files only.  

    4278.PNG

    04025.PNG

    This is how the file looks, the bank has separate columns for debits/credits

    8171.PNG

  • Suggested answer
    Community Member Profile Picture
    on at

    Hello,

    Happy New Year. Adding to Josh's reply...  If you are using YODLEE, then you should have the YODLEE extension running and your Bank Account 'Bank Statement Import Format' set to YodleeBankFeed (see pic below). Note that this Bank Feed is only supported in the US and Canada and only Banks in these countries are supported. If outside, you could create your own Data Exchange Definition, which I think . If you are not using t

    pastedimage1609619018380v1.png

    Try checking your Extension Management to see if loaded:

    pastedimage1609619120530v2.png

    If it is you will find the 2 Data Exchange Definitions in your list:

    pastedimage1609619182242v3.png

    Here is the link to Yodlee Bank Feed documentation. https://docs.microsoft.com/en-us/dynamics365/business-central/bank-how-setup-bank-statement-service

    Now as to your images, I also created a manual import for JP Morgan and my excel file had no header row. Your picture does and you have not defined in the Data Exchange definition. Hear are my Data Exchange pics:

    pastedimage1609621167645v4.png

    pastedimage1609621190445v5.png

    pastedimage1609621207200v6.png

    My excel file looked like this:

    pastedimage1609621267473v7.png

    If you need to see my Data Exchange Definition, email back.

    Hope this helps.

    Thanks,

    Steve

  • Jshelvey Profile Picture
    35 on at

    Hi Steve, Happy New Year and thanks for the response.  The account I need the transactions from is outside of the US and CAN which is why I am setting up the import.  I do have the Yodlee extension installed and running, I have our US accounts set up.

    I plan to create a new Data Extension from scratch.  I tired removing the header line from my file, but experienced the same behavior.

    If you are able to share the data exchange definition that would be helpful.  I am assuming I have something set not properly that is causing the issue, but unfortunately not throwing an error in BC.

    My csv file is a simple one with only 4 columns.   Date, Description and then the debit and credit.

    Thanks,

    John

  • Verified answer
    Community Member Profile Picture
    on at

    John,

    Below is a link to a Data Exchange. I setup your layout and used an Excel template to confirm import (also attaching). Try Import the Data Exchange Definition and use the attached excel to import some test transactions.

    pastedimage1609716881240v1.png

    Also, make sure you setup the Bank Export/Import Setup for the new Data Exchange Definition. Here is the screen shot for my setup below:

    pastedimage1609717179139v2.png

    pastedimage1609717335792v3.png

    Data Exchange = https://1drv.ms/u/s!AmRbkPn9LCQZnkhjUvcHKDzzMDkC?e=rkYOUo

    Excel Template = https://1drv.ms/u/s!AmRbkPn9LCQZnknDCHE_uTex2fqD?e=szOO7t

    Hope this resolves evereything.

    Steve

  • Jshelvey Profile Picture
    35 on at

    Hi Steve, sorry late in reply.  I was traveling the past few days.  I imported your data exchange and am now able to import the data successfully.  So this is great.  

    The only thing I noticed is that BC seems to need a single transaction field.  When I export my data from the bank, it lists the debits and credits as separate columns.  I can concatenate them into a single column but was wondering if BC could just handle the separated columns.  

    The highlighted rows below are actually debits that are coming through as zero, which leads me to believe the transaction field in BC is mapped only to the credit column in the excel file.

    8562.BC.PNG

    Here is the excel file:

    file.PNG

    This is getting off the original topic but if you've any ideas I'd appreciate them.  We are deploying BC, previously had Quickbooks.  

    Thanks,

    John

  • Suggested answer
    Community Member Profile Picture
    on at

    John,

    I leave my export from the Bank separated into a Debit and Credit Column and the Data Exchange Import resolves this. This is part of the file I sent over. Make sure the Field mapping, on the Detail, is pointing to the fields correctly. They should be. Look at Statement Amount column. In your pic you are showing Transaction Amount column. I think this is the difference.

    pastedimage1610125050501v1.png

    Thanks,

    Steve

  • Jshelvey Profile Picture
    35 on at

    Hi Steve, I battled with this more today.  I did use your Data Exchange and sample import file, but I get this error when I try to run the import.

    6354.error.PNG

    What I did instead is create a new exchange, and use what you sent as a base.  Here are my settings, if you see anything that is off.  I was unable to get the two columns to perform and just went with a single transaction column.  The file loads fine, and your suggestion on the field mapping solved the issue with the amounts.

    The issue I have now is I can't get the Transaction date to read properly.  I've tried formatting it but it still comes through as all January transactions.

    Main.PNG

    Field-Mapping.PNG

    column.PNG

    importexport.PNG

    transfer.PNG

    This is what I get when I import:

    wrong-date.PNG

    This is what the file looks like (I removed the description in the image).  The dates seem to be in the correct format, I have no idea why they are being created to January.

    0317.file.PNG

    Many thanks,

    John

  • Suggested answer
    JAngle Profile Picture
    131 on at

    Date definition needs to be MM/dd/yyyy

    Note the case is important. Language format is will en-US. Adds this to the definition of the CSV in the bottom form of the overall data exchange definition

  • Suggested answer
    Community Member Profile Picture
    on at

    John,

    I saw Josh replied to the error and Data format definition. Did this work?

    Steve

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,175

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,476 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,435 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans