QuickBooks: Inventoryadjustment schemas
7 QuickBooks schemas with complete fields and constraints.
← Inventoryadjustment operations · All schemas
Create an inventory adjustment — request body — body Line item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
CustomExtensions | array | Optional | 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. |
CustomExtensions[] | Model | Each item | Expand Create an item — request body — body Custom Extensions item |
DetailType | string | Optional | Set to ItemAdjustmentLineDetail for this type of line. |
Id | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive integer. Decimal string |
Id (anyOf 1) | number | Alternative | |
Id (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
ItemAdjustmentLineDetail | Model | Required within parent | Expand Create an inventory adjustment — request body — body Line item Item Adjustment Line Detail Details for the line in the inventory adjustment. |
Referenced models: Create an item — request body — body Custom Extensions item, Create an inventory adjustment — request body — body Line item Item Adjustment Line Detail
Create an inventory adjustment — request body — body Line item Item Adjustment Line Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
ItemRef | Model | Optional | Expand Create a purchase order — request body — body Ship To Reference to an Item object. Query the Item name list resource to determine the appropriate Item object for this reference. Use Item.Id and Item.Name from that object for ItemRef.value and ItemRef.name , respectively. |
QtyDiff | JSON | Required within parent | Change in quantity. Set it to a positive number for incrementing and a negative number if for decrementing the quantity. Decimal string |
QtyDiff (anyOf 1) | number | Alternative | |
QtyDiff (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
Referenced models: Create a purchase order — request body — body Ship To
Delete an inventory adjustment — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
AdjustAccountRef | Model | Optional | Expand Create a purchase order — request body — body Ship To Specifies which account is debited. Query the Account name list resource to determine the appropriate Account object for this reference. Use Account.Id and Account.Name from that object for AdjustAccountRef.value and AdjustAccountRef.name , respectively. Read only: true |
DocNumber | string | Optional | Reference number for the transaction. |
Id | string | Required within parent | |
Line | array | Optional | Individual line items of an inventory adjustment. |
Line[] | Model | Each item | Expand Create an inventory adjustment — request body — body Line item |
MetaData | Model | Optional | Expand Read a bill — response body — Bill Meta Data Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications. |
PrivateNote | string | Optional | User entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Statement Memo field on the Invoice form in the QuickBooks Online UI. |
SyncToken | string | Required within parent | |
TxnDate | string | Optional | The date entered by the user when this transaction occurred. yyyy/MM/dd is the valid date format. For posting transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Sort order is ASC by default. |
id | string | Optional | Unique identifier for this object. Read only: true |
domain | string | Optional | |
sparse | boolean | Optional |
Referenced models: Read a bill — response body — Bill Meta Data, Create an inventory adjustment — request body — body Line item, Create a purchase order — request body — body Ship To
Read an inventory adjustment — response body — Inventory Adjustment
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AdjustAccountRef | Model | Optional | Expand Read an item — response body — Item Class Ref Specifies which account is debited. Query the Account name list resource to determine the appropriate Account object for this reference. Use Account.Id and Account.Name from that object for AdjustAccountRef.value and AdjustAccountRef.name , respectively. Read only: true |
DocNumber | string | Optional | Reference number for the transaction. |
Id | string | Optional | Unique identifier for this object. Read only: true |
Line | array | Optional | Individual line items of an inventory adjustment. |
Line[] | Model | Each item | Expand Read an inventory adjustment — response body — Inventory Adjustment Line item |
MetaData | Model | Optional | Expand Read a bill — response body — Bill Meta Data Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications. |
PrivateNote | string | Optional | User entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Statement Memo field on the Invoice form in the QuickBooks Online UI. |
SyncToken | string | Optional | 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. Read only: true |
TxnDate | string | Optional | The date entered by the user when this transaction occurred. yyyy/MM/dd is the valid date format. For posting transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Sort order is ASC by default. |
Referenced models: Read an inventory adjustment — response body — Inventory Adjustment Line item, Read a bill — response body — Bill Meta Data, Read an item — response body — Item Class Ref
Read an inventory adjustment — response body — Inventory Adjustment Line item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
CustomExtensions | array | Optional | 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. |
CustomExtensions[] | Model | Each item | Expand Read an item — response body — Item Custom Extensions item |
DetailType | string | Optional | Set to ItemAdjustmentLineDetail for this type of line. |
Id | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive integer. Decimal string |
Id (anyOf 1) | JSON | Alternative | |
Id (anyOf 1) (anyOf 1) | number | Alternative | |
Id (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Id (anyOf 2) | string | Alternative | |
ItemAdjustmentLineDetail | Model | Optional | Expand Read an inventory adjustment — response body — Inventory Adjustment Line item Item Adjustment Line Detail Details for the line in the inventory adjustment. |
Referenced models: Read an item — response body — Item Custom Extensions item, Read an inventory adjustment — response body — Inventory Adjustment Line item Item Adjustment Line Detail
Read an inventory adjustment — response body — Inventory Adjustment Line item Item Adjustment Line Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
ItemRef | Model | Optional | Expand Read an item — response body — Item Class Ref Reference to an Item object. Query the Item name list resource to determine the appropriate Item object for this reference. Use Item.Id and Item.Name from that object for ItemRef.value and ItemRef.name , respectively. |
QtyDiff | JSON | Optional | Change in quantity. Set it to a positive number for incrementing and a negative number if for decrementing the quantity. Decimal string |
QtyDiff (anyOf 1) | JSON | Alternative | |
QtyDiff (anyOf 1) (anyOf 1) | number | Alternative | |
QtyDiff (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
QtyDiff (anyOf 2) | string | Alternative |
Referenced models: Read an item — response body — Item Class Ref
Update an inventory adjustment — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
AdjustAccountRef | Model | Optional | Expand Create a purchase order — request body — body Ship To Specifies which account is debited. Query the Account name list resource to determine the appropriate Account object for this reference. Use Account.Id and Account.Name from that object for AdjustAccountRef.value and AdjustAccountRef.name , respectively. Read only: true |
DocNumber | string | Optional | Reference number for the transaction. |
Id | string | Required within parent | |
Line | array | Optional | Individual line items of an inventory adjustment. |
Line[] | Model | Each item | Expand Create an inventory adjustment — request body — body Line item |
MetaData | Model | Optional | Expand Read a bill — response body — Bill Meta Data Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications. |
PrivateNote | string | Optional | User entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Statement Memo field on the Invoice form in the QuickBooks Online UI. |
SyncToken | string | Required within parent | |
TxnDate | string | Optional | The date entered by the user when this transaction occurred. yyyy/MM/dd is the valid date format. For posting transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Sort order is ASC by default. |
domain | string | Optional | |
sparse | boolean | Required within parent | Must equal: true |
Referenced models: Read a bill — response body — Bill Meta Data, Create an inventory adjustment — request body — body Line item, Create a purchase order — request body — body Ship To