DELETE
/v1/invoices/{id}Find an endpoint or a guide of the Sovgate API reference and jump straight to it.
/v1/invoices/{id}Delete a draft or a canceled invoice. Its number is never reused.
DELETE /v1/invoices/{id}| Name | Type | Description |
|---|---|---|
id | string | The invoice's ID, inv_.... |
curl -X DELETE https://api.sovgate.com/v1/invoices/inv_9901466208dd4002a3d80244 \ -H "Authorization: Bearer sov_sk_test_your_key" \ -H "Idempotency-Key: 94149b42-4b2a-4c1d-9e3f-b1a0a425159e"{ "id": "inv_9901466208dd4002a3d80244", "object": "invoice", "deleted": true}