Skip to main content

Delete Offline Invoice

DELETE /invoices/{environment}/offline/{id}​

Deletes an offline invoice that has an error status. Invoices with other statuses cannot be deleted.

Path Parameters​

ParameterTypeRequiredDescription
environmentstring✅test, demo or prod
idstring (uuid)✅Offline invoice ID

Response 200​

{
"message": "Offline invoice deleted.",
"id": "uuid"
}
FieldTypeDescription
messagestringConfirmation message
idstring (uuid)ID of the deleted invoice

Error Codes​

CodeDescription
401Unauthorized
404Invoice not found
409Invoice does not have error status — cannot be deleted