Delete invoice by id

DELETE /api/billing/invoice/{id}

Deletes the pre-generated invoice by invoice identifier.

Path parameters

  • id integer(int64) Required

    The id of the invoice to be deleted

Responses

  • 404 application/json

    Bad Request Not Found, eg. tried to delete a pre-generated invoice that doesn't exist

  • Not Authorized

  • Not Allowed

DELETE /api/billing/invoice/{id}
curl \
 -X DELETE https://api-dev.gatego.io/api/billing/invoice/{id}
Response examples (404)
{
  "error_code": "bad-request-not-found"
}