Audit runs, newest first (any role)
GET
/overcharge-audits
const url = 'https://api.invogi.com/v1/overcharge-audits?limit=50&offset=0';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?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”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.
Query Parameters
Section titled “Query Parameters”limit
integer
offset
integer
Responses
Section titled “Responses”A page of runs
Media typeapplication/json
object
items
Array<object>
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
total
integer
limit
number
offset
number
Example
{ "items": [ { "status": "QUEUED", "summary": { "basis": "NET_BEFORE_TAX" } } ]}