Expenses against policy
- Model
- Orion Compass Flash
Orionorion-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.
Orionorion-compass-flashReads imagesApprove · reject · ask for detailsDecide 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.
Receipt 1
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Receipt 2
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Receipt 3
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Receipt 4
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Receipt 5
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Receipt 6
- Model:
- Shown when you check
- Correct answer:
The model’s probabilities
Change the amount or the date
Score
Answer, then press Check answers to see the model’s answers and the score.
Summary
- Model calls
- Median per call
- Cost at scale
With the local simulation, no cost or milliseconds.
Next: Personal data huntModel calls
The cost and the milliseconds appear with the first call.
Milliseconds of each call
The local simulation does not call the API, so there is no cost or milliseconds to measure.
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
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
API response
Take it to your code
The same single-choice questions can route tickets, classify documents or pick the next step of a process.
