New

The playground: play against Orion Compass and try four business cases with real API calls, no key needed.Read more

Serenity Edge

Expenses against policy

Model
Orion Compass FlashOrionorion-compass-flashReads imagesAn Orion model, from Serenity’s own family. The light version of Orion Compass, which also reads images.

Orion Compass Flash receives each receipt as a PNG image, not as text: from the image it reads the supplier, the tax ID, the date, the lines and the total, and decides with the expenses policy, which it does receive as text, whether to approve the receipt, reject it or ask for details. You decide the same for the six made-up receipts, and you are both scored.

Live: this demo makes real calls to the API, with a demo key and a limit of calls per visit.

What the model receives and what it returns
PolicytextReceiptPNG image
Orionorion-compass-flashReads imagesApprove · reject · ask for details

Decide on each receipt and press Check answers: one point per correct answer. Then change an amount, a date or a rule of the policy; the correct answer is worked out again and the model decides again.

Expenses policy of Alondra Casa, S.L.

  • Alcoholic drinks are never reimbursed.
  • Receipts dated after the claim are rejected.
  • Every receipt must show the supplier’s tax ID; if it does not, ask for details.
  • Claim date: 4 November 2026.
  1. Receipt 1

    Model:
    Shown when you check
    Change the amount or the date
  2. Receipt 2

    Model:
    Shown when you check
    Change the amount or the date
  3. Receipt 3

    Model:
    Shown when you check
    Change the amount or the date
  4. Receipt 4

    Model:
    Shown when you check
    Change the amount or the date
  5. Receipt 5

    Model:
    Shown when you check
    Change the amount or the date
  6. Receipt 6

    Model:
    Shown when you check
    Change the amount or the date

Score

You–
Model–

Answer, then press Check answers to see the model’s answers and the score.

Model calls

The cost and the milliseconds appear with the first call.

See the call

One request per receipt to POST /v1/decisions: the policy as text and the receipt as a PNG image in the same message, and a choice question.

Route
POST /v1/decisions
Model
orion-compass-flash
Reference for POST /v1/decisions

The server adds the API key, which never reaches your browser.

In the cURL, the receipt image is a placeholder: replace it with the data URL of your PNG.

Request

Take it to your code

The same single-choice questions can route tickets, classify documents or pick the next step of a process.