Check a proposal (ANALYST+, dashboard user)
const url = 'https://api.invogi.com/v1/payment-proposals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/checks';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/payment-proposals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/checks \ --header 'Authorization: Bearer <token>'Creates an immutable result run from one consistent database snapshot. Each row matches at most one invoice of the proposal’s entity: a unique external invoice ID first, then the invoice number qualified by a uniquely resolved supplier (explicit choice, tax ID, or exact normalized name; merged suppliers followed). Amounts and fuzzy names never match. Each row gets exactly one category:
- UNCHECKED: not matched, ambiguous, identifiers disagree, another entity, another currency, or no current analysis (none, the workspace or supplier policy changed since, or the invoice was corrected since). Re-analyse through the invoice.
- BLOCK: the invoice’s latest decision is BLOCK (whatever reviewers said about its findings).
- REVIEW: the latest decision is REVIEW, an open finding exists, or a proposal-level issue (the same invoice on several rows; rows adding up to more than the invoice).
- NO_OPEN_EXCEPTIONS: a unique match, a current PASS and no open finding.
Checking is a point-in-time review aid. It never records a payment, approves a row, or changes a finding, decision or outcome. Checking again creates a new run; earlier runs are kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Scoped to this proposal; a retry returns the same run
Responses
Section titled “Responses”The new check
object
Whole-run totals; every proposal row is counted exactly once.
object
object
object
object
object
object
object
object
object
object
Example
{ "ruleVersion": "proposal-check-1.0.0"}API key lacks required scope/role
Resource not found