A proposal, a page of its rows as submitted, and its checks (any role)
const url = 'https://api.invogi.com/v1/payment-proposals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?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/payment-proposals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?limit=50&offset=0' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”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”Responses
Section titled “Responses”The proposal
object
object
Provenance only
Display only; the file is not stored
The corrected proposal that replaced this one
Proposed total per currency (never added across currencies)
object
object
Whole-run totals; every proposal row is counted exactly once.
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Up to 20
object
Whole-run totals; every proposal row is counted exactly once.
object
object
object
object
object
object
object
object
object
object
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
The invoice’s ID in your system (external_id)
Chosen when a supplier name is ambiguous
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
ISO 4217; must be the invoice’s currency
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "latestCheck": { "ruleVersion": "proposal-check-1.0.0" }, "checks": [ { "ruleVersion": "proposal-check-1.0.0" } ]}Resource not found