Import files can contain information about transactions in a QuickBooks company file. The keyword for a transaction is TRNS; the keyword for each distribution line is SPL.
The distribution lines appear immediately below the transaction. The keyword ENDTRANS appears after the last distribution line. In an import file, the first column for a transaction that has three distribution lines would look like this:
TRNSID
|
A unique number that identifies the transaction. QuickBooks generates this number when you create an export file. |
TIMESTAMP
|
(Export files only) A second unique number that works with TRNSID to identify the transaction. QuickBooks generates this number when you create the export file. |
TRNSTYPE
|
(Required) A keyword that identifies the type of transaction. These keywords can appear in the TRNSTYPE field:
BILL
|
Bills from vendors |
BILLCCARD
|
Bill payments you make by credit card |
BILLPMT
|
Bills payments you make by check |
BILL REFUND
|
Refunds from a vendor |
CASH REFUND
|
Cash refunds you give to customers |
CASH SALE
|
Sales receipts |
CCARD REFUND
|
Refunds you receive on credit card charges |
CHECK
|
Checks |
CREDIT CARD
|
Charges you make on a credit card |
CREDIT MEMO
|
Credit you give to customers for merchandise they return |
DEPOSIT
|
Bank or money market deposits |
GENERAL
JOURNAL
|
General journal transactions |
INVOICE
|
Invoices |
PAYMENT
|
Customer payments |
PURCHORD
|
Purchase orders |
|
DATE
|
The date of the transaction. The date is always in MM/DD/YY format. For example, 01/30/04. |
ACCNT
|
(Required) The name of the account assigned to the transaction. |
NAME
|
The name of the customer, vendor, payee, or employee. |
CLASS
|
The name of the class that applies to the transaction. If the class is a subclass, the class name includes the names of the parent classes, beginning with the highest-level class. A colon (:) separates each class name. |
AMOUNT
|
(Required) The amount of the transaction. Debit amounts are always positive; credit amounts are always negative. |
DOCNUM
|
The number of the transaction. For checks, the number is the check number; for invoices, the number is the invoice number; etc. |
MEMO
|
The memo text associated with the transaction. |
CLEAR
|
Indicates whether the transaction has cleared. These keywords can appear in the CLEARED field:
Y
|
Yes. The transaction has cleared. |
N
|
No. The transaction HASN'T cleared. |
P
|
Pending. |
|
TOPRINT
|
Indicates whether a check, invoice, credit memo, or sales receipt has been marked as “To be printed.” These keywords can appear in the TOPRINT field:
|
ADDR1-5
|
The customer's, vendor's, payee's, or employee's address. |
DUEDATE
|
(Bills and invoices only) The due date of the bill payment or invoice payment. The date is always in MM/DD/YY format. For example, 01/30/04. |
TERMS
|
(Invoices only) The terms of the invoice. |
PAID
|
(Invoices only) Indicates whether an invoice has been paid in full. These keywords can appear in the PAID field:
Y
|
Yes. The invoice has been paid in full. |
N
|
No. The invoice is either partially paid or unpaid. |
|
PAYMETH
|
(Sales receipts only) The method your customer used to pay for the merchandise. |
SHIPVIA
|
(Invoices and sales receipts only) The method you used to ship the merchandise. |
SHIPDATE
|
(Invoices and sales receipts only) The shipping date. If you are creating an import file, enter the date in MM/DD/YY format. For example, 01/30/04. |
REP
|
(Invoices and sales receipts only) The initials of the sales representative or employee who made the sale. |
FOB
|
(Invoices, credit memos, and cash sales only) The location where you delivered the merchandise — free of charge — to a carrier for shipment. |
PONUM
|
(Invoices and credit memos only) The customer's purchase order number. |
INVTITLE
|
(Invoices, credit memos, and sales receipts only) The title that appears on the invoice, credit memo, or sales receipt. |
INVMEMO
|
(Invoices, credit memos, and sales receipts only) Your message to the customer — as it appears on the invoice, credit memo, or sales receipt. |
SADDR1-5
|
(Invoices and sales receipts only) The customer's shipping address. |
SPLID
|
(Required) A unique number that identifies the distribution line in the transaction. QuickBooks generates the number when you create an export file. |
TRNSTYPE
|
A keyword that indicates the type of transaction. The keyword in this field must match the keyword in the TRNSTYPE field for the transaction. The keyword will be one of the following:
BILL
|
Bills from vendors |
CHECK
|
Checks |
DEPOSIT
|
Bank or money market deposits |
INVOICE
|
Invoices |
PAYMENT
|
Customer payments |
|
DATE
|
The date of the transaction. The date in this field must match the date in the DATE field for the transaction. |
ACCNT
|
(Required) The income or expense account to which you assigned the amount on the distribution line. |
NAME
|
The name of the customer, vendor, payee, or employee. |
CLASS
|
The name of the class that applies to the distribution amount. If the class is a subclass, the class name includes the names of the parent classes, beginning with the highest level class. A colon (:) separates each class name. |
AMOUNT
|
(Required) The distribution amount. Credit amounts are negative. |
DOCNUM
|
The number of the transaction. For checks, the number is the check number; for invoices, the number is the invoice number, etc. |
MEMO
|
The memo text associated with the distribution line. |
CLEAR
|
Indicates whether the distribution amount has cleared. These keywords can appear in the CLEARED field:
Y
|
Yes. The amount has cleared. |
N
|
No. The amount HASN'T cleared. |
P
|
Pending. |
|
PRICE
|
The unit cost of the item. |
QNTY
|
The number of items sold. This value is part of a line item on an invoice, credit memo, or sales receipt. |
INVITEM
|
The type of items sold. This value is part of a line item on an invoice, credit memo, or sales receipt. |
PAYMETH
|
On a sales receipt, indicates the method of payment (check, Visa, etc.) that the customer used. |
TAXABLE
|
Indicates that a line item on an invoice, credit memo, or sales receipt is taxable. |
REIMBEXP
|
Indicates the status of the distribution amount as a reimbursable expense. These keywords can appear under REIMBEXP:
NONEED
|
Indicates that the distribution amount does not qualify as a reimbursable expense. |
NOTHING
|
Indicates that the distribution amount can be billed to a customer as a reimbursable expense. |
THISWAS
|
Indicates that the distribution amount is a reimbursable expense that appears on an invoice or sales receipt. |
HASBEEN
|
Identifies a distribution amount on a check that has been billed to a customer as a reimbursable expense. |
|
EXTRA
|
Adds additional information about the distribution line. These keywords can appear in the EXTRA field:
ENDGRP
|
(Invoices, credit memos, and sales receipts only) Indicates that the distribution line is the last item of an invoice item group. |
AUTOSTAX
|
Identifies a sales tax item as the automatic tax rate you set up for your QuickBooks company. |
|