API problem types / Expenses and documents

HTTP 409 · Conflict

Expense Not Editable

https://corplyst.com/problems/expense-not-editable

What it means

Only a draft expense can be edited, deleted, recorded or given a receipt. Once an expense is recorded it's part of your books. The detail gives the reason.

What to do

Reload the expense to see its current status. To correct a recorded expense, post a correcting journal entry.

Example response

Sent with Content-Type: application/problem+json. The detail field describes this specific occurrence.

{
  "type": "https://corplyst.com/problems/expense-not-editable",
  "title": "Expense Not Editable",
  "status": 409,
  "detail": "…"
}

← All problem types