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

# Add Business Days

> Add a specified number of business days to a date, automatically skipping weekends and holidays. Supports both positive (forward) and negative (backward) day counts. Critical for calculating T+2 settlements, option expiries, and forward value dates. [Tier: FREE, Credits: 0]



## OpenAPI

````yaml api-specs/scheduling.json post /quantlib/scheduling/calendar/add-business-days
openapi: 3.1.0
info:
  title: FinceptQuantLib API - Scheduling
  description: Scheduling module endpoints for FinceptQuantLib API
  version: 3.0.0
  contact:
    name: Fincept API Support
    url: https://fincept.in
servers:
  - url: https://api.fincept.in
    description: Fincept API Production Server
security:
  - APIKeyHeader: []
tags:
  - name: quantlib-scheduling
    description: API endpoints for scheduling operations
paths:
  /quantlib/scheduling/calendar/add-business-days:
    post:
      tags:
        - quantlib-scheduling
      summary: Add Business Days
      description: >-
        Add a specified number of business days to a date, automatically
        skipping weekends and holidays. Supports both positive (forward) and
        negative (backward) day counts. Critical for calculating T+2
        settlements, option expiries, and forward value dates. [Tier: FREE,
        Credits: 0]
      operationId: add_business_days_quantlib_scheduling_calendar_add_business_days_post
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - date
                - days
              properties:
                date:
                  type: string
                  format: date
                  description: Starting date in ISO format (YYYY-MM-DD)
                  example: '2024-06-14'
                days:
                  type: integer
                  description: >-
                    Number of business days to add (positive) or subtract
                    (negative)
                  example: 5
                calendar:
                  type: string
                  description: >-
                    Calendar to use for business day calculation. Options: US,
                    UK, TARGET, Japan, Weekend
                  default: US
                  enum:
                    - US
                    - UK
                    - TARGET
                    - Japan
                    - Weekend
                  example: US
            example:
              date: '2024-06-14'
              days: 5
              calendar: US
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      start_date:
                        type: string
                        format: date
                        description: The input date
                        example: '2024-06-14'
                      business_days_added:
                        type: integer
                        description: Number of business days added
                        example: 5
                      result_date:
                        type: string
                        format: date
                        description: The resulting date after adding business days
                        example: '2024-06-21'
                      calendar:
                        type: string
                        description: The calendar used
                        example: US
              example:
                success: true
                data:
                  start_date: '2024-06-14'
                  business_days_added: 5
                  result_date: '2024-06-21'
                  calendar: US
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/InsufficientTierError'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: array
                    items:
                      type: object
              example:
                detail:
                  - loc:
                      - body
                      - days
                    msg: field required
                    type: value_error.missing
      security:
        - APIKeyHeader: []
components:
  responses:
    UnauthorizedError:
      description: Authentication information is missing or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Invalid API key
    InsufficientTierError:
      description: API tier insufficient for this endpoint
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Endpoint requires Basic tier or higher
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get your key at
        https://api.fincept.in/auth/register

````