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 URLhttps://api.midday.ai
- URLhttps://api.midday.ai/invoices/{id}
- Auth
- OAuth 2Authorization code: https://app.midday.ai/oauth/authorizeToken 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.
Example response
{
"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a"
}Changes
No recorded changes to this operation across all 1 revision of this API.