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

# Create DDS Statement

> Create a new Due Diligence Statement. The supplier must exist and the specified articles must be linked to that supplier. The DDS is created in `draft` status.



## OpenAPI

````yaml POST /api/dds-statements
openapi: 3.1.0
info:
  title: Polygon One EUDR Compliance API
  description: >-
    API for integrating ERP systems with the Polygon One EUDR Compliance
    Platform. Allows management of Articles, Suppliers, Orders, and Due
    Diligence Statements (DDS).
  version: 1.0.0
servers:
  - url: https://app.polygon-one.com
    description: Production Server
security:
  - bearerAuth: []
paths:
  /api/dds-statements:
    post:
      summary: Create DDS Statement
      description: >-
        Create a new Due Diligence Statement. The supplier must exist and the
        specified articles must be linked to that supplier. The DDS is created
        in `draft` status.
      operationId: createDdsStatement
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDdsInput'
      responses:
        '201':
          description: DDS statement created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    description: ID of the newly created DDS statement
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    CreateDdsInput:
      type: object
      required:
        - supplierId
        - type
        - articles
      properties:
        supplierId:
          type: string
          format: uuid
          description: >-
            The supplier for this DDS. All articles must be linked to this
            supplier.
        type:
          $ref: '#/components/schemas/DdsType'
        articles:
          type: array
          minItems: 1
          items:
            type: object
            required:
              - articleId
              - amount
            properties:
              articleId:
                type: string
                format: uuid
              amount:
                type: number
                minimum: 0
                description: Volume/quantity for this article in the DDS
    DdsType:
      type: string
      enum:
        - import
        - export
        - trade
        - domestic_production
      description: >-
        `import` = goods entering the EU, `export` = goods leaving the EU,
        `trade` = intra-EU trade, `domestic_production` = produced within the EU
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          description: Additional error details (e.g. validation issues)
      required:
        - error
  responses:
    BadRequest:
      description: Invalid request data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Insufficient permissions for this resource
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API key generated in Settings > API Keys. Include as `Authorization:
        Bearer <key>`.

````