Delete a sales receipt
Permanently deletes a sales receipt. The deletion will fail if the sales receipt is currently in use or has any linked transactions that are in use.
Path parameters
The QuickBooks-assigned unique identifier of the sales receipt to delete.
The QuickBooks-assigned unique identifier of the sales receipt to delete.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
Response
Returns a confirmation of the deletion with the ID of the deleted sales receipt.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_sales_receipt",
"refNumber": "RECEIPT-1234",
"deleted": true
}Changes
Changed in 4 of the 46 revisions of this API.311
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
- ▲
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ○
response property
refNumberlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ▲
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲