# Cancel a recurring invoice (/docs/api/v1/recurring-invoice/cancel-recurring-invoice)

Stops a recurring invoice so no further instalments are collected. A cancellation callback (`0005`) is POSTed to the invoice's `callbackUrl`. Instalments already collected are not refunded; use Refunds for that.

`DELETE https://rip.hubtel.com/api/proxy/{accountNumber}/cancel-invoice/{id}`

## Parameters

| Name | In | Required | Description |
|---|---|---|---|
| `accountNumber` | path | Yes | Your **collection account number** (POS sales), where customer payments land. Find it in your Hubtel merchant account under [Programmable keys → Account ID](/dashboard/account-ids). In the sandbox, use the collection account in Workbench. |
| `id` | path | Yes |  |

## Response 200: Business result in ResponseCode: `0000`, `0005`, `4000`. See the response code table.

```json
{
  "responseCode": "0000",
  "message": "Your request has been processed successfully"
}
```

Full schema: /openapi/v1/recurring-invoice.json