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

# Elencare i documenti probatori di un documento

Elenca i documenti probatori attuali di un documento (i file sostituiti ed eliminati sono esclusi).

Gli errori usano `application/problem+json` con un `code` stabile. Catalogo completo: [Stati delle entità e codici di errore](https://docs.localpayment.com/it/reference/entity-statuses-and-error-codes.md).


## OpenAPI

````yaml openapi/it/localpayment.json GET /api/entity/v1/documents/{docId}/proofs
openapi: 3.1.0
info:
  version: '1.0'
  title: Localpayment
  contact:
    name: Support
    url: mailto:support@localpayment.com
servers:
  - url: https://api.stage.localpayment.com
    description: Stage
security:
  - token: []
paths:
  /api/entity/v1/documents/{docId}/proofs:
    get:
      summary: Elencare i documenti probatori di un documento
      operationId: list-document-proofs
      parameters:
        - name: Authorization
          in: header
          description: >-
            Token di accesso Bearer per l'autenticazione. Questo token si
            ottiene dagli endpoint [Ottenere il token di
            accesso](/it/reference/get-token) o [Rinnovare il token di
            accesso](/it/reference/refresh-token). Da esso vengono ricavati il
            tuo conto esercente e l'utente che esegue l'operazione.
          required: true
          schema:
            type: string
            examples:
              - Bearer <your_access_token>
        - name: X-Correlation-ID
          in: header
          description: >-
            Identificatore di traccia (UUID). Restituito nella risposta;
            generato da Localpayment se assente.
          required: false
          schema:
            type: string
            examples:
              - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
        - name: docId
          in: path
          description: documentId del documento.
          required: true
          schema:
            type: string
            format: uuid
            examples:
              - e0ea9515-442e-4bc5-bc82-b8d278255c37
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                      examples:
                        - 2c4c2f74-7179-4113-83fb-f11dbce9e07d
                    documentId:
                      type: string
                      examples:
                        - 2e16d844-4fa9-4295-9a21-83ec32ef241a
                      format: uuid
                    proofType:
                      type: string
                      examples:
                        - FRONT
                      enum:
                        - FRONT
                        - BACK
                        - SELFIE
                        - DOCUMENT
                        - OTHER
                    fileName:
                      type: string
                      examples:
                        - id_front.jpg
                    mimeType:
                      type: string
                      examples:
                        - image/jpeg
                    sizeBytes:
                      type: integer
                      examples:
                        - 102400
                    verificationStatus:
                      type: string
                      examples:
                        - PENDING
                      enum:
                        - PENDING
                        - IN_REVIEW
                        - APPROVED
                        - REJECTED
                    verifiedBy:
                      type:
                        - string
                        - 'null'
                    verifiedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    verificationReason:
                      type:
                        - string
                        - 'null'
                    uploadedBy:
                      type: string
                      examples:
                        - '12345'
                    uploadedAt:
                      type: string
                      examples:
                        - '2024-01-15T17:03:13Z'
                      format: date-time
                    status:
                      type: string
                      examples:
                        - CURRENT
                      enum:
                        - CURRENT
                        - SUPERSEDED
                        - DELETED
                      description: >-
                        Ciclo di vita del documento probatorio: CURRENT
                        (attivo), SUPERSEDED (sostituito da un caricamento più
                        recente dello stesso proofType) o DELETED. Indipendente
                        da verificationStatus.
                    supersededAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    supersededBy:
                      type:
                        - string
                        - 'null'
                    replacedByProofId:
                      type:
                        - string
                        - 'null'
                      format: uuid
                    deletedAt:
                      type:
                        - string
                        - 'null'
                      format: date-time
                    deletedBy:
                      type:
                        - string
                        - 'null'
                    inVerification:
                      type: boolean
                      examples:
                        - false
              examples:
                Example 1:
                  value:
                    - id: 2c4c2f74-7179-4113-83fb-f11dbce9e07d
                      documentId: 2e16d844-4fa9-4295-9a21-83ec32ef241a
                      proofType: FRONT
                      fileName: id_front.jpg
                      mimeType: image/jpeg
                      sizeBytes: 102400
                      verificationStatus: PENDING
                      verifiedBy: null
                      verifiedAt: null
                      verificationReason: null
                      uploadedBy: '12345'
                      uploadedAt: '2024-01-15T17:03:13Z'
                      status: CURRENT
                      supersededAt: null
                      supersededBy: null
                      replacedByProofId: null
                      deletedAt: null
                      deletedBy: null
                      inVerification: false
        '401':
          description: >-
            Non autorizzato. UNAUTHORIZED: token di accesso mancante o non
            valido.
          content:
            application/problem+json:
              schema:
                type: object
                description: >-
                  Dettagli del problema secondo RFC 9457
                  (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Breve riepilogo del problema.
                  status:
                    type: integer
                    description: Codice di stato HTTP.
                  detail:
                    type: string
                    description: Spiegazione leggibile.
                  instance:
                    type: string
                    description: Percorso della richiesta.
                  code:
                    type: string
                    description: >-
                      Codice di errore stabile e leggibile automaticamente. Basa
                      la tua logica su questo valore.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Identificatore della richiesta. Indicalo quando contatti
                      l'assistenza.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Campi non validi, se applicabile.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - UNAUTHORIZED:
                  value:
                    type: about:blank
                    title: Unauthorized
                    status: 401
                    detail: Missing or invalid access token.
                    instance: >-
                      /api/entity/v1/documents/e0ea9515-442e-4bc5-bc82-b8d278255c37/proofs
                    code: UNAUTHORIZED
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '404':
          description: >-
            Non trovato. DOCUMENT_NOT_FOUND: il documento non esiste, è stato
            eliminato o appartiene a un altro esercente.
          content:
            application/problem+json:
              schema:
                type: object
                description: >-
                  Dettagli del problema secondo RFC 9457
                  (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Breve riepilogo del problema.
                  status:
                    type: integer
                    description: Codice di stato HTTP.
                  detail:
                    type: string
                    description: Spiegazione leggibile.
                  instance:
                    type: string
                    description: Percorso della richiesta.
                  code:
                    type: string
                    description: >-
                      Codice di errore stabile e leggibile automaticamente. Basa
                      la tua logica su questo valore.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Identificatore della richiesta. Indicalo quando contatti
                      l'assistenza.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Campi non validi, se applicabile.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - DOCUMENT_NOT_FOUND:
                  value:
                    type: about:blank
                    title: Not found
                    status: 404
                    detail: >-
                      The document does not exist, was deleted, or belongs to
                      another merchant.
                    instance: >-
                      /api/entity/v1/documents/e0ea9515-442e-4bc5-bc82-b8d278255c37/proofs
                    code: DOCUMENT_NOT_FOUND
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.