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

# Parse Receipt

> Extract bank details from a file or text without consuming quota



## OpenAPI

````yaml POST /verify/parse-receipt
openapi: 3.1.0
info:
  title: Check.et API
  version: '1.0'
  description: >
    Verify Ethiopian bank and wallet payments - CBE, Telebirr, Dashen, Awash,
    Bank of Abyssinia, Zemen, CBE Birr, M-Pesa Ethiopia, and Siinqee. One
    endpoint, structured JSON back every time.
  contact:
    name: Check.et Support
    url: https://t.me/Mal_tse
servers:
  - url: https://api.check.et/api/v1
    description: Production
security:
  - BearerAuth: []
paths:
  /verify/parse-receipt:
    post:
      summary: Parse a receipt file or text
      description: >
        Extract structured data from a PDF, image, or pasted receipt text
        **without consuming quota**. Use this to preview parsed fields before
        calling `/verify`.
      operationId: parseReceipt
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                receipt_file:
                  type: string
                  format: binary
                  description: PDF, JPG, JPEG, PNG, or WEBP - max 10 MB
                receipt_text:
                  type: string
                  description: OCR text (required for images, optional supplement for PDFs)
                bank:
                  type: string
                  description: Optional bank hint to improve parsing accuracy
                  example: cbe
      responses:
        '200':
          description: Parsed receipt fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParsedReceipt'
              example:
                bank: cbe
                bank_name: Commercial Bank of Ethiopia
                transaction_number: FT26144SG2ST
                account_number: '1000876543218'
                requires_account_number: false
                requires_explicit_settlement_account: false
                account_digits: 13
                receipt:
                  status: completed
                  amount: 1350
                  currency: ETB
                  transaction_date: '2025-06-10T14:30:00+03:00'
                  payer_name: Hayat Ahmed
        '400':
          description: Could not parse the receipt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ParsedReceipt:
      type: object
      properties:
        bank:
          type: string
          example: cbe
        bank_name:
          type: string
          example: Commercial Bank of Ethiopia
        transaction_number:
          type: string
          example: FT26144SG2ST
        account_number:
          type: string
          nullable: true
          example: '1000876543218'
        requires_account_number:
          type: boolean
          example: false
        requires_explicit_settlement_account:
          type: boolean
          example: false
        account_digits:
          type: integer
          nullable: true
          example: 13
        receipt:
          $ref: '#/components/schemas/Receipt'
    Error:
      type: object
      properties:
        message:
          type: string
          example: The transaction_number field is required.
    Receipt:
      type: object
      description: Parsed transaction details from the bank
      properties:
        status:
          type: string
          example: completed
        transaction_type:
          type: string
          example: transfer
        amount:
          type: number
          example: 1350
        currency:
          type: string
          example: ETB
        transaction_date:
          type: string
          format: date-time
          example: '2025-06-10T14:30:00+03:00'
        payer_name:
          type: string
          example: Hayat Ahmed
        payer_account:
          type: string
          example: '1000126543218'
        receiver_name:
          type: string
          example: Abebe Bekele
        receiver_account:
          type: string
          example: '1000876543218'
        description:
          type: string
          nullable: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from your dashboard - starts with `chk_`. Requires a business
        account.

````