> ## 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.

# Recordatorio del vencimiento

> Recordatorio del día de vencimiento

<span className="cobrix-event-name">collection\_document.reminder\_on\_due\_date</span>

## Qué significa

El documento vence en la fecha operativa de la empresa. El link incluido cobra el saldo vigente al momento de crear la sesión.

## Payload completo

```json theme={null}
{
  "id": "evt_5e1a56df-4264-4918-8f0a-0c94f355034b",
  "event": "collection_document.reminder_on_due_date",
  "created_at": "2026-07-15T13:00:00.000Z",
  "api_version": "2025-01-21",
  "data": {
    "event": "collection_document.reminder_on_due_date",
    "version": "2026-05-18",
    "timestamp": "2026-07-15T13:00:00.000Z",
    "trigger": "automatic",
    "subjectType": "collection_document",
    "customer": {
      "id": "cc_8aa37fd1",
      "name": "Ana Pérez",
      "email": "ana@example.com",
      "phone": "+584120000000",
      "taxId": "V12345678",
      "customerCode": "C-1001"
    },
    "company": {
      "id": "7d355d52-ac74-49f5-b31c-ce29b4680752",
      "name": "Empresa de ejemplo",
      "supportPhone": "+584120001111"
    },
    "checkout": {
      "sessionId": "cs_aed1194d",
      "token": "checkout_public_token_due",
      "url": "https://pay.cobrix.co/c/cs_aed1194d",
      "expiresAt": "2026-07-16T13:00:00.000Z"
    },
    "amount": {
      "minor": "2000",
      "major": "20.00",
      "currency": "USD"
    },
    "documents": [
      {
        "invoiceId": "inv_d64d7b11",
        "number": "DOC-1001",
        "externalDocumentId": "erp-1001",
        "issuedAt": "2026-07-01",
        "dueDate": "2026-07-15",
        "amountMinor": "2000",
        "amountMajor": "20.00",
        "balanceMinor": "2000",
        "currency": "USD"
      }
    ],
    "dunningDetails": {
      "reminderType": "ON_DUE_DATE",
      "documentCount": 1,
      "nearestDueDate": "2026-07-15"
    },
    "references": {
      "checkoutType": "collection_documents",
      "source": "erp_acme",
      "idempotencyKey": "reminder-due-erp-1001-20260715"
    },
    "delivery": {
      "requestedChannels": ["whatsapp"],
      "whatsapp": {
        "provider": "meta",
        "recipient": "+584120000000",
        "metaTemplate": {
          "key": "collection_document_reminder_on_due_date_v2",
          "name": "collection_document_reminder_on_due_date_v2",
          "language": "es",
          "version": "v2",
          "variables": {
            "customer_name": "Ana Pérez",
            "amount": "20.00",
            "currency": "USD",
            "due_date": "2026-07-15",
            "checkout_url": "https://pay.cobrix.co/c/cs_aed1194d"
          }
        }
      }
    }
  }
}
```

<Info>
  Deduplica usando `data.references.idempotencyKey`. La fecha de vencimiento es una fecha calendario; evita convertirla a UTC para decidir si el aviso corresponde al día actual.
</Info>
