API Reference

Three Way Match

2 endpoints· Auth: JWT or API Key
post/api/v1/console/purchase-invoices/{id}/clear-match-exception JWT API Key

Lift the hold.,

OWNER-only.

The match is re-run first. A mismatch that already healed is released with no note; a live mismatch needs a justification of at least 10 characters and is recorded as a forced override carrying every verdict it overrode.

200, not 201: nothing is created. The hold is a flag on a bill that already exists.

Capability
approve_requests
API key scope
cap:approve_requests (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Request body

application/json
{
  "note": "string"
}
note
string
Why the hold is being lifted despite a live mismatch. Ignored on a self-healing clear; required, and at least 10 characters, otherwise.

Responses

200Success
cURL
curl -X POST "https://staging-api.panoptesos.com/api/v1/console/purchase-invoices/{id}/clear-match-exception" \
  -H "Content-Type: application/json" \
  -H "X-Api-Key: <YOUR_API_KEY>" \
  -d '{
  "note": "string"
}'
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Request body (JSON)

Headers

Set credentials in the “Authorize” menu
get/api/v1/console/purchase-invoices/{id}/match-lines JWT API Key

The bill's per-line match detail, recomputed against current purchase-order state

Only `matchStatus` is persisted, so this is the only surface on which an approver can see which line breached, by how much and against which tolerance. The response reports the persisted verdict and the recomputed one side by side: a later corrective receipt can heal an exception on its own ( item 25), and the console needs that difference to decide whether to demand an override note.

Capability
receive_purchase
API key scope
cap:receive_purchase (the key's owner must also hold the capability)

Path parameters

idrequired
string (uuid)
—

Responses

200Success
cURL
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/purchase-invoices/{id}/match-lines" \
  -H "X-Api-Key: <YOUR_API_KEY>"
Try itagainst staging · https://staging-api.panoptesos.com

Path parameters

Headers

Set credentials in the “Authorize” menu