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

# Get cash impact summary

> Use this endpoint to retrieve a cash impact summary showing the total unmatched financial exposure. Includes breakdowns by currency and by age bucket to help prioritize resolution efforts.



## OpenAPI

````yaml en/openapi/v3-current/matcher.yaml get /v1/reports/contexts/{contextId}/dashboard/cash-impact
openapi: 3.1.0
info:
  title: Matcher APIs
  description: >-
    Complete API reference for the Matcher reconciliation engine, providing
    automated transaction matching between Midaz Ledger and external systems.
  version: 4.3.0
  license:
    name: Lerian Studio General License
servers:
  - url: https://matcher.sandbox.lerian.net
security: []
paths:
  /v1/reports/contexts/{contextId}/dashboard/cash-impact:
    get:
      tags:
        - Reporting
      summary: Get cash impact summary
      description: >-
        Use this endpoint to retrieve a cash impact summary showing the total
        unmatched financial exposure. Includes breakdowns by currency and by age
        bucket to help prioritize resolution efforts.
      operationId: getCashImpactSummary
      parameters:
        - description: A unique identifier for tracing the request across services.
          in: header
          name: X-Request-Id
          schema:
            type: string
        - description: The unique identifier of the reconciliation context.
          in: path
          name: contextId
          required: true
          schema:
            type: string
        - description: Start date (YYYY-MM-DD)
          in: query
          name: date_from
          required: true
          schema:
            type: string
        - description: End date (YYYY-MM-DD)
          in: query
          name: date_to
          required: true
          schema:
            type: string
        - description: Source ID filter
          in: query
          name: source_id
          schema:
            type: string
      responses:
        '200':
          description: Cash impact summary with currency and age breakdowns
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CashImpactSummaryResponse'
        '400':
          description: The request contains invalid parameters or payload.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The request lacks valid authentication credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: You do not have permission to access this resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: The requested resource was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                ErrorM0201:
                  $ref: '#/components/examples/ErrorM0201'
        '500':
          description: An unexpected error occurred on the server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                ErrorM0002:
                  $ref: '#/components/examples/ErrorM0002'
      security:
        - BearerAuth: []
components:
  schemas:
    CashImpactSummaryResponse:
      description: Cash impact summary showing unmatched financial exposure
      type: object
      properties:
        totalUnmatchedAmount:
          type: string
          description: Total unmatched amount across all currencies (decimal string)
        byCurrency:
          type: array
          items:
            $ref: '#/components/schemas/CurrencyExposureResponse'
          description: Breakdown by currency
        byAge:
          type: array
          items:
            $ref: '#/components/schemas/AgeExposureResponse'
          description: Breakdown by age bucket
    ErrorResponse:
      description: Standard error response returned by all API endpoints
      type: object
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Stable application error code.
          example: MTCH-0001
        title:
          type: string
          description: Human-readable error title.
          example: Bad Request
        message:
          type: string
          description: Human-readable error message with details.
          example: context not found
        error:
          type: string
          description: Deprecated. Error message for backward compatibility.
          deprecated: true
        details:
          description: Additional error context as key-value pairs
          additionalProperties: {}
          type: object
    CurrencyExposureResponse:
      description: Unmatched exposure for a single currency
      type: object
      properties:
        currency:
          type: string
          description: Currency code
          example: USD
        amount:
          type: string
          description: Unmatched amount in this currency (decimal string)
        transactionCount:
          type: integer
          format: int64
          description: Number of unmatched transactions in this currency
    AgeExposureResponse:
      description: Unmatched exposure for a specific age bucket
      type: object
      properties:
        bucket:
          type: string
          description: Age bucket label
          example: 0-24h
        amount:
          type: string
          description: Unmatched amount in this age bucket (decimal string)
        transactionCount:
          type: integer
          format: int64
          description: Number of unmatched transactions in this age bucket
  examples:
    ErrorM0201:
      summary: Context Not Found
      value:
        code: MTCH-0110
        title: Not Found
        message: context not found
    ErrorM0002:
      summary: Internal Server Error
      value:
        code: MTCH-0002
        title: Internal Server Error
        message: internal server error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Bearer token authentication (format: "Bearer {token}")'

````