Delete an invoice
DELETE/invoices/:code
Soft delete an invoice that is not approved
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 429
- 500
Invoice successfully soft-deleted
Bad request - invoice is approved or already deleted
Unauthorized
Forbidden - request denied by authorization, or blocked by the API firewall
Invoice not found
Too many requests - rate limited by the API firewall; wait out the Retry-After delay before retrying
Response Headers
Retry-After
Delay in seconds a client must wait before retrying the request
Internal server error