version 1.13, 2020/12/03 14:46:44 |
version 1.16, 2020/12/11 20:12:02 |
|
|
.Ar file |
.Ar file |
argument is omitted, standard input is read instead. |
argument is omitted, standard input is read instead. |
.Pp |
.Pp |
|
The |
.Ar accountname |
.Ar accountname |
is exactly one of |
argument corresponds to an existing |
.Pp |
|
.Bl -bullet -offset indent -compact |
|
.It |
|
.Cm bbva_usa |
|
.It |
|
.Cm capital_one_360 |
|
.It |
|
.Cm capital_one_credit |
|
.It |
|
.Cm chase_credit |
|
.It |
|
.Cm etrade_ira |
|
.It |
|
.Cm optum_hsa |
|
.It |
|
.Cm sparkasse_camt |
|
.It |
|
.Cm wellsfargo |
|
.El |
|
.Pp |
|
and corresponds to an existing |
|
.Pa ./import/ Ns Ar accountname Ns Pa .txt |
.Pa ./import/ Ns Ar accountname Ns Pa .txt |
configuration file. |
configuration file. |
.Ss Configuration file format |
.Ss Configuration file format |
|
|
.Ar debit_column |
.Ar debit_column |
is omitted, amounts preceded by a minus sign or enclosed |
is omitted, amounts preceded by a minus sign or enclosed |
in parentheses are booked to the debit side. |
in parentheses are booked to the debit side. |
|
This rule is required in every configuration file. |
.It Ic COSTCENTER Ar costcenter_column |
.It Ic COSTCENTER Ar costcenter_column |
The column number in the CSV file containing the cost center. |
The column number in the CSV file containing the cost center. |
Numbering starts from 1. |
Numbering starts from 1. |
Line 110 This rule is required in every configuration file. |
|
Line 91 This rule is required in every configuration file. |
|
The column numbers in the CSV file to be concatenated to form the |
The column numbers in the CSV file to be concatenated to form the |
text string for the journal entry. |
text string for the journal entry. |
Numbering starts from 1. |
Numbering starts from 1. |
|
This rule is required in every configuration file. |
.It Ic DELIM Ar delimiter |
.It Ic DELIM Ar delimiter |
The character used to separate fields. |
The character used to separate fields. |
This rule is required in every configuration file. |
|
Most financial institutions use commas but some use semicolons. |
Most financial institutions use commas but some use semicolons. |
|
This rule is required in every configuration file. |
.It Ic HEADER Ar header |
.It Ic HEADER Ar header |
Skip the first line of the CSV file if it matches the |
Skip the first line of the CSV file if it matches the |
.Ar header |
.Ar header |
Line 141 The selector is a string consisting of regular express |
|
Line 123 The selector is a string consisting of regular express |
|
by delimiters defined in the |
by delimiters defined in the |
.Ic DELIM |
.Ic DELIM |
rule. |
rule. |
|
These rules appear after all other rule types. |
.El |
.El |
.Sh FILES |
.Sh FILES |
Example configuration files: |
Example configuration files: |
Line 182 to the corresponding CSV file |
|
Line 165 to the corresponding CSV file |
|
may be seen in |
may be seen in |
.Pa ./regress/import/expected/accountname.out . |
.Pa ./regress/import/expected/accountname.out . |
.Sh SEE ALSO |
.Sh SEE ALSO |
|
.Xr pta 1 , |
.Xr pta-accounts 5 , |
.Xr pta-accounts 5 , |
.Xr pta-journal 5 , |
.Xr pta-journal 5 , |
.Xr pta-glossary 7 |
.Xr pta-glossary 7 |
Line 194 has the following limitations: |
|
Line 178 has the following limitations: |
|
Pattern recognition in the |
Pattern recognition in the |
.Pa import/accountname.txt |
.Pa import/accountname.txt |
files is under continued development. |
files is under continued development. |
.It |
|
User-defined configuration files are not currently |
|
supported. |
|
.El |
.El |