Skip to content

existing_invoice_not_cancellable

Existing invoice not cancellable. HTTP status 409.

Changing the billing cycle needs the pending renewal invoice to be cancelled and replaced. That invoice cannot be replaced automatically, for example because it also bills other services.

What to do

Pay the invoice in existingInvoice with POST /api/v2/billing/invoices/{id}/actions/pay. Then send the billing cycle change again.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/existing_invoice_not_cancellable",
"title": "Existing invoice not cancellable",
"status": 409,
"detail": "Existing invoice not cancellable",
"code": "existing_invoice_not_cancellable",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.

Endpoints that return it