---
title: "invoice.deleted"
method: POST
path: "InvoiceDeletedV2Webhook"
tags: ["Types of events V2"]
---

# invoice.deleted

`POST InvoiceDeletedV2Webhook` (webhook)

## Payload

- InvoiceDeletedV2Webhook
  - `id` string, required
  - `type` string, required
  - `platform_id` string, required
  - `data` InvoiceEventResponse, required
    - `id` string, required: Identifier of the invoice associated with this event. Prefixed with `inv_`.
    - `provider_id` string, required: Identifier of the provider that issued the invoice. Prefixed with `pr_`.
    - `resource_type` string: Resource type, the underlying resource this event is related to.
    - `object` string: Object type
  - `created` string, date-time, required

## Acknowledgement `2xx`

Your server implementation should return this HTTP status code if the data was received successfully

## Other responses

- `4xx`: If your server returns an HTTP status code indicating it does not understand the format of the payload the delivery will be treated as a failure. Multiple retries will be attempted!
- `5xx`: If your server returns an HTTP status code indicating a server-side error the delivery will be treated as a failure. Multiple retries will be attempted!

---

[API](https://skmtc.dev/kota/apis/kota-api.md) - [All operations](https://skmtc.dev/kota/apis/kota-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kota/apis/kota-api/revisions/998f7cb004ab?raw)
