---
title: "Retrieve organization billing history"
method: GET
path: "/api/v1/organizations/{organizationID}/billing_history"
tags: ["Organization"]
---

# Retrieve organization billing history

`GET /api/v1/organizations/{organizationID}/billing_history`

## Request

- Base URL: `https://example.rossum.app`
- URL: `https://example.rossum.app/api/v1/organizations/{organizationID}/billing_history`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/rossum/apis/rossum-api/docs/api/v1/organizations/:organizationID/billing_history/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve billing history with entries corresponding to individual contracted periods. The value `purchased_documents` or `purchased_pages` define the period billing unit.

## Response `200`

OK

- object
  - `pagination` Pagination, required
    - `next` string, uri, nullable: URL for the next page of results. Contains an opaque signed `cursor` query parameter. Use this URL directly to fetch the next page — do not attempt to construct or modify the cursor value.
    - `previous` string, uri, nullable: URL for the previous page of results. Contains an opaque signed `cursor` query parameter. Use this URL directly to fetch the previous page — do not attempt to construct or modify the cursor value.
  - `results` object[], required
    - `begin_date` string, date: Begin date of the billing period.
    - `end_date` string, date: End date of the billing period.
    - `values` BillingHistoryValues: Billing values for a specific period or grouping.
      - `billable_documents` integer: Number of billable documents.
      - `billable_pages` integer: Number of billable pages.
      - `non_billable_documents` integer: Number of non-billable documents.
      - `non_billable_pages` integer: Number of non-billable pages.
      - `purchased_documents` integer: Number of purchased documents.
      - `purchased_pages` integer: Number of purchased pages.
      - `extracted_pages_with_learning` integer: Number of extracted pages with learning.
      - `extracted_pages_without_learning` integer: Number of extracted pages without learning.
      - `split_pages_with_learning` integer: Number of split pages with learning.
      - `split_pages_without_learning` integer: Number of split pages without learning.
      - `extracted_documents_with_learning` integer: Number of extracted documents with learning.
      - `extracted_documents_without_learning` integer: Number of extracted documents without learning.
      - `split_documents_with_learning` integer: Number of split documents with learning.
      - `split_documents_without_learning` integer: Number of split documents without learning.
      - `ocr_only_pages` integer: Number of OCR-only pages.
      - `ocr_only_documents` integer: Number of OCR-only documents.
      - `purchased_extracted_pages_with_learning` integer: Number of purchased extracted pages with learning.
      - `purchased_extracted_pages_without_learning` integer: Number of purchased extracted pages without learning.
      - `purchased_split_pages_with_learning` integer: Number of purchased split pages with learning.
      - `purchased_split_pages_without_learning` integer: Number of purchased split pages without learning.
      - `purchased_extracted_documents_with_learning` integer: Number of purchased extracted documents with learning.
      - `purchased_extracted_documents_without_learning` integer: Number of purchased extracted documents without learning.
      - `purchased_split_documents_with_learning` integer: Number of purchased split documents with learning.
      - `purchased_split_documents_without_learning` integer: Number of purchased split documents without learning.
      - `purchased_ocr_only_pages` integer: Number of purchased OCR-only pages.
      - `purchased_ocr_only_documents` integer: Number of purchased OCR-only documents.
      - `is_current` boolean: Whether this is the current billing period.
  - `totals` BillingHistoryTotals: Total billing values across all periods or groupings.
    - `billable_documents` integer: Number of billable documents.
    - `billable_pages` integer: Number of billable pages.
    - `non_billable_documents` integer: Number of non-billable documents.
    - `non_billable_pages` integer: Number of non-billable pages.
    - `purchased_documents` integer: Number of purchased documents.
    - `purchased_pages` integer: Number of purchased pages.
    - `extracted_pages_with_learning` integer: Number of extracted pages with learning.
    - `extracted_pages_without_learning` integer: Number of extracted pages without learning.
    - `split_pages_with_learning` integer: Number of split pages with learning.
    - `split_pages_without_learning` integer: Number of split pages without learning.
    - `extracted_documents_with_learning` integer: Number of extracted documents with learning.
    - `extracted_documents_without_learning` integer: Number of extracted documents without learning.
    - `split_documents_with_learning` integer: Number of split documents with learning.
    - `split_documents_without_learning` integer: Number of split documents without learning.
    - `ocr_only_pages` integer: Number of OCR-only pages.
    - `ocr_only_documents` integer: Number of OCR-only documents.
    - `purchased_extracted_pages_with_learning` integer: Number of purchased extracted pages with learning.
    - `purchased_extracted_pages_without_learning` integer: Number of purchased extracted pages without learning.
    - `purchased_split_pages_with_learning` integer: Number of purchased split pages with learning.
    - `purchased_split_pages_without_learning` integer: Number of purchased split pages without learning.
    - `purchased_extracted_documents_with_learning` integer: Number of purchased extracted documents with learning.
    - `purchased_extracted_documents_without_learning` integer: Number of purchased extracted documents without learning.
    - `purchased_split_documents_with_learning` integer: Number of purchased split documents with learning.
    - `purchased_split_documents_without_learning` integer: Number of purchased split documents without learning.
    - `purchased_ocr_only_pages` integer: Number of purchased OCR-only pages.
    - `purchased_ocr_only_documents` integer: Number of purchased OCR-only documents.
  - `updated_at` string, date: Date when the billing history was last updated.

## Other responses

- `400`: Invalid input data.
- `401`: The username/password is invalid or token is invalid (e.g. expired).
- `403`: Insufficient permission, missing authentication, invalid CSRF token and similar issue.
- `404`: The specified resource was not found.
- `409`: Conflict
- `429`: Request rate is too high, wait before sending more requests. See [Rate Limiting](/guides/overview#rate-limiting) for more details.
- `500`: Server failure while processing the request.
- `502`: Invalid response from the upstream server.
- `503`: We're temporarily offline for maintenance. Please try again later.
- `504`: Upstream server could not complete the request in time.

---

[API](https://skmtc.dev/rossum/apis/rossum-api.md) - [All operations](https://skmtc.dev/rossum/apis/rossum-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rossum/apis/rossum-api/revisions/e0500ebc86cb?raw)
