Skip to content

Get the free live pre-payment check allowance

GET
/billing/live-checks
curl --request GET \
--url https://api.invogi.com/v1/billing/live-checks \
--header 'Authorization: Bearer <token>'

A workspace that has never subscribed can check its next 20 single invoices, forwarded to its intake address or uploaded, before payment, separately from its history allowance. intake_address is returned to OWNER and ADMIN only.

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.

Live-check state

Media typeapplication/json
object
available
required

False once the workspace has had a subscription

boolean
limit
required
integer
used
required
integer
remaining
required
integer
invoices_flagged
required

Live-checked invoices that raised at least one finding

integer
intake_address
required
string | null

Examples

Examplestarted
{
"available": true,
"limit": 20,
"used": 3,
"remaining": 17,
"invoices_flagged": 1,
"intake_address": "invoices+k3x9qv@inbound.invogi.com"
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}