Invoices

Delete a invoice

Delete an invoice by its unique identifier for the authenticated team. Only invoices with status 'draft' or 'canceled' can be deleted directly. If the invoice is not in one of these statuses, update its status to 'canceled' before attempting deletion.

delete/invoices/{id}

Request

  • Base URL
    https://api.midday.ai
  • URL
    https://api.midday.ai/invoices/{id}
  • Auth
    • OAuth 2
      Authorization code: https://app.midday.ai/oauth/authorize
      Token URL: https://api.midday.ai/oauth/token
    • or HTTP bearer

Path parameters

idstring required

Response

Delete a invoice by its unique identifier for the authenticated team.

idstring uuid required

Unique identifier for the deleted invoice

Example response

{
  "id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a"
}

Changes

No recorded changes to this operation across all 1 revision of this API.