API problem types / Invoices, quotes and payments
HTTP 409 · Conflict
Invoice Not Issued
https://corplyst.com/problems/invoice-not-issued
What it means
This action, such as recording a payment, only works on an issued invoice, and this one is still a draft or has been cancelled.
What to do
Issue the invoice first.
Example response
Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.
{
"type": "https://corplyst.com/problems/invoice-not-issued",
"title": "Invoice Not Issued",
"status": 409,
"detail": "…"
}