1 <% include("/elements/header.html",'Batch Tax Rate Import') %>
3 Import a CSV file set containing tax rate records.
6 <FORM ACTION="process/tax-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
8 <% &ntable("#cccccc", 2) %>
11 <TH ALIGN="right">Format</TH>
13 <SELECT NAME="format">
14 <OPTION VALUE="cch">CCH
15 <!-- <OPTION VALUE="extended" SELECTED>Extended
16 <OPTION VALUE="extended-plus_company">Extended plus company -->
22 <TH ALIGN="right">code CSV filename</TH>
23 <TD><INPUT TYPE="file" NAME="codefile"></TD>
27 <TH ALIGN="right">plus4 CSV filename</TH>
28 <TD><INPUT TYPE="file" NAME="plus4file"></TD>
32 <TH ALIGN="right">txmatrix CSV filename</TH>
33 <TD><INPUT TYPE="file" NAME="txmatrix"></TD>
37 <TH ALIGN="right">detail CSV filename</TH>
38 <TD><INPUT TYPE="file" NAME="detail"></TD>
42 <TR><TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"><INPUT TYPE="submit" VALUE="Import CSV files"></TD></TR>
50 <!-- Simple file format is CSV, with the following field order: <i>cust_pkg.setup, dayphone, first, last, address1, address2, city, state, zip, comments</i>
53 <%$req%> Required fields
60 <li><i>refnum</i>: Advertising source number - where a customer heard about your service. Configuration -> Miscellaneous -> View/Edit advertising sources. This field has special treatment upon import: If a string is passed instead
61 of an integer, the string is searched for and if necessary auto-created in the
62 advertising source table.
64 <li><i>payinfo</i>: Credit card number, or leave this, <i>paycvv</i> and <i>paydate</i> blank for email/paper invoicing.
66 <li><i>paycvv</i>: CVV2 number (three digits on the back of the credit card)
68 <li><i>paydate</i>: Credit card expiration date, MM/YYYY or MM/YY (M/YY and M/YYYY are also accepted).
70 <li><i>invoicing_list</i>: Email address for invoices, or POST for postal invoices.
72 <li><i>pkgpart</i>: Package definition. Configuration -> Provisioning, services and packages -> View/Edit package definitions
74 <li><i>username</i> and <i>_password</i> are required if <i>pkgpart</i> is specified.
79 <% include('/elements/footer.html') %>
83 my $req = qq!<font color="#ff0000">*</font>!;
89 unless $FS::CurrentUser::CurrentUser->access_right('Import');