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

# Link de documentos enviado

> Cobrix creó un link e intentó entregarlo por email

<span className="cobrix-event-name">checkout.collection\_document\_link.sent</span>

## Qué significa

Cobrix creó una sesión para documentos seleccionados y ejecutó el intento de entrega administrado por Cobrix. No significa que el cliente abrió el link ni que pagó.

## Payload completo

```json theme={null}
{
  "id": "evt_d1da6843-38a0-42ec-a53c-bba407f43639",
  "event": "checkout.collection_document_link.sent",
  "created_at": "2026-07-14T15:40:00.000Z",
  "api_version": "2025-01-21",
  "data": {
    "checkoutSessionId": "cs_5e52b98d",
    "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
    "customer": {
      "companyCustomerId": "cc_8aa37fd1",
      "name": "Ana Pérez",
      "email": "ana@example.com",
      "phone": "+584120000000",
      "taxId": "V12345678",
      "externalRef": "customer-1001",
      "metadata": null,
      "customerCode": "C-1001",
      "labels": [],
      "status": "active",
      "customFieldsData": null,
      "type": "individual",
      "address": null
    },
    "checkoutUrl": "https://pay.cobrix.co/c/cs_5e52b98d",
    "token": "checkout_public_token",
    "expiresAt": "2026-07-15T15:40:00.000Z",
    "amountMinor": "2000",
    "currency": "USD",
    "documents": [
      {
        "invoiceId": "inv_d64d7b11",
        "number": "DOC-1001",
        "externalDocumentId": "erp-1001",
        "amountMinor": "2000"
      }
    ],
    "delivery": {
      "email": {
        "status": "sent",
        "recipient": "ana@example.com",
        "providerId": "mail_8172"
      }
    }
  }
}
```

## Lee correctamente `delivery.email.status`

| Estado    | Significado                                                              |
| --------- | ------------------------------------------------------------------------ |
| `sent`    | El proveedor aceptó el mensaje para entrega.                             |
| `failed`  | El intento falló; revisa `reason`.                                       |
| `skipped` | No se intentó, normalmente por ausencia de destinatario o configuración. |

<Info>
  El token y la URL son sensibles operacionalmente. No los publiques en logs abiertos ni herramientas de analítica del cliente.
</Info>
