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

# Retrieve Cash Receipt Status

> Use the `Bolta-Client-Reference-Id` from the issuance or cancellation request to retrieve the processing status. Use `status` to determine success or failure. If the request failed, check `failure` for details.




## OpenAPI

````yaml /openapi.en.yaml get /v1/cashReceipts/status
openapi: 3.1.0
info:
  title: Bolta API
  description: >
    The Bolta e-tax invoice API. [API Overview](/en/api-introduction/overview) |
    [Authentication guide](/en/api-introduction/authentication) | [Use
    cases](/en/api-introduction/usecase-b2b)
  version: 1.0.0
servers:
  - url: https://xapi.bolta.io
    description: Bolta API server
security:
  - basicAuth: []
tags:
  - name: Tax Invoice
    description: >
      Issue and manage e-tax invoices. [Calculating the issuance
      amount](/en/api-introduction/issuance-guide) | [Amendment
      types](/en/api-introduction/amendment-guide)
  - name: Reverse Issuance
    description: >
      Request and manage reverse issuance of e-tax invoices. [Email-approval
      reverse issuance](/en/api-introduction/usecase-reverse-email) |
      [Simple-approval reverse
      issuance](/en/api-introduction/usecase-reverse-simple)
  - name: Cash Receipt
    description: >
      Issue, cancel, and check the status of cash receipts. Issuance and
      cancellation are asynchronous. Check the final result via webhook or the
      status API. [Cash receipt guide](/en/api-introduction/cash-receipt-guide)
      | [Webhook events](/en/api-introduction/webhook-events)
  - name: Supplier
    description: >
      Register and manage the supplier (issuer) that issues tax invoices.
      [Glossary](/en/api-introduction/glossary) | [Delegated
      issuance](/en/api-introduction/usecase-delegated)
  - name: Certificate
    description: >
      Register and manage the supplier's certificate. [Authentication
      guide](/en/api-introduction/authentication)
paths:
  /v1/cashReceipts/status:
    get:
      tags:
        - Cash Receipt
      summary: Retrieve Cash Receipt Status
      description: >
        Use the `Bolta-Client-Reference-Id` from the issuance or cancellation
        request to retrieve the processing status. Use `status` to determine
        success or failure. If the request failed, check `failure` for details.
      parameters:
        - name: clientReferenceId
          in: query
          description: >-
            The Bolta-Client-Reference-Id used in the issuance or cancellation
            request
          required: true
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CashReceiptStatusResponse'
          headers: {}
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: false
components:
  schemas:
    CashReceiptStatusResponse:
      type: object
      description: Processing status of cash receipt issuance or cancellation
      properties:
        clientReferenceId:
          type: string
          description: The client reference id (Bolta-Client-Reference-Id)
        issuanceKey:
          $ref: '#/components/schemas/CashReceiptIssuanceKey'
        type:
          type: string
          description: 'Request type. ISSUE: issuance, CANCELLATION: cancellation'
          enum:
            - ISSUE
            - CANCELLATION
        status:
          type: string
          description: >
            Processing status. `PENDING`/`REQUEST_SUCCESS` mean in progress,
            `ISSUED`/`CANCELED` mean success, and
            `REQUEST_FAILURE`/`ISSUE_FAILED`/`CANCEL_FAILED` mean failure.
            `EXTERNALLY_CANCELED` is a terminal status for a receipt canceled
            outside Bolta.
          enum:
            - PENDING
            - REQUEST_SUCCESS
            - REQUEST_FAILURE
            - ISSUED
            - ISSUE_FAILED
            - CANCELED
            - CANCEL_FAILED
            - EXTERNALLY_CANCELED
        originalIssuanceKey:
          description: Issuance key of the original cash receipt in a cancellation request
          anyOf:
            - $ref: '#/components/schemas/CashReceiptIssuanceKey'
            - type: 'null'
        cashReceiptApprovalNumber:
          type:
            - string
            - 'null'
          description: The cash receipt approval number provided after successful issuance
        failure:
          description: The failure details provided when processing fails
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                  description: Failure code
                message:
                  type: string
                  description: Failure reason description
              required:
                - code
                - message
            - type: 'null'
        message:
          type: string
          description: Processing status message
      required:
        - clientReferenceId
        - issuanceKey
        - type
        - status
        - message
    ErrorResponse:
      type: object
      description: The error response returned when an API request fails
      properties:
        code:
          type: string
          description: Error type identifier
        message:
          type: string
          description: Error description
      required:
        - code
        - message
    CashReceiptIssuanceKey:
      type: string
      description: >-
        The cash receipt issuance key. Store the entire string as-is because its
        format and length may change.
      examples:
        - MRK98JGC5KOAEIPGK8U6UO05I3EAQPLI8OE78A3I
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Base64-encode your API key and pass it. Enter the API key as the
        username and leave the password empty.

````