version 1.3, 2020/11/12 13:08:13 |
version 1.4, 2020/11/12 14:26:51 |
Line 39 argument is omitted, standard input is read instead. |
|
Line 39 argument is omitted, standard input is read instead. |
|
.Pp |
.Pp |
.Ar bankFormat |
.Ar bankFormat |
is exactly one of |
is exactly one of |
.Bl -tag -width Ds |
.Pp |
.It capital_one_credit |
.Bl -bullet -offset indent -compact |
.It chase_credit |
.It |
.It optum_hsa |
.Cm capital_one_credit |
|
.It |
|
.Cm chase_credit |
|
.It |
|
.Cm optum_hsa |
.El |
.El |
.Pp |
.Pp |
and corresponds to an existing |
and corresponds to an existing |
.Qq import_bankFormat.txt |
.Pa import_ Ns Ar bankFormat Ns Pa .txt |
file in the current directory. |
file in the current directory. |
.Sh FILES |
.Sh FILES |
.Bl -tag -width Ds |
.Bl -tag -width Ds -compact |
.It Pa ./import_capital_one_credit.txt |
.It Pa ./import_capital_one_credit.txt |
.It Pa ./import_chase_credit.txt |
.It Pa ./import_chase_credit.txt |
.It Pa ./import_optum_hsa.txt |
.It Pa ./import_optum_hsa.txt |
|
|
then there must be a corresponding entry in |
then there must be a corresponding entry in |
.Pa ./accounts.txt |
.Pa ./accounts.txt |
such as |
such as |
|
.Pp |
.Dl 1293 L Capital One credit card |
.Dl 1293 L Capital One credit card |
.Pp |
.Pp |
The description |
The description |
Line 159 match, and the account type is |
|
Line 164 match, and the account type is |
|
to indicate that it is a liability account. |
to indicate that it is a liability account. |
.Ss Patterns in the import_bankFormat.txt files |
.Ss Patterns in the import_bankFormat.txt files |
Suppose |
Suppose |
|
.Pp |
.Dl ,,,Automotive,,, 1111 AUTO |
.Dl ,,,Automotive,,, 1111 AUTO |
.Pp |
.Pp |
is a sample entry in the |
is a sample entry in the |
|
|
5102 X Physician expenses |
5102 X Physician expenses |
5103 X Dental expenses |
5103 X Dental expenses |
5203 X Shopping |
5203 X Shopping |
|
|
.Ed |
.Ed |
.Pp |
.Pp |
and |
and |
|
|
.Ed |
.Ed |
.Pp |
.Pp |
Then |
Then |
|
.Pp |
.Dl pta_import -I chase_credit chasedownload.csv |
.Dl pta_import -I chase_credit chasedownload.csv |
|
.Pp |
outputs |
outputs |
.Bd -literal |
.Bd -literal |
20201109 PHYSICIAN 5102 3234 100.00 Dr. Joseph Schmoe |
20201109 PHYSICIAN 5102 3234 100.00 Dr. Joseph Schmoe |