List invoices for the authenticated organization, newest first
const url = 'https://api.invogi.com/v1/invoices?limit=50&offset=0&decision=PASS&severity=INFO&company_source=EXPLICIT&finding_type=EXACT_DUPLICATE';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&decision=PASS&severity=INFO&company_source=EXPLICIT&finding_type=EXACT_DUPLICATE' \ --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”Query Parameters
Section titled “Query Parameters”Case-insensitive match on invoice number or supplier name
Severity of 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 this 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
object
object
Example
{ "error": { "code": "NOT_FOUND" }}