One run with coverage summary (any role)
GET
/overcharge-audits/{runId}
const url = 'https://api.invogi.com/v1/overcharge-audits/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', 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 GET \ --url https://api.invogi.com/v1/overcharge-audits/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”runId
required
string format: uuid
Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
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.
Responses
Section titled “Responses”The run
Media typeapplication/json
object
id
string format: uuid
status
string
lineCount
integer
invoiceCount
integer
processedLineCount
integer
manifest
Frozen rule/engine versions
object
summary
Coverage first. Every line counts in lines. Net candidate variance is per currency, before tax, and is never added to gross invoice exposure or reported as a saving.
object
lines
integer
checkedLines
integer
uncheckedLines
integer
byState
object
key
additional properties
integer
byReason
object
key
additional properties
integer
netCandidateVariance
object
key
additional properties
string
withinToleranceVariance
object
key
additional properties
string
basis
string
noExceptionsClaimable
True only when every line was checked and none is an exception
boolean
changedSinceRun
Inputs changed after a completed run
boolean | null
rerunOfId
string | null format: uuid
error
string | null
createdAt
string format: date-time
completedAt
string | null format: date-time
companyId
null | string
supplierId
null | string
periodFrom
null | string
periodTo
null | string
createdByUserId
null | string
startedAt
null | string
Example
{ "status": "QUEUED", "summary": { "basis": "NET_BEFORE_TAX" }}Resource not found
Media typeapplication/json