Delete an item receipt

Changed on

Permanently deletes an item receipt. The deletion will fail if the item receipt is currently in use or has any linked transactions that are in use.

delete/quickbooks-desktop/item-receipts/{id}

Request

Path parameters

idstring required

The QuickBooks-assigned unique identifier of the item receipt to delete.

Example:123ABC-1234567890

Headers

Conductor-End-User-Idstring required

The ID of the End-User to receive this request.

Example:end_usr_1234567abcdefg

Response

Returns a confirmation of the deletion with the ID of the deleted item receipt.

idstring required

The QuickBooks-assigned unique identifier of the deleted item receipt.

objectType'qbd_item_receipt' required

The type of object. This value is always "qbd_item_receipt".

refNumberstring nullable required

The case-sensitive user-defined reference number of the deleted item receipt.

deletedboolean required

Indicates whether the item receipt was deleted.

Example response

{
  "id": "123ABC-1234567890",
  "objectType": "qbd_item_receipt",
  "refNumber": "RECEIPT-1234",
  "deleted": true
}

Changes