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

# Create Claim

> Creates the claim (the case every later call hangs off) and sends the auth-requirements check for the listed procedures. An open claim for the same policy and beneficiary is reused. The payer's per-procedure documents and questionnaires arrive on the coverage_eligibility request in Get Claim Requests.



## OpenAPI

````yaml post /abdm/nhcx/v1/claims
openapi: 3.1.0
info:
  description: ABHA Registration and login APIs
  title: Registration
  version: 1.0.0
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /abdm/nhcx/v1/claims:
    post:
      summary: Create Claim
      description: >-
        Creates the claim (the case every later call hangs off) and sends the
        auth-requirements check for the listed procedures. An open claim for the
        same policy and beneficiary is reused. The payer's per-procedure
        documents and questionnaires arrive on the coverage_eligibility request
        in Get Claim Requests.
      parameters:
        - description: Eka User ID (OID)
          in: header
          name: X-Pt-Id
          schema:
            type: string
        - description: Partner User ID
          in: header
          name: X-Partner-Pt-Id
          schema:
            type: string
        - description: Partner HIP ID
          in: header
          name: X-Hip-Id
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                admission_type:
                  enum:
                    - planned
                    - emergency
                  type: string
                items:
                  description: Procedures the case is for
                  items:
                    $ref: '#/components/schemas/ModelsCoverageEligibilityItem'
                  type:
                    - array
                    - 'null'
                policy_id:
                  minimum: 0
                  type: integer
                registration:
                  $ref: '#/components/schemas/ModelsRegistrationDetails'
                  description: >-
                    Attendant, emergency justification and child details. Stored
                    on the claim, not sent to the payer
                visit_date:
                  description: Planned date of service, YYYY-MM-DD. Defaults to today
                  type: string
              required:
                - policy_id
              type: object
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsClaimModel'
          description: Created
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NhcxError'
          description: ''
        5XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NhcxError'
          description: ''
      security:
        - authApiKey: []
components:
  schemas:
    ModelsCoverageEligibilityItem:
      properties:
        claim_amount:
          description: in INR
          type: number
        procedure_code:
          type: string
        procedure_name:
          type: string
        quantity:
          description: defaults to 1
          type: integer
        questionnaire_answers:
          description: Carries questionnaire responses for this procedure.
          items:
            $ref: '#/components/schemas/ModelsQuestionnaireAnswer'
          type: array
        speciality_code:
          type: string
        speciality_name:
          type: string
        strat_code:
          description: stratification code
          type: string
        supporting_docs:
          description: Lists documents to be submitted for this procedure line.
          items:
            $ref: '#/components/schemas/ModelsSupportingDocInput'
          type: array
      type: object
    ModelsRegistrationDetails:
      properties:
        attendant:
          $ref: '#/components/schemas/ModelsAttendant'
        child:
          $ref: '#/components/schemas/ModelsChildDetails'
          description: >-
            Required when the beneficiary is under six years old (derived from
            DOB).
        emergency_justification:
          $ref: '#/components/schemas/ModelsRegistrationDoc'
          description: >-
            Required when the case's admission_type is "emergency" — the
            document justifying an emergency (unplanned) admission.
      type: object
    ModelsClaimModel:
      properties:
        case_number:
          type: string
        catalog_md5:
          type: string
        claim_id:
          minimum: 0
          type: integer
      type: object
    NhcxError:
      properties:
        error:
          type: string
        issues:
          description: >-
            Every validation problem found, when the backend rejects a submit
            before it reaches the payer
          items:
            type: string
          type: array
        updated_at:
          description: 'Only on a 409 from the draft save: the stored draft''s version'
          type: string
      type: object
    ModelsQuestionnaireAnswer:
      properties:
        answer: {}
        link_id:
          type: string
      type: object
    ModelsSupportingDocInput:
      properties:
        category_code:
          type: string
        doc_code:
          type: string
        doc_display:
          type: string
        url:
          type: string
      type: object
    ModelsAttendant:
      properties:
        mobile:
          type: string
        name:
          type: string
        relation:
          type: string
      type: object
    ModelsChildDetails:
      properties:
        birth_certificate:
          $ref: '#/components/schemas/ModelsRegistrationDoc'
        parent_pmjay_id:
          type: string
      type: object
    ModelsRegistrationDoc:
      properties:
        content:
          description: base64
          type: string
        content_type:
          type: string
        title:
          type: string
      type: object
  securitySchemes:
    authApiKey:
      description: The API requires a Bearer token (JWT) for authentication.
      scheme: bearer
      type: http

````

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