Skip to content

Estimate Control from an audit's volume and companies

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

The monthly Control price for the invoice volume the audit saw (its invoices over the months it covered) and the workspace’s companies, including additional companies and expected overage. Suggests Enterprise above 20,000 invoices/month or Control’s 10-company self-service capacity. Euro prices, before tax. Overage uses marginal volume bands. From scan_id, else the latest completed scan with results; null without one.

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.

scan_id
string format: uuid

Recommendation

Media typeapplication/json
object
recommendation
required
object
plan_code
required
string
Allowed values: CONTROL
billing_interval
required
string
Allowed values: month
additional_entities
required
integer
estimated_monthly_minor
required
integer
expected_overage
required

Expected invoices above the monthly allowance

integer
enterprise_suggested
required
boolean
currency
required
string
Allowed values: EUR
monthly_invoices
required
integer
companies
required
integer
basis
required
object
scan_id
required
string format: uuid
invoices
required
integer
months
required
integer

Examples

Examplecontrol
{
"recommendation": {
"plan_code": "CONTROL",
"billing_interval": "month",
"additional_entities": 0,
"estimated_monthly_minor": 44900,
"expected_overage": 0,
"enterprise_suggested": false,
"currency": "EUR",
"monthly_invoices": 525,
"companies": 1,
"basis": {
"scan_id": "4f1c2a9e-6f4b-4b8e-9a51-2f1d3c7b8e10",
"invoices": 6300,
"months": 12
}
}
}

Invalid request

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

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