---
title: "Export a monthly account statement"
method: GET
path: "/v1/accounts/{accountId}/statements/{period}/export"
tags: ["Accounts and money"]
---

# Export a monthly account statement

`GET /v1/accounts/{accountId}/statements/{period}/export`

## Request

- Base URL: `https://hyperscale0.ai`
- URL: `https://hyperscale0.ai/v1/accounts/{accountId}/statements/{period}/export`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Exports the same immutable receipt-linked UTC monthly statement truth as deterministic formula-safe RFC 4180 CSV, including exact period boundaries, opening and closing balances, signed deltas, human memos, counterparties, and originating operation or instrument linkage. Live periods and line dates use ledger booking time; sandbox uses each operation's Product value date when it has one. The route answers with the CSV file itself (`text/csv`, `Content-Disposition` filename, `Content-Digest` SHA-256). Send `Accept: application/json` to get this JSON object instead.

## Path parameters

- `accountId` string, required: Hyperscale account ID
- `period` string, required: UTC calendar month in YYYY-MM form

## Query parameters

- `productId` string: Hyperscale product ID

## Headers

- `X-Hyperscale-Environment` 'sandbox' | 'live'

## Response `200`

Success

- AccountStatementExportOutput
  - `accountId` string, required: Hyperscale account ID
  - `closingBalance` string, required: Negative only on a contra claim account, where it is what the owner owes.
  - `currency` 'SAR', required
  - `environment` 'sandbox' | 'live', required
  - `finalized` boolean, required
  - `openingBalance` string, required: Negative only on a contra claim account, where it is what the owner owes.
  - `period` string, required: UTC calendar month in YYYY-MM form
  - `periodEndExclusive` string, date-time, required
  - `periodStart` string, date-time, required
  - `tenantId` string, required: Organization tenant ID
  - `productId` string: Hyperscale product ID
  - `contentType` 'text/csv', required
  - `csv` string, required
  - `filename` string, required
  - `sha256` string, required
  - `sizeBytes` integer, required

## Other responses

- `default`: ErrorResponse. See x-error-codes and x-errors for codes, HTTP statuses and retry guidance.

---

[API](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api.md) · [All operations](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/revisions/e9e8faa044d5?raw)
