メインコンテンツまでスキップ

Get the billing report.

GET/api/v1/company/billing-reportbilling:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The billing report for one billing period across every organisation of the company's billing tenant: the period, totals (users, external users, storage, database storage, services, discount), the active regular users with the bracket that prices them, external users with their login days, OCR, table extraction and LLM usage costs, and any billing override. periods_back 0 is the current period, 1 the previous one, up to 12. Needs View Tenant Usage and View License Billing and View External User Billing and the billing tenant's super_admin role (see GET /company/billing-status). Read-only. include_users=false leaves out the list of regular users, which can be large; every count and total stays.

スコープbilling:read (機密性の高いスコープ)
非同期いいえ
MCP ツールget_company_billing_report
Portal の権限view_tenant_usage, view_license_billing, view_external_user_billing

パラメーター​

名前場所型必須説明
periods_backqueryinteger または null任意0 for the current billing period, 1 for the previous, up to 12 (default 0).
include_usersqueryboolean または null任意false leaves out the list of regular users; every count and total stays (default true).
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json BillingReport
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
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

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

BillingBracket​

フィールド型必須説明
currencystring必須
max_usersinteger または null必須
min_usersinteger必須≥ -2147483648; ≤ 2147483647
price_per_userstring必須

BillingDatabaseStorage​

フィールド型必須説明
billable_gbstring必須
coststring必須
free_gbstring必須The free allowance (50 GB unless the company's billing configuration says otherwise).
rate_per_gbstring必須The database_storage rate in force, converted to ZAR.
used_bytesstring または null必須From the newest daily snapshot of each organisation; null while any organisation has no measurement.
used_gbstring または null必須
warningstring または null必須over_allowance, or approaching_allowance from 80 percent of the allowance; null otherwise.

BillingExternalUser​

フィールド型必須説明
billing_fractionstring必須The share of a user licence the external user costs this period.
emailstring必須
login_daysinteger必須≥ -2147483648; ≤ 2147483647
org_namestring または null必須
user_idstring必須

BillingOverride​

フィールド型必須説明
billing_currencystring必須
billing_modestring必須itemized, fixed_fee or per_page.
custom_discount_pctstring必須
fixed_monthly_feestring または null必須
fixed_user_feestring または null必須
include_servicesboolean必須
include_storageboolean必須
include_usersboolean必須
notesstring または null必須
per_page_ratestring または null必須
per_page_rate_currencystring または null必須

BillingPerPageCosts​

フィールド型必須説明
currencystring必須
per_page_ratestring必須
total_coststring必須
total_pagesstring必須

BillingRegularUser​

フィールド型必須説明
emailstring必須
join_datestring または null必須
last_activestring または null必須
namestring必須
org_namestring または null必須
surnamestring必須
user_idstring必須

BillingRegularUsers​

フィールド型必須説明
billable_countinteger必須≥ -2147483648; ≤ 2147483647
bracketBillingBracket または null必須The bracket that prices the billable users; null when none applies.
min_billable_usersinteger必須≥ -2147483648; ≤ 2147483647
total_activeinteger必須≥ -2147483648; ≤ 2147483647
usersBillingRegularUser の配列必須Every regular user; empty when include_users is false.

BillingReport​

フィールド型必須説明
external_usersBillingExternalUser の配列必須
overrideBillingOverride または null必須The billing override active at the report time; null when none.
per_page_costsBillingPerPageCosts または null必須Null unless the override bills per page.
period_endstring (date)必須
period_startstring (date)必須
period_start_dayinteger必須The day of the month the company's billing period starts on. ≥ -2147483648; ≤ 2147483647
regular_usersBillingRegularUsers必須
service_costsBillingServiceCosts または null必須
totalsBillingTotals必須

BillingServiceCost​

フィールド型必須説明
currencystring必須
quantitystring必須
service_typestring必須
total_coststring必須
unitstring必須
unit_coststring必須

BillingServiceCosts​

フィールド型必須説明
currencystring必須
entriesBillingServiceCost の配列必須
total_coststring必須

BillingStorage​

フィールド型必須説明
billable_gbstring必須
free_gbstring必須
storage_coststring必須
total_bytesstring必須
total_gbstring必須

BillingTotals​

フィールド型必須説明
currencystring必須
database_storageBillingDatabaseStorage または null必須The company's database against its free allowance; its cost is in the grand totals. Null when it could not be read (a warning says so).
days_elapsedinteger必須≥ -2147483648; ≤ 2147483647
days_in_periodinteger必須≥ -2147483648; ≤ 2147483647
external_mtdstring必須
external_projectedstring必須
grand_total_mtdstring必須
grand_total_projectedstring必須
regular_totalstring必須
storageBillingStorage必須