Skip to content

A check's rows, with whole-run totals (any role)

GET
/payment-proposals/{proposalId}/checks/{checkId}
curl --request GET \
--url 'https://api.invogi.com/v1/payment-proposals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/checks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?limit=50&offset=0' \
--header 'Authorization: Bearer <token>'

check.summary covers the whole run regardless of filters and page; total counts the filtered rows. changedSinceCheck counts rows whose invoice has a newer decision, different open findings, changed matching or invoice data, changed recorded payments, a changed effective policy, or changed invoice-correction state now.

proposalId
required
string format: uuid
checkId
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.

category
string

Comma-separated: UNCHECKED, BLOCK, REVIEW, NO_OPEN_EXCEPTIONS

reason
string

One reason code

limit
integer
default: 50 >= 1 <= 200
offset
integer
0

The check

Media typeapplication/json
object
proposal
object
id
string format: uuid
name
string
company
object
id
string format: uuid
name
string
plannedPaymentDate
string format: date
providerBatchReference

Provenance only

string | null
sourceFilename

Display only; the file is not stored

string | null
rowCount
integer
predecessorId
string | null format: uuid
successorId

The corrected proposal that replaced this one

string | null format: uuid
amounts

Proposed total per currency (never added across currencies)

object
key
additional properties
string
latestCheck
One of:
null
createdAt
string format: date-time
checks
Array<object>
object
id
required
string
checkedAt
required
string format: date-time
ruleVersion
required
string
riskEngineVersion
required
string
rowCount
required
number
summary
required
object
rows
required
number
byCategory
required
object
REVIEW
required
number
BLOCK
required
number
UNCHECKED
required
number
NO_OPEN_EXCEPTIONS
required
number
amountsByCategory
required
object
REVIEW
required
object
key
additional properties
string
BLOCK
required
object
key
additional properties
string
UNCHECKED
required
object
key
additional properties
string
NO_OPEN_EXCEPTIONS
required
object
key
additional properties
string
amounts
required
object
key
additional properties
string
reasonCounts
required
object
EXTERNAL_ID_NOT_FOUND
number
INVOICE_NOT_FOUND
number
SUPPLIER_NOT_FOUND
number
SUPPLIER_AMBIGUOUS
number
SUPPLIER_REQUIRED
number
INVOICE_AMBIGUOUS
number
IDENTIFIER_CONFLICT
number
ENTITY_MISMATCH
number
CURRENCY_MISMATCH
number
ANALYSIS_MISSING
number
POLICY_CHANGED
number
INVOICE_CHANGED_SINCE_ANALYSIS
number
DECISION_BLOCK
number
DECISION_REVIEW
number
OPEN_FINDINGS
number
REPEATED_ALLOCATION
number
ALLOCATION_EXCEEDS_INVOICE
number
IN_OTHER_PROPOSAL
number
matchedRows
required
number
durationMs
required
number
rows
object
items
required
Array<object>
object
id
required
string
sourceRowNumber
required
number
invoiceExternalId
required
null | string
invoiceNumber
required
null | string
supplierName
required
null | string
supplierTaxId
required
null | string
supplierId
required
null | string
amount
required
string
currency
required
string
paymentReference
required
null | string
total
required
number
limit
required
number
offset
required
number
dataProfile
object
bindingId
required
string
profileId
required
string
revisionId
required
string
revisionNumber
required
number
name
required
string
check
object
id
string format: uuid
checkedAt
string format: date-time
ruleVersion
string
riskEngineVersion
string
rowCount
integer
durationMs
integer
summary

Whole-run totals; every proposal row is counted exactly once.

object
rows
integer
matchedRows
integer
byCategory
object
UNCHECKED
integer
BLOCK
integer
REVIEW
integer
NO_OPEN_EXCEPTIONS
integer
amounts
object
key
additional properties
string
amountsByCategory
object
REVIEW
object
key
additional properties
string
BLOCK
object
key
additional properties
string
UNCHECKED
object
key
additional properties
string
NO_OPEN_EXCEPTIONS
object
key
additional properties
string
key
additional properties
object
key
additional properties
string
reasonCounts
object
EXTERNAL_ID_NOT_FOUND
number
INVOICE_NOT_FOUND
number
SUPPLIER_NOT_FOUND
number
SUPPLIER_AMBIGUOUS
number
SUPPLIER_REQUIRED
number
INVOICE_AMBIGUOUS
number
IDENTIFIER_CONFLICT
number
ENTITY_MISMATCH
number
CURRENCY_MISMATCH
number
ANALYSIS_MISSING
number
POLICY_CHANGED
number
INVOICE_CHANGED_SINCE_ANALYSIS
number
DECISION_BLOCK
number
DECISION_REVIEW
number
OPEN_FINDINGS
number
REPEATED_ALLOCATION
number
ALLOCATION_EXCEEDS_INVOICE
number
IN_OTHER_PROPOSAL
number
key
additional properties
integer
changedSinceCheck
object
rows
integer
items
Array<object>
object
proposalRow
object
sourceRowNumber
required
integer
>= 1
invoiceExternalId

The invoice’s ID in your system (external_id)

string
<= 200 characters
invoiceNumber
string
<= 200 characters
supplierName
string
<= 300 characters
supplierTaxId
string
<= 64 characters
supplierId

Chosen when a supplier name is ambiguous

string format: uuid
amount
required

Positive, with no more significant decimal places than the currency has (EUR 2, JPY 0, KWD 3; trailing zeros are fine). Refused, never rounded: a partial payment is kept exactly as proposed

string
/^\d{1,18}(\.\d{1,6})?$/
currency
required

ISO 4217; must be the invoice’s currency

string
paymentReference
string
<= 200 characters
id
string
id
string format: uuid
sourceRowNumber
required
number
invoiceExternalId
null | string
invoiceNumber
null | string
supplierName
null | string
supplierTaxId
null | string
supplierId
null | string
amount
required
string
currency
required
string
paymentReference
null | string
category
string
Allowed values: UNCHECKED BLOCK REVIEW NO_OPEN_EXCEPTIONS
reasonCodes
Array<string>
Allowed values: EXTERNAL_ID_NOT_FOUND INVOICE_NOT_FOUND SUPPLIER_NOT_FOUND SUPPLIER_AMBIGUOUS SUPPLIER_REQUIRED INVOICE_AMBIGUOUS IDENTIFIER_CONFLICT ENTITY_MISMATCH CURRENCY_MISMATCH ANALYSIS_MISSING POLICY_CHANGED INVOICE_CHANGED_SINCE_ANALYSIS DECISION_BLOCK DECISION_REVIEW OPEN_FINDINGS REPEATED_ALLOCATION ALLOCATION_EXCEEDS_INVOICE IN_OTHER_PROPOSAL
invoice

Set only for a unique match

object
id
string format: uuid
invoiceNumber
string | null
supplier
object | null
candidateInvoiceIds

Invoices to look at when the row did not match; never a match

Array<string>
decision
object
id
string format: uuid
value
string
Allowed values: PASS REVIEW BLOCK
policyVersion
string
currentPolicyVersion
string | null
evidence

Findings (with ids), repeated allocations (source rows and per-currency totals), recorded payments with their coverage note, and otherProposals: other current proposed runs whose latest check matched the same invoice (proposalId, name, plannedPaymentDate, checkId, sourceRowNumbers, per-currency amounts). Runs replaced by a corrected file, and this proposal’s own correction chain, are excluded.

object
key
additional properties
any
changedSinceCheck

The invoice has a newer decision

boolean
total
integer
limit
integer
offset
integer

Example

{
"proposal": {
"latestCheck": {
"ruleVersion": "proposal-check-1.0.0"
}
},
"check": {
"ruleVersion": "proposal-check-1.0.0"
},
"items": [
{
"category": "UNCHECKED",
"reasonCodes": [
"EXTERNAL_ID_NOT_FOUND"
],
"decision": {
"value": "PASS"
}
}
]
}

Invalid request

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

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