Skip to content

existing_invoice_blocking

Existing invoice blocks the change. HTTP status 409.

An unpaid invoice or order for this service blocks the change until it is paid or cancelled.

What to do

Pay the invoice in existingInvoice with POST /api/v2/billing/invoices/{id}/actions/pay. Paying a renewal invoice completes the renewal; for other changes, send the request again afterwards. When recovery.suggestedBody contains cancelExistingInvoice: true, you can instead resend that body to cancel the pending invoice and continue.

What the message says

  • example.com: There is already an unpaid invoice #202600001 for this domain renewal. Pay the outstanding invoice to complete the renewal.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/existing_invoice_blocking",
"title": "Existing invoice blocks the change",
"status": 409,
"detail": "example.com: There is already an unpaid invoice #202600001 for this domain renewal. Pay the outstanding invoice to complete the renewal.",
"code": "existing_invoice_blocking",
"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