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

# Documento pagado

> El saldo del documento llegó a cero

<span className="cobrix-event-name">collection\_document.paid</span>

## Qué significa

Una aplicación de pago dejó el documento sin saldo. El payload incluye el documento compacto y el pago que produjo la transición.

## Payload completo

```json theme={null}
{
  "id": "evt_86b62951-f4da-4880-a744-59d60fd2785c",
  "event": "collection_document.paid",
  "created_at": "2026-07-14T16:10:02.000Z",
  "api_version": "2025-01-21",
  "data": {
    "paymentId": "pay_842f7712",
    "checkoutSessionId": "cs_5e52b98d",
    "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
    "companyCustomerId": "cc_8aa37fd1",
    "document": {
      "invoiceId": "inv_d64d7b11",
      "invoiceNumber": "DOC-1001",
      "externalInvoiceId": "erp-1001",
      "source": "erp_acme",
      "currency": "USD",
      "appliedAmountMinor": "2000",
      "remainingBalanceMinor": "0"
    },
    "payment": {
      "id": "pay_842f7712",
      "companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
      "companyCustomerId": "cc_8aa37fd1",
      "checkoutSessionId": "cs_5e52b98d",
      "subscriptionId": null,
      "status": "succeeded",
      "reconciliationStatus": "reconciled",
      "amount": 20,
      "amountMinor": 2000,
      "currency": "USD",
      "referenceAmountMinor": null,
      "referenceCurrency": null,
      "provider": "checkout",
      "providerChargeId": "charge_9001",
      "hasPaymentReference": true,
      "paymentReference": "PAY-9001",
      "paymentReferenceMasked": "****9001",
      "hasProof": false,
      "paidAt": "2026-07-14T16:10:00.000Z",
      "valueDate": null,
      "createdAt": "2026-07-14T16:09:00.000Z",
      "updatedAt": "2026-07-14T16:10:00.000Z",
      "exchange": null
    },
    "paymentMethod": {
      "kind": "card",
      "method": "card",
      "label": "Tarjeta",
      "channel": "automatic",
      "provider": "checkout",
      "isManual": false,
      "requiresReconciliation": false,
      "receiver": null,
      "receiverCheck": null,
      "submitted": null,
      "review": {
        "requiresReview": false,
        "reasons": [],
        "ocrVerdict": null,
        "ocrConfidence": null
      }
    }
  }
}
```

<Info>
  Si varios documentos se pagaron con una sesión, recibirás un evento de documento pagado por cada documento que llegó a saldo cero.
</Info>
