{
"id": "evt_149b301b-e41d-48a8-88db-f8cfb7bca1c7",
"event": "collection_document.updated",
"created_at": "2026-07-14T14:20:00.000Z",
"api_version": "2025-01-21",
"data": {
"companyId": "7d355d52-ac74-49f5-b31c-ce29b4680752",
"source": "erp_acme",
"externalDocumentId": "erp-1001",
"customerExternalId": "customer-1001",
"document": {
"invoiceId": "inv_d64d7b11",
"invoiceNumber": "DOC-1001",
"source": "erp_acme",
"externalDocumentId": "erp-1001",
"status": "open",
"currency": "USD",
"totalMinor": 2500,
"balanceMinor": 2500,
"issueDate": "2026-07-01",
"dueDate": "2026-07-18",
"cutDate": "2026-07-23",
"lines": [
{
"description": "Servicio mensual actualizado",
"quantity": 1,
"unitAmountMinor": 2500,
"amountMinor": 2500,
"periodStart": "2026-07-01",
"periodEnd": "2026-07-31"
}
]
},
"customer": {
"companyCustomerId": "cc_8aa37fd1",
"customerId": "cus_e3cd39b1",
"externalCustomerId": "customer-1001",
"name": "Ana Pérez",
"email": "[email protected]",
"phone": "+584120000000",
"taxId": "V12345678",
"customerCode": "C-1001"
},
"status": "open",
"updatedAt": "2026-07-14T14:20:00.000Z"
}
}