> ## 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.

# Process Employee File

> Parses an uploaded PDF/XLSX/CSV/DOCX (base64) and extracts employee rows with Claude, returning validated CSV.

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

## OpenAPI

````yaml api-reference/openapi.json POST /stablecoin-payroll/process-employee-file
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /stablecoin-payroll/process-employee-file:
    post:
      operationId: processEmployeeFile
      summary: Process Employee File
      description: >-
        Parses an uploaded PDF/XLSX/CSV/DOCX (base64) and extracts employee rows
        with Claude, returning validated CSV.


        Not available to API keys yet. It will need `integrations:write`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProcessEmployeeFileRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProcessEmployeeFileResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    ProcessEmployeeFileRequest:
      type: object
      properties:
        fileName:
          type: string
        fileSize:
          type: number
        fileType:
          type: string
        fileData:
          type: string
      required:
        - fileName
        - fileSize
        - fileType
        - fileData
    ProcessEmployeeFileResponse:
      type: object
      properties:
        success:
          type: boolean
        extractedData:
          type: string
        totalEmployees:
          type: number
        processingTime:
          type: number
        warnings:
          type: array
          items:
            type: string
        errors:
          type: array
          items:
            type: string
      required:
        - success
        - extractedData
        - totalEmployees
        - processingTime
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
