PurchaseLineItems

Columns

Name

Type

ReadOnly

References

Filterable

Sortable

Description

LineId [KEY]

String

True

false

false

The Id of the line item of the purchase.

PurchaseId [KEY]

String

False

Purchases.Id

true

true

The Id of the purchase.

SyncToken

String

True

false

false

Version number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.

MetaData_CreateTime

Datetime

True

true

true

The time the record was created.

MetaData_LastUpdatedTime

Datetime

True

true

true

The time the record was last updated.

DocNumber

String

False

true

true

The reference number for the transaction.

TxnDate

Date

False

true

true

The date when this transaction occurred.

PrivateNote

String

False

false

false

A private note about the transaction. This note will not appear on the transaction records by default. This field maps to the Memo field on the Check and CreditCard form.

Line_Id

String

False

false

false

The Id of the line item.

Line_Description

String

False

false

false

A description of the line item that appears in the printed record.

Line_Amount

Decimal

False

false

false

The total amount of the charges or discounts for the given line. This field includes the charges and allowances, but it excludes the tax amount.

Line_DetailType

String

False

false

false

The type of line in the transaction.

Line_ItemBasedExpenseLineDetail_ItemRef

String

False

Items.Id

false

false

The Id of the item in the line item. When a line item lacks an ItemRef it is treated as documentation and the Line.Amount attribute is ignored.

Line_ItemBasedExpenseLineDetail_ItemRef_Name

String

True

Items.Name

false

false

The name of the item. When a line item lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored.

Line_ItemBasedExpenseLineDetail_ClassRef

String

False

Class.Id

false

false

The Id of the class for the line item.

Line_ItemBasedExpenseLineDetail_ClassRef_Name

String

True

Class.Name

false

false

The name of the class for the line item.

Line_ItemBasedExpenseLineDetail_UnitPrice

Decimal

False

false

false

The unit price of the subject item as referenced by ItemRef.

Line_ItemBasedExpenseLineDetail_Qty

Double

False

false

false

Number of items for the line.

Line_ItemBasedExpenseLineDetail_RatePercent

Double

False

false

false

The amount is expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01.

Line_ItemBasedExpenseLineDetail_MarkupInfo_Value

Double

False

false

false

Markup value.

Line_ItemBasedExpenseLineDetail_MarkupInfo_Percent

Double

False

false

false

Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01.

Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef

String

False

false

false

The Id of the entity for the price level for the markup.

Line_ItemBasedExpenseLineDetail_MarkupInfo_PriceLevelRef_Name

String

True

false

false

A name that identifies the price level for the markup.

Line_ItemBasedExpenseLineDetail_TaxCodeRef

String

False

TaxCodes.Id

false

false

The sales tax code for this item.

Line_ItemBasedExpenseLineDetail_CustomerRef

String

False

Customers.Id

false

false

The Id of the customer associated with the expense.

Line_ItemBasedExpenseLineDetail_CustomerRef_Name

String

True

Customers.DisplayName

false

false

The name of the customer associated with the expense.

Line_ItemBasedExpenseLineDetail_BillableStatus

String

False

false

false

The billable status of the expense.

The allowed values are Billable, NotBillable, HasBeenBilled.

Line_AccountBasedExpenseLineDetail_ClassRef

String

False

Class.Id

false

false

The Id of the class entity of the expense.

Line_AccountBasedExpenseLineDetail_ClassRef_Name

String

True

Class.Name

false

false

The name of the class entity of the expense.

Line_AccountBasedExpenseLineDetail_CustomerRef

String

False

Customers.Id

false

false

The customer id for the expense.

Line_AccountBasedExpenseLineDetail_CustomerRef_Name

String

True

Customers.DisplayName

false

false

The customer name for the expense.

Line_AccountBasedExpenseLineDetail_AccountRef

String

False

Accounts.Id

false

false

The Id of the expense account of the expense.

Line_AccountBasedExpenseLineDetail_AccountRef_Name

String

True

Accounts.Name

false

false

The name of the expense account of the expense.

Line_AccountBasedExpenseLineDetail_BillableStatus

String

False

false

false

The billable status of the expense.

The allowed values are Billable, NotBillable, HasBeenBilled.

Line_AccountBasedExpenseLineDetail_MarkupInfo_Value

Double

False

false

false

Markup value.

Line_AccountBasedExpenseLineDetail_MarkupInfo_Percent

Double

False

false

false

Markup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01.

Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef

String

False

false

false

The Id of price level for the markup.

Line_AccountBasedExpenseLineDetail_MarkupInfo_PriceLevelRef_Name

String

True

false

false

The name of the price level for the markup.

Line_AccountBasedExpenseLineDetail_TaxCodeRef

String

False

TaxCodes.Id

false

false

The type of line in the transaction.

AccountRef

String

False

Accounts.Id

false

false

The Id of the account associated with the transaction.

AccountRef_Name

String

True

Accounts.Name

false

false

A name that identifies the account associated with the transaction. Checks should reference a bank account and CreditCard should reference a credit card account.

PaymentType

String

False

true

true

The expense type.

The allowed values are Cash, Check, CreditCard.

EntityRef

String

False

false

false

Specifies the party with whom an expense is associated.

EntityRef_Name

String

True

false

false

Specifies the party with whom an expense is associated.

Credit

Boolean

False

false

false

This field is valid only for the CreditCard payment type.

TotalAmt

Decimal

True

true

true

The total amount due, determined the sum of the line items. This includes all charges, allowances, taxes, discounts, etc.

PrintStatus

String

False

false

false

The print status of the payment. This field is applicable only for checks. It is ignored for credit card charges or refunds.

DepartmentRef

String

False

Departments.Id

false

false

The Id of the department, which stores the location of the transaction.

DepartmentRef_Name

String

True

Departments.Name

false

false

The name of the department, which stores the location of the transaction.

Status

String

True

false

false

The status of the purchase.

TxnTaxDetail_TxnTaxCodeRef

String

False

TaxCodes.Id

false

false

The transaction tax code.

TxnTaxDetail_TotalTax

String

False

false

false

Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list.

TxnTaxDetail_TaxLineAggregate

String

False

false

false

An XML aggregate of tax line items.

CurrencyRef

String

False

false

false

The Id of the currency used in the transaction.

CurrencyRef_Name

String

True

false

false

The name of the currency used in the transaction.

ExchangeRate

Double

False

false

false

The currency exchange rate. This field is valid only if the company file is set up to use multicurrency feature. In QuickBooks, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. This field is available for the UK, AU, IN, and CA editions.

GlobalTaxCalculation

String

False

false

false

The method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions.

The allowed values are TaxExcluded, TaxInclusive, NotApplicable.

Last updated