> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cryptoprocessing.us/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a balance statement

> Create a [balance statement](/reporting/balance-statements) for a selected day.

For every error this endpoint returns and what it means, see [API errors: Create a balance statement](https://docs.cryptoprocessing.us/api-reference/errors.md#create-a-balance-statement).


## OpenAPI

````yaml POST /reporting/v1/reports/balance_statement
openapi: 3.1.0
info:
  title: Merchant Backend V2
  version: '1.0'
  description: Documentation for merchant backend processing endpoints
servers:
  - url: https://app.cryptoprocessing.us/api
security:
  - xProcessingKey: []
tags:
  - name: Status
  - name: Balance
  - name: Currencies
  - name: Deposit addresses
  - name: Withdrawal
  - name: Exchange
  - name: Invoices
  - name: Transactions
  - name: Reporting
paths:
  /reporting/v1/reports/balance_statement:
    post:
      tags:
        - Reporting
      summary: Create a balance statement
      description: >-
        Create a [balance statement](/reporting/balance-statements) for a
        selected day.
      operationId: post-reporting-reports-balance-statement
      parameters:
        - $ref: '#/components/parameters/XProcessingSignatureHeader'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filters:
                  type: object
                  description: The settings of the statement.
                  properties:
                    date:
                      type: string
                      description: "The day of the statement, in the `YYYY-MM-DD` format. The statement shows the balances at\_23:59:59\_UTC on this day. Can't be later than today."
                    visible_zero_balance:
                      type: boolean
                      description: Whether to include the currencies with a zero balance.
                  required:
                    - date
                    - visible_zero_balance
              required:
                - filters
            examples:
              Create a balance statement:
                value:
                  filters:
                    date: '2026-08-31'
                    visible_zero_balance: false
              Create a balance statement with zero balances:
                value:
                  filters:
                    date: '2026-08-31'
                    visible_zero_balance: true
      responses:
        '202':
          description: |
            **Accepted**

            The job that generates the statement is queued.
          content:
            application/json:
              schema:
                type: object
                required:
                  - report_job_id
                  - status
                  - report_type
                  - created_at
                  - updated_at
                properties:
                  report_job_id:
                    type: string
                    description: >
                      The unique ID of the job that generates the statement. Use
                      it to [check the job
                      status](/api-reference/endpoints/jobs-info), [download the
                      statement](/api-reference/endpoints/jobs-download) or
                      [cancel the job](/api-reference/endpoints/jobs-cancel).
                  status:
                    type: string
                    description: The status of the job.
                    const: queued
                  report_type:
                    type: string
                    description: The type of the report.
                    const: balance_statement
                  created_at:
                    type: string
                    description: The time the statement was requested.
                  updated_at:
                    type: string
                    description: >-
                      The time the job was last updated. The same as
                      `created_at` for a new job.
              examples:
                Statement queued:
                  value:
                    report_job_id: 3a8d5f21-6b4c-4e9a-8f17-c2d0e5b9a463
                    status: queued
                    report_type: balance_statement
                    created_at: '2026-09-01T10:00:00Z'
                    updated_at: '2026-09-01T10:00:00Z'
        '400':
          description: >
            **Bad Request**


            The request body is empty or not valid JSON, or the Content-Type
            header is not set to `application/json`.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    title: EmptyBody
                    description: The request body is empty.
                    properties:
                      message:
                        type: string
                        description: Human-readable error message.
                      errors:
                        type: object
                        description: >-
                          A map of the missing part of the request (`body` or
                          `content-type`) to a human-readable error message.
                        additionalProperties:
                          type: string
                  - type: object
                    title: MalformedJson
                    description: >-
                      The request body is not valid JSON or the Content-Type
                      header is not set to `application/json`.
                    properties:
                      error:
                        type: string
                        description: Human-readable error message.
                      code:
                        type: string
                        description: Error code.
              examples:
                Empty body:
                  value:
                    message: Bad Request
                    errors:
                      body: The request body is required.
                Empty body without Content-Type:
                  value:
                    message: Bad Request
                    errors:
                      content-type: The content type field is required.
                Malformed JSON:
                  value:
                    error: Bad content format
                    code: bad_content_format
        '403':
          $ref: '#/components/responses/HeaderAuthorization'
        '422':
          description: |
            **Unprocessable Entity**

            The request failed validation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportValidationError'
              examples:
                Settings missing:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters.date: The date field is required.
                      filters.visible_zero_balance: The visible zero balance field is required.
                Filters missing:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters: The filters field is required.
                Unknown filter:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters: The filters field is invalid.
                Date not in the YYYY-MM-DD format:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters.date: The date is not a valid date.
                Date null or not a string:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters.date: The date field is invalid.
                Date in the future:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters.date: The date must be a date before or equal to today.
                Visible zero balance not true or false:
                  value:
                    message: Unprocessable Entity
                    errors:
                      filters.visible_zero_balance: The visible zero balance field is invalid.
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    XProcessingSignatureHeader:
      name: X-Processing-Signature
      in: header
      required: true
      description: >-
        Hex-encoded HMAC-SHA512 signature of the request body, [generated using
        your secret key](/api-reference/authentication).
      schema:
        type: string
  responses:
    HeaderAuthorization:
      description: |
        **Forbidden**
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: Human-readable error message.
              code:
                type: string
                description: Error code.
            description: >-
              Invalid or missing headers, the API key does not have access to
              the endpoint, or your merchant account is disabled. Refer to
              [Errors](/api-reference/errors#general-errors) for troubleshooting
              steps.
          examples:
            Bad signature header:
              value:
                error: Bad signature header
                code: bad_header_signature
            API key does not have the required ability:
              value:
                error: The API key does not have access to this endpoint.
                code: api_key_ability_required
            No signature header:
              value:
                error: No signature header
                code: required_header_signature
            No key header:
              value:
                error: No key header
                code: required_header_key
            Client is not enabled:
              value:
                error: Client is not enabled
                code: client_disabled
    TooManyRequests:
      description: >
        **Too Many Requests**


        You sent too many requests in a short time. The limit is counted per API
        key, so requests from all your servers that use the same key count
        together. Wait before you send the request again, increasing the delay
        if you get `429` again, and handle this error by its status code, not by
        a particular response body. See [Too many
        requests](/api-reference/errors#too-many-requests-429-too-many-requests).
  schemas:
    ReportValidationError:
      type: object
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: Human-readable error message.
        errors:
          type: object
          description: >-
            A map of request field names to a human-readable validation error
            message for that field.
          additionalProperties:
            type: string
            description: Human-readable validation error message for this field.
  securitySchemes:
    xProcessingKey:
      type: apiKey
      description: Your [API key](/merchant-administration/generate-and-activate-api-keys).
      in: header
      name: X-Processing-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.