List invoices for the authenticated organization, newest first
const url = 'https://api.invogi.com/v1/invoices?limit=50&offset=0&company_source=EXPLICIT';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/invoices?limit=50&offset=0&company_source=EXPLICIT' \ --header 'Authorization: Bearer <token>'Offset-paginated (limit/offset; the response carries the filtered total). decision filters on the invoice’s latest decision, severity on its highest-severity finding, and finding_type on any of its findings. All filters apply before paging.
Authorizations
Section titled “Authorizations”Parameters
Section titled “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”Case-insensitive match on invoice number or supplier name
One or more decisions for the invoice’s latest decision
One or more severities for the invoice’s highest-severity finding
How an invoice’s company was chosen. BUYER_UNMATCHED: the buyer VAT ID matched no company, so the invoice fell back to the default company and awaits confirmation or a move.
How the company was chosen; BUYER_UNMATCHED lists invoices whose buyer VAT ID matched no company and fell back to the default
Invoices with at least one finding of any selected type
Earliest issue date (inclusive)
Latest issue date (inclusive)
Responses
Section titled “Responses”Invoice page
object
object
How an invoice’s company was chosen. BUYER_UNMATCHED: the buyer VAT ID matched no company, so the invoice fell back to the default company and awaits confirmation or a move.
All findings on the invoice
Findings still awaiting review. Reviewing a finding never changes the invoice decision.
Invoices matching the filters
Example
{ "items": [ { "status": "UPLOADED", "companySource": "EXPLICIT", "decision": "PASS", "topFinding": { "severity": "INFO" } } ]}Missing or invalid API key