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.
| Scope | billing:read (sensitive) |
| Asynchronous | No |
| MCP tool | get_company_billing_rate |
| Portal permissions | view_service_rates |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
billing_rate_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json BillingRate |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
BillingRate
| Field | Type | Required | Description |
|---|---|---|---|
billing_rate_id | string | Required | |
created_by_email | string or null | Required | The e-mail address of the administrator who set the rate; null for a seeded one. |
currency | string | Required | The currency symbol or code the rate is stated in. |
effective_from | string (date-time) | Required | |
effective_to | string (date-time) or null | Required | When a newer rate for the same service replaced it; null while it is in force. |
is_global_default | boolean | Required | true 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_type | string or null | Required | The model or engine the rate is for; null for a service without one. |
rate_amount | string | Required | The price per rate_unit, in currency. |
rate_unit | string | Required | What the amount is per, e.g. page or 1m_tokens. |
service_type | string | Required | The billed service, e.g. ocr, table_extraction or llm. |