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

# Generate vesting report

> Generate an Excel report of employee vesting for a specific retirement plan and plan year. Includes vesting percentages, fully vested dates, and vesting basis information for EE deferrals, ER match, Safe Harbor, and Non-Elective contributions.



## OpenAPI

````yaml /api-reference/cx/swagger.json post /packages/retirement/reports/_vesting
openapi: 3.0.0
info:
  description: CX API.
  title: CX API
  contact:
    name: API Support
    url: https://stax.ai
    email: support@stax.ai
  version: '1.0'
servers:
  - url: https://api.cx.stax.ai
security: []
paths:
  /packages/retirement/reports/_vesting:
    post:
      tags:
        - packages
      summary: Generate vesting report
      description: >-
        Generate an Excel report of employee vesting for a specific retirement
        plan and plan year. Includes vesting percentages, fully vested dates,
        and vesting basis information for EE deferrals, ER match, Safe Harbor,
        and Non-Elective contributions.
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/pkg_routes_packages_retirement_reports.VestingReportRequest
        description: Vesting report request with plan ID and year
        required: true
      responses:
        '200':
          description: Excel file with vesting report
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: string
                format: binary
        '400':
          description: Bad request - invalid request body or plan year end date
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: object
                additionalProperties: true
        '404':
          description: Plan not found or no access
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: object
                additionalProperties: true
        '500':
          description: Internal server error
          content:
            application/vnd.openxmlformats-officedocument.spreadsheetml.sheet:
              schema:
                type: object
                additionalProperties: true
      security:
        - ApiKeyAuth: []
components:
  schemas:
    pkg_routes_packages_retirement_reports.VestingReportRequest:
      type: object
      properties:
        plan:
          type: string
        year:
          type: integer
  securitySchemes:
    ApiKeyAuth:
      description: CX API key. Create one in CX under Settings → Advanced → API Keys.
      in: header
      name: x-api-key
      type: apiKey

````

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