> ## Documentation Index
> Fetch the complete documentation index at: https://invopop-auto-sync-workflow-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Confirm submission

> Finalise the onboarding approval and advance the registration workflow.

Finalises the approval and pokes the queued `agreement.wait.approval` task so the onboarding workflow continues. Returns the approval flow status.

Identity verification (`POST /identity`) is required on both paths. In addition:

* **In-app signing**: `POST /sign` must have been called.
* **Pre-signed PDF**: `POST /agreement` must have been called.

A `submitted` status in the response means the submission is under review; the workflow advances once a decision is made.


## OpenAPI

````yaml POST /apps/gov-fr/v1/entry/{silo_entry_id}/confirm
openapi: 3.1.0
info:
  contact:
    email: dev@invopop.com
    name: Invopop Developers
  description: >-
    Set of end-points for the France app, including lookups against the PPF
    Annuaire (French e-invoicing directory).
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  title: France Service API
  version: 0.1.0
servers:
  - description: production
    url: https://api.invopop.com
security:
  - InvopopAuth: []
paths:
  /apps/gov-fr/v1/entry/{silo_entry_id}/confirm:
    post:
      summary: Confirm the onboarding submission
      description: |-
        Finalises the approval and pokes the queued
        `agreement.wait.approval` task so the onboarding workflow
        continues.

        Identity verification (`POST /identity`) is required on both
        paths. In addition:

        - **In-app signing**: `POST /sign` must have been called.
        - **Pre-signed PDF**: `POST /agreement` must have been called.

        Returns the approval flow status. A `submitted` status means
        the submission is under review; the workflow will advance once
        a decision is made.
      operationId: confirmEntry
      parameters:
        - $ref: '#/components/parameters/SiloEntryID'
      responses:
        '200':
          description: Submission confirmed. Returns the approval flow status.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfirmResponse'
              examples:
                submitted:
                  summary: Awaiting approval decision
                  value:
                    status: submitted
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  parameters:
    SiloEntryID:
      name: silo_entry_id
      in: path
      required: true
      description: ID of the `org.Party` silo entry being onboarded.
      schema:
        type: string
        example: 5b45453c-cdd0-11ed-afa1-0242ac120002
  schemas:
    ConfirmResponse:
      type: object
      required:
        - status
      properties:
        status:
          type: string
          description: Current status of the approval flow after finalisation.
          example: submitted
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable description of the error.
          example: missing siren parameter
  responses:
    BadRequest:
      description: The request is malformed or missing required parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing siren parameter
    Unauthorized:
      description: Missing or invalid authentication token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: missing enrollment
    Forbidden:
      description: |-
        The directory API is only available to live workspaces. Calls made
        with a sandbox enrollment are rejected.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: directory API is only available for live workspaces
    NotFound:
      description: The referenced silo entry or party could not be found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: silo entry not found
    UnprocessableEntity:
      description: |-
        The request is well-formed but cannot be processed — for example
        the agreement PDF cannot be generated because the draft party is
        incomplete, or the uploaded signature failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: draft party is missing signer details
    InternalServerError:
      description: An unexpected server-side error occurred.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: internal server error
  securitySchemes:
    InvopopAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        Authenticate using a valid Invopop enrollment token in the `Bearer`
        scheme.

        Example: `Authorization: Bearer <token>`

````