Delete an invoice

Permanently delete a void invoice. A quote it was generated from stays, unlinked from the invoice.

DELETE https://api.centerfy.ai/webhooks/inbound/invoices/:id

Headers

HeaderRequiredValueDescription
x-api-keyYesyour sub-account API key (cfy_…)Authenticates the request; or use Authorization: Bearer <key>.

Path parameters

NameTypeRequiredDescription
idstring (uuid)YesThe invoice id.

Example

curl -X DELETE "https://api.centerfy.ai/webhooks/inbound/invoices/{id}" \
  -H "x-api-key: $CENTERFY_API_KEY"
import { CenterfyClient } from "@centerfy/sdk";

const centerfy = new CenterfyClient({ apiKey: process.env.CENTERFY_API_KEY! });

const result = await centerfy.invoices.delete("<invoiceId>");
console.log(result);
centerfy invoices delete <invoiceId>

MCP tool: centerfy_invoices_delete (see MCP server)

Response

{
  "status": "success",
  "deleted": true,
  "invoice_id": "e1f2a3b4-c5d6-4e7f-8a9b-0c1d2e3f4a5b"
}

Errors

  • 409 — unless the invoice status is void — set it to void with Update an invoice first.
  • 404 — if the invoice is not in this sub-account.
© 2026 Centerfy AI. All rights reserved.