Skip to content

One run with coverage summary (any role)

GET
/overcharge-audits/{runId}
curl --request GET \
--url https://api.invogi.com/v1/overcharge-audits/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
runId
required
string format: uuid
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.

The run

Media typeapplication/json
object
id
string format: uuid
status
string
Allowed values: QUEUED RUNNING COMPLETED FAILED
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
Allowed value: NET_BEFORE_TAX
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
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}