DELETE
/Bill/{id}/Delete an invoice
Deletes an invoice identified by its ID. Use this operation to remove an invoice that you no longer need. The response indicates whether the invoice was deleted and includes its UUID.
idstringrequired
The invoice identifier.
200Returns a deletion result containing a `deleted` value and the invoice UUID.
dataobjectoptional
metaobjectoptional
statusstringoptional
400Returned when the request is invalid.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
404Returned when the invoice cannot be found.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
405Returned when the request method is not supported for the resource.
errorobjectoptional
messagestringoptional
reasonstringoptional
statusstringoptional
Error handling
A 400 is returned when the request is invalid. A 404 is returned when the invoice identified by the id path parameter cannot be found. A 405 is returned when the request method is not supported for the resource.