API problem types / Invoices, quotes and payments
HTTP 409 · Conflict
Invoice Not Editable
https://corplyst.com/problems/invoice-not-editable
What it means
The invoice can't be changed in its current state. Only a draft can be issued or deleted, and an invoice can't be edited once a payment has been recorded against it. The detail gives the reason.
What to do
Reload the invoice to see its current status. To edit an invoice that has payments, reverse those payments first.
Example response
Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.
{
"type": "https://corplyst.com/problems/invoice-not-editable",
"title": "Invoice Not Editable",
"status": 409,
"detail": "…"
}