> ## 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 Rate Plan Inclusion

> 
### Overview

This API adds an **inclusion** to an IPD rate plan of your workspace. An inclusion is a single charge in the rate plan (for example *Bed charges* or *Nursing charges*) with its `rate`.

`name`, `rate` and `plan` are all required. The inclusion `id` and `updatedAt` are server-generated. Fields not listed in the request body are rejected.



## OpenAPI

````yaml post /ipd/v1/service/rateplans/inclusions
openapi: 3.0.0
info:
  title: Ekacare API & Webhook Documentation
  contact: {}
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /ipd/v1/service/rateplans/inclusions:
    post:
      tags:
        - IPD API
      summary: Create Rate Plan Inclusion
      description: >-

        ### Overview


        This API adds an **inclusion** to an IPD rate plan of your workspace. An
        inclusion is a single charge in the rate plan (for example *Bed charges*
        or *Nursing charges*) with its `rate`.


        `name`, `rate` and `plan` are all required. The inclusion `id` and
        `updatedAt` are server-generated. Fields not listed in the request body
        are rejected.
      operationId: CreateIpdRatePlanInclusion
      parameters:
        - name: auth
          in: header
          required: true
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
      requestBody:
        description: The inclusion to create.
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - name
                - rate
                - plan
              properties:
                name:
                  type: string
                  description: Display name of the inclusion.
                rate:
                  type: number
                  description: Rate (amount) of the inclusion.
                plan:
                  type: string
                  description: Id of the rate plan this inclusion belongs to.
            example:
              name: Bed charges
              rate: 2500
              plan: 66f1c6f0e4b0a1b2c3d4e904
      responses:
        '200':
          description: OK — the created inclusion.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdRatePlanInclusionResponse'
              example:
                success: true
                data:
                  id: 66f1c7a1e4b0a1b2c3d4ea05
                  plan: 66f1c6f0e4b0a1b2c3d4e904
                  name: Bed charges
                  rate: 2500
                  updatedAt: '2026-10-07T10:05:00.000Z'
        '400':
          description: >-
            Bad Request — the request body failed validation (for example
            `name`, `rate` or `plan` is missing, `name` is empty, `rate` is not
            a number, `plan` is not a valid id, or an unknown field was sent).
            Schema-validation errors currently return an empty `message`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
      deprecated: false
components:
  schemas:
    IpdRatePlanInclusionResponse:
      title: IpdRatePlanInclusionResponse
      type: object
      properties:
        success:
          type: boolean
        data:
          $ref: '#/components/schemas/IpdRatePlanInclusion'
    IpdServiceError:
      title: IpdServiceError
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.
    IpdRatePlanInclusion:
      title: IpdRatePlanInclusion
      type: object
      properties:
        id:
          type: string
          description: Inclusion id.
        plan:
          type: string
          description: Id of the rate plan the inclusion belongs to.
        name:
          type: string
          description: Display name of the inclusion.
        rate:
          type: number
          description: Rate (amount) of the inclusion.
        updatedAt:
          type: string
          description: Last-updated date-time as an ISO-8601 string.

````

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