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

# Create Delivery Incident

> Create a new delivery incident for a task

#### Requirements

At least one of the following fields must be provided:

* `requestAmountDeliveryFeeCents`
* `requestAmountOrderValueCents`
* `requestAmountTipCents`

All provided values must be non-negative integers (≥ 0), and at least one must be greater than zero.


## OpenAPI

````yaml post /v1/jobs/{jobId}/tasks/{taskId}/delivery_incident
openapi: 3.1.0
info:
  title: Nash API
  version: 1.0.0
servers:
  - url: https://api.sandbox.usenash.com
    description: Sandbox API
  - url: https://api.sandbox.ap-southeast-2.usenash.com
    description: Sandbox API (Australia)
  - url: https://api.usenash.com
    description: Production API
  - url: https://api.ap-southeast-2.usenash.com
    description: Production API (Australia)
security: []
tags:
  - name: Notifications
    description: Notifications
    x-nash-topic: config
  - name: Annotate
    description: Annotate
    x-nash-topic: wismo
  - name: Notifications — Send
    description: One-off notification send without a NotificationTrigger.
    x-nash-topic: notifications
  - name: Shipping
    description: Shipping operations
    x-nash-topic: shipping
  - name: Workflow
    description: Workflow automation management
    x-nash-topic: scheduling
  - name: Workflow Execution
    description: Workflow execution history and monitoring
    x-nash-topic: scheduling
  - name: Optimization Strategies
    description: Create, read, update, and delete route optimization strategies.
    x-nash-topic: scheduling
  - name: AI Agents
    description: AI agent management — create, read, update, and delete agents
    x-nash-topic: config
  - name: AI Functions
    description: LLM-backed domain tools
    x-nash-topic: ai
  - name: Webhooks
    description: Webhook delivery inspection
    x-nash-topic: webhooks
  - name: Fleet Simulator
    description: Simulate delivery status transitions in dev and sandbox environments.
    x-nash-topic: testing
  - name: Miscellaneous
    description: Miscellaneous
  - name: Job
    description: Job
    x-nash-topic: wismo
  - name: Batch Job
    description: Batch Job
    x-nash-topic: wismo
  - name: Order
    description: Order
    x-nash-topic: wismo
  - name: Route
    description: Route
    x-nash-topic: scheduling
  - name: Provider
    description: Provider
    x-nash-topic: provider
  - name: Dispatch Strategies
    description: Dispatch Strategies
    x-nash-topic: scheduling
  - name: Store Locations
    description: Store Locations
    x-nash-topic: config
  - name: Vehicles
    description: Vehicles
    x-nash-topic: provider
  - name: Couriers
    description: Couriers
    x-nash-topic: provider
  - name: Shifts
    description: Shifts
    x-nash-topic: provider
  - name: Delivery Windows
    description: Delivery Windows
    x-nash-topic: config
  - name: Templates
    description: Templates
    x-nash-topic: config
  - name: Zones
    description: Zones
    x-nash-topic: config
  - name: Feedback
    description: Feedback
    x-nash-topic: reporting
  - name: Organizations
    description: Organizations
    x-nash-topic: config
  - name: Store Catalog
    description: Store Catalog
    x-nash-topic: config
  - name: Messaging
    description: Messaging
    x-nash-topic: config
  - name: Contracts
    description: Provider contract pricing and version listings
    x-nash-topic: provider
  - name: Event Timeline
    description: Entity-scoped event timeline + outbound provider traffic for one entity.
    x-nash-topic: internal
  - name: Fleet
    description: Inbound endpoints fleets call to update in-flight deliveries.
    x-nash-topic: delivery
  - name: Route Restrictions
    description: Org-scoped geographic areas the route optimizer must avoid traversing.
    x-nash-topic: config
  - name: Users
    description: User, role, and organization-membership management.
    x-nash-topic: config
paths:
  /v1/jobs/{jobId}/tasks/{taskId}/delivery_incident:
    post:
      tags:
        - Job
      summary: Create delivery incident
      description: >-
        Report a delivery incident such as a damaged package, missing items, or
        late delivery. Creates an incident record linked to the specified task.
      operationId: >-
        delivery_incident_v1_jobs__string_jobId__tasks__string_taskId__delivery_incident_post
      parameters:
        - name: jobId
          in: path
          description: job id
          required: true
          schema:
            title: Jobid
            type: string
            description: job id
        - name: taskId
          in: path
          description: task id
          required: true
          schema:
            title: Taskid
            type: string
            description: task id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeliveryIncidentInputSerializer'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryIncidentOutputSerializer'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NashValidationError'
components:
  schemas:
    DeliveryIncidentInputSerializer:
      title: DeliveryIncidentInputSerializer
      required:
        - raiseIncident
        - incidentNotes
      type: object
      properties:
        raiseIncident:
          title: Raiseincident
          type: boolean
          description: >-
            Flag delivery to be reviewed by Nash's team (not for urgent cases).
            Set to False to indicate issue has been resolved
        incidentNotes:
          title: Incidentnotes
          type: string
          description: Details about incident
        incidentType:
          title: Incidenttype
          enum:
            - REFUND_REQUEST
            - COURIER_NOTES
          type: string
          description: Courier Notes or Refund Request
          default: COURIER_NOTES
        incidentSubtype:
          anyOf:
            - $ref: '#/components/schemas/RefundRequestType'
            - type: 'null'
          description: Refund Request type
          default: null
        incidentFileUrl:
          title: Incidentfileurl
          anyOf:
            - type: string
            - type: 'null'
          description: Url to file attachment for refund request
          default: null
        incidentFileUrls:
          title: Incidentfileurls
          anyOf:
            - type: array
              items:
                type: string
            - type: 'null'
          description: Urls to file attachments for refund request
          default: null
        requestAmountDeliveryFeeCents:
          title: Requestamountdeliveryfeecents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the delivery fee in cents.
          default: null
        requestAmountOrderValueCents:
          title: Requestamountordervaluecents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the order value in cents.
          default: null
        requestAmountTipCents:
          title: Requestamounttipcents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the tip in cents.
          default: null
    DeliveryIncidentOutputSerializer:
      title: DeliveryIncidentOutputSerializer
      required:
        - jobId
        - taskId
        - raiseIncident
        - incidentNotes
        - incidentType
        - incidentSubtype
        - incidentFileUrl
        - incidentFileUrls
      type: object
      properties:
        jobId:
          title: Jobid
          type: string
        taskId:
          title: Taskid
          type: string
        raiseIncident:
          title: Raiseincident
          type: boolean
        incidentNotes:
          title: Incidentnotes
          type: string
        incidentType:
          title: Incidenttype
          anyOf:
            - type: string
            - type: 'null'
        incidentSubtype:
          title: Incidentsubtype
          anyOf:
            - type: string
            - type: 'null'
        incidentFileUrl:
          title: Incidentfileurl
          anyOf:
            - type: string
            - type: 'null'
        incidentFileUrls:
          title: Incidentfileurls
          anyOf:
            - type: array
              items:
                type: string
            - type: 'null'
        refundRequestId:
          title: Refundrequestid
          anyOf:
            - type: string
            - type: 'null'
          description: The ID of the refund request.
          default: null
        requestAmountDeliveryFeeCents:
          title: Requestamountdeliveryfeecents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the delivery fee in cents.
          default: null
        requestAmountOrderValueCents:
          title: Requestamountordervaluecents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the order value in cents.
          default: null
        requestAmountTipCents:
          title: Requestamounttipcents
          anyOf:
            - type: integer
            - type: 'null'
          description: The request amount for the tip in cents.
          default: null
    NashValidationError:
      title: NashValidationError
      required:
        - error
        - response_status
        - RequestID
      type: object
      properties:
        error:
          $ref: '#/components/schemas/NashErrorDetails'
        response_status:
          title: Response Status
          type: string
        RequestID:
          title: Requestid
          type: string
    RefundRequestType:
      title: RefundRequestType
      enum:
        - arrived_late
        - delivered_early
        - delivered_to_wrong_address
        - missing_or_incorrect_items
        - never_delivered
        - poor_delivery_experience
        - other
      type: string
    NashErrorDetails:
      title: NashErrorDetails
      required:
        - code
        - message
      type: object
      properties:
        code:
          title: Code
          type: string
        message:
          title: Message
          type: string
        details:
          title: Details
          anyOf:
            - type: object
              additionalProperties: true
            - type: 'null'
          default: null

````