Skip to content

credit_note_unavailable

Credit note unavailable. HTTP status 409.

The invoice has no credit note. Credit notes exist only for refunded, partially refunded or cancelled invoices.

What to do

The detail names the invoice’s current status. For a paid or unpaid invoice, download the invoice itself with GET /api/v2/billing/invoices/{id}/pdf.

What the message says

  • A credit note is only available for refunded, partially refunded, or cancelled invoices. Current invoice status: Paid.

Example

Response 409
{
"type": "https://developer.hostup.se/errors/credit_note_unavailable",
"title": "Credit note unavailable",
"status": 409,
"detail": "A credit note is only available for refunded, partially refunded, or cancelled invoices. Current invoice status: Paid.",
"code": "credit_note_unavailable",
"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