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

# Get ordersconstants



## OpenAPI

````yaml /api-reference/specs/court-orders.json get /orders/constants/{taxYear}
openapi: 3.0.1
info:
  title: CourtOrders Service
  description: CourtOrders API for FlowPayroll
  contact:
    name: FlowPayroll
    email: support@flowpayroll.com
  version: v1
servers:
  - url: https://api.sandbox.flowpayroll.ai/v1/court-orders
security:
  - X-Auth-Token: []
    X-Org-Id: []
tags:
  - name: Court orders
    description: >-
      Create, retrieve, update, and delete court orders, list them for an
      employee, and reconcile against a pay run.
  - name: Attachments
    description: Upload and remove supporting documents for a court order.
  - name: Reference data
    description: Available tax years and per-year court order constants.
  - name: Payees
paths:
  /orders/constants/{taxYear}:
    get:
      tags:
        - Reference data
      operationId: GetCourtOrderConstants
      parameters:
        - name: taxYear
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBody_CourtOrderConstantsResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBody_Object'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseBody_Object'
components:
  schemas:
    ResponseBody_CourtOrderConstantsResponse:
      type: object
      properties:
        message:
          $ref: '#/components/schemas/MessageWithTokenResponse'
        content:
          $ref: '#/components/schemas/ContentResponse_CourtOrderConstantsResponse'
        validationIssues:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
          nullable: true
      additionalProperties: false
    ResponseBody_Object:
      type: object
      properties:
        message:
          $ref: '#/components/schemas/MessageWithTokenResponse'
        content:
          $ref: '#/components/schemas/ContentResponse_Object'
        validationIssues:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
          nullable: true
      additionalProperties: false
    MessageWithTokenResponse:
      type: object
      properties:
        text:
          type: string
        token:
          type: string
        tokenArguments:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssueArgument'
          nullable: true
      additionalProperties: false
    ContentResponse_CourtOrderConstantsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/CourtOrderConstantsResponse'
        metadata:
          $ref: '#/components/schemas/ContentMetadataResponse'
      additionalProperties: false
    ValidationIssue:
      type: object
      properties:
        field:
          type: string
        reason:
          type: string
        reasonToken:
          type: string
        reasonTokenArguments:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssueArgument'
          nullable: true
      additionalProperties: false
    ContentResponse_Object:
      type: object
      properties:
        data:
          nullable: true
        metadata:
          $ref: '#/components/schemas/ContentMetadataResponse'
      additionalProperties: false
    ValidationIssueArgument:
      type: object
      properties:
        name:
          type: string
        value:
          nullable: true
      additionalProperties: false
    CourtOrderConstantsResponse:
      type: object
      properties:
        global:
          $ref: '#/components/schemas/CourtOrderConstantsGlobalDto'
        cmsDeo:
          $ref: '#/components/schemas/CourtOrderConstantsCmsDeoDto'
        dea:
          $ref: '#/components/schemas/CourtOrderConstantsDeaDto'
        ctaeo:
          $ref: '#/components/schemas/CourtOrderConstantsCtaeoDto'
        aeo:
          $ref: '#/components/schemas/CourtOrderConstantsAeoDto'
        ea:
          $ref: '#/components/schemas/CourtOrderConstantsEaDto'
      additionalProperties: false
    ContentMetadataResponse:
      type: object
      properties:
        dateFormat:
          type: string
        dateTimeFormat:
          type: string
        paginationToken:
          type: string
          nullable: true
      additionalProperties: false
    CourtOrderConstantsGlobalDto:
      type: object
      properties:
        protectedEarningsPercentage:
          type: number
          format: double
        adminFeeAmount:
          type: number
          format: double
        cmsRemittanceDays:
          type: integer
          format: int32
        otherRemittanceDay:
          type: integer
          format: int32
        deaNoticeDays:
          type: integer
          format: int32
        aeoCtaeoNoticeDays:
          type: integer
          format: int32
        monetaryPrecision:
          type: integer
          format: int32
        maximumPercentageValue:
          type: integer
          format: int32
        percentageConversionFactor:
          type: number
          format: double
      additionalProperties: false
    CourtOrderConstantsCmsDeoDto:
      type: object
      properties:
        maxDeductionPercentage:
          type: number
          format: double
      additionalProperties: false
    CourtOrderConstantsDeaDto:
      type: object
      properties:
        combinedCapPercentage:
          type: number
          format: double
        standardRate:
          $ref: '#/components/schemas/CourtOrderConstantsDeaTablesDto'
        higherRate:
          $ref: '#/components/schemas/CourtOrderConstantsDeaTablesDto'
      additionalProperties: false
    CourtOrderConstantsCtaeoDto:
      type: object
      properties:
        maxDeductionPercentage:
          type: number
          format: double
        excessDeductionPercentage:
          type: number
          format: double
        england:
          $ref: '#/components/schemas/CourtOrderConstantsCtaeoJurisdictionDto'
        wales:
          $ref: '#/components/schemas/CourtOrderConstantsCtaeoJurisdictionDto'
      additionalProperties: false
    CourtOrderConstantsAeoDto:
      type: object
      properties:
        regular:
          $ref: '#/components/schemas/CourtOrderConstantsAeoVariantDto'
        magistratesCourt:
          $ref: '#/components/schemas/CourtOrderConstantsAeoVariantDto'
      additionalProperties: false
    CourtOrderConstantsEaDto:
      type: object
      properties:
        tableA:
          type: array
          items:
            $ref: '#/components/schemas/EaDeductionBandDto'
        tableB:
          type: array
          items:
            $ref: '#/components/schemas/EaDeductionBandDto'
      additionalProperties: false
    CourtOrderConstantsDeaTablesDto:
      type: object
      properties:
        daily:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
        weekly:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
        monthly:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
      additionalProperties: false
    CourtOrderConstantsCtaeoJurisdictionDto:
      type: object
      properties:
        daily:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
        weekly:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
        monthly:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
      additionalProperties: false
    CourtOrderConstantsAeoVariantDto:
      type: object
      properties:
        tableA:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
        tableB:
          type: array
          items:
            $ref: '#/components/schemas/DeductionBandDto'
      additionalProperties: false
    EaDeductionBandDto:
      type: object
      properties:
        minNetEarnings:
          type: number
          format: double
        maxNetEarnings:
          type: number
          format: double
          nullable: true
        fixedAmount:
          type: number
          format: double
        percentage:
          type: number
          format: double
      additionalProperties: false
    DeductionBandDto:
      type: object
      properties:
        minNetEarnings:
          type: number
          format: double
        maxNetEarnings:
          type: number
          format: double
          nullable: true
        percentage:
          type: number
          format: double
      additionalProperties: false
  securitySchemes:
    X-Auth-Token:
      type: apiKey
      description: Authentication token for API access
      name: X-Auth-Token
      in: header
    X-Org-Id:
      type: apiKey
      description: >-
        Organisation to scope the request to. Required when the principal can
        access more than one organisation; optional for single-organisation
        principals (the authorizer resolves it automatically).
      name: X-Org-Id
      in: header

````