Skip to content

Get the free monitoring trial's availability or progress

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

Whether a free workspace can start its 14-day monitoring trial (and from which ERP scan), or how the trial it had went. Any member. The trial is not a subscription: entitlement and usage never read it.

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.

Trial state

Media typeapplication/json
object
available
required
boolean
unavailable_reason
required
string | null
Allowed values: SUBSCRIBED TRIAL_USED NO_ERP_SCAN ALREADY_CONNECTED
scan_id
required

The scan the trial would start from

string | null format: uuid
provider
required
string | null
Allowed values: XERO QUICKBOOKS_ONLINE
trial
required
object
id
required
string format: uuid
status
required
string
Allowed values: ACTIVE ENDED
provider
required
string | null
scan_id
required
string | null format: uuid
started_at
required
string format: date-time
ends_at
required
string format: date-time
ended_at
required
string | null format: date-time
end_reason
required
string | null
Allowed values: EXPIRED CONVERTED DISCONNECTED
invoice_limit
required
integer
invoices_analyzed
required
integer
invoices_flagged
required

Bills the trial analyzed that raised at least one finding

integer
findings
required
integer
high_severity_findings
required
integer

Examples

Exampleactive
{
"available": false,
"unavailable_reason": "TRIAL_USED",
"scan_id": null,
"provider": "XERO",
"trial": {
"id": "9b0e4d52-1f7a-4f35-8a8e-0d6a0b1f2c3d",
"status": "ACTIVE",
"provider": "XERO",
"scan_id": "4f1c2a9e-6f4b-4b8e-9a51-2f1d3c7b8e10",
"started_at": "2026-10-20T09:12:00Z",
"ends_at": "2026-11-03T09:12:00Z",
"ended_at": null,
"end_reason": null,
"invoice_limit": 300,
"invoices_analyzed": 41,
"invoices_flagged": 3,
"findings": 4,
"high_severity_findings": 1
}
}

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"
}
}