---
title: "Consultar un comprobante recibido"
method: GET
path: "/stamp-documents-received/{id}"
tags: ["Recepción de comprobantes"]
---

# Consultar un comprobante recibido

`GET /stamp-documents-received/{id}`

## Request

- Base URL: `https://api.alegra.com/api/v1`
- URL: `https://api.alegra.com/api/v1/stamp-documents-received/{id}`
- Auth: HTTP basic

Consulta un comprobante recibido en Colombia, mediante su identificador.

## Path parameters

- `id` integer, required

## Parameters

- `#/paths/~1stamp-documents-received/get/parameters/4` (unresolved $ref)

## Response `200`

Comprobante recibido encontrado.

- StampDocumentReceived: Información del comprobante recibido. Los campos adicionales dependen de fields.
  - `id` string: Identificador local del comprobante
  - `number` string, nullable
  - `date` string, date, nullable: Fecha de expedición del comprobante.
  - `name` string, nullable
  - `identification` string, nullable
  - `total` string, nullable
  - `response` string, nullable
  - `origin` string, nullable
  - `resourceType` string, nullable
  - `address` string, nullable
  - `idResource` string, nullable: Identificador del documento registrado asociado.
  - `datetime` string: Fecha y hora de registro del comprobante en Alegra.
  - `uuid` string, nullable: Identificador electrónico del comprobante (CUFE).
  - `responseNumber` integer, nullable
  - `prefix` string, nullable
  - `legalStatus` string, nullable
  - `accusedId` string, nullable: Identificador del acuse de recibo.
  - `confirmationId` string, nullable
  - `rejectionConcept` string, nullable
  - `paymentForm` 'CASH' | 'CREDIT', nullable
  - `responseHistory` object, nullable: Fechas de los eventos enviados, con formato YYYY-MM-DD HH:mm:ss.
  - `responseStatus` object, nullable: Estado de cada evento. Consulta este campo para verificar su procesamiento.
  - `importedStatus` object, nullable: Indica por evento si su estado fue importado.
  - `currency` object
    - `name` string
    - `code` string, nullable
    - `symbol` string, nullable
    - `exchangeRate` number, nullable
    - `status` string, nullable
    - `main` boolean
  - `stampReceptionEmail` object, nullable: Se incluye al solicitar fields=stampReceptionEmail; puede ser null si no hay un correo asociado.
    - `id` string
    - `from` object
      - `name` string, nullable
      - `address` string
    - `to` object
      - `address` string
    - `subject` string, nullable
    - `message` string, nullable
    - `datetime` string

## Other responses

- `404`: No se encontró el comprobante recibido.

---

[API](https://skmtc.dev/alegra/apis/gastos.md) - [All operations](https://skmtc.dev/alegra/apis/gastos/llms.txt) - [OpenAPI document](https://skmtc.dev/alegra/apis/gastos/revisions/0b1ed7b7581d?raw)
