QuickBooks: Create a purchase order — request body — body Line item
Create a purchase order: request body, field body / Line / item. Complete fields and constraints for contract 2026-10-20.
API reference · Contract 2026-10-20
SDK schema: Create a purchase order — request body — body Line item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
Amount | JSON | Required within parent | The amount of the line item. Decimal string |
Amount (anyOf 1) | number | Alternative | |
Amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
CustomExtensions | Model | Optional | Expand Create an item — request body — body 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. |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Required within parent | Set to ItemBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
ItemBasedExpenseLineDetail | Model | Required within parent | Expand Create a purchase order — request body — body Line item Item Based Expense Line Detail |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive integer. Decimal string |
LineNum (anyOf 1) | number | Alternative | |
LineNum (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand Create a bill — request body — body Linked Txn item |
Referenced models: Create an item — request body — body Custom Extensions, Create a purchase order — request body — body Line item Item Based Expense Line Detail, Create a bill — request body — body Linked Txn item