Skip to content

Active suppliers not yet expected monthly, most spend first (any role)

GET
/statements/expectations/suggestions
curl --request GET \
--url 'https://api.invogi.com/v1/statements/expectations/suggestions?include_expected=false' \
--header 'Authorization: Bearer <token>'

Suppliers invoiced in the last year (spend in base currency) or holding an open ledger credit. Suggestions only; nothing is added until a person chooses. With include_expected, also includes suppliers with existing expectations for adding another account or re-enabling a period.

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.

include_expected
boolean

Include suppliers with existing expectations, allowing another company or currency account to be selected.

Up to 100 suppliers

Media typeapplication/json
object
items
Array<object>
object
supplier
object
id
string format: uuid
name
string
spendBase
string | null
invoices
integer
openCredits
integer

Example generated

{
"items": [
{
"supplier": {
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"name": "example"
},
"spendBase": "example",
"invoices": 1,
"openCredits": 1
}
]
}