Skip to content

QuickBooks: Inventoryadjustment schemas

7 QuickBooks schemas with complete fields and constraints.

← Inventoryadjustment operations · All schemas

Create an inventory adjustment — request body — body Line item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CustomExtensionsarrayOptionalArray 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[]ModelEach itemExpand Create an item — request body — body Custom Extensions item
DetailTypestringOptionalSet to ItemAdjustmentLineDetail for this type of line.
IdJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer.
Decimal string
Id (anyOf 1)numberAlternative
Id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
ItemAdjustmentLineDetailModelRequired within parentExpand 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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ItemRefModelOptionalExpand 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.
QtyDiffJSONRequired within parentChange in quantity. Set it to a positive number for incrementing and a negative number if for decrementing the quantity.
Decimal string
QtyDiff (anyOf 1)numberAlternative
QtyDiff (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$

Referenced models: Create a purchase order — request body — body Ship To

Delete an inventory adjustment — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
AdjustAccountRefModelOptionalExpand 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
DocNumberstringOptionalReference number for the transaction.
IdstringRequired within parent
LinearrayOptionalIndividual line items of an inventory adjustment.
Line[]ModelEach itemExpand Create an inventory adjustment — request body — body Line item
MetaDataModelOptionalExpand 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.
PrivateNotestringOptionalUser 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.
SyncTokenstringRequired within parent
TxnDatestringOptionalThe 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.
idstringOptionalUnique identifier for this object.
Read only: true
domainstringOptional
sparsebooleanOptional

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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AdjustAccountRefModelOptionalExpand 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
DocNumberstringOptionalReference number for the transaction.
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items of an inventory adjustment.
Line[]ModelEach itemExpand Read an inventory adjustment — response body — Inventory Adjustment Line item
MetaDataModelOptionalExpand 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.
PrivateNotestringOptionalUser 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.
SyncTokenstringOptionalVersion 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
TxnDatestringOptionalThe 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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CustomExtensionsarrayOptionalArray 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[]ModelEach itemExpand Read an item — response body — Item Custom Extensions item
DetailTypestringOptionalSet to ItemAdjustmentLineDetail for this type of line.
IdJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer.
Decimal string
Id (anyOf 1)JSONAlternative
Id (anyOf 1) (anyOf 1)numberAlternative
Id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Id (anyOf 2)stringAlternative
ItemAdjustmentLineDetailModelOptionalExpand 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

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ItemRefModelOptionalExpand 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.
QtyDiffJSONOptionalChange in quantity. Set it to a positive number for incrementing and a negative number if for decrementing the quantity.
Decimal string
QtyDiff (anyOf 1)JSONAlternative
QtyDiff (anyOf 1) (anyOf 1)numberAlternative
QtyDiff (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
QtyDiff (anyOf 2)stringAlternative

Referenced models: Read an item — response body — Item Class Ref

Update an inventory adjustment — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
AdjustAccountRefModelOptionalExpand 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
DocNumberstringOptionalReference number for the transaction.
IdstringRequired within parent
LinearrayOptionalIndividual line items of an inventory adjustment.
Line[]ModelEach itemExpand Create an inventory adjustment — request body — body Line item
MetaDataModelOptionalExpand 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.
PrivateNotestringOptionalUser 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.
SyncTokenstringRequired within parent
TxnDatestringOptionalThe 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.
domainstringOptional
sparsebooleanRequired within parentMust 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

Report an issue with this page

Necessary

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

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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