PurchaseOrderLineItems

Columns

Name

Type

ReadOnly

References

Filterable

Sortable

Description

LineId [KEY]

String

True

false

true

The Id of the line item of the purchase order.

PurchaseOrderId [KEY]

String

False

PurchaseOrders.Id

true

false

The Id of the purchase order.

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.

LinkedTxnAggregate

String

False

false

false

An XML aggregate of transactions linked to the estimate.

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 amount of the line item. It represents the discount amount, charge amount, tax amount, or subtotal amount based on the value of the DetailType field.

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 of the line item. When a line lacks an ItemRef it is treated as documentation and the Line_Amount field is ignored.

Line_ItemBasedExpenseLineDetail_ItemRef_Name

String

True

Items.Name

false

false

The name of the item of the line item. When a line 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.FullyQualifiedName

false

false

The name of the class for the line item.

Line_ItemBasedExpenseLineDetail_UnitPrice

Decimal

False

false

false

The price of the referenced item.

Line_ItemBasedExpenseLineDetail_Qty

Double

False

false

false

The number of items for the line.

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.FullyQualifiedName

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_TaxCodeRef

String

False

TaxCodes.Id

false

false

The sales tax code for 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.

VendorRef

String

False

Vendors.Id

false

false

The Id of the vendor for this transaction.

VendorRef_Name

String

True

Vendors.DisplayName

false

false

The name of the vendor for this transaction.

APAccountRef

String

False

Accounts.Id

true

true

The accounts-payable account the bill is credited to. Many/most small businesses have a single accounts-payable account, so the account can be implied. When specified, the account must be a Liability account, and further, the subtype must be of type Payables.

APAccountRef_Name

String

True

Accounts.Name

false

false

The accounts-payable account to which the bill is credited. Many/most small businesses have a single accounts-payable account, so the account can be implied. When specified, the account must be a Liability account, and further, the subtype must be of type Payables.

TotalAmt

Decimal

True

true

true

The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts.

VendorAddr_Id

String

True

false

false

The Id of the entity for the vendor address, mainly used for modifying the address. This field is assigned by the data service.

VendorAddr_Line1

String

True

false

false

First line of the vendor address.

VendorAddr_Line2

String

True

false

false

Second line of the vendor address.

VendorAddr_Line3

String

True

false

false

Third line of the vendor address.

VendorAddr_Line4

String

True

false

false

Fourth line of the vendor address.

VendorAddr_Line5

String

True

false

false

Fifth line of the vendor address.

VendorAddr_City

String

True

false

false

City name.

VendorAddr_Country

String

True

false

false

Country name.

VendorAddr_CountrySubDivisionCode

String

True

false

false

Region within a country. For example, the state name for the USA and the province name for Canada.

VendorAddr_PostalCode