API problem types / Accounting

HTTP 400 · Bad Request

Unknown Account Code

https://corplyst.com/problems/unknown-account-code

What it means

A journal entry line uses an account code that doesn't exist in this company's chart of accounts.

What to do

Pick an account from the chart of accounts, or ask an Owner to add the account first.

Example response

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

{
  "type": "https://corplyst.com/problems/unknown-account-code",
  "title": "Unknown Account Code",
  "status": 400,
  "detail": "…"
}

← All problem types