=================================================================== RCS file: /cvs/pta/import/optum_hsa.txt,v retrieving revision 1.3 retrieving revision 1.6 diff -u -p -r1.3 -r1.6 --- pta/import/optum_hsa.txt 2020/11/18 21:26:18 1.3 +++ pta/import/optum_hsa.txt 2020/11/28 21:57:41 1.6 @@ -1,16 +1,13 @@ -# Optum header is -# Date,Description,Amount,AccountType -# The format of this file is -# selector account_number booking_identifier -# selector is a comma-separated list of regular epxresssions which -# matches corresponding fields in the CSV file -# Please change numbers to match the desired accounts in your accounts.txt # The CONTRIB accounts is the bank account which you make # contributions from. These contributions are deposited into the Optum # HSA account. -ACCOUNT 1800 +ACCOUNT 1802 DELIM , +HEADER Date,Description,Amount,AccountType +DATE 1 YYYY-MM-DD +AMOUNT 3 +DESCRIPTION 2 ,Monthly Investment Fee,,, 6855 INVESTFEE ,Monthly Maintenance Fee,,, 6855 BANKFEE -,Contribution from.*?,,, 2000 CONTRIB -,.*?POS CHCKING.*?,,, 5900 MED +,Contribution from.*?,,, 1801 CONTRIB +,(Pharmacy|Doctor),,, 5900 MED