API Reference
Three Way Match
/api/v1/console/purchase-invoices/{id}/clear-match-exception JWT API KeyLift 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
{
"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
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"
}'Path parameters
Request body (JSON)
Headers
/api/v1/console/purchase-invoices/{id}/match-lines JWT API KeyThe 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
curl -X GET "https://staging-api.panoptesos.com/api/v1/console/purchase-invoices/{id}/match-lines" \
-H "X-Api-Key: <YOUR_API_KEY>"Path parameters
Headers