-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSV Structure for SNS Bank #10
Comments
I know, I have the same problem with the ASN bank (same parent company I think). I fail to see why in god's name you'd create CSV files without headers for things like this. But yeah, I am thinking of a good solution to add support for headerless CSV files |
What about a regex match on the first line / second column to ID the bank? Pseudo code:
|
Hmm could be a good idea. I'll look at it tomorrow! |
So yeah, this is gonna take some time. I have to implement my own fileStreamer to handle both headerless and headered files, while still being able to recognize the bank 😞 |
@javydekoning Hey! It should be working now! Took me some time to create everything from scratch. Can you please test it with your SNS csv files? |
Awesome, I'll test today |
Almost correct Daniel. Problem is that there is no Payee for PIN transactions. "incasso" / "overboeking" looks correct. Suggested fix: if column 'D' is null, take the first part of column 'R' as payee. Example line: |
Looks like all are split by '>', so if you could split that column and trim the trailing whitespace you can use it as payee |
Hmm looks like this is a specific SNS/ASN issue. It is a shame that their CSV files are such a mess. I'll look into a solution. I dislike adding code which is very bank-specific. I'll update you. Thanks for the email btw |
@javydekoning I have added the extra fallback for asn and sns bank, when it comes to dealing with MCC payments 👌 |
CSV from SNS Bank does not have headers. The format is like this:
Missing Headers:
The text was updated successfully, but these errors were encountered: