API problem types / Expenses and documents

HTTP 400 · Bad Request

Unsupported Receipt

https://corplyst.com/problems/unsupported-receipt

What it means

The receipt can't be scanned to fill in the expense form: the file is empty, too large, or of a type the scanner doesn't read. The detail gives the limit that applies.

What to do

Upload a JPEG, PNG, GIF or WebP image (up to 5 MB) or a PDF (up to 10 MB), or fill in the expense yourself. You can still attach the file to the expense as a plain receipt.

Example response

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

{
  "type": "https://corplyst.com/problems/unsupported-receipt",
  "title": "Unsupported Receipt",
  "status": 400,
  "detail": "…"
}

← All problem types