Skip to content

QuickBooks: Read a purchase — response body — Purchase Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn

Read a purchase: response body, field Purchase / Line / item / Amount, CustomExtensions, Description, DetailType, Id, ItemBasedExpenseLineDetail, LineNum, LinkedTxn. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Read a purchase — response body — Purchase Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalThe amount of the line item.
Decimal string
Amount (anyOf 1)JSONAlternative
Amount (anyOf 1) (anyOf 1)numberAlternative
Amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Amount (anyOf 2)stringAlternative
CustomExtensionsModelOptionalExpand Read an item — response body — Item Custom Extensions
Array of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringOptionalSet to ItemBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
ItemBasedExpenseLineDetailModelOptionalExpand Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn Item Based Expense Line Detail
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer.
Decimal string
LineNum (anyOf 1)JSONAlternative
LineNum (anyOf 1) (anyOf 1)numberAlternative
LineNum (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LineNum (anyOf 2)stringAlternative
LinkedTxnarrayOptionalZero or more transactions linked to this object. The LinkedTxn.TxnType can be set to ReimburseCharge . The LinkedTxn.TxnId can be set as the ID of the transaction.
LinkedTxn[]ModelEach itemExpand Read a bill — response body — Bill Linked Txn item

Referenced models: Read an item — response body — Item Custom Extensions, Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn Item Based Expense Line Detail, Read a bill — response body — Bill Linked Txn item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.