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

# Create Hris Document

> Registers an already-uploaded file as an employee HRIS document, logs activity, and optionally raises in-app notifications.

Not available to API keys yet. It will need `documents:write`.

## OpenAPI

````yaml api-reference/openapi.json POST /hris/create-hris-document
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /hris/create-hris-document:
    post:
      operationId: createHrisDocument
      summary: Create Hris Document
      description: >-
        Registers an already-uploaded file as an employee HRIS document, logs
        activity, and optionally raises in-app notifications.


        Not available to API keys yet. It will need `documents:write`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateHrisDocumentRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateHrisDocumentResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    CreateHrisDocumentRequest:
      type: object
      properties:
        roleInOrgID:
          type: string
          format: uuid
        fileKey:
          type: string
          minLength: 1
        documentName:
          type: string
          minLength: 1
          maxLength: 255
        documentDescription:
          type: string
          maxLength: 1000
        documentCategory:
          type: string
          enum:
            - I9_LIST_A_DOCUMENT
            - I9_LIST_B_DOCUMENT
            - I9_LIST_C_DOCUMENT
            - W4_FEDERAL_TAX_FORM
            - STATE_TAX_FORM
            - EMPLOYMENT_AGREEMENT
            - HANDBOOK_ACKNOWLEDGMENT
            - VISA_DOCUMENT
            - ID_DOCUMENT
            - OTHER_ONBOARDING_DOCUMENT
            - COMPANY_DOCUMENTATION
            - PERSONAL_DOCUMENT
            - TAX_DOCUMENT
            - BENEFITS_DOCUMENT
            - PAYROLL_DOCUMENT
            - RESIGNATION_LETTER
            - PERFORMANCE_IMPROVEMENT_PLAN
            - TERMINATION_SUPPORTING_DOCUMENT
        visibleToEmployee:
          type: boolean
          default: true
        notifyEmployee:
          type: boolean
          default: true
        notifyClientAdmins:
          type: boolean
          default: false
      required:
        - roleInOrgID
        - fileKey
        - documentName
        - documentCategory
        - visibleToEmployee
        - notifyEmployee
        - notifyClientAdmins
    CreateHrisDocumentResponse:
      type: object
      properties:
        documentId:
          type: string
          format: uuid
      description: Request regeneration does not infer response shapes.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
