-
Notifications
You must be signed in to change notification settings - Fork 46
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
Debit/Credit Columns from SunTrust #42
Comments
I thought this should work. How large is the csv file though, if it is only two rows then reckon does not have enough data to figure it out. Could you attach an example csv file? |
Actual file is 38 rows. SunTrust won't download more than 90 days at a time. |
That should be plenty. Could you attach/copy and paste the (anonimized) csv file? |
Attaching to the email didn't seem to work and I don't see any way to attach here in github, so I'm pasting the example file below. When I run this through ledger, it detects the debit column and shows those amounts in the Amount column, but for rows with a credit amount, it shows a zero in the Amount column. Date,Check Number,Description,Debit,Credit,Running Balance |
Great! Pushing an update to the gem now. |
This is from SunTrust. It has separate Debit and Credit columns which are not signed. Reckon will pick up either the Debit or Credit column, but I can't get it to recognize that Debit is checks and Credit is deposits.
Date,Check Number,Description,Debit,Credit,Running Balance
11/03/2014,0, AMEX EPayment ACH PMT A26,100.00,0,500.00
11/07/2014,0, AcadiaHealthcare PAYROLL ,0,100.00,600.00
reckon -f mwe.csv -v -p --contains-header --date-format '%d/%m/%Y' --ignore-columns 2,6
I didn't find a high-likelyhood money column, but I'm taking my best guess with column 4.
+------------+----------+-----------------------------------+
| Date | Amount | Description |
+------------+----------+-----------------------------------+
| 2014/03/11 | $0.00 | AMEX EPayment ACH PMT A26; 100.00 |
| 2014/07/11 | $100.00 | AcadiaHealthcare PAYROLL; 0 |
+------------+----------+-----------------------------------+
The text was updated successfully, but these errors were encountered: