wafeq_invoices_destroy
Permanently delete an existing invoice by ID. Remove erroneous or obsolete invoices from Wafeq to keep records accurate.
Instructions
🔴 DESTRUCTIVE · deletes · Invoices · DELETE /invoices/{id}/
Delete invoice
Endpoint for deleting an existing invoice.
Permanently removes the record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| idempotency_key | No | Optional idempotency key (sent as the X-Wafeq-Idempotency-Key header). A UUID v4 is generated automatically when omitted, so an automatic network retry can never duplicate this operation. Pass your own stable value to make a deliberate re-invocation safe as well. |