Skip to main content

Get one billing service rate.

GET/api/v1/company/billing-rates/{billing_rate_id}billing:read

A rate of the company's billing tenant or a global default. 404 for a rate of another tenant. Needs View Service Rates.

Scopebilling:read (sensitive)
AsynchronousNo
MCP toolget_company_billing_rate
Portal permissionsview_service_rates

Parameters​

NameInTypeRequiredDescription
billing_rate_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json BillingRate
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

BillingRate​

FieldTypeRequiredDescription
billing_rate_idstringRequired
created_by_emailstring or nullRequiredThe e-mail address of the administrator who set the rate; null for a seeded one.
currencystringRequiredThe currency symbol or code the rate is stated in.
effective_fromstring (date-time)Required
effective_tostring (date-time) or nullRequiredWhen a newer rate for the same service replaced it; null while it is in force.
is_global_defaultbooleanRequiredtrue for a default every organisation falls back to (set by Docwize, never through this API); false for a rate of the caller's own billing tenant.
model_typestring or nullRequiredThe model or engine the rate is for; null for a service without one.
rate_amountstringRequiredThe price per rate_unit, in currency.
rate_unitstringRequiredWhat the amount is per, e.g. page or 1m_tokens.
service_typestringRequiredThe billed service, e.g. ocr, table_extraction or llm.