| data* | object | The inventory adjustment data to add. Additional properties: Yes |
|---|
| data.accountReference* | object | The reference to the account for the inventory adjustment Additional properties: Yes |
|---|
| data.accountReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.accountReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.transactionDate* | date-only | |
|---|
| data.referenceNumber* | string | Max. length: 11 |
|---|
| data.adjustments* | array | The inventory that is adjusted |
|---|
| data.adjustments[] | object | Additional properties: Yes |
|---|
| data.adjustments[].itemReference* | object | The reference to the item for the inventory adjustment Additional properties: Yes |
|---|
| data.adjustments[].itemReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.adjustments[].itemReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.adjustments[].quantity | object | Either this, the value adjustment, the serial number adjustment, or the lot number adjustment should be defined Additional properties: Yes |
|---|
| data.adjustments[].quantity.newQuantity | number | Either this or the quantity difference should be defined |
|---|
| data.adjustments[].quantity.quantityDifference | number | Either this or the quantity difference should be defined |
|---|
| data.adjustments[].quantity.serialNumber | string | Either this or the lot number should be defined |
|---|
| data.adjustments[].quantity.lotNumber | string | Either this or the serial number should be defined |
|---|
| data.adjustments[].quantity.siteLocationReference | object | The site where the inventory is adjusted Additional properties: Yes |
|---|
| data.adjustments[].quantity.siteLocationReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.adjustments[].quantity.siteLocationReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.adjustments[].value | object | Either this, the quantity adjustment, the serial number adjustment, or the lot number adjustment should be defined Additional properties: Yes |
|---|
| data.adjustments[].value.newQuantity | number | Either this or the quantity difference should be defined |
|---|
| data.adjustments[].value.quantityDifference | number | Either this or the quantity difference should be defined |
|---|
| data.adjustments[].value.newValue | number | Either this or the value difference should be defined |
|---|
| data.adjustments[].value.valueDifference | number | Either this or the new value should be defined |
|---|
| data.adjustments[].serialNumber | object | Either this, the quantity adjustment, the value adjustment, or the lot number adjustment should be defined Additional properties: Yes |
|---|
| data.adjustments[].serialNumber.addSerialNumber | string | |
|---|
| data.adjustments[].serialNumber.removeSerialNumber | string | |
|---|
| data.adjustments[].serialNumber.siteLocationReference | object | The site where the inventory is adjusted Additional properties: Yes |
|---|
| data.adjustments[].serialNumber.siteLocationReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.adjustments[].serialNumber.siteLocationReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.adjustments[].lotNumber | object | Either this, the quantity adjustment, the value adjustment, or the serial number adjustment should be defined Additional properties: Yes |
|---|
| data.adjustments[].lotNumber.lotNumber | string | |
|---|
| data.adjustments[].lotNumber.countAdjustment | integer | |
|---|
| data.adjustments[].lotNumber.siteLocationReference | object | The site where the inventory is adjusted Additional properties: Yes |
|---|
| data.adjustments[].lotNumber.siteLocationReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.adjustments[].lotNumber.siteLocationReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.siteLocationReference | object | The site where the inventory is adjusted Additional properties: Yes |
|---|
| data.siteLocationReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.siteLocationReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.customerReference | object | The customer for the inventory adjustment Additional properties: Yes |
|---|
| data.customerReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.customerReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.classReference | object | The accounting class for the inventory adjustment Additional properties: Yes |
|---|
| data.classReference.listId | string | The ID of the object. Either this, the name, or both should be defined. |
|---|
| data.classReference.name | string | The full name of the object. Either this, the list ID, or both should be defined. |
|---|
| data.memo | string | |
|---|
| data.externalGuid | string | The unique identifier that is reference from an external system |
|---|
| request* | object | The transaction request is the request object for the Accounting API request. All of the requests are pseudo-asynchronous. A call is made to request data from or perform actions against a QuickBooks Desktop instance. Each of these requests are queued for processing. QBD Connect processes the requests and then either sends the data back to the client synchronously with a callback URL or saves the data to be queried later. This object is used to query for the response data. Additional properties: Yes |
|---|
| request.instanceId* | string | This is the instance ID for the QBDC instance. Each QuickBooks Web Connector application gets a dedicated QBDC instance. In order to query the Accounting API properly for responses, the instance ID is required. |
|---|
| request.callbackUrl | string | The callbackUrl is the HTTP endpoint where the response should go. For requests that have a callback URL, QBD Connect will send the request to QuickBooks Desktop, receive the response, and then send the response to the HTTP endpoint either encrypted or unencrypted. Encryption is the responsibility of the client. By default, if this property is not included, the response is saved for 24 hours for the client to request the response via an API request to /requests/{requestId}?instanceId=<instanceId>&action=<action>. NOTE: Only include this property if the response should be delivered via HTTP(S) Secure CommunicationAs state above, the callback can either be encrypted or plain-text. It is strongly suggested that the callback is to an encrypted (HTTPS) endpoint. It is also suggested that the request ID is verified on the response for the request that was sent. For example, if a request is made for an inventory adjustment, the client should save the request ID and then verify that the response has the appropriate instance ID, action (InventoryAdjustmentAdd, in this case), and request ID. |
|---|