QuickBooks: Read a purchase — response body — Purchase Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num Account Based Expense Line Detail
Read a purchase: response body, field Purchase / Line / item / AccountBasedExpenseLineDetail, Amount, CustomExtensions, Description, DetailType, Id, LineNum / AccountBasedExpenseLineDetail. 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 Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num Account Based Expense Line Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountRef | Model | Optional | Expand Read an item — response body — Item Class Ref Reference to the Expense account associated with this item. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType=Expense . Use Account.Id and Account.Name from that object for AccountRef.value and AccountRef.name , respectively. For France locales: The account associated with the referenced Account object is looked up in the account category list. If this account has same location as specified in the transaction by the TransactionLocationType attribute and the same VAT as in the line item TaxCodeRef attribute, then this account is used. If there is a mismatch, then the account from the account category list that matches the transaction location and VAT is used. If this account is not present in the account category list, then a new account is created with the new location, new VAT code, and all other attributes as in the default account. |
BillableStatus | string | Optional | The billable status of the expense. This field is not updatable through an API request. The value automatically changes when an invoice is created. Valid values: Billable , NotBillable , HasBeenBilled Read only: true |
ClassRef | Model | Optional | Expand Read an item — response body — Item Class Ref Reference to the Class associated with the expense. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerLine is set to true . Query the Class name list resource to determine the appropriate Class object for this reference. Use Class.Id and Class.Name from that object for ClassRef.value and ClassRef.name , respectively. |
CustomerRef | Model | Optional | Expand Read an item — response body — Item Class Ref Reference to the Customer associated with the expense. Query the Customer name list resource to determine the appropriate Customer object for this reference. Use Customer.Id and Customer.DisplayName from that object for CustomerRef.value and CustomerRef.name , respectively. |
MarkupInfo | Model | Optional | Expand Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail Sales Item Line Detail Markup Info Markup information for the expense. |
TaxAmount | JSON | Optional | Sales tax paid as part of the expense. Decimal string |
TaxAmount (anyOf 1) | JSON | Alternative | |
TaxAmount (anyOf 1) (anyOf 1) | number | Alternative | |
TaxAmount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TaxAmount (anyOf 2) | string | Alternative | |
TaxCodeRef | Model | Optional | Expand Read an item — response body — Item Class Ref The TaxCode associated with the sales tax for the expense. Query the TaxCode name list resource to determine the appropriate TaxCode object for this reference. Use TaxCode.Id and TaxCode.Name from that object for TaxCodeRef.value and TaxCodeRef.name , respectively. |
TaxInclusiveAmt | JSON | Optional | The total amount of the line item including tax. Decimal string |
TaxInclusiveAmt (anyOf 1) | JSON | Alternative | |
TaxInclusiveAmt (anyOf 1) (anyOf 1) | number | Alternative | |
TaxInclusiveAmt (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TaxInclusiveAmt (anyOf 2) | string | Alternative |
Referenced models: Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail Sales Item Line Detail Markup Info, Read an item — response body — Item Class Ref