Delete a sales receipt
Changed onPermanently 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.
delete/quickbooks-desktop/sales-receipts/{id}
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the sales 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 sales receipt.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_sales_receipt",
"refNumber": "RECEIPT-1234",
"deleted": true
}Changes
- warning
for the
pathrequest parameterid, the maxLength was set to36
- warning
- breaking
response property
refNumberlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking