Skip to content

A proposal, a page of its rows as submitted, and its checks (any role)

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

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

The proposal

Media typeapplication/json
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
checks

Up to 20

Array<object>
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
rows
object
items
Array<object>

One invoice allocation. Needs invoiceExternalId, or invoiceNumber with supplierName, supplierTaxId or supplierId. A supplier total must be split into the invoices it pays.

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
total
integer
limit
integer
offset
integer
amounts
object
key
additional properties
string
successorId
null | string
latestCheck
Any of:
null
id
string
name
string
company
object
id
required
string
name
required
string
plannedPaymentDate
string
providerBatchReference
null | string
sourceFilename
null | string
rowCount
number
predecessorId
null | string
createdAt
string format: date-time

Example

{
"latestCheck": {
"ruleVersion": "proposal-check-1.0.0"
},
"checks": [
{
"ruleVersion": "proposal-check-1.0.0"
}
]
}

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