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

# Get Census v2 W-2 processing status



## OpenAPI

````yaml /api-reference/cx/swagger.json get /cp/{client}/tasks/{task}/census-v2/w2/{w2}/status
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:
  /cp/{client}/tasks/{task}/census-v2/w2/{w2}/status:
    get:
      tags:
        - client-portal
      summary: Get Census v2 W-2 processing status
      parameters:
        - description: Client ID
          name: client
          in: path
          required: true
          schema:
            type: string
        - description: Task ID
          name: task
          in: path
          required: true
          schema:
            type: string
        - description: W-2 upload ID
          name: w2
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/stax_ai_cx_cx-api_pkg_censusv2.W2Document'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    stax_ai_cx_cx-api_pkg_censusv2.W2Document:
      type: object
      properties:
        _id:
          type: string
        compensation_applicable:
          type: boolean
        confidence:
          type: number
        created_at:
          type: string
        document_type:
          type: string
        employee:
          type: string
        employee_name:
          type: string
        error_code:
          type: string
        file:
          type: string
        form_status:
          type: string
        gross_income:
          type: string
        gross_receipts:
          type: string
        guaranteed_payments_services:
          type: string
        mime_type:
          type: string
        name:
          type: string
        net_profit:
          type: string
        ordinary_income:
          type: string
        parsed_at:
          type: string
        retirement_plan:
          type: boolean
        roster_person:
          description: >-
            RosterPerson is set when the document matched a W-2 roster entry
            that

            has no employee record yet (the employee is created on submit).
          type: string
        self_employment_earnings:
          type: string
        ssn_last_four:
          type: string
        status:
          $ref: '#/components/schemas/sharedtypes.W2ParseStatus'
        supplemental_only:
          type: boolean
        tax_year:
          type: integer
        total_expenses:
          type: string
        warning:
          type: string
    sharedtypes.W2ParseStatus:
      type: string
      enum:
        - uploaded
        - processing
        - matched
        - needs_review
        - wrong_year
        - failed
      x-enum-varnames:
        - W2ParseStatusUploaded
        - W2ParseStatusProcessing
        - W2ParseStatusMatched
        - W2ParseStatusNeedsReview
        - W2ParseStatusWrongYear
        - W2ParseStatusFailed
  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.