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

# Generate an account statement

> Required permission: balance:read. Both dates are inclusive UTC calendar dates. Maximum 366 days and 10,000 ledger entries; narrow the range if exceeded. Includes card-account deposits, fees, reservations and captures. Card purchase history is available separately under transactions.



## OpenAPI

````yaml https://specs.planewallet.org/openapi.json GET /api/v1/account-statements
openapi: 3.0.3
info:
  title: Plane Business API
  version: 1.1.0
  description: >-
    Company-scoped cards and services. Create keys in the Developers section.
    Operations reserve funds and return queued. Poll operations/{id} or
    subscribe to webhooks for completion. Unknown outcomes remain in
    manual_review with funds held. All API keys, including sandbox, require
    approved individual or corporate verification. Individual issuance is
    limited to 500 cards per UTC calendar month including pending requests;
    verified corporate workspaces have no monthly issuance quota. Issuance costs
    3 USD plus 0.2% of the initial card funding, minimum 10 USD. Subsequent card
    top-ups cost 0.2%, minimum 10 USD. Direct card-account deposits incur 1.5%,
    deducted from the deposit. TRON wallet funds are separate from the
    card-account ledger. Live services and direct issuer invoices require
    dedicated activation. Webhooks carry a Plane-Signature header:
    t=<unix_seconds>,v1=<HMAC_SHA256(secret,t + "." + raw_body)>. Verify the
    signature and timestamp tolerance, deduplicate by event ID, then acknowledge
    with 2xx. API keys must never be embedded in client applications.
servers:
  - url: https://business.planewallet.org
security: []
paths:
  /api/v1/account-statements:
    get:
      summary: Generate a card account statement
      description: >-
        Required permission: balance:read. Both dates are inclusive UTC calendar
        dates. Maximum 366 days and 10,000 ledger entries; narrow the range if
        exceeded. Includes card-account deposits, fees, reservations and
        captures. Card purchase history is available separately under
        transactions.
      parameters:
        - name: from
          in: query
          required: true
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: true
          schema:
            type: string
            format: date
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountStatement'
        '400':
          description: Validation or business rule failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Invalid or revoked API key
        '403':
          description: Scope, verification or capability denied
        '404':
          description: Object not found in this company
        '409':
          description: Idempotency payload conflict or changed quote
        '429':
          description: Rate limited
      security:
        - bearerAuth: []
components:
  schemas:
    AccountStatement:
      type: object
      properties:
        company:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
        environment:
          type: string
        currency:
          type: string
        account:
          type: string
          enum:
            - card_account
        from:
          type: string
        to:
          type: string
        openingBalance:
          type: string
        closingBalance:
          type: string
        incoming:
          type: string
          pattern: ^\d+(\.\d{1,2})?$
          example: '50.00'
        outgoing:
          type: string
          pattern: ^\d+(\.\d{1,2})?$
          example: '50.00'
        generatedAt:
          type: string
          format: date-time
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              reference:
                type: string
              kind:
                type: string
              description:
                type: string
              amount:
                type: string
              balance:
                type: string
              availableDelta:
                type: string
                nullable: true
              heldDelta:
                type: string
                nullable: true
              createdAt:
                type: string
                format: date-time
    Error:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Plane API key

````