Get the free live pre-payment check allowance
GET
/billing/live-checks
const url = 'https://api.invogi.com/v1/billing/live-checks';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/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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”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.
Responses
Section titled “Responses”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