Get the server-authoritative executive summary for a scan
const url = 'https://api.invogi.com/v1/scans/example/summary';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/scans/example/summary \ --header 'Authorization: Bearer <token>'Potential exposure includes only current duplicate candidates, once per invoice. Verified benefit includes only prevented outcomes and verified recovery (cash received or credit applied) on findings that are still confirmed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Executive AP control-check summary
object
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
object
object
object
object
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
object
object
Open, confirmed or accepted duplicate-payment findings from this scan’s payments, each payment counted once. Not a confirmed saving.
object
object
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
Of those
Supplier credits this scan read from Xero or QuickBooks that are still unused 30+ days after issue and flagged (open, confirmed or accepted), at their unused balance. Empty for file scans.
object
object
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
Prevented outcomes on this scan’s invoices, plus verified recovery (active applications) on recovery cases sourced from its invoices or payments.
object
object
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
object
Decimal confidence from 0 to 1
object
ISO 4217 alphabetic currency code, case-insensitive and stored upper-case. A code that is not a currency suppliers invoice in (including XXX, funds and precious-metal codes) is rejected with INVALID_REQUEST. Invoices whose currency cannot be read from an uploaded document are stored with the ISO placeholder XXX and raise a CURRENCY_UNKNOWN finding.
object
object
object
object
object
object
Example
{ "scan": { "status": "CREATED", "source": "FILE" }, "baseCurrency": "GBP", "potentialDuplicateExposure": { "byCurrency": [ { "currency": "GBP" } ] }, "paymentEvidence": { "paymentBackedCandidates": { "byCurrency": [ { "currency": "GBP" } ] } }, "unusedSupplierCredits": { "byCurrency": [ { "currency": "GBP" } ] }, "verifiedBenefit": { "byCurrency": [ { "currency": "GBP" } ] }, "topFindings": [ { "severity": "INFO", "disposition": "OPEN", "decision": "PASS", "currency": "GBP" } ]}Missing or invalid API key
object
object
Example
{ "error": { "code": "NOT_FOUND" }}Resource not found
object
object
Example
{ "error": { "code": "NOT_FOUND" }}Conflicting idempotency key or resource processing state
object
object
Example
{ "error": { "code": "NOT_FOUND" }}