Skip to content

A run's lines with coverage state, evidence, payment coverage and the supplier's recorded credit notes (any role)

GET
/overcharge-audits/{runId}/lines
curl --request GET \
--url 'https://api.invogi.com/v1/overcharge-audits/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/lines?state=CHECKED_NO_EXCEPTION&limit=50&offset=0' \
--header 'Authorization: Bearer <token>'

Invoice identity and comparison facts are frozen with the run. Payment evidence is current, in the run line’s currency, and compared with the frozen invoice gross amount. SETTLED_IMPORT means the accounting import reports paid but no matching payment is recorded; verify settlement evidence before recovery. No recorded payment is not proof of nonpayment. supplierCredits lists credit notes for the same company, supplier and currency issued since the invoice, as evidence only. Credits never reduce a candidate or count as recovered. A line with evidence.note RUN_INPUTS_CHANGED retains its historical result without linking to a current finding; rerun to review current inputs. Each line includes its nullable variant alongside itemCode; preserve both when recording a price-precedence decision.

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.

state
string
Allowed values: CHECKED_NO_EXCEPTION EXCEPTION WITHIN_TOLERANCE NEEDS_MATCHING MISSING_EVIDENCE CONFLICTING_EVIDENCE NOT_APPLICABLE
limit
integer
default: 50 >= 1 <= 200
offset
integer
0

A page of lines

Media typeapplication/json
object
items
Array<object>
object
supplierCredits
Any of:
null
payment
Any of:
object
payments
required
number
amountPaid
required
string
status
required
string
Allowed values: PAID PARTIAL
id
string
invoiceId
string
invoiceNumber
null | string
supplier
Any of:
null
sourceLineId
string
lineRevisionId
string
lineRevisionNumber
number
itemCode
null | string
variant
null | string
description
null | string
quantity
null | string
unit
null | string
lineNetAmount
string
state
string
reason
null | string
currency
string
netVariance
null | string
findingId
null | string
findingDisposition
Any of:
null
componentKey
null | string
evidence
total
integer
limit
number
offset
number

Example

{
"items": [
{
"payment": {
"status": "PAID"
},
"findingDisposition": "OPEN"
}
]
}

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"
}
}