siip-whatsapp-notifications.../data/plugin.log

7486 lines
2.2 MiB
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[2025-05-30 16:52:19.327909] [notice] Logging level set to:debug
[2025-05-30 16:52:19.328277] [debug] valor del webhook: {"uuid":"b19e10db-9b25-447a-af1a-ff6780ce012c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:19.366075] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:52:19.366137] [debug] Valor de JSON: {"uuid":"b19e10db-9b25-447a-af1a-ff6780ce012c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:19.366355] [debug] Se actualiza un trabajo
[2025-05-30 16:52:19.366375] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:52:26.508114] [notice] Logging level set to:debug
[2025-05-30 16:52:26.508213] [debug] valor del webhook: {"uuid":"6c6f75f4-7c3f-4550-8b6d-107242103f6c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:26.537961] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:52:26.538105] [debug] Valor de JSON: {"uuid":"6c6f75f4-7c3f-4550-8b6d-107242103f6c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:26.538249] [debug] Se actualiza un trabajo
[2025-05-30 16:52:26.538295] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:52:29.724842] [notice] Logging level set to:debug
[2025-05-30 16:52:29.725030] [debug] valor del webhook: {"uuid":"c6a317b5-ca2e-466d-9349-98da2aa9bd5f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:29.750267] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:52:29.750438] [debug] Valor de JSON: {"uuid":"c6a317b5-ca2e-466d-9349-98da2aa9bd5f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:29.750653] [debug] Se actualiza un trabajo
[2025-05-30 16:52:29.750716] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:52:29.750770] [debug] El instalador cambió de null a un valor
[2025-05-30 16:52:29.750823] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 16:52:29.750922] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"c6a317b5-ca2e-466d-9349-98da2aa9bd5f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:29.751007] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"c6a317b5-ca2e-466d-9349-98da2aa9bd5f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:29.751074] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 16:52:29.751121] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 16:52:29.751177] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 16:52:29.783698] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-05-30 16:52:29.783832] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 16:52:29.814894] [debug] Valor de $installerFullName: Juan Rostro
[2025-05-30 16:52:29.884972] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 16:52:29.885087] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:52:29.885221] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:52:29.885307] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣54*", "🗓️ *01/06/2025", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"a399de1c5ba64536b3b2ad40a15a57ca","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:52:30.644241] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 16:52:30.644471] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-05-30 16:52:30.718312] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 16:52:30.718440] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-05-30 16:52:30.718487] [debug] No se cambió el instalador
[2025-05-30 16:52:30.718544] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 16:52:30.718647] [debug] La variable dataToSearch es un id de cliente: 2
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*01\/06\/2025","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *01/06/2025", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"6fc5245cb988480fa54ec4c696d3fc71","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:52:31.624614] [notice] Logging level set to:debug
[2025-05-30 16:52:31.624766] [debug] valor del webhook: {"uuid":"3ffc204a-42dd-456b-9153-e5ab5cb68f9f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:31.652760] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:52:31.652914] [debug] Valor de JSON: {"uuid":"3ffc204a-42dd-456b-9153-e5ab5cb68f9f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:52:31.653043] [debug] Se actualiza un trabajo
[2025-05-30 16:52:31.653090] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:52:31.653130] [debug] No hubo cambio en el instalador ni en la fecha
[2025-05-30 16:56:01.793137] [notice] Logging level set to:debug
[2025-05-30 16:56:01.793229] [debug] valor del webhook: {"uuid":"3f2f637a-ceb4-4996-8594-17cb7472fe41","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:01.828747] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:56:01.828800] [debug] Valor de JSON: {"uuid":"3f2f637a-ceb4-4996-8594-17cb7472fe41","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:01.829011] [debug] Se actualiza un trabajo
[2025-05-30 16:56:01.829030] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:56:01.829041] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 16:56:01.829054] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 16:56:01.829099] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"3f2f637a-ceb4-4996-8594-17cb7472fe41","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:01.829121] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"3f2f637a-ceb4-4996-8594-17cb7472fe41","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:01.829130] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 16:56:01.829138] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 16:56:01.829153] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 16:56:01.862413] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 16:56:01.862544] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 16:56:01.895829] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 16:56:01.961401] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 16:56:01.961612] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:56:01.961739] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:56:01.961812] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *01/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"27a55ab2660a43599f3ad497fc9a44f8","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:56:02.969120] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 16:56:02.969361] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 16:56:02.969486] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 16:56:02.969607] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 16:56:02.969713] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 16:56:03.007776] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fJuan Rostro","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *\u00c1ngel Arvizu*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Juan Rostro", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "👤 *Cliente:* [2] Daniel Humberto Soto Villegas", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Ángel Arvizu*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1b44ce398b2844588477c4e502c81fd1","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:56:07.770865] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 16:56:07.771228] [debug] La variable dataToSearch es un id de cliente: 2
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*01\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *01/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"ceca17b75dfe45f3bdbb17f5162c98d9","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:56:40.596395] [notice] Logging level set to:debug
[2025-05-30 16:56:40.596731] [debug] valor del webhook: {"uuid":"01b78983-891b-4d44-89a8-38c2692e14ef","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:40.622116] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 16:56:40.622256] [debug] Valor de JSON: {"uuid":"01b78983-891b-4d44-89a8-38c2692e14ef","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:40.622483] [debug] Se actualiza un trabajo
[2025-05-30 16:56:40.622538] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 16:56:40.622579] [debug] Se reprogramó el trabajo pero no hubo cambio de instalador
[2025-05-30 16:56:40.622622] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 16:56:40.622704] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"01b78983-891b-4d44-89a8-38c2692e14ef","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:40.622772] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"01b78983-891b-4d44-89a8-38c2692e14ef","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-01T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 16:56:40.622812] [debug] Valor de $reprogramming en verifyJobActionToDo: true
[2025-05-30 16:56:40.622845] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 16:56:40.622888] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 16:56:40.661757] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 16:56:40.661894] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 16:56:40.703242] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 16:56:40.788870] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 16:56:40.791063] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:56:40.791266] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 16:56:40.791379] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: true, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: true, ChangeInstaller: false
Enviando notificación de reprogramación al cliente, valor de reprogramming 1 y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["Estimado cliente 👤 *Daniel Humberto Soto Villegas* se ha reprogramado su visita técnica con folio *#⃣54*", "🗓️➡️ *02/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "715eed9d6f2d4d90853f25e296202e00",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"e5a8d289e81a45f38f11f52bed4d92c6","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 16:56:41.602298] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 16:56:41.602551] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 16:56:41.602678] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 16:56:41.602821] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: true, ChangeInstaller: false
[2025-05-30 16:56:41.602926] [debug] No se cambió el instalador
[2025-05-30 16:56:41.603122] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 16:56:41.603341] [debug] La variable dataToSearch es un id de cliente: 2
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*02\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: true, ChangeInstaller: false
Enviando notificación de reprogramación al instalador, valor de reprogramming 1 y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se reprogramó una tarea con el folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, la nueva fecha será el 🗓️➡️ *02/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1afde7180b2848c9830809c8fb9922bc","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 17:50:15.875696] [notice] Logging level set to:debug
[2025-05-30 17:50:15.875781] [debug] valor del webhook: {"uuid":"78d33c27-b0a8-4f55-bf7b-0480c35b6341","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:15.903736] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:50:15.903790] [debug] Valor de JSON: {"uuid":"78d33c27-b0a8-4f55-bf7b-0480c35b6341","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:15.903990] [debug] Se actualiza un trabajo
[2025-05-30 17:50:15.904011] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 17:50:28.096195] [notice] Logging level set to:debug
[2025-05-30 17:50:28.096456] [debug] valor del webhook: {"uuid":"8cafb1e8-0706-40da-918e-787ed7ed2578","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:28.139205] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:50:28.139349] [debug] Valor de JSON: {"uuid":"8cafb1e8-0706-40da-918e-787ed7ed2578","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:28.139581] [debug] Se actualiza un trabajo
[2025-05-30 17:50:28.139642] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 17:50:32.211833] [notice] Logging level set to:debug
[2025-05-30 17:50:32.212199] [debug] valor del webhook: {"uuid":"16c7e94e-1c52-409c-bf6a-ce9336fa33ce","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:32.241657] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:50:32.241861] [debug] Valor de JSON: {"uuid":"16c7e94e-1c52-409c-bf6a-ce9336fa33ce","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:32.242043] [debug] Se actualiza un trabajo
[2025-05-30 17:50:32.242095] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 17:50:32.242136] [debug] El instalador cambió de null a un valor
[2025-05-30 17:50:32.242197] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 17:50:32.242310] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"16c7e94e-1c52-409c-bf6a-ce9336fa33ce","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:32.242360] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"16c7e94e-1c52-409c-bf6a-ce9336fa33ce","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:32.242399] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 17:50:32.242436] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 17:50:32.242480] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 17:50:32.274905] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 17:50:32.275070] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 17:50:32.309446] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 17:50:32.374001] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 17:50:32.374129] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 17:50:32.374245] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 17:50:32.374339] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣54*", "🗓️ *02/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"eca914d6f6df492ba011094535af1dc7","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 17:50:33.462290] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 17:50:33.462625] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-05-30 17:50:33.547179] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 17:50:33.547319] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-05-30 17:50:33.547364] [debug] No se cambió el instalador
[2025-05-30 17:50:33.547420] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 17:50:33.547533] [debug] La variable dataToSearch es un id de cliente: 2
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*02\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *02/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "passowrdchida"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"a62ec49092af4879a87e67a475172e1b","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 17:50:34.467987] [notice] Logging level set to:debug
[2025-05-30 17:50:34.468127] [debug] valor del webhook: {"uuid":"585b69c3-3a73-4f05-87e7-81beea274633","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:34.498147] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:50:34.498284] [debug] Valor de JSON: {"uuid":"585b69c3-3a73-4f05-87e7-81beea274633","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:50:34.498421] [debug] Se actualiza un trabajo
[2025-05-30 17:50:34.498467] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 17:50:34.498507] [debug] No hubo cambio en el instalador ni en la fecha
[2025-05-30 17:56:59.547414] [notice] Logging level set to:debug
[2025-05-30 17:56:59.547497] [debug] valor del webhook: {"uuid":"9c013d77-2692-41f9-83d0-fa3880583dab","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:56:59.575588] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:56:59.575701] [debug] Valor de JSON: {"uuid":"9c013d77-2692-41f9-83d0-fa3880583dab","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:56:59.576179] [debug] Se actualiza un trabajo
[2025-05-30 17:56:59.576227] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 17:57:05.390305] [notice] Logging level set to:debug
[2025-05-30 17:57:05.390623] [debug] valor del webhook: {"uuid":"6c349bdd-a635-4035-81e1-15d524afad4b","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:57:05.416486] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 17:57:05.417198] [debug] Valor de JSON: {"uuid":"6c349bdd-a635-4035-81e1-15d524afad4b","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 17:57:05.417366] [debug] Se actualiza un trabajo
[2025-05-30 17:57:05.417386] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:00:58.630542] [notice] Logging level set to:debug
[2025-05-30 18:00:58.630752] [debug] valor del webhook: {"uuid":"a79d0d2f-e54d-448a-afea-171769c00766","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:58.657902] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 18:00:58.658049] [debug] Valor de JSON: {"uuid":"a79d0d2f-e54d-448a-afea-171769c00766","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:58.658301] [debug] Se actualiza un trabajo
[2025-05-30 18:00:58.658360] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:00:58.658401] [debug] El instalador cambió de null a un valor
[2025-05-30 18:00:58.658449] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 18:00:58.658533] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"a79d0d2f-e54d-448a-afea-171769c00766","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:58.658586] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"a79d0d2f-e54d-448a-afea-171769c00766","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:58.658624] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 18:00:58.658658] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 18:00:58.658698] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 18:00:58.691342] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 18:00:58.691529] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 18:00:58.722682] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 18:00:58.795244] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 18:00:58.795295] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:00:58.795404] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:00:58.795460] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣54*", "🗓️ *02/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"8320575787e24a16865fadf5efe047be","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:00:59.247427] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 18:00:59.247566] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-05-30 18:00:59.332540] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:00:59.332591] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-05-30 18:00:59.332612] [debug] No se cambió el instalador
[2025-05-30 18:00:59.332650] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 18:00:59.332740] [debug] La variable dataToSearch es un id de cliente: 2
[2025-05-30 18:00:59.480756] [notice] Logging level set to:debug
[2025-05-30 18:00:59.480845] [debug] valor del webhook: {"uuid":"79d10af6-9d78-4a89-97b1-22693ac86861","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:59.510859] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 18:00:59.510915] [debug] Valor de JSON: {"uuid":"79d10af6-9d78-4a89-97b1-22693ac86861","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:00:59.511106] [debug] Se actualiza un trabajo
[2025-05-30 18:00:59.511131] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:00:59.511143] [debug] No hubo cambio en el instalador ni en la fecha
[2025-05-30 18:04:01.365423] [notice] Logging level set to:debug
[2025-05-30 18:04:01.365673] [debug] valor del webhook: {"uuid":"c494c48d-b734-4ca1-ab8c-d0ab1862fe26","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:01.394845] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 18:04:01.395174] [debug] Valor de JSON: {"uuid":"c494c48d-b734-4ca1-ab8c-d0ab1862fe26","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:01.395488] [debug] Se actualiza un trabajo
[2025-05-30 18:04:01.395551] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:04:01.395595] [debug] Se reprogramó el trabajo pero no hubo cambio de instalador
[2025-05-30 18:04:01.395646] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 18:04:01.395733] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"c494c48d-b734-4ca1-ab8c-d0ab1862fe26","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:01.395777] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"c494c48d-b734-4ca1-ab8c-d0ab1862fe26","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-02T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:01.395821] [debug] Valor de $reprogramming en verifyJobActionToDo: true
[2025-05-30 18:04:01.395858] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 18:04:01.397558] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 18:04:01.449029] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 18:04:01.449181] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 18:04:01.482623] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 18:04:01.565094] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 18:04:01.565138] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:04:01.565222] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:04:01.565268] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: true, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: true, ChangeInstaller: false
Enviando notificación de reprogramación al cliente, valor de reprogramming 1 y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["Estimado cliente 👤 *Daniel Humberto Soto Villegas* se ha reprogramado su visita técnica con folio *#⃣54*", "🗓️➡️ *03/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "715eed9d6f2d4d90853f25e296202e00",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"abb996e5f7a64d4ca1d39aa24a481cb5","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:04:02.415726] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 18:04:02.415901] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:04:02.415937] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:04:02.415975] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: true, ChangeInstaller: false
[2025-05-30 18:04:02.415997] [debug] No se cambió el instalador
[2025-05-30 18:04:02.416063] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 18:04:02.416268] [debug] La variable dataToSearch es un id de cliente: 2
[2025-05-30 18:04:21.188220] [notice] Logging level set to:debug
[2025-05-30 18:04:21.188319] [debug] valor del webhook: {"uuid":"cddddb72-4e63-4627-af2c-f7710a0d9e01","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:21.225929] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 18:04:21.225994] [debug] Valor de JSON: {"uuid":"cddddb72-4e63-4627-af2c-f7710a0d9e01","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:21.226211] [debug] Se actualiza un trabajo
[2025-05-30 18:04:21.226232] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:04:21.226243] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 18:04:21.226263] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 18:04:21.226315] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"cddddb72-4e63-4627-af2c-f7710a0d9e01","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:21.226341] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"cddddb72-4e63-4627-af2c-f7710a0d9e01","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:04:21.226351] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 18:04:21.226358] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 18:04:21.226372] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 18:04:21.264209] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-05-30 18:04:21.264262] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 18:04:21.300266] [debug] Valor de $installerFullName: Juan Rostro
[2025-05-30 18:04:21.364789] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 18:04:21.364912] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:04:21.365034] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:04:21.365113] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0119fda955dc4a2095c390b905f6cae0","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:04:22.137687] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 18:04:22.137921] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:04:22.138046] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:04:22.138217] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 18:04:22.138360] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 18:04:22.176135] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u00c1ngel Arvizu","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Juan Rostro*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Ángel Arvizu", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "👤 *Cliente:* [2] Daniel Humberto Soto Villegas", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Juan Rostro*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"342dcca9f38547178675eb7033356e72","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:04:26.940141] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 18:04:26.940799] [debug] La variable dataToSearch es un id de cliente: 2
[2025-05-30 18:06:20.202104] [notice] Logging level set to:debug
[2025-05-30 18:06:20.202445] [debug] valor del webhook: {"uuid":"4c9332b2-b3a3-4112-bba2-1737c85d8dc0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:06:20.229302] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 18:06:20.229443] [debug] Valor de JSON: {"uuid":"4c9332b2-b3a3-4112-bba2-1737c85d8dc0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:06:20.229687] [debug] Se actualiza un trabajo
[2025-05-30 18:06:20.229746] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 18:06:20.229785] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 18:06:20.229834] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 18:06:20.229918] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"4c9332b2-b3a3-4112-bba2-1737c85d8dc0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:06:20.229960] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"4c9332b2-b3a3-4112-bba2-1737c85d8dc0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 18:06:20.229998] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 18:06:20.230031] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 18:06:20.230071] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 18:06:20.267606] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 18:06:20.267741] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 18:06:20.318914] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 18:06:20.385339] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 18:06:20.385415] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:06:20.385554] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 18:06:20.385649] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"24fe113cbc694ae0bf940183b1016856","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:06:21.248502] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 18:06:21.248635] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:06:21.248667] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 18:06:21.248703] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 18:06:21.248725] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 18:06:21.286695] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fJuan Rostro","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *\u00c1ngel Arvizu*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Juan Rostro", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "👤 *Cliente:* [2] Daniel Humberto Soto Villegas", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Ángel Arvizu*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"cac6bbeb0a8f4f60b678b05bd65bd6dd","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 18:06:26.080730] [debug] Iniciando búsqueda de credenciales en el Vault para: 2
[2025-05-30 18:06:26.081485] [debug] La variable dataToSearch es un id de cliente: 2
[2025-05-30 19:01:43.274418] [notice] Logging level set to:debug
[2025-05-30 19:01:43.274508] [debug] valor del webhook: {"uuid":"028feb84-74ed-47b7-90e1-01634b154c9f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:01:43.301758] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:01:43.301985] [debug] Valor de JSON: {"uuid":"028feb84-74ed-47b7-90e1-01634b154c9f","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:01:43.302215] [debug] Se actualiza un trabajo
[2025-05-30 19:01:43.302268] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:02:32.776896] [notice] Logging level set to:debug
[2025-05-30 19:02:32.777251] [debug] valor del webhook: {"uuid":"dbaae080-aae6-41cd-9f61-6d0dab03ca3e","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:32.802119] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:02:32.802265] [debug] Valor de JSON: {"uuid":"dbaae080-aae6-41cd-9f61-6d0dab03ca3e","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:32.802500] [debug] Se actualiza un trabajo
[2025-05-30 19:02:32.802557] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:02:42.918914] [notice] Logging level set to:debug
[2025-05-30 19:02:42.919239] [debug] valor del webhook: {"uuid":"b663f76e-55e6-400c-9ba2-6105dd98bb34","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:42.945800] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:02:42.945935] [debug] Valor de JSON: {"uuid":"b663f76e-55e6-400c-9ba2-6105dd98bb34","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:42.946075] [debug] Se actualiza un trabajo
[2025-05-30 19:02:42.946121] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:02:46.521488] [notice] Logging level set to:debug
[2025-05-30 19:02:46.521859] [debug] valor del webhook: {"uuid":"7c18dfc9-feae-40a6-9e63-776a497bceaf","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:46.552679] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:02:46.552962] [debug] Valor de JSON: {"uuid":"7c18dfc9-feae-40a6-9e63-776a497bceaf","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:46.553172] [debug] Se actualiza un trabajo
[2025-05-30 19:02:46.553251] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:02:46.553312] [debug] El instalador cambió de null a un valor
[2025-05-30 19:02:46.553371] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:02:46.553488] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"7c18dfc9-feae-40a6-9e63-776a497bceaf","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:46.553570] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"7c18dfc9-feae-40a6-9e63-776a497bceaf","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:46.553627] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:02:46.553680] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 19:02:46.553744] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:02:46.587315] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true}
[2025-05-30 19:02:46.587367] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:02:46.623774] [debug] Valor de $installerFullName: Mucio Robledo Villegas
[2025-05-30 19:02:46.694719] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:02:46.694768] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:02:46.694856] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:02:46.694905] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"a2b7bc4cb152404aa0d73ad2e2b16b15","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:02:47.553713] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:02:47.553827] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-05-30 19:02:47.639300] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:02:47.639420] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-05-30 19:02:47.639462] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*03\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *03/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"387544a0126f4278a8628490bebf1e10","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:02:48.521192] [notice] Logging level set to:debug
[2025-05-30 19:02:48.521332] [debug] valor del webhook: {"uuid":"00c1a83a-92aa-4910-85f8-665e010cd5dc","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:48.550684] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:02:48.550735] [debug] Valor de JSON: {"uuid":"00c1a83a-92aa-4910-85f8-665e010cd5dc","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:02:48.550843] [debug] Se actualiza un trabajo
[2025-05-30 19:02:48.550858] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:02:48.550870] [debug] No hubo cambio en el instalador ni en la fecha
[2025-05-30 19:03:54.628052] [notice] Logging level set to:debug
[2025-05-30 19:03:54.628403] [debug] valor del webhook: {"uuid":"b6191c4a-dcf1-4553-9109-29431b412561","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:03:54.656881] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:03:54.657035] [debug] Valor de JSON: {"uuid":"b6191c4a-dcf1-4553-9109-29431b412561","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:03:54.657278] [debug] Se actualiza un trabajo
[2025-05-30 19:03:54.657336] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:03:54.657377] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 19:03:54.657423] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:03:54.657506] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"b6191c4a-dcf1-4553-9109-29431b412561","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:03:54.657552] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"b6191c4a-dcf1-4553-9109-29431b412561","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:03:54.657601] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:03:54.657635] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 19:03:54.657676] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:03:54.699667] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-05-30 19:03:54.699727] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:03:54.731954] [debug] Valor de $installerFullName: Juan Rostro
[2025-05-30 19:03:54.795839] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:03:54.795964] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:03:54.796086] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:03:54.796179] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"7fe9c76bef264a0d9d65590d31d5df1d","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:03:55.557535] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:03:55.557771] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:03:55.557894] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:03:55.558017] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 19:03:55.558123] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 19:03:55.600856] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fMucio Robledo Villegas","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Juan Rostro*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Mucio Robledo Villegas", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "👤 *Cliente:* [2] Daniel Humberto Soto Villegas", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Juan Rostro*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"3718115fe08b497ebdf0cd14e98d2ce1","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*03\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *03/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"beee3ef5a9734c0da7f4ea1e9de61b5b","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:09:07.838247] [notice] Logging level set to:debug
[2025-05-30 19:09:07.838332] [debug] valor del webhook: {"uuid":"359d6911-ce8e-495b-8440-970c17374a09","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:09:07.864420] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:09:07.864479] [debug] Valor de JSON: {"uuid":"359d6911-ce8e-495b-8440-970c17374a09","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:09:07.864701] [debug] Se actualiza un trabajo
[2025-05-30 19:09:07.864723] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:09:07.864734] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 19:09:07.864751] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:09:07.864801] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"359d6911-ce8e-495b-8440-970c17374a09","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:09:07.864819] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"359d6911-ce8e-495b-8440-970c17374a09","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:09:07.864829] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:09:07.864835] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 19:09:07.864849] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:09:07.895946] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 19:09:07.896084] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:09:07.929634] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 19:09:07.990922] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:09:07.990967] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:09:07.991091] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:09:07.994815] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0a65479c61164ad6a1bd1adda1a39421","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:09:08.386008] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:09:08.386127] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:09:08.386161] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:09:08.386198] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 19:09:08.386220] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 19:09:08.425004] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fJuan Rostro","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *\u00c1ngel Arvizu*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Juan Rostro", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Ángel Arvizu*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"5042ace82c9e4c7dbdf53c733f6c445a","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*03\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *03/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1f87b66db7ef46dd85b491b7412a8c5a","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:19:21.509720] [notice] Logging level set to:debug
[2025-05-30 19:19:21.509912] [debug] valor del webhook: {"uuid":"5213548e-6316-4d35-a31f-0027268c51bb","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:21.539808] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:19:21.539947] [debug] Valor de JSON: {"uuid":"5213548e-6316-4d35-a31f-0027268c51bb","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:21.540195] [debug] Se actualiza un trabajo
[2025-05-30 19:19:21.540256] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:19:27.456516] [notice] Logging level set to:debug
[2025-05-30 19:19:27.456677] [debug] valor del webhook: {"uuid":"8a73b819-b937-4ab6-921a-6125e6967f3c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:27.482791] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:19:27.482928] [debug] Valor de JSON: {"uuid":"8a73b819-b937-4ab6-921a-6125e6967f3c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:27.483103] [debug] Se actualiza un trabajo
[2025-05-30 19:19:27.483165] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:19:32.110601] [notice] Logging level set to:debug
[2025-05-30 19:19:32.110872] [debug] valor del webhook: {"uuid":"43ade6be-b053-4631-a961-aee6c98eba91","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:32.139094] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:19:32.139225] [debug] Valor de JSON: {"uuid":"43ade6be-b053-4631-a961-aee6c98eba91","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:32.139359] [debug] Se actualiza un trabajo
[2025-05-30 19:19:32.139401] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:19:32.139439] [debug] El instalador cambió de null a un valor
[2025-05-30 19:19:32.139475] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:19:32.139544] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"43ade6be-b053-4631-a961-aee6c98eba91","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:32.139585] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"43ade6be-b053-4631-a961-aee6c98eba91","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:32.139631] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:19:32.139663] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 19:19:32.139702] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:19:32.172931] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-05-30 19:19:32.173095] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:19:32.206557] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-05-30 19:19:32.272847] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:19:32.272974] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:19:32.273086] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:19:32.276515] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"fcf501d162af4a73ab5c20574a78829f","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:19:33.141551] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:19:33.141808] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-05-30 19:19:33.221045] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:19:33.221187] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-05-30 19:19:33.221230] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*03\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *54*, para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, para el 🗓️ *03/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"510c58c2623a4121967c9c50d88c3eba","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:19:34.232140] [notice] Logging level set to:debug
[2025-05-30 19:19:34.232211] [debug] valor del webhook: {"uuid":"cbc9c919-dea7-45e5-a19a-75d36fad92f0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:34.269200] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:19:34.269342] [debug] Valor de JSON: {"uuid":"cbc9c919-dea7-45e5-a19a-75d36fad92f0","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:19:34.269473] [debug] Se actualiza un trabajo
[2025-05-30 19:19:34.269519] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:19:34.269560] [debug] No hubo cambio en el instalador ni en la fecha
[2025-05-30 19:29:56.595314] [notice] Logging level set to:debug
[2025-05-30 19:29:56.595411] [debug] valor del webhook: {"uuid":"6ddf6d7b-3938-44ee-a7f5-b2bd07c9a749","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:29:56.623722] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:29:56.623790] [debug] Valor de JSON: {"uuid":"6ddf6d7b-3938-44ee-a7f5-b2bd07c9a749","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:29:56.623992] [debug] Se actualiza un trabajo
[2025-05-30 19:29:56.624016] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:29:56.624027] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 19:29:56.624048] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:29:56.624103] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"6ddf6d7b-3938-44ee-a7f5-b2bd07c9a749","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:29:56.624119] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"6ddf6d7b-3938-44ee-a7f5-b2bd07c9a749","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1173,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:29:56.624130] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:29:56.624136] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 19:29:56.624150] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:29:56.655783] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-05-30 19:29:56.655836] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:29:56.691982] [debug] Valor de $installerFullName: Juan Rostro
[2025-05-30 19:29:56.775173] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:29:56.775218] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:29:56.775304] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:29:56.775338] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *03/06/2025*", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"3a6dfaaa7e9b43559f1e5333441befb0","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:29:57.664676] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:29:57.664787] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:29:57.664819] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:29:57.664854] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 19:29:57.664875] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 19:29:57.702188] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u00c1ngel Arvizu","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Juan Rostro*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Ángel Arvizu", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Juan Rostro*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"727d72dbd6604dd797b96cf949de1ffa","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"Daniel Humberto Soto Villegas [2]","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*03\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *54*, para el cliente 👤 *Daniel Humberto Soto Villegas [2]*, para el 🗓️ *03/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"2556dd03fb2e469fbd6ef9f0cd0ee28e","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:42:02.827620] [notice] Logging level set to:debug
[2025-05-30 19:42:02.828003] [debug] valor del webhook: {"uuid":"3cd5cecb-166d-4076-a938-a8ce9d5cdc8c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:42:02.855772] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:42:02.855828] [debug] Valor de JSON: {"uuid":"3cd5cecb-166d-4076-a938-a8ce9d5cdc8c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:42:02.856034] [debug] Se actualiza un trabajo
[2025-05-30 19:42:02.856055] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:42:02.856067] [debug] Se reprogramó el trabajo pero no hubo cambio de instalador
[2025-05-30 19:42:02.856080] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:42:02.856123] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"3cd5cecb-166d-4076-a938-a8ce9d5cdc8c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:42:02.856152] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"3cd5cecb-166d-4076-a938-a8ce9d5cdc8c","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-03T18:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:42:02.856163] [debug] Valor de $reprogramming en verifyJobActionToDo: true
[2025-05-30 19:42:02.856169] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-05-30 19:42:02.856184] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:42:02.888569] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-05-30 19:42:02.888622] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:42:02.921652] [debug] Valor de $installerFullName: Juan Rostro
[2025-05-30 19:42:03.003722] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:42:03.003849] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:42:03.003957] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:42:03.007296] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: true, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: true, ChangeInstaller: false
Enviando notificación de reprogramación al cliente, valor de reprogramming 1 y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["Estimado cliente 👤 *Daniel Humberto Soto Villegas* se ha reprogramado su visita técnica con folio *#⃣54*", "🗓️➡️ *04/06/2025*", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "715eed9d6f2d4d90853f25e296202e00",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"5bdf7194962346b4ad42af5400f935ee","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:42:04.122318] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:42:04.122936] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:42:04.123131] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:42:04.123260] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: true, ChangeInstaller: false
[2025-05-30 19:42:04.123392] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"[2] Daniel Humberto Soto Villegas","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: true, ChangeInstaller: false
Enviando notificación de reprogramación al instalador, valor de reprogramming 1 y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Juan Rostro* se reprogramó una tarea con el folio #️⃣ *54* para el cliente 👤 *[2] Daniel Humberto Soto Villegas*, la nueva fecha será el 🗓️➡️ *04/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"45d0b0bda91548959d326bdf5a792c7c","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:50:42.504424] [notice] Logging level set to:debug
[2025-05-30 19:50:42.504782] [debug] valor del webhook: {"uuid":"711cf05f-f9d1-45a6-9f7e-4a9e6fd2b8d4","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:50:42.532969] [debug] valor el evento recibido por webhook: job.edit
[2025-05-30 19:50:42.533113] [debug] Valor de JSON: {"uuid":"711cf05f-f9d1-45a6-9f7e-4a9e6fd2b8d4","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:50:42.533364] [debug] Se actualiza un trabajo
[2025-05-30 19:50:42.533423] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-05-30 19:50:42.533468] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-05-30 19:50:42.533509] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-05-30 19:50:42.533586] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"711cf05f-f9d1-45a6-9f7e-4a9e6fd2b8d4","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:50:42.533643] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"711cf05f-f9d1-45a6-9f7e-4a9e6fd2b8d4","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1172,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-05-30 19:50:42.533683] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-05-30 19:50:42.533720] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-05-30 19:50:42.533765] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Angel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-05-30 19:50:42.570734] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true}
[2025-05-30 19:50:42.570882] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-05-30 19:50:42.607685] [debug] Valor de $installerFullName: Mucio Robledo Villegas
[2025-05-30 19:50:42.698084] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-05-30 19:50:42.698201] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:50:42.698312] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-05-30 19:50:42.702286] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣54*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"d46c6d0115c64d358e5599b08d225669","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-30 19:50:43.574907] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-05-30 19:50:43.575048] [debug] Valor de $title en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:50:43.575086] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Ir a checar instalación
[2025-05-30 19:50:43.575120] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-05-30 19:50:43.575144] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-05-30 19:50:43.614706] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fJuan Rostro","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"54","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Mucio Robledo Villegas*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻Juan Rostro", "se te ha desasignado❌ la tarea con el folio ", "#⃣54", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Mucio Robledo Villegas*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"3d096a9851f64b8abfd2651682372249","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"54","clientAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Andan mal esos equipos","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *54*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1640eb56168749a2b1fd9154f426741e","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-05-31 16:00:04.861433] [notice] Logging level set to:debug
[2025-05-31 16:00:04.861510] [debug] valor del webhook: {"uuid":"058fd922-2158-48d7-b8bf-12ac25670a5d","changeType":"draft_approved","entity":"invoice","entityId":"1962","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1962,"clientId":54,"number":"001912","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1965,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:05.007189] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:05.007247] [debug] Valor de JSON: {"uuid":"058fd922-2158-48d7-b8bf-12ac25670a5d","changeType":"draft_approved","entity":"invoice","entityId":"1962","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1962,"clientId":54,"number":"001912","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1965,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:05.007469] [debug] Aprobación de Factura
[2025-05-31 16:00:05.007524] [debug] {"uuid":"058fd922-2158-48d7-b8bf-12ac25670a5d","changeType":"draft_approved","entity":"invoice","entityId":1962,"message":null,"clientId":54,"eventName":"invoice.draft_approved","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1608267,"addressGpsLon":-100.7982422,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1962,"clientId":54,"number":"001912","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1965,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":53,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORETO","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"COLORADO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:06.227622] [notice] Logging level set to:debug
[2025-05-31 16:00:06.227696] [debug] valor del webhook: {"uuid":"55f91311-8ae1-47df-b3e1-f1c559f265af","changeType":"draft_approved","entity":"invoice","entityId":"1963","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1963,"clientId":84,"number":"001913","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1966,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:06.362140] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:06.362191] [debug] Valor de JSON: {"uuid":"55f91311-8ae1-47df-b3e1-f1c559f265af","changeType":"draft_approved","entity":"invoice","entityId":"1963","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1963,"clientId":84,"number":"001913","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1966,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:06.362292] [debug] Aprobación de Factura
[2025-05-31 16:00:06.362339] [debug] {"uuid":"55f91311-8ae1-47df-b3e1-f1c559f265af","changeType":"draft_approved","entity":"invoice","entityId":1963,"message":null,"clientId":84,"eventName":"invoice.draft_approved","clientData":{"id":84,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ROLANDO","lastName":"CALVILLLO","username":"rcalvilllo84","contacts":[{"id":85,"clientId":84,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2196f3","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1963,"clientId":84,"number":"001913","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1966,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":83,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ROLANDO","clientLastName":"CALVILLLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:07.579890] [notice] Logging level set to:debug
[2025-05-31 16:00:07.579966] [debug] valor del webhook: {"uuid":"0a74429e-fae6-4fc8-86bc-f282e395d692","changeType":"draft_approved","entity":"invoice","entityId":"1964","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1964,"clientId":21,"number":"001914","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1967,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:07.739706] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:07.739763] [debug] Valor de JSON: {"uuid":"0a74429e-fae6-4fc8-86bc-f282e395d692","changeType":"draft_approved","entity":"invoice","entityId":"1964","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1964,"clientId":21,"number":"001914","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1967,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:07.739883] [debug] Aprobación de Factura
[2025-05-31 16:00:07.739938] [debug] {"uuid":"0a74429e-fae6-4fc8-86bc-f282e395d692","changeType":"draft_approved","entity":"invoice","entityId":1964,"message":null,"clientId":21,"eventName":"invoice.draft_approved","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1964,"clientId":21,"number":"001914","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1967,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:08.932185] [notice] Logging level set to:debug
[2025-05-31 16:00:08.932293] [debug] valor del webhook: {"uuid":"b1f631e0-e5d9-48ec-ac7b-31b1080ab4f0","changeType":"draft_approved","entity":"invoice","entityId":"1965","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1965,"clientId":74,"number":"001915","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1968,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:09.061868] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:09.061918] [debug] Valor de JSON: {"uuid":"b1f631e0-e5d9-48ec-ac7b-31b1080ab4f0","changeType":"draft_approved","entity":"invoice","entityId":"1965","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1965,"clientId":74,"number":"001915","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1968,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:09.062007] [debug] Aprobación de Factura
[2025-05-31 16:00:09.062048] [debug] {"uuid":"b1f631e0-e5d9-48ec-ac7b-31b1080ab4f0","changeType":"draft_approved","entity":"invoice","entityId":1965,"message":null,"clientId":74,"eventName":"invoice.draft_approved","clientData":{"id":74,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARCELO","lastName":"PALACIOS","username":"mpalacios74","contacts":[{"id":75,"clientId":74,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1965,"clientId":74,"number":"001915","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1968,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":73,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARCELO","clientLastName":"PALACIOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:10.230859] [notice] Logging level set to:debug
[2025-05-31 16:00:10.230968] [debug] valor del webhook: {"uuid":"06a51560-2a9d-43dc-b579-745c7a21d39a","changeType":"draft_approved","entity":"invoice","entityId":"1966","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1966,"clientId":46,"number":"001916","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1969,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:10.388104] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:10.388169] [debug] Valor de JSON: {"uuid":"06a51560-2a9d-43dc-b579-745c7a21d39a","changeType":"draft_approved","entity":"invoice","entityId":"1966","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1966,"clientId":46,"number":"001916","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1969,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:10.391433] [debug] Aprobación de Factura
[2025-05-31 16:00:10.391513] [debug] {"uuid":"06a51560-2a9d-43dc-b579-745c7a21d39a","changeType":"draft_approved","entity":"invoice","entityId":1966,"message":null,"clientId":46,"eventName":"invoice.draft_approved","clientData":{"id":46,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISMAEL","lastName":"PUGA","username":"ipuga46","contacts":[{"id":47,"clientId":46,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":100,"clientId":46,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtMzv6GBcULCcTh","clientZoneVisible":true},{"id":101,"clientId":46,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"6881305189499928","clientZoneVisible":true}],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1966,"clientId":46,"number":"001916","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1969,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":45,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISMAEL","clientLastName":"PUGA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:11.514689] [notice] Logging level set to:debug
[2025-05-31 16:00:11.514766] [debug] valor del webhook: {"uuid":"93e90f01-14bd-4264-8916-d9fc96fd4ec0","changeType":"draft_approved","entity":"invoice","entityId":"1967","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1967,"clientId":86,"number":"001917","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1970,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:11.652932] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:11.653017] [debug] Valor de JSON: {"uuid":"93e90f01-14bd-4264-8916-d9fc96fd4ec0","changeType":"draft_approved","entity":"invoice","entityId":"1967","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1967,"clientId":86,"number":"001917","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1970,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:11.653181] [debug] Aprobación de Factura
[2025-05-31 16:00:11.653325] [debug] {"uuid":"93e90f01-14bd-4264-8916-d9fc96fd4ec0","changeType":"draft_approved","entity":"invoice","entityId":1967,"message":null,"clientId":86,"eventName":"invoice.draft_approved","clientData":{"id":86,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PALMITAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PALMITAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"CASTILLO","username":"hcastillo86","contacts":[{"id":87,"clientId":86,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8200,"accountCredit":0,"accountOutstanding":8200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.2394677,"addressGpsLon":-100.9803471,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1967,"clientId":86,"number":"001917","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1970,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":85,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PALMITAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:12.782502] [notice] Logging level set to:debug
[2025-05-31 16:00:12.782613] [debug] valor del webhook: {"uuid":"d696e9ec-325a-4450-ab78-2384b6889480","changeType":"draft_approved","entity":"invoice","entityId":"1968","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1968,"clientId":28,"number":"001918","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1971,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:12.908070] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:12.908124] [debug] Valor de JSON: {"uuid":"d696e9ec-325a-4450-ab78-2384b6889480","changeType":"draft_approved","entity":"invoice","entityId":"1968","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1968,"clientId":28,"number":"001918","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1971,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:12.908241] [debug] Aprobación de Factura
[2025-05-31 16:00:12.908292] [debug] {"uuid":"d696e9ec-325a-4450-ab78-2384b6889480","changeType":"draft_approved","entity":"invoice","entityId":1968,"message":null,"clientId":28,"eventName":"invoice.draft_approved","clientData":{"id":28,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN GABRIEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN GABRIEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSVALDO","lastName":"GONZALEZ","username":"ogonzalez28","contacts":[{"id":29,"clientId":28,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8483.33,"accountCredit":0,"accountOutstanding":8483.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1968,"clientId":28,"number":"001918","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1971,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":27,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSVALDO","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN GABRIEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:14.023883] [notice] Logging level set to:debug
[2025-05-31 16:00:14.023952] [debug] valor del webhook: {"uuid":"3f6e6986-01e4-4a9b-9ca0-b50b805253a1","changeType":"draft_approved","entity":"invoice","entityId":"1969","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1969,"clientId":9,"number":"001919","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1972,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:14.168847] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:14.168904] [debug] Valor de JSON: {"uuid":"3f6e6986-01e4-4a9b-9ca0-b50b805253a1","changeType":"draft_approved","entity":"invoice","entityId":"1969","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1969,"clientId":9,"number":"001919","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1972,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:14.169034] [debug] Aprobación de Factura
[2025-05-31 16:00:14.169081] [debug] {"uuid":"3f6e6986-01e4-4a9b-9ca0-b50b805253a1","changeType":"draft_approved","entity":"invoice","entityId":1969,"message":null,"clientId":9,"eventName":"invoice.draft_approved","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5500,"accountCredit":0,"accountOutstanding":5500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1969,"clientId":9,"number":"001919","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1972,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":9,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JHOVANY","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GALLINERO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:15.371562] [notice] Logging level set to:debug
[2025-05-31 16:00:15.371675] [debug] valor del webhook: {"uuid":"c885d763-f3b6-49c6-8443-f47b30333c3f","changeType":"draft_approved","entity":"invoice","entityId":"1970","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1970,"clientId":88,"number":"001920","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1973,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:15.503566] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:15.503624] [debug] Valor de JSON: {"uuid":"c885d763-f3b6-49c6-8443-f47b30333c3f","changeType":"draft_approved","entity":"invoice","entityId":"1970","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1970,"clientId":88,"number":"001920","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1973,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:15.503734] [debug] Aprobación de Factura
[2025-05-31 16:00:15.503789] [debug] {"uuid":"c885d763-f3b6-49c6-8443-f47b30333c3f","changeType":"draft_approved","entity":"invoice","entityId":1970,"message":null,"clientId":88,"eventName":"invoice.draft_approved","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11700,"accountCredit":0,"accountOutstanding":11700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":21.2895071,"addressGpsLon":-100.825418,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1970,"clientId":88,"number":"001920","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1973,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":87,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CECILIA","clientLastName":"GRANDE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIFORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:17.010761] [notice] Logging level set to:debug
[2025-05-31 16:00:17.010813] [debug] valor del webhook: {"uuid":"cf805034-d9fa-4b4b-a333-e3ea381b8cd8","changeType":"draft_approved","entity":"invoice","entityId":"1971","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1971,"clientId":85,"number":"001921","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1974,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:17.162435] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:17.162497] [debug] Valor de JSON: {"uuid":"cf805034-d9fa-4b4b-a333-e3ea381b8cd8","changeType":"draft_approved","entity":"invoice","entityId":"1971","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1971,"clientId":85,"number":"001921","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1974,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:17.162638] [debug] Aprobación de Factura
[2025-05-31 16:00:17.162688] [debug] {"uuid":"cf805034-d9fa-4b4b-a333-e3ea381b8cd8","changeType":"draft_approved","entity":"invoice","entityId":1971,"message":null,"clientId":85,"eventName":"invoice.draft_approved","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8300,"accountCredit":0,"accountOutstanding":8300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1971,"clientId":85,"number":"001921","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1974,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":84,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GISELLE","clientLastName":"ARREDONDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GARABATILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:18.366220] [notice] Logging level set to:debug
[2025-05-31 16:00:18.366338] [debug] valor del webhook: {"uuid":"d3b7c95f-82cf-465b-a644-25aa4cece0f1","changeType":"draft_approved","entity":"invoice","entityId":"1972","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1972,"clientId":56,"number":"001922","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1975,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:18.495527] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:18.495587] [debug] Valor de JSON: {"uuid":"d3b7c95f-82cf-465b-a644-25aa4cece0f1","changeType":"draft_approved","entity":"invoice","entityId":"1972","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1972,"clientId":56,"number":"001922","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1975,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:18.495682] [debug] Aprobación de Factura
[2025-05-31 16:00:18.495726] [debug] {"uuid":"d3b7c95f-82cf-465b-a644-25aa4cece0f1","changeType":"draft_approved","entity":"invoice","entityId":1972,"message":null,"clientId":56,"eventName":"invoice.draft_approved","clientData":{"id":56,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NOE","lastName":"SANDOVAL","username":"nsandoval56","contacts":[{"id":57,"clientId":56,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1972,"clientId":56,"number":"001922","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1975,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":55,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NOE","clientLastName":"SANDOVAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:19.652884] [notice] Logging level set to:debug
[2025-05-31 16:00:19.652993] [debug] valor del webhook: {"uuid":"1b04a4a9-a7ff-45cd-940b-3c95cf62c007","changeType":"draft_approved","entity":"invoice","entityId":"1973","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1973,"clientId":42,"number":"001923","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1976,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:19.784090] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:19.784142] [debug] Valor de JSON: {"uuid":"1b04a4a9-a7ff-45cd-940b-3c95cf62c007","changeType":"draft_approved","entity":"invoice","entityId":"1973","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1973,"clientId":42,"number":"001923","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1976,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:19.784235] [debug] Aprobación de Factura
[2025-05-31 16:00:19.784276] [debug] {"uuid":"1b04a4a9-a7ff-45cd-940b-3c95cf62c007","changeType":"draft_approved","entity":"invoice","entityId":1973,"message":null,"clientId":42,"eventName":"invoice.draft_approved","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5110,"accountCredit":0,"accountOutstanding":5110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1973,"clientId":42,"number":"001923","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1976,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":41,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LORENA","clientLastName":"MARTINEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:20.913855] [notice] Logging level set to:debug
[2025-05-31 16:00:20.913960] [debug] valor del webhook: {"uuid":"099503de-2b11-4cb6-99ab-bbc1d7b389ab","changeType":"draft_approved","entity":"invoice","entityId":"1974","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1974,"clientId":44,"number":"001924","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1977,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:21.057003] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:21.057061] [debug] Valor de JSON: {"uuid":"099503de-2b11-4cb6-99ab-bbc1d7b389ab","changeType":"draft_approved","entity":"invoice","entityId":"1974","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1974,"clientId":44,"number":"001924","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1977,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:21.057178] [debug] Aprobación de Factura
[2025-05-31 16:00:21.057223] [debug] {"uuid":"099503de-2b11-4cb6-99ab-bbc1d7b389ab","changeType":"draft_approved","entity":"invoice","entityId":1974,"message":null,"clientId":44,"eventName":"invoice.draft_approved","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1974,"clientId":44,"number":"001924","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1977,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":43,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JAVIER","clientLastName":"BRIONES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ESTANCIA DE ZAMARRIPA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:22.180434] [notice] Logging level set to:debug
[2025-05-31 16:00:22.180542] [debug] valor del webhook: {"uuid":"ee9d6964-b3dd-4d53-a51e-88177afcb287","changeType":"draft_approved","entity":"invoice","entityId":"1975","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1975,"clientId":91,"number":"001925","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1978,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:22.317214] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:22.317272] [debug] Valor de JSON: {"uuid":"ee9d6964-b3dd-4d53-a51e-88177afcb287","changeType":"draft_approved","entity":"invoice","entityId":"1975","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1975,"clientId":91,"number":"001925","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1978,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:22.317369] [debug] Aprobación de Factura
[2025-05-31 16:00:22.317414] [debug] {"uuid":"ee9d6964-b3dd-4d53-a51e-88177afcb287","changeType":"draft_approved","entity":"invoice","entityId":1975,"message":null,"clientId":91,"eventName":"invoice.draft_approved","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.2935854,"addressGpsLon":-100.8211626,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1975,"clientId":91,"number":"001925","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1978,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":90,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CAROLINA","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CALIORNIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:23.491048] [notice] Logging level set to:debug
[2025-05-31 16:00:23.491123] [debug] valor del webhook: {"uuid":"256947a0-8dbb-4c2e-bbdd-3043a37c064e","changeType":"draft_approved","entity":"invoice","entityId":"1976","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1976,"clientId":78,"number":"001926","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1979,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:23.638818] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:23.638875] [debug] Valor de JSON: {"uuid":"256947a0-8dbb-4c2e-bbdd-3043a37c064e","changeType":"draft_approved","entity":"invoice","entityId":"1976","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1976,"clientId":78,"number":"001926","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1979,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:23.639035] [debug] Aprobación de Factura
[2025-05-31 16:00:23.639086] [debug] {"uuid":"256947a0-8dbb-4c2e-bbdd-3043a37c064e","changeType":"draft_approved","entity":"invoice","entityId":1976,"message":null,"clientId":78,"eventName":"invoice.draft_approved","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1976,"clientId":78,"number":"001926","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1979,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":77,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDER","clientLastName":"ROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:24.773148] [notice] Logging level set to:debug
[2025-05-31 16:00:24.773253] [debug] valor del webhook: {"uuid":"0095ce25-5835-49c9-bb90-420bec816841","changeType":"draft_approved","entity":"invoice","entityId":"1977","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1977,"clientId":49,"number":"001927","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1980,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:24.908772] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:24.908838] [debug] Valor de JSON: {"uuid":"0095ce25-5835-49c9-bb90-420bec816841","changeType":"draft_approved","entity":"invoice","entityId":"1977","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1977,"clientId":49,"number":"001927","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1980,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:24.908953] [debug] Aprobación de Factura
[2025-05-31 16:00:24.909023] [debug] {"uuid":"0095ce25-5835-49c9-bb90-420bec816841","changeType":"draft_approved","entity":"invoice","entityId":1977,"message":null,"clientId":49,"eventName":"invoice.draft_approved","clientData":{"id":49,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"HUMBERTO","lastName":"ARGOTE","username":"hargote49","contacts":[{"id":50,"clientId":49,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":106,"clientId":49,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1TKNidnkizX4","clientZoneVisible":true},{"id":107,"clientId":49,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"5239864893662909","clientZoneVisible":true}],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1977,"clientId":49,"number":"001927","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1980,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":48,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"HUMBERTO","clientLastName":"ARGOTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:26.053610] [notice] Logging level set to:debug
[2025-05-31 16:00:26.053694] [debug] valor del webhook: {"uuid":"0cb80388-0bb1-4aea-b5ac-fd870c701efe","changeType":"draft_approved","entity":"invoice","entityId":"1978","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1978,"clientId":5,"number":"001928","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1981,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:26.205651] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:26.205704] [debug] Valor de JSON: {"uuid":"0cb80388-0bb1-4aea-b5ac-fd870c701efe","changeType":"draft_approved","entity":"invoice","entityId":"1978","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1978,"clientId":5,"number":"001928","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1981,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:26.205823] [debug] Aprobación de Factura
[2025-05-31 16:00:26.205868] [debug] {"uuid":"0cb80388-0bb1-4aea-b5ac-fd870c701efe","changeType":"draft_approved","entity":"invoice","entityId":1978,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12533.33,"accountCredit":0,"accountOutstanding":12533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1978,"clientId":5,"number":"001928","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1981,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:26.205908] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:00:26.205916] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"0cb80388-0bb1-4aea-b5ac-fd870c701efe","changeType":"draft_approved","entity":"invoice","entityId":1978,"message":null,"clientId":5,"eventName":"invoice.draft_approved","clientData":{"id":5,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CORREGIDORA #61, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MUCIO","lastName":"ROBLEDO","username":"mrobledo05","contacts":[{"id":6,"clientId":5,"email":null,"phone":"5214181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12533.33,"accountCredit":0,"accountOutstanding":12533.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.158357169062,"addressGpsLon":-100.93191261001,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1978,"clientId":5,"number":"001928","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1981,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":5,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MUCIO","clientLastName":"ROBLEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CORREGIDORA #61, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: []
Nombre del cliente que se va a actualizar: MUCIO ROBLEDO
UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4
JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Cliente":5,"Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Saldo Actual":"\ud83d\udcb212533.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb212533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/05\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "5","Domicilio": ""Nombre": "MUCIO ROBLEDO","URL": "https://sistema.siip.mx/crm/client/5","Saldo Actual": "💲12533.33 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 31/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "31/05/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12533.33 pendientes","Monto Ultimo Pago":"💲 ","Fecha Ultimo Pago":"📆💸 31/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/5","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:00","Nombre":"👤 MUCIO ROBLEDO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Cliente":"5","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Saldo Actual":"💲12533.33 pendientes","Monto Ultimo Pago":"💲 ","Fecha Ultimo Pago":"📆💸 31/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Resumen":"{\"Cliente\": \"5\",\"Domicilio\": \"\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲12533.33 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/05/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/5","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:00","Nombre":"👤 MUCIO ROBLEDO"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:00:29.106333] [notice] Logging level set to:debug
[2025-05-31 16:00:29.106417] [debug] valor del webhook: {"uuid":"312157bb-8fa1-43bf-81f0-230341a9c3e3","changeType":"draft_approved","entity":"invoice","entityId":"1979","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1979,"clientId":102,"number":"001929","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1982,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:29.247906] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:29.247960] [debug] Valor de JSON: {"uuid":"312157bb-8fa1-43bf-81f0-230341a9c3e3","changeType":"draft_approved","entity":"invoice","entityId":"1979","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1979,"clientId":102,"number":"001929","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1982,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:29.248080] [debug] Aprobación de Factura
[2025-05-31 16:00:29.248125] [debug] {"uuid":"312157bb-8fa1-43bf-81f0-230341a9c3e3","changeType":"draft_approved","entity":"invoice","entityId":1979,"message":null,"clientId":102,"eventName":"invoice.draft_approved","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1979,"clientId":102,"number":"001929","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1982,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":101,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"XX","clientLastName":"XX","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:30.240964] [notice] Logging level set to:debug
[2025-05-31 16:00:30.241041] [debug] valor del webhook: {"uuid":"0635d47a-42d5-44d1-8add-93ef66c21cc2","changeType":"draft_approved","entity":"invoice","entityId":"1980","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1980,"clientId":22,"number":"001930","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1983,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:30.383936] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:30.383989] [debug] Valor de JSON: {"uuid":"0635d47a-42d5-44d1-8add-93ef66c21cc2","changeType":"draft_approved","entity":"invoice","entityId":"1980","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1980,"clientId":22,"number":"001930","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1983,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:30.384089] [debug] Aprobación de Factura
[2025-05-31 16:00:30.384130] [debug] {"uuid":"0635d47a-42d5-44d1-8add-93ef66c21cc2","changeType":"draft_approved","entity":"invoice","entityId":1980,"message":null,"clientId":22,"eventName":"invoice.draft_approved","clientData":{"id":22,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PUERTA DE SAN FRANCISCO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PUERTA DE SAN FRANCISCO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEBAN","lastName":"GARCIA","username":"egarcia22","contacts":[{"id":23,"clientId":22,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5430,"accountCredit":0,"accountOutstanding":5430,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.2091666,"addressGpsLon":-100.76,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1980,"clientId":22,"number":"001930","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1983,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":21,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEBAN","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PUERTA DE SAN FRANCISCO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:34.356384] [notice] Logging level set to:debug
[2025-05-31 16:00:34.356436] [debug] valor del webhook: {"uuid":"0b31336d-bc7b-46fa-b46d-9f947c1ecf87","changeType":"draft_approved","entity":"invoice","entityId":"1981","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1981,"clientId":70,"number":"001931","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1984,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:34.490824] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:34.490881] [debug] Valor de JSON: {"uuid":"0b31336d-bc7b-46fa-b46d-9f947c1ecf87","changeType":"draft_approved","entity":"invoice","entityId":"1981","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1981,"clientId":70,"number":"001931","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1984,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:34.491036] [debug] Aprobación de Factura
[2025-05-31 16:00:34.491087] [debug] {"uuid":"0b31336d-bc7b-46fa-b46d-9f947c1ecf87","changeType":"draft_approved","entity":"invoice","entityId":1981,"message":null,"clientId":70,"eventName":"invoice.draft_approved","clientData":{"id":70,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"TRUJILLO","username":"atrujillo70","contacts":[{"id":71,"clientId":70,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1981,"clientId":70,"number":"001931","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1984,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":69,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"TRUJILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:35.641813] [notice] Logging level set to:debug
[2025-05-31 16:00:35.641890] [debug] valor del webhook: {"uuid":"390873b2-8d64-47be-b449-38247ab23e2b","changeType":"draft_approved","entity":"invoice","entityId":"1982","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1982,"clientId":17,"number":"001932","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1985,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:35.787424] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:35.787475] [debug] Valor de JSON: {"uuid":"390873b2-8d64-47be-b449-38247ab23e2b","changeType":"draft_approved","entity":"invoice","entityId":"1982","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1982,"clientId":17,"number":"001932","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1985,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:35.787579] [debug] Aprobación de Factura
[2025-05-31 16:00:35.787621] [debug] {"uuid":"390873b2-8d64-47be-b449-38247ab23e2b","changeType":"draft_approved","entity":"invoice","entityId":1982,"message":null,"clientId":17,"eventName":"invoice.draft_approved","clientData":{"id":17,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"CIENEGUILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"CIENEGUILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUAN","lastName":"LOPEZ","username":"jlopez17","contacts":[{"id":18,"clientId":17,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5690,"accountCredit":0,"accountOutstanding":5690,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.0749852,"addressGpsLon":-100.937613,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1982,"clientId":17,"number":"001932","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1985,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":16,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUAN","clientLastName":"LOPEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"CIENEGUILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:36.940087] [notice] Logging level set to:debug
[2025-05-31 16:00:36.940196] [debug] valor del webhook: {"uuid":"4437b481-e38b-49be-a26c-dd613827c41e","changeType":"draft_approved","entity":"invoice","entityId":"1983","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1983,"clientId":66,"number":"001933","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1986,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:37.099354] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:37.099406] [debug] Valor de JSON: {"uuid":"4437b481-e38b-49be-a26c-dd613827c41e","changeType":"draft_approved","entity":"invoice","entityId":"1983","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1983,"clientId":66,"number":"001933","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1986,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:37.099528] [debug] Aprobación de Factura
[2025-05-31 16:00:37.099574] [debug] {"uuid":"4437b481-e38b-49be-a26c-dd613827c41e","changeType":"draft_approved","entity":"invoice","entityId":1983,"message":null,"clientId":66,"eventName":"invoice.draft_approved","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1983,"clientId":66,"number":"001933","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1986,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":65,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LAURA","clientLastName":"CRUCES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:38.239447] [notice] Logging level set to:debug
[2025-05-31 16:00:38.239533] [debug] valor del webhook: {"uuid":"2ecc7492-3c06-4d47-910c-5d61506abd76","changeType":"draft_approved","entity":"invoice","entityId":"1984","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1984,"clientId":7,"number":"001934","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1987,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:38.372268] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:38.372330] [debug] Valor de JSON: {"uuid":"2ecc7492-3c06-4d47-910c-5d61506abd76","changeType":"draft_approved","entity":"invoice","entityId":"1984","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1984,"clientId":7,"number":"001934","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1987,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:38.372452] [debug] Aprobación de Factura
[2025-05-31 16:00:38.372497] [debug] {"uuid":"2ecc7492-3c06-4d47-910c-5d61506abd76","changeType":"draft_approved","entity":"invoice","entityId":1984,"message":null,"clientId":7,"eventName":"invoice.draft_approved","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1191939,"addressGpsLon":-100.8698211,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1984,"clientId":7,"number":"001934","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1987,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":7,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JESUS","clientLastName":"GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:39.481625] [notice] Logging level set to:debug
[2025-05-31 16:00:39.481715] [debug] valor del webhook: {"uuid":"8febbcf0-dfa7-4d30-9f47-fd7688cfe5d8","changeType":"draft_approved","entity":"invoice","entityId":"1985","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1985,"clientId":38,"number":"001935","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1988,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:39.612042] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:39.612097] [debug] Valor de JSON: {"uuid":"8febbcf0-dfa7-4d30-9f47-fd7688cfe5d8","changeType":"draft_approved","entity":"invoice","entityId":"1985","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1985,"clientId":38,"number":"001935","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1988,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:39.612195] [debug] Aprobación de Factura
[2025-05-31 16:00:39.612237] [debug] {"uuid":"8febbcf0-dfa7-4d30-9f47-fd7688cfe5d8","changeType":"draft_approved","entity":"invoice","entityId":1985,"message":null,"clientId":38,"eventName":"invoice.draft_approved","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1985,"clientId":38,"number":"001935","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1988,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":37,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGELICA","clientLastName":"ROMAN","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:40.743180] [notice] Logging level set to:debug
[2025-05-31 16:00:40.743237] [debug] valor del webhook: {"uuid":"7b54927b-b6ba-4d0a-9561-d0b3df60821e","changeType":"draft_approved","entity":"invoice","entityId":"1986","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1986,"clientId":62,"number":"001936","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1989,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:40.886604] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:40.886653] [debug] Valor de JSON: {"uuid":"7b54927b-b6ba-4d0a-9561-d0b3df60821e","changeType":"draft_approved","entity":"invoice","entityId":"1986","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1986,"clientId":62,"number":"001936","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1989,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:40.886744] [debug] Aprobación de Factura
[2025-05-31 16:00:40.886786] [debug] {"uuid":"7b54927b-b6ba-4d0a-9561-d0b3df60821e","changeType":"draft_approved","entity":"invoice","entityId":1986,"message":null,"clientId":62,"eventName":"invoice.draft_approved","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff5722","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1986,"clientId":62,"number":"001936","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1989,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":61,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"BERNAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:42.017618] [notice] Logging level set to:debug
[2025-05-31 16:00:42.017679] [debug] valor del webhook: {"uuid":"9281b28a-7c45-43ee-9c59-7f883d8c603b","changeType":"draft_approved","entity":"invoice","entityId":"1987","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1987,"clientId":82,"number":"001937","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1990,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:42.149447] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:42.149499] [debug] Valor de JSON: {"uuid":"9281b28a-7c45-43ee-9c59-7f883d8c603b","changeType":"draft_approved","entity":"invoice","entityId":"1987","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1987,"clientId":82,"number":"001937","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1990,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:42.149624] [debug] Aprobación de Factura
[2025-05-31 16:00:42.149667] [debug] {"uuid":"9281b28a-7c45-43ee-9c59-7f883d8c603b","changeType":"draft_approved","entity":"invoice","entityId":1987,"message":null,"clientId":82,"eventName":"invoice.draft_approved","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1987,"clientId":82,"number":"001937","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1990,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":81,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AGUSTINA","clientLastName":"PERICLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:43.281096] [notice] Logging level set to:debug
[2025-05-31 16:00:43.281178] [debug] valor del webhook: {"uuid":"1fb0df53-9fcf-4107-ac32-bfcc11b4b9d6","changeType":"draft_approved","entity":"invoice","entityId":"1988","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1988,"clientId":89,"number":"001938","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1991,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:43.432051] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:43.432120] [debug] Valor de JSON: {"uuid":"1fb0df53-9fcf-4107-ac32-bfcc11b4b9d6","changeType":"draft_approved","entity":"invoice","entityId":"1988","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1988,"clientId":89,"number":"001938","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1991,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:43.432218] [debug] Aprobación de Factura
[2025-05-31 16:00:43.432260] [debug] {"uuid":"1fb0df53-9fcf-4107-ac32-bfcc11b4b9d6","changeType":"draft_approved","entity":"invoice","entityId":1988,"message":null,"clientId":89,"eventName":"invoice.draft_approved","clientData":{"id":89,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RIO LAJA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RIO LAJA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"SANCHEZ","username":"tsanchez89","contacts":[{"id":90,"clientId":89,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.2023922,"addressGpsLon":-100.9220375,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1988,"clientId":89,"number":"001938","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1991,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":88,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RIO LAJA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:44.578087] [notice] Logging level set to:debug
[2025-05-31 16:00:44.578145] [debug] valor del webhook: {"uuid":"d6424338-82f1-4ac9-99ef-4c4cb568afe4","changeType":"draft_approved","entity":"invoice","entityId":"1989","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1989,"clientId":45,"number":"001939","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1992,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:44.740633] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:44.740686] [debug] Valor de JSON: {"uuid":"d6424338-82f1-4ac9-99ef-4c4cb568afe4","changeType":"draft_approved","entity":"invoice","entityId":"1989","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1989,"clientId":45,"number":"001939","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1992,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:44.740782] [debug] Aprobación de Factura
[2025-05-31 16:00:44.740825] [debug] {"uuid":"d6424338-82f1-4ac9-99ef-4c4cb568afe4","changeType":"draft_approved","entity":"invoice","entityId":1989,"message":null,"clientId":45,"eventName":"invoice.draft_approved","clientData":{"id":45,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALBERTO","lastName":"GRANADOS","username":"agranados45","contacts":[{"id":46,"clientId":45,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":98,"clientId":45,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1E1ePcRAA689","clientZoneVisible":true},{"id":99,"clientId":45,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"9271357829475893","clientZoneVisible":true}],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff9800","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1989,"clientId":45,"number":"001939","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1992,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":44,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALBERTO","clientLastName":"GRANADOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:45.890940] [notice] Logging level set to:debug
[2025-05-31 16:00:45.891062] [debug] valor del webhook: {"uuid":"62c562ca-a4ad-4d38-b5b5-daacbeba5577","changeType":"draft_approved","entity":"invoice","entityId":"1990","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1990,"clientId":100,"number":"001940","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1993,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:46.032316] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:46.032373] [debug] Valor de JSON: {"uuid":"62c562ca-a4ad-4d38-b5b5-daacbeba5577","changeType":"draft_approved","entity":"invoice","entityId":"1990","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1990,"clientId":100,"number":"001940","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1993,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:46.032500] [debug] Aprobación de Factura
[2025-05-31 16:00:46.032546] [debug] {"uuid":"62c562ca-a4ad-4d38-b5b5-daacbeba5577","changeType":"draft_approved","entity":"invoice","entityId":1990,"message":null,"clientId":100,"eventName":"invoice.draft_approved","clientData":{"id":100,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RENE","lastName":"BUSTOS","username":"rbustos00","contacts":[{"id":101,"clientId":100,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1990,"clientId":100,"number":"001940","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1993,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":99,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RENE","clientLastName":"BUSTOS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:47.176789] [notice] Logging level set to:debug
[2025-05-31 16:00:47.176843] [debug] valor del webhook: {"uuid":"36472f0a-847c-4eaf-8fae-b58a3a92f324","changeType":"draft_approved","entity":"invoice","entityId":"1991","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1991,"clientId":10,"number":"001941","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1994,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:47.319675] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:47.319731] [debug] Valor de JSON: {"uuid":"36472f0a-847c-4eaf-8fae-b58a3a92f324","changeType":"draft_approved","entity":"invoice","entityId":"1991","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1991,"clientId":10,"number":"001941","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1994,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:47.319830] [debug] Aprobación de Factura
[2025-05-31 16:00:47.319873] [debug] {"uuid":"36472f0a-847c-4eaf-8fae-b58a3a92f324","changeType":"draft_approved","entity":"invoice","entityId":1991,"message":null,"clientId":10,"eventName":"invoice.draft_approved","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1991,"clientId":10,"number":"001941","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1994,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:48.448971] [notice] Logging level set to:debug
[2025-05-31 16:00:48.449039] [debug] valor del webhook: {"uuid":"e9f56e12-ff78-422c-afc4-e295d62919a3","changeType":"draft_approved","entity":"invoice","entityId":"1992","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1992,"clientId":27,"number":"001942","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1995,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:48.576967] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:48.577018] [debug] Valor de JSON: {"uuid":"e9f56e12-ff78-422c-afc4-e295d62919a3","changeType":"draft_approved","entity":"invoice","entityId":"1992","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1992,"clientId":27,"number":"001942","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1995,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:48.577133] [debug] Aprobación de Factura
[2025-05-31 16:00:48.577174] [debug] {"uuid":"e9f56e12-ff78-422c-afc4-e295d62919a3","changeType":"draft_approved","entity":"invoice","entityId":1992,"message":null,"clientId":27,"eventName":"invoice.draft_approved","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1992,"clientId":27,"number":"001942","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1995,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":26,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXIS","clientLastName":"DIAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA RITA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:49.722793] [notice] Logging level set to:debug
[2025-05-31 16:00:49.722877] [debug] valor del webhook: {"uuid":"3469426c-23c0-4db5-ad5a-88418082fd25","changeType":"draft_approved","entity":"invoice","entityId":"1993","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1993,"clientId":19,"number":"001943","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1996,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:49.872124] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:49.872183] [debug] Valor de JSON: {"uuid":"3469426c-23c0-4db5-ad5a-88418082fd25","changeType":"draft_approved","entity":"invoice","entityId":"1993","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1993,"clientId":19,"number":"001943","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1996,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:49.872291] [debug] Aprobación de Factura
[2025-05-31 16:00:49.872349] [debug] {"uuid":"3469426c-23c0-4db5-ad5a-88418082fd25","changeType":"draft_approved","entity":"invoice","entityId":1993,"message":null,"clientId":19,"eventName":"invoice.draft_approved","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-9933.33,"accountCredit":0,"accountOutstanding":9933.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff5722","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1993,"clientId":19,"number":"001943","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1996,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":18,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARIA","clientLastName":"RODRIGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:51.013113] [notice] Logging level set to:debug
[2025-05-31 16:00:51.013169] [debug] valor del webhook: {"uuid":"409f43fd-87ac-4ed8-8523-611759cbe723","changeType":"draft_approved","entity":"invoice","entityId":"1994","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1994,"clientId":63,"number":"001944","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1997,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:51.150394] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:51.150449] [debug] Valor de JSON: {"uuid":"409f43fd-87ac-4ed8-8523-611759cbe723","changeType":"draft_approved","entity":"invoice","entityId":"1994","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1994,"clientId":63,"number":"001944","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1997,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:51.150562] [debug] Aprobación de Factura
[2025-05-31 16:00:51.150604] [debug] {"uuid":"409f43fd-87ac-4ed8-8523-611759cbe723","changeType":"draft_approved","entity":"invoice","entityId":1994,"message":null,"clientId":63,"eventName":"invoice.draft_approved","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1994,"clientId":63,"number":"001944","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1997,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":62,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONELA","clientLastName":"ROBLES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:52.312581] [notice] Logging level set to:debug
[2025-05-31 16:00:52.312659] [debug] valor del webhook: {"uuid":"2ba61d64-7aba-4d83-af52-af0f62727dd2","changeType":"draft_approved","entity":"invoice","entityId":"1995","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1995,"clientId":48,"number":"001945","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1998,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:52.445229] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:52.445278] [debug] Valor de JSON: {"uuid":"2ba61d64-7aba-4d83-af52-af0f62727dd2","changeType":"draft_approved","entity":"invoice","entityId":"1995","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1995,"clientId":48,"number":"001945","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1998,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:52.445369] [debug] Aprobación de Factura
[2025-05-31 16:00:52.445415] [debug] {"uuid":"2ba61d64-7aba-4d83-af52-af0f62727dd2","changeType":"draft_approved","entity":"invoice","entityId":1995,"message":null,"clientId":48,"eventName":"invoice.draft_approved","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":104,"clientId":48,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1VUj6JXVCcUu","clientZoneVisible":true},{"id":105,"clientId":48,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"4896043950637164","clientZoneVisible":true}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#558b2f","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1995,"clientId":48,"number":"001945","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1998,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":47,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ISELA","clientLastName":"AZPEITIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTIAGUILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:53.588577] [notice] Logging level set to:debug
[2025-05-31 16:00:53.588653] [debug] valor del webhook: {"uuid":"b2188509-210f-4e98-81f3-a42eda05396d","changeType":"draft_approved","entity":"invoice","entityId":"1996","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1996,"clientId":79,"number":"001946","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1999,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:53.715104] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:53.715158] [debug] Valor de JSON: {"uuid":"b2188509-210f-4e98-81f3-a42eda05396d","changeType":"draft_approved","entity":"invoice","entityId":"1996","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1996,"clientId":79,"number":"001946","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":1999,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:53.715254] [debug] Aprobación de Factura
[2025-05-31 16:00:53.715296] [debug] {"uuid":"b2188509-210f-4e98-81f3-a42eda05396d","changeType":"draft_approved","entity":"invoice","entityId":1996,"message":null,"clientId":79,"eventName":"invoice.draft_approved","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8000,"accountCredit":0,"accountOutstanding":8000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1996,"clientId":79,"number":"001946","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1999,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:54.843694] [notice] Logging level set to:debug
[2025-05-31 16:00:54.843791] [debug] valor del webhook: {"uuid":"45577f52-5819-47b9-8722-fff35b21e4a1","changeType":"draft_approved","entity":"invoice","entityId":"1997","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1997,"clientId":53,"number":"001947","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2000,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:54.988593] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:54.988651] [debug] Valor de JSON: {"uuid":"45577f52-5819-47b9-8722-fff35b21e4a1","changeType":"draft_approved","entity":"invoice","entityId":"1997","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1997,"clientId":53,"number":"001947","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2000,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:54.988771] [debug] Aprobación de Factura
[2025-05-31 16:00:54.988816] [debug] {"uuid":"45577f52-5819-47b9-8722-fff35b21e4a1","changeType":"draft_approved","entity":"invoice","entityId":1997,"message":null,"clientId":53,"eventName":"invoice.draft_approved","clientData":{"id":53,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONIO","lastName":"CHAVEZ","username":"achavez53","contacts":[{"id":54,"clientId":53,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1197222,"addressGpsLon":-100.7872222,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1997,"clientId":53,"number":"001947","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2000,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":52,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANTONIO","clientLastName":"CHAVEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:56.129044] [notice] Logging level set to:debug
[2025-05-31 16:00:56.129117] [debug] valor del webhook: {"uuid":"c1a5f0e4-4f09-4fc8-99e8-dc94ce3093fb","changeType":"draft_approved","entity":"invoice","entityId":"1998","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1998,"clientId":76,"number":"001948","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2001,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:56.262161] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:56.262217] [debug] Valor de JSON: {"uuid":"c1a5f0e4-4f09-4fc8-99e8-dc94ce3093fb","changeType":"draft_approved","entity":"invoice","entityId":"1998","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1998,"clientId":76,"number":"001948","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2001,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:56.262314] [debug] Aprobación de Factura
[2025-05-31 16:00:56.262356] [debug] {"uuid":"c1a5f0e4-4f09-4fc8-99e8-dc94ce3093fb","changeType":"draft_approved","entity":"invoice","entityId":1998,"message":null,"clientId":76,"eventName":"invoice.draft_approved","clientData":{"id":76,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"RANGEL","username":"erangel76","contacts":[{"id":77,"clientId":76,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1998,"clientId":76,"number":"001948","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2001,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":75,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"RANGEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:57.409401] [notice] Logging level set to:debug
[2025-05-31 16:00:57.409499] [debug] valor del webhook: {"uuid":"b4e82dd2-6e5d-40aa-88c2-473f0ce8b555","changeType":"draft_approved","entity":"invoice","entityId":"1999","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1999,"clientId":73,"number":"001949","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2002,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:57.547655] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:57.547709] [debug] Valor de JSON: {"uuid":"b4e82dd2-6e5d-40aa-88c2-473f0ce8b555","changeType":"draft_approved","entity":"invoice","entityId":"1999","eventName":"invoice.draft_approved","extraData":{"entity":{"id":1999,"clientId":73,"number":"001949","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2002,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:57.547849] [debug] Aprobación de Factura
[2025-05-31 16:00:57.547895] [debug] {"uuid":"b4e82dd2-6e5d-40aa-88c2-473f0ce8b555","changeType":"draft_approved","entity":"invoice","entityId":1999,"message":null,"clientId":73,"eventName":"invoice.draft_approved","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1999,"clientId":73,"number":"001949","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2002,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":72,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ERICK","clientLastName":"VAZQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:58.688282] [notice] Logging level set to:debug
[2025-05-31 16:00:58.688349] [debug] valor del webhook: {"uuid":"ed1074f6-6ba5-4ed3-ba7f-796be44f3204","changeType":"draft_approved","entity":"invoice","entityId":"2000","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2000,"clientId":65,"number":"001950","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2003,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:58.826920] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:00:58.826977] [debug] Valor de JSON: {"uuid":"ed1074f6-6ba5-4ed3-ba7f-796be44f3204","changeType":"draft_approved","entity":"invoice","entityId":"2000","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2000,"clientId":65,"number":"001950","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2003,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:00:58.827105] [debug] Aprobación de Factura
[2025-05-31 16:00:58.827151] [debug] {"uuid":"ed1074f6-6ba5-4ed3-ba7f-796be44f3204","changeType":"draft_approved","entity":"invoice","entityId":2000,"message":null,"clientId":65,"eventName":"invoice.draft_approved","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2000,"clientId":65,"number":"001950","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2003,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:00:59.980782] [notice] Logging level set to:debug
[2025-05-31 16:00:59.980835] [debug] valor del webhook: {"uuid":"63ebb6d0-d7da-4121-8336-199005b8b23f","changeType":"draft_approved","entity":"invoice","entityId":"2001","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2001,"clientId":94,"number":"001951","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2004,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:00.282042] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:00.282098] [debug] Valor de JSON: {"uuid":"63ebb6d0-d7da-4121-8336-199005b8b23f","changeType":"draft_approved","entity":"invoice","entityId":"2001","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2001,"clientId":94,"number":"001951","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2004,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:00.282200] [debug] Aprobación de Factura
[2025-05-31 16:01:00.282242] [debug] {"uuid":"63ebb6d0-d7da-4121-8336-199005b8b23f","changeType":"draft_approved","entity":"invoice","entityId":2001,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2001,"clientId":94,"number":"001951","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2004,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:00.282270] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:01:00.282279] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"63ebb6d0-d7da-4121-8336-199005b8b23f","changeType":"draft_approved","entity":"invoice","entityId":2001,"message":null,"clientId":94,"eventName":"invoice.draft_approved","clientData":{"id":94,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARTIN","lastName":"TREJO","username":"mtrejo94","contacts":[{"id":95,"clientId":94,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2001,"clientId":94,"number":"001951","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2004,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":93,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARTIN","clientLastName":"TREJO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":17,"clientId":94,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-31T15:59:03-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":22,"invoiceId":87,"paymentId":17,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1000,"attributes":[]}]
Nombre del cliente que se va a actualizar: MARTIN TREJO
UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4
JSON con los datos a actualizar: {"name":"MARTIN TREJO","custom_fields":{"Cliente":94,"Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 MARTIN TREJO","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Saldo Actual":"\ud83d\udcb25100 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb25100 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "94","Domicilio": ""Nombre": "MARTIN TREJO","URL": "https://sistema.siip.mx/crm/client/94","Saldo Actual": "💲5100 pendientes","Monto Ultimo Pago": "$ 200","Estado": "Suspendido","Fecha Ultimo Pago": " 31/01/2024 15:59 con Efectivo 💵","Fecha Ultima Actualizacion": "31/05/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲5100 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/94","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01","Nombre":"👤 MARTIN TREJO","Cliente":"94","Saldo Actual":"💲5100 pendientes","Monto Ultimo Pago":"💲 200","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"94\",\"Domicilio\": \"\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲5100 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/94","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01","Nombre":"👤 MARTIN TREJO","Cliente":"94","Saldo Actual":"💲5100 pendientes","Monto Ultimo Pago":"💲 200","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:01:03.105777] [notice] Logging level set to:debug
[2025-05-31 16:01:03.105830] [debug] valor del webhook: {"uuid":"c8b96ea2-2f56-483a-9a80-f2a0d88a0d2c","changeType":"draft_approved","entity":"invoice","entityId":"2002","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2002,"clientId":33,"number":"001952","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2005,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:03.267775] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:03.267824] [debug] Valor de JSON: {"uuid":"c8b96ea2-2f56-483a-9a80-f2a0d88a0d2c","changeType":"draft_approved","entity":"invoice","entityId":"2002","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2002,"clientId":33,"number":"001952","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2005,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:03.270883] [debug] Aprobación de Factura
[2025-05-31 16:01:03.270946] [debug] {"uuid":"c8b96ea2-2f56-483a-9a80-f2a0d88a0d2c","changeType":"draft_approved","entity":"invoice","entityId":2002,"message":null,"clientId":33,"eventName":"invoice.draft_approved","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5350,"accountCredit":0,"accountOutstanding":5350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2002,"clientId":33,"number":"001952","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2005,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":32,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURELIA","clientLastName":"BARAJAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA CECILIA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:04.274769] [notice] Logging level set to:debug
[2025-05-31 16:01:04.274862] [debug] valor del webhook: {"uuid":"d9fee43e-236c-46cd-a481-fa70e30d6798","changeType":"draft_approved","entity":"invoice","entityId":"2003","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2003,"clientId":59,"number":"001953","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2006,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:04.407068] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:04.407121] [debug] Valor de JSON: {"uuid":"d9fee43e-236c-46cd-a481-fa70e30d6798","changeType":"draft_approved","entity":"invoice","entityId":"2003","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2003,"clientId":59,"number":"001953","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2006,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:04.407232] [debug] Aprobación de Factura
[2025-05-31 16:01:04.407277] [debug] {"uuid":"d9fee43e-236c-46cd-a481-fa70e30d6798","changeType":"draft_approved","entity":"invoice","entityId":2003,"message":null,"clientId":59,"eventName":"invoice.draft_approved","clientData":{"id":59,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAMSES","lastName":"HERRERA","username":"rherrera59","contacts":[{"id":60,"clientId":59,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00acc1","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2003,"clientId":59,"number":"001953","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2006,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":58,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAMSES","clientLastName":"HERRERA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:05.544384] [notice] Logging level set to:debug
[2025-05-31 16:01:05.544476] [debug] valor del webhook: {"uuid":"13764763-f5ca-4f80-8045-138cb9fbd014","changeType":"draft_approved","entity":"invoice","entityId":"2004","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2004,"clientId":37,"number":"001954","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2007,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:05.683237] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:05.683288] [debug] Valor de JSON: {"uuid":"13764763-f5ca-4f80-8045-138cb9fbd014","changeType":"draft_approved","entity":"invoice","entityId":"2004","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2004,"clientId":37,"number":"001954","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2007,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:05.683393] [debug] Aprobación de Factura
[2025-05-31 16:01:05.683438] [debug] {"uuid":"13764763-f5ca-4f80-8045-138cb9fbd014","changeType":"draft_approved","entity":"invoice","entityId":2004,"message":null,"clientId":37,"eventName":"invoice.draft_approved","clientData":{"id":37,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA SOLEDAD","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA SOLEDAD, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU","username":"aarvizu37","contacts":[{"id":38,"clientId":37,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2004,"clientId":37,"number":"001954","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2007,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":36,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA SOLEDAD","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:06.852404] [notice] Logging level set to:debug
[2025-05-31 16:01:06.852459] [debug] valor del webhook: {"uuid":"0ecf9162-f9dd-4836-8632-31e6cf9c5c22","changeType":"draft_approved","entity":"invoice","entityId":"2005","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2005,"clientId":71,"number":"001955","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2008,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:06.993736] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:06.993791] [debug] Valor de JSON: {"uuid":"0ecf9162-f9dd-4836-8632-31e6cf9c5c22","changeType":"draft_approved","entity":"invoice","entityId":"2005","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2005,"clientId":71,"number":"001955","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2008,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:06.993913] [debug] Aprobación de Factura
[2025-05-31 16:01:06.993961] [debug] {"uuid":"0ecf9162-f9dd-4836-8632-31e6cf9c5c22","changeType":"draft_approved","entity":"invoice","entityId":2005,"message":null,"clientId":71,"eventName":"invoice.draft_approved","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2005,"clientId":71,"number":"001955","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2008,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":70,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MNARIA","clientLastName":"ALVAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:08.151171] [notice] Logging level set to:debug
[2025-05-31 16:01:08.151236] [debug] valor del webhook: {"uuid":"cb25e17e-6813-458f-998f-f953f2edb651","changeType":"draft_approved","entity":"invoice","entityId":"2006","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2006,"clientId":96,"number":"001956","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2009,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:08.280680] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:08.280735] [debug] Valor de JSON: {"uuid":"cb25e17e-6813-458f-998f-f953f2edb651","changeType":"draft_approved","entity":"invoice","entityId":"2006","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2006,"clientId":96,"number":"001956","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2009,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:08.280839] [debug] Aprobación de Factura
[2025-05-31 16:01:08.280883] [debug] {"uuid":"cb25e17e-6813-458f-998f-f953f2edb651","changeType":"draft_approved","entity":"invoice","entityId":2006,"message":null,"clientId":96,"eventName":"invoice.draft_approved","clientData":{"id":96,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PAMELA","lastName":"RAMIREZ","username":"pramirez96","contacts":[{"id":97,"clientId":96,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2006,"clientId":96,"number":"001956","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2009,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":95,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PAMELA","clientLastName":"RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:09.461338] [notice] Logging level set to:debug
[2025-05-31 16:01:09.461410] [debug] valor del webhook: {"uuid":"08fa89e6-8204-48a2-91aa-928d1fe3542e","changeType":"draft_approved","entity":"invoice","entityId":"2007","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2007,"clientId":23,"number":"001957","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2010,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:09.603167] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:09.603220] [debug] Valor de JSON: {"uuid":"08fa89e6-8204-48a2-91aa-928d1fe3542e","changeType":"draft_approved","entity":"invoice","entityId":"2007","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2007,"clientId":23,"number":"001957","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2010,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:09.603338] [debug] Aprobación de Factura
[2025-05-31 16:01:09.603384] [debug] {"uuid":"08fa89e6-8204-48a2-91aa-928d1fe3542e","changeType":"draft_approved","entity":"invoice","entityId":2007,"message":null,"clientId":23,"eventName":"invoice.draft_approved","clientData":{"id":23,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TABASCO #45, ZONA CENTRO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TABASCO #45, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OSCAR","lastName":"GUERRERO","username":"oguerrero23","contacts":[{"id":24,"clientId":23,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#283593","addressGpsLat":21.1550814,"addressGpsLon":-100.9341575,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2007,"clientId":23,"number":"001957","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2010,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":22,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OSCAR","clientLastName":"GUERRERO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TABASCO #45, ZONA CENTRO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:10.743680] [notice] Logging level set to:debug
[2025-05-31 16:01:10.743789] [debug] valor del webhook: {"uuid":"0062b184-6b68-4ae6-9cb6-211ad73843ad","changeType":"draft_approved","entity":"invoice","entityId":"2008","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2008,"clientId":55,"number":"001958","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2011,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:10.873435] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:10.873491] [debug] Valor de JSON: {"uuid":"0062b184-6b68-4ae6-9cb6-211ad73843ad","changeType":"draft_approved","entity":"invoice","entityId":"2008","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2008,"clientId":55,"number":"001958","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2011,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:10.873596] [debug] Aprobación de Factura
[2025-05-31 16:01:10.873642] [debug] {"uuid":"0062b184-6b68-4ae6-9cb6-211ad73843ad","changeType":"draft_approved","entity":"invoice","entityId":2008,"message":null,"clientId":55,"eventName":"invoice.draft_approved","clientData":{"id":55,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JOSE","lastName":"SANCHEZ","username":"jsanchez55","contacts":[{"id":56,"clientId":55,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8e24aa","addressGpsLat":21.1081412,"addressGpsLon":-100.9422033,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2008,"clientId":55,"number":"001958","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2011,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":54,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JOSE","clientLastName":"SANCHEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:11.990926] [notice] Logging level set to:debug
[2025-05-31 16:01:11.991055] [debug] valor del webhook: {"uuid":"10e397ab-530f-4c1a-9bf0-0f184fbc25c8","changeType":"draft_approved","entity":"invoice","entityId":"2009","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2009,"clientId":64,"number":"001959","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2012,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:12.129261] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:12.129314] [debug] Valor de JSON: {"uuid":"10e397ab-530f-4c1a-9bf0-0f184fbc25c8","changeType":"draft_approved","entity":"invoice","entityId":"2009","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2009,"clientId":64,"number":"001959","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2012,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:12.129412] [debug] Aprobación de Factura
[2025-05-31 16:01:12.129461] [debug] {"uuid":"10e397ab-530f-4c1a-9bf0-0f184fbc25c8","changeType":"draft_approved","entity":"invoice","entityId":2009,"message":null,"clientId":64,"eventName":"invoice.draft_approved","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2009,"clientId":64,"number":"001959","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2012,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":63,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"LANDEROS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:13.298114] [notice] Logging level set to:debug
[2025-05-31 16:01:13.298223] [debug] valor del webhook: {"uuid":"7e7bd76b-6aea-49f2-9575-d75e929ae923","changeType":"draft_approved","entity":"invoice","entityId":"2010","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2010,"clientId":57,"number":"001960","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2013,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:13.428037] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:13.428092] [debug] Valor de JSON: {"uuid":"7e7bd76b-6aea-49f2-9575-d75e929ae923","changeType":"draft_approved","entity":"invoice","entityId":"2010","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2010,"clientId":57,"number":"001960","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2013,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:13.428212] [debug] Aprobación de Factura
[2025-05-31 16:01:13.428261] [debug] {"uuid":"7e7bd76b-6aea-49f2-9575-d75e929ae923","changeType":"draft_approved","entity":"invoice","entityId":2010,"message":null,"clientId":57,"eventName":"invoice.draft_approved","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2010,"clientId":57,"number":"001960","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2013,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":56,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SANDRO","clientLastName":"MARQUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:14.580276] [notice] Logging level set to:debug
[2025-05-31 16:01:14.580331] [debug] valor del webhook: {"uuid":"17443149-d984-4d60-b842-3cbe3d85d400","changeType":"draft_approved","entity":"invoice","entityId":"2011","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2011,"clientId":52,"number":"001961","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2014,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:14.703881] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:14.703929] [debug] Valor de JSON: {"uuid":"17443149-d984-4d60-b842-3cbe3d85d400","changeType":"draft_approved","entity":"invoice","entityId":"2011","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2011,"clientId":52,"number":"001961","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2014,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:14.704032] [debug] Aprobación de Factura
[2025-05-31 16:01:14.704076] [debug] {"uuid":"17443149-d984-4d60-b842-3cbe3d85d400","changeType":"draft_approved","entity":"invoice","entityId":2011,"message":null,"clientId":52,"eventName":"invoice.draft_approved","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1534937,"addressGpsLon":-100.9123301,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2011,"clientId":52,"number":"001961","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2014,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":51,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RODRIGO","clientLastName":"PE\u00d1A","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL CARMEN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:15.914721] [notice] Logging level set to:debug
[2025-05-31 16:01:15.914778] [debug] valor del webhook: {"uuid":"5427d934-1a93-47fc-9a41-177c58a069d9","changeType":"draft_approved","entity":"invoice","entityId":"2012","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2012,"clientId":14,"number":"001962","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2015,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:16.109034] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:16.109086] [debug] Valor de JSON: {"uuid":"5427d934-1a93-47fc-9a41-177c58a069d9","changeType":"draft_approved","entity":"invoice","entityId":"2012","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2012,"clientId":14,"number":"001962","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2015,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:16.109189] [debug] Aprobación de Factura
[2025-05-31 16:01:16.109232] [debug] {"uuid":"5427d934-1a93-47fc-9a41-177c58a069d9","changeType":"draft_approved","entity":"invoice","entityId":2012,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2012,"clientId":14,"number":"001962","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2015,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:16.109271] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:01:16.109281] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"5427d934-1a93-47fc-9a41-177c58a069d9","changeType":"draft_approved","entity":"invoice","entityId":2012,"message":null,"clientId":14,"eventName":"invoice.draft_approved","clientData":{"id":14,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LINDAVISTA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LINDAVISTA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDRO","lastName":"ARIAS","username":"aarias14","contacts":[{"id":15,"clientId":14,"email":null,"phone":"+1 682-260-4759","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3600,"accountCredit":0,"accountOutstanding":3600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1499891,"addressGpsLon":-100.9582493,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2012,"clientId":14,"number":"001962","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2015,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":14,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEXANDRO","clientLastName":"ARIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":15,"clientId":14,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T12:00:41-0600","amount":1800,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":17,"invoiceId":23,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":19,"invoiceId":67,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":36,"invoiceId":126,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":122,"invoiceId":318,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":125,"invoiceId":382,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300},{"id":312,"invoiceId":582,"paymentId":15,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}]
Nombre del cliente que se va a actualizar: ALEXANDRO ARIAS
UUID: be760b254a694e8b94b002789d68d388
JSON con los datos a actualizar: {"name":"ALEXANDRO ARIAS","custom_fields":{"Cliente":14,"Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Saldo Actual":"\ud83d\udcb23600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb23600 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "14","Domicilio": ""Nombre": "ALEXANDRO ARIAS","URL": "https://sistema.siip.mx/crm/client/14","Saldo Actual": "💲3600 pendientes","Monto Ultimo Pago": "$ 1800","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 12:00 con Efectivo 💵","Fecha Ultima Actualizacion": "31/05/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3600 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"be760b254a694e8b94b002789d68d388","name":"ALEXANDRO ARIAS","phoneNumber":"+1 682-260-4759","avatarUrl":null,"createdAt":"2024-01-29T18:03:03Z","closedAt":"2024-01-29T18:32:46Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/be760b254a694e8b94b002789d68d388","conversationHref":"https://dash.callbell.eu/chat/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"14","Nombre":"👤 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"📍 LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 29/01/2024 12:00 con Efectivo 💵","Monto Ultimo Pago":"💲 1800","URL":"🌐 https://sistema.siip.mx/crm/client/14","Estado":"🔴 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲3600 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲3600 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:01:18.751410] [notice] Logging level set to:debug
[2025-05-31 16:01:18.751462] [debug] valor del webhook: {"uuid":"5ffb63cf-316a-42ad-834b-eff8fe9875e4","changeType":"draft_approved","entity":"invoice","entityId":"2013","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2013,"clientId":15,"number":"001963","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2016,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:18.927114] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:18.927185] [debug] Valor de JSON: {"uuid":"5ffb63cf-316a-42ad-834b-eff8fe9875e4","changeType":"draft_approved","entity":"invoice","entityId":"2013","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2013,"clientId":15,"number":"001963","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2016,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:18.927299] [debug] Aprobación de Factura
[2025-05-31 16:01:18.927349] [debug] {"uuid":"5ffb63cf-316a-42ad-834b-eff8fe9875e4","changeType":"draft_approved","entity":"invoice","entityId":2013,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2013,"clientId":15,"number":"001963","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2016,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:18.927392] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:01:18.928251] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"5ffb63cf-316a-42ad-834b-eff8fe9875e4","changeType":"draft_approved","entity":"invoice","entityId":2013,"message":null,"clientId":15,"eventName":"invoice.draft_approved","clientData":{"id":15,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"VILLEGAZ","username":"evillegaz15","contacts":[{"id":16,"clientId":15,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2013,"clientId":15,"number":"001963","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2016,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":15,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"VILLEGAZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":16,"clientId":15,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T16:50:24-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":18,"invoiceId":25,"paymentId":16,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}]
Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ
UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4
JSON con los datos a actualizar: {"name":"EDUARDO VILLEGAZ","custom_fields":{"Cliente":15,"Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb212600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb212600 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:01","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "15","Domicilio": ""Nombre": "EDUARDO VILLEGAZ","URL": "https://sistema.siip.mx/crm/client/15","Saldo Actual": "💲12600 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 16:50 con Efectivo 💵","Fecha Ultima Actualizacion": "31/05/2025 10:01","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲12600 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/15","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Saldo Actual":"💲12600 pendientes","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2024-07-11T22:49:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":[],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Estado":"🔴 Suspendido","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲12600 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","URL":"🌐 https://sistema.siip.mx/crm/client/15","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:01","Nombre":"👤 EDUARDO VILLEGAZ","Cliente":"15","Saldo Actual":"💲12600 pendientes","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:01:21.320161] [notice] Logging level set to:debug
[2025-05-31 16:01:21.320214] [debug] valor del webhook: {"uuid":"c4462bae-5f0e-4cce-844e-6c119c2efccb","changeType":"draft_approved","entity":"invoice","entityId":"2014","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2014,"clientId":97,"number":"001964","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2017,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:21.506104] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:21.506162] [debug] Valor de JSON: {"uuid":"c4462bae-5f0e-4cce-844e-6c119c2efccb","changeType":"draft_approved","entity":"invoice","entityId":"2014","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2014,"clientId":97,"number":"001964","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2017,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:21.506278] [debug] Aprobación de Factura
[2025-05-31 16:01:21.506324] [debug] {"uuid":"c4462bae-5f0e-4cce-844e-6c119c2efccb","changeType":"draft_approved","entity":"invoice","entityId":2014,"message":null,"clientId":97,"eventName":"invoice.draft_approved","clientData":{"id":97,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AVILES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AVILES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"YOLANDA","lastName":"CANO","username":"ycano97","contacts":[{"id":98,"clientId":97,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2014,"clientId":97,"number":"001964","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2017,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":96,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"YOLANDA","clientLastName":"CANO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AVILES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:22.372608] [notice] Logging level set to:debug
[2025-05-31 16:01:22.372683] [debug] valor del webhook: {"uuid":"887d9892-bec3-44b1-af79-418914462b55","changeType":"draft_approved","entity":"invoice","entityId":"2015","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2015,"clientId":31,"number":"001965","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2018,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:22.508816] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:22.508869] [debug] Valor de JSON: {"uuid":"887d9892-bec3-44b1-af79-418914462b55","changeType":"draft_approved","entity":"invoice","entityId":"2015","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2015,"clientId":31,"number":"001965","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2018,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:22.508970] [debug] Aprobación de Factura
[2025-05-31 16:01:22.509018] [debug] {"uuid":"887d9892-bec3-44b1-af79-418914462b55","changeType":"draft_approved","entity":"invoice","entityId":2015,"message":null,"clientId":31,"eventName":"invoice.draft_approved","clientData":{"id":31,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SIETE REALES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SIETE REALES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANA","lastName":"CASTILLO","username":"acastillo31","contacts":[{"id":32,"clientId":31,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.2302531,"addressGpsLon":-100.7594666,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2015,"clientId":31,"number":"001965","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2018,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":30,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANA","clientLastName":"CASTILLO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SIETE REALES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:23.612113] [notice] Logging level set to:debug
[2025-05-31 16:01:23.612200] [debug] valor del webhook: {"uuid":"ba6ae16e-73c2-433c-8e12-780b107c5ecc","changeType":"draft_approved","entity":"invoice","entityId":"2016","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2016,"clientId":90,"number":"001966","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2019,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:23.749452] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:23.749505] [debug] Valor de JSON: {"uuid":"ba6ae16e-73c2-433c-8e12-780b107c5ecc","changeType":"draft_approved","entity":"invoice","entityId":"2016","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2016,"clientId":90,"number":"001966","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2019,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:23.749617] [debug] Aprobación de Factura
[2025-05-31 16:01:23.749670] [debug] {"uuid":"ba6ae16e-73c2-433c-8e12-780b107c5ecc","changeType":"draft_approved","entity":"invoice","entityId":2016,"message":null,"clientId":90,"eventName":"invoice.draft_approved","clientData":{"id":90,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"PEDRO","lastName":"HORNEDO","username":"phornedo90","contacts":[{"id":91,"clientId":90,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2016,"clientId":90,"number":"001966","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2019,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":89,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"PEDRO","clientLastName":"HORNEDO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:24.891098] [notice] Logging level set to:debug
[2025-05-31 16:01:24.891182] [debug] valor del webhook: {"uuid":"8bb7c320-e4dc-4ee1-ab80-5abd23d6d03d","changeType":"draft_approved","entity":"invoice","entityId":"2017","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2017,"clientId":77,"number":"001967","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2020,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:25.026607] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:25.026664] [debug] Valor de JSON: {"uuid":"8bb7c320-e4dc-4ee1-ab80-5abd23d6d03d","changeType":"draft_approved","entity":"invoice","entityId":"2017","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2017,"clientId":77,"number":"001967","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2020,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:25.026789] [debug] Aprobación de Factura
[2025-05-31 16:01:25.026834] [debug] {"uuid":"8bb7c320-e4dc-4ee1-ab80-5abd23d6d03d","changeType":"draft_approved","entity":"invoice","entityId":2017,"message":null,"clientId":77,"eventName":"invoice.draft_approved","clientData":{"id":77,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARGARITO","lastName":"ESTRADA","username":"mestrada77","contacts":[{"id":78,"clientId":77,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2017,"clientId":77,"number":"001967","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2020,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":76,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MARGARITO","clientLastName":"ESTRADA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA VENTILLA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:26.183191] [notice] Logging level set to:debug
[2025-05-31 16:01:26.183270] [debug] valor del webhook: {"uuid":"9a74aac5-7d19-4f2a-b939-b8ce4cb0c7cf","changeType":"draft_approved","entity":"invoice","entityId":"2018","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2018,"clientId":69,"number":"001968","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2021,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:26.311382] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:26.311431] [debug] Valor de JSON: {"uuid":"9a74aac5-7d19-4f2a-b939-b8ce4cb0c7cf","changeType":"draft_approved","entity":"invoice","entityId":"2018","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2018,"clientId":69,"number":"001968","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2021,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:26.311533] [debug] Aprobación de Factura
[2025-05-31 16:01:26.311575] [debug] {"uuid":"9a74aac5-7d19-4f2a-b939-b8ce4cb0c7cf","changeType":"draft_approved","entity":"invoice","entityId":2018,"message":null,"clientId":69,"eventName":"invoice.draft_approved","clientData":{"id":69,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CIRILA","lastName":"AVILES","username":"caviles69","contacts":[{"id":70,"clientId":69,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2018,"clientId":69,"number":"001968","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2021,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":68,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CIRILA","clientLastName":"AVILES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:27.461910] [notice] Logging level set to:debug
[2025-05-31 16:01:27.461982] [debug] valor del webhook: {"uuid":"2b86b99b-1497-47f9-a297-f0816e4b3d9d","changeType":"draft_approved","entity":"invoice","entityId":"2019","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2019,"clientId":35,"number":"001969","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2022,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:27.604438] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:27.604487] [debug] Valor de JSON: {"uuid":"2b86b99b-1497-47f9-a297-f0816e4b3d9d","changeType":"draft_approved","entity":"invoice","entityId":"2019","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2019,"clientId":35,"number":"001969","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2022,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:27.604599] [debug] Aprobación de Factura
[2025-05-31 16:01:27.604639] [debug] {"uuid":"2b86b99b-1497-47f9-a297-f0816e4b3d9d","changeType":"draft_approved","entity":"invoice","entityId":2019,"message":null,"clientId":35,"eventName":"invoice.draft_approved","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#e91e63","addressGpsLat":21.1461112,"addressGpsLon":-101.0019444,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2019,"clientId":35,"number":"001969","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2022,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":34,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GABRIELA","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA CANTERA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:28.755903] [notice] Logging level set to:debug
[2025-05-31 16:01:28.755973] [debug] valor del webhook: {"uuid":"b37ce20e-69fc-4f0f-af3c-ac5270a03327","changeType":"draft_approved","entity":"invoice","entityId":"2020","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2020,"clientId":83,"number":"001970","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2023,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:28.885066] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:28.885119] [debug] Valor de JSON: {"uuid":"b37ce20e-69fc-4f0f-af3c-ac5270a03327","changeType":"draft_approved","entity":"invoice","entityId":"2020","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2020,"clientId":83,"number":"001970","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2023,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:28.885234] [debug] Aprobación de Factura
[2025-05-31 16:01:28.885279] [debug] {"uuid":"b37ce20e-69fc-4f0f-af3c-ac5270a03327","changeType":"draft_approved","entity":"invoice","entityId":2020,"message":null,"clientId":83,"eventName":"invoice.draft_approved","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-10600,"accountCredit":0,"accountOutstanding":10600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fdd835","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2020,"clientId":83,"number":"001970","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2023,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":82,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDUARDO","clientLastName":"SOLIS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL VERGEL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:30.044131] [notice] Logging level set to:debug
[2025-05-31 16:01:30.044187] [debug] valor del webhook: {"uuid":"007aee49-4b61-4f55-b5c2-e653def8ccfa","changeType":"draft_approved","entity":"invoice","entityId":"2021","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2021,"clientId":29,"number":"001971","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2024,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:30.186909] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:30.186964] [debug] Valor de JSON: {"uuid":"007aee49-4b61-4f55-b5c2-e653def8ccfa","changeType":"draft_approved","entity":"invoice","entityId":"2021","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2021,"clientId":29,"number":"001971","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2024,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:30.187097] [debug] Aprobación de Factura
[2025-05-31 16:01:30.187143] [debug] {"uuid":"007aee49-4b61-4f55-b5c2-e653def8ccfa","changeType":"draft_approved","entity":"invoice","entityId":2021,"message":null,"clientId":29,"eventName":"invoice.draft_approved","clientData":{"id":29,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EJIDO DOLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EJIDO DOLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTELA","lastName":"ORTIZ","username":"eortiz29","contacts":[{"id":30,"clientId":29,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8316.67,"accountCredit":0,"accountOutstanding":8316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2021,"clientId":29,"number":"001971","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2024,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":28,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTELA","clientLastName":"ORTIZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EJIDO DOLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:31.321634] [notice] Logging level set to:debug
[2025-05-31 16:01:31.321712] [debug] valor del webhook: {"uuid":"c1fd9cf2-807f-4a61-a296-a8f3736a5779","changeType":"draft_approved","entity":"invoice","entityId":"2022","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2022,"clientId":24,"number":"001972","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2025,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:31.460474] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:31.460531] [debug] Valor de JSON: {"uuid":"c1fd9cf2-807f-4a61-a296-a8f3736a5779","changeType":"draft_approved","entity":"invoice","entityId":"2022","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2022,"clientId":24,"number":"001972","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2025,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:31.460630] [debug] Aprobación de Factura
[2025-05-31 16:01:31.460673] [debug] {"uuid":"c1fd9cf2-807f-4a61-a296-a8f3736a5779","changeType":"draft_approved","entity":"invoice","entityId":2022,"message":null,"clientId":24,"eventName":"invoice.draft_approved","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5080,"accountCredit":0,"accountOutstanding":5080,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2022,"clientId":24,"number":"001972","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2025,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":23,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JACIEL","clientLastName":"CERVANTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTO NI\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:32.628308] [notice] Logging level set to:debug
[2025-05-31 16:01:32.628420] [debug] valor del webhook: {"uuid":"ee7a5cb3-e0a3-444e-a6b9-cf83e93db3d9","changeType":"draft_approved","entity":"invoice","entityId":"2023","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2023,"clientId":26,"number":"001973","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2026,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:32.757710] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:32.757764] [debug] Valor de JSON: {"uuid":"ee7a5cb3-e0a3-444e-a6b9-cf83e93db3d9","changeType":"draft_approved","entity":"invoice","entityId":"2023","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2023,"clientId":26,"number":"001973","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2026,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:32.757862] [debug] Aprobación de Factura
[2025-05-31 16:01:32.757903] [debug] {"uuid":"ee7a5cb3-e0a3-444e-a6b9-cf83e93db3d9","changeType":"draft_approved","entity":"invoice","entityId":2023,"message":null,"clientId":26,"eventName":"invoice.draft_approved","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5680,"accountCredit":0,"accountOutstanding":5680,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2023,"clientId":26,"number":"001973","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2026,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":25,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SAMANTA","clientLastName":"FUENTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"GUSANO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:33.904963] [notice] Logging level set to:debug
[2025-05-31 16:01:33.905050] [debug] valor del webhook: {"uuid":"ee5d06c7-fb85-4892-be0d-e398be024875","changeType":"draft_approved","entity":"invoice","entityId":"2024","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2024,"clientId":30,"number":"001974","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2027,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:34.047354] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:34.047406] [debug] Valor de JSON: {"uuid":"ee5d06c7-fb85-4892-be0d-e398be024875","changeType":"draft_approved","entity":"invoice","entityId":"2024","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2024,"clientId":30,"number":"001974","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2027,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:34.047523] [debug] Aprobación de Factura
[2025-05-31 16:01:34.047565] [debug] {"uuid":"ee5d06c7-fb85-4892-be0d-e398be024875","changeType":"draft_approved","entity":"invoice","entityId":2024,"message":null,"clientId":30,"eventName":"invoice.draft_approved","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-12600,"accountCredit":0,"accountOutstanding":12600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2024,"clientId":30,"number":"001974","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2027,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":29,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUANA","clientLastName":"MONTES DE OCA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:35.220285] [notice] Logging level set to:debug
[2025-05-31 16:01:35.220347] [debug] valor del webhook: {"uuid":"ce276aa1-45d1-4c60-8a12-5cf002366a6a","changeType":"draft_approved","entity":"invoice","entityId":"2025","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2025,"clientId":39,"number":"001975","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2028,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:35.359499] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:35.359546] [debug] Valor de JSON: {"uuid":"ce276aa1-45d1-4c60-8a12-5cf002366a6a","changeType":"draft_approved","entity":"invoice","entityId":"2025","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2025,"clientId":39,"number":"001975","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2028,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:35.359635] [debug] Aprobación de Factura
[2025-05-31 16:01:35.359673] [debug] {"uuid":"ce276aa1-45d1-4c60-8a12-5cf002366a6a","changeType":"draft_approved","entity":"invoice","entityId":2025,"message":null,"clientId":39,"eventName":"invoice.draft_approved","clientData":{"id":39,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA PIEDRA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA PIEDRA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FRANCISCO","lastName":"BALDERAS","username":"fbalderas39","contacts":[{"id":40,"clientId":39,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5110,"accountCredit":0,"accountOutstanding":5110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.2708978,"addressGpsLon":-100.7973281,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2025,"clientId":39,"number":"001975","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2028,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":38,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FRANCISCO","clientLastName":"BALDERAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LA PIEDRA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:36.506315] [notice] Logging level set to:debug
[2025-05-31 16:01:36.506442] [debug] valor del webhook: {"uuid":"f765af4e-bc70-4e7f-a37d-7730f681f45e","changeType":"draft_approved","entity":"invoice","entityId":"2026","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2026,"clientId":43,"number":"001976","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2029,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:36.661103] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:36.661166] [debug] Valor de JSON: {"uuid":"f765af4e-bc70-4e7f-a37d-7730f681f45e","changeType":"draft_approved","entity":"invoice","entityId":"2026","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2026,"clientId":43,"number":"001976","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2029,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:36.661313] [debug] Aprobación de Factura
[2025-05-31 16:01:36.661376] [debug] {"uuid":"f765af4e-bc70-4e7f-a37d-7730f681f45e","changeType":"draft_approved","entity":"invoice","entityId":2026,"message":null,"clientId":43,"eventName":"invoice.draft_approved","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11223.33,"accountCredit":0,"accountOutstanding":11223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2026,"clientId":43,"number":"001976","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2029,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":42,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"VICTORIO","clientLastName":"DIAS","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:37.822525] [notice] Logging level set to:debug
[2025-05-31 16:01:37.822623] [debug] valor del webhook: {"uuid":"1c2fd5fa-9ff1-4111-8c27-a8ddcdcffde2","changeType":"draft_approved","entity":"invoice","entityId":"2027","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2027,"clientId":81,"number":"001977","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2030,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:37.956001] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:37.956053] [debug] Valor de JSON: {"uuid":"1c2fd5fa-9ff1-4111-8c27-a8ddcdcffde2","changeType":"draft_approved","entity":"invoice","entityId":"2027","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2027,"clientId":81,"number":"001977","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2030,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:37.956160] [debug] Aprobación de Factura
[2025-05-31 16:01:37.956204] [debug] {"uuid":"1c2fd5fa-9ff1-4111-8c27-a8ddcdcffde2","changeType":"draft_approved","entity":"invoice","entityId":2027,"message":null,"clientId":81,"eventName":"invoice.draft_approved","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2027,"clientId":81,"number":"001977","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2030,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":80,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"FERNANDO","clientLastName":"ALCAZAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:39.080461] [notice] Logging level set to:debug
[2025-05-31 16:01:39.080527] [debug] valor del webhook: {"uuid":"b7702535-9c11-4de4-acc3-f401aa28c5ad","changeType":"draft_approved","entity":"invoice","entityId":"2028","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2028,"clientId":8,"number":"001978","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2031,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:39.228786] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:39.228840] [debug] Valor de JSON: {"uuid":"b7702535-9c11-4de4-acc3-f401aa28c5ad","changeType":"draft_approved","entity":"invoice","entityId":"2028","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2028,"clientId":8,"number":"001978","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2031,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:39.228964] [debug] Aprobación de Factura
[2025-05-31 16:01:39.229006] [debug] {"uuid":"b7702535-9c11-4de4-acc3-f401aa28c5ad","changeType":"draft_approved","entity":"invoice","entityId":2028,"message":null,"clientId":8,"eventName":"invoice.draft_approved","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8530,"accountCredit":0,"accountOutstanding":8530,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2028,"clientId":8,"number":"001978","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2031,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":8,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALFREDO","clientLastName":"GUTIERREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:40.377481] [notice] Logging level set to:debug
[2025-05-31 16:01:40.377598] [debug] valor del webhook: {"uuid":"6c2872a1-d5d0-4043-a4dd-c25353ef3f48","changeType":"draft_approved","entity":"invoice","entityId":"2029","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2029,"clientId":80,"number":"001979","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2032,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:40.511370] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:40.511420] [debug] Valor de JSON: {"uuid":"6c2872a1-d5d0-4043-a4dd-c25353ef3f48","changeType":"draft_approved","entity":"invoice","entityId":"2029","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2029,"clientId":80,"number":"001979","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2032,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:40.511523] [debug] Aprobación de Factura
[2025-05-31 16:01:40.511565] [debug] {"uuid":"6c2872a1-d5d0-4043-a4dd-c25353ef3f48","changeType":"draft_approved","entity":"invoice","entityId":2029,"message":null,"clientId":80,"eventName":"invoice.draft_approved","clientData":{"id":80,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AXEL","lastName":"FERNANDEZ","username":"afernandez80","contacts":[{"id":81,"clientId":80,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2029,"clientId":80,"number":"001979","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2032,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":79,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AXEL","clientLastName":"FERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:41.649316] [notice] Logging level set to:debug
[2025-05-31 16:01:41.649370] [debug] valor del webhook: {"uuid":"f71dc66e-6e0e-4de8-bf14-d3526317c320","changeType":"draft_approved","entity":"invoice","entityId":"2030","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2030,"clientId":61,"number":"001980","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2033,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:41.774912] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:41.774967] [debug] Valor de JSON: {"uuid":"f71dc66e-6e0e-4de8-bf14-d3526317c320","changeType":"draft_approved","entity":"invoice","entityId":"2030","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2030,"clientId":61,"number":"001980","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2033,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:41.775089] [debug] Aprobación de Factura
[2025-05-31 16:01:41.775132] [debug] {"uuid":"f71dc66e-6e0e-4de8-bf14-d3526317c320","changeType":"draft_approved","entity":"invoice","entityId":2030,"message":null,"clientId":61,"eventName":"invoice.draft_approved","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00acc1","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2030,"clientId":61,"number":"001980","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2033,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":60,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"LUIS","clientLastName":"AGULAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:42.898813] [notice] Logging level set to:debug
[2025-05-31 16:01:42.898874] [debug] valor del webhook: {"uuid":"77948a49-d3ff-42f3-9c25-d7331cd37147","changeType":"draft_approved","entity":"invoice","entityId":"2031","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2031,"clientId":87,"number":"001981","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2034,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:43.035187] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:43.035240] [debug] Valor de JSON: {"uuid":"77948a49-d3ff-42f3-9c25-d7331cd37147","changeType":"draft_approved","entity":"invoice","entityId":"2031","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2031,"clientId":87,"number":"001981","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2034,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:43.035351] [debug] Aprobación de Factura
[2025-05-31 16:01:43.035393] [debug] {"uuid":"77948a49-d3ff-42f3-9c25-d7331cd37147","changeType":"draft_approved","entity":"invoice","entityId":2031,"message":null,"clientId":87,"eventName":"invoice.draft_approved","clientData":{"id":87,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TERESA","lastName":"REYES","username":"treyes87","contacts":[{"id":88,"clientId":87,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.1473165,"addressGpsLon":-100.9333759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2031,"clientId":87,"number":"001981","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2034,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":86,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TERESA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:44.197350] [notice] Logging level set to:debug
[2025-05-31 16:01:44.197419] [debug] valor del webhook: {"uuid":"81cf9c5b-30aa-4a38-b449-bd36aa0fe4ad","changeType":"draft_approved","entity":"invoice","entityId":"2032","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2032,"clientId":50,"number":"001982","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2035,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:44.330065] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:44.330116] [debug] Valor de JSON: {"uuid":"81cf9c5b-30aa-4a38-b449-bd36aa0fe4ad","changeType":"draft_approved","entity":"invoice","entityId":"2032","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2032,"clientId":50,"number":"001982","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2035,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:44.330208] [debug] Aprobación de Factura
[2025-05-31 16:01:44.330275] [debug] {"uuid":"81cf9c5b-30aa-4a38-b449-bd36aa0fe4ad","changeType":"draft_approved","entity":"invoice","entityId":2032,"message":null,"clientId":50,"eventName":"invoice.draft_approved","clientData":{"id":50,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GLORIA","lastName":"DELGADO","username":"gdelgado50","contacts":[{"id":51,"clientId":50,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":108,"clientId":50,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN2hegnjiQhR7M","clientZoneVisible":true},{"id":109,"clientId":50,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"1847644339402745","clientZoneVisible":true}],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2032,"clientId":50,"number":"001982","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2035,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":49,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"GLORIA","clientLastName":"DELGADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL BOBO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:45.479583] [notice] Logging level set to:debug
[2025-05-31 16:01:45.479649] [debug] valor del webhook: {"uuid":"79d80bc1-ae6c-4e9a-a669-25010d55d54a","changeType":"draft_approved","entity":"invoice","entityId":"2033","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2033,"clientId":101,"number":"001983","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2036,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:45.619165] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:45.619224] [debug] Valor de JSON: {"uuid":"79d80bc1-ae6c-4e9a-a669-25010d55d54a","changeType":"draft_approved","entity":"invoice","entityId":"2033","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2033,"clientId":101,"number":"001983","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2036,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:45.619342] [debug] Aprobación de Factura
[2025-05-31 16:01:45.619391] [debug] {"uuid":"79d80bc1-ae6c-4e9a-a669-25010d55d54a","changeType":"draft_approved","entity":"invoice","entityId":2033,"message":null,"clientId":101,"eventName":"invoice.draft_approved","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f4511e","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2033,"clientId":101,"number":"001983","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2036,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":100,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OCTAVIO","clientLastName":"VIDAL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ESTA\u00d1O","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:49.653925] [notice] Logging level set to:debug
[2025-05-31 16:01:49.653995] [debug] valor del webhook: {"uuid":"ee6a686a-f3e0-4042-8916-6a1eec5f7862","changeType":"draft_approved","entity":"invoice","entityId":"2034","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2034,"clientId":58,"number":"001984","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2037,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:49.851660] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:49.851722] [debug] Valor de JSON: {"uuid":"ee6a686a-f3e0-4042-8916-6a1eec5f7862","changeType":"draft_approved","entity":"invoice","entityId":"2034","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2034,"clientId":58,"number":"001984","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2037,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:49.851994] [debug] Aprobación de Factura
[2025-05-31 16:01:49.852051] [debug] {"uuid":"ee6a686a-f3e0-4042-8916-6a1eec5f7862","changeType":"draft_approved","entity":"invoice","entityId":2034,"message":null,"clientId":58,"eventName":"invoice.draft_approved","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1326682,"addressGpsLon":-101.0194414,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2034,"clientId":58,"number":"001984","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2037,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":57,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EDGAR","clientLastName":"DOMINGUEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL MOLINO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:51.021948] [notice] Logging level set to:debug
[2025-05-31 16:01:51.022011] [debug] valor del webhook: {"uuid":"3a45fc5e-68c5-4f1a-9dec-7ee5df8c5e63","changeType":"draft_approved","entity":"invoice","entityId":"2035","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2035,"clientId":32,"number":"001985","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2038,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:51.145421] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:51.145478] [debug] Valor de JSON: {"uuid":"3a45fc5e-68c5-4f1a-9dec-7ee5df8c5e63","changeType":"draft_approved","entity":"invoice","entityId":"2035","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2035,"clientId":32,"number":"001985","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2038,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:51.145582] [debug] Aprobación de Factura
[2025-05-31 16:01:51.145627] [debug] {"uuid":"3a45fc5e-68c5-4f1a-9dec-7ee5df8c5e63","changeType":"draft_approved","entity":"invoice","entityId":2035,"message":null,"clientId":32,"eventName":"invoice.draft_approved","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6040,"accountCredit":0,"accountOutstanding":6040,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0705003,"addressGpsLon":-101.0487257,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2035,"clientId":32,"number":"001985","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2038,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":31,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"EMILIO","clientLastName":"PEREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ANTON DE LAS MINAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:52.304757] [notice] Logging level set to:debug
[2025-05-31 16:01:52.304831] [debug] valor del webhook: {"uuid":"805e2cda-7756-4695-9ede-b21e73acaa8f","changeType":"draft_approved","entity":"invoice","entityId":"2036","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2036,"clientId":98,"number":"001986","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2039,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:52.443105] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:52.443162] [debug] Valor de JSON: {"uuid":"805e2cda-7756-4695-9ede-b21e73acaa8f","changeType":"draft_approved","entity":"invoice","entityId":"2036","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2036,"clientId":98,"number":"001986","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2039,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:52.443284] [debug] Aprobación de Factura
[2025-05-31 16:01:52.443326] [debug] {"uuid":"805e2cda-7756-4695-9ede-b21e73acaa8f","changeType":"draft_approved","entity":"invoice","entityId":2036,"message":null,"clientId":98,"eventName":"invoice.draft_approved","clientData":{"id":98,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JULIO","lastName":"OLACHIA","username":"jolachia98","contacts":[{"id":99,"clientId":98,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5100,"accountCredit":0,"accountOutstanding":5100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2036,"clientId":98,"number":"001986","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2039,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":97,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JULIO","clientLastName":"OLACHIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS AGUILAR","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:53.592372] [notice] Logging level set to:debug
[2025-05-31 16:01:53.592433] [debug] valor del webhook: {"uuid":"ff5e3272-a1ff-433c-a170-33ab3ed42e82","changeType":"draft_approved","entity":"invoice","entityId":"2037","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2037,"clientId":95,"number":"001987","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2040,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:53.718339] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:53.718394] [debug] Valor de JSON: {"uuid":"ff5e3272-a1ff-433c-a170-33ab3ed42e82","changeType":"draft_approved","entity":"invoice","entityId":"2037","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2037,"clientId":95,"number":"001987","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2040,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:53.718499] [debug] Aprobación de Factura
[2025-05-31 16:01:53.718543] [debug] {"uuid":"ff5e3272-a1ff-433c-a170-33ab3ed42e82","changeType":"draft_approved","entity":"invoice","entityId":2037,"message":null,"clientId":95,"eventName":"invoice.draft_approved","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2037,"clientId":95,"number":"001987","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2040,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":94,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SOFIA","clientLastName":"VALENCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:54.873209] [notice] Logging level set to:debug
[2025-05-31 16:01:54.873265] [debug] valor del webhook: {"uuid":"4ab03c41-31cd-4427-b6f4-a90a92295fb2","changeType":"draft_approved","entity":"invoice","entityId":"2038","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2038,"clientId":51,"number":"001988","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2041,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:55.010786] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:55.010844] [debug] Valor de JSON: {"uuid":"4ab03c41-31cd-4427-b6f4-a90a92295fb2","changeType":"draft_approved","entity":"invoice","entityId":"2038","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2038,"clientId":51,"number":"001988","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2041,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:55.010952] [debug] Aprobación de Factura
[2025-05-31 16:01:55.011018] [debug] {"uuid":"4ab03c41-31cd-4427-b6f4-a90a92295fb2","changeType":"draft_approved","entity":"invoice","entityId":2038,"message":null,"clientId":51,"eventName":"invoice.draft_approved","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-8350,"accountCredit":0,"accountOutstanding":8350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1663422,"addressGpsLon":-100.9347882,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2038,"clientId":51,"number":"001988","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2041,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":50,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL","clientLastName":"MORENO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PADRE HIDALGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:56.132970] [notice] Logging level set to:debug
[2025-05-31 16:01:56.133074] [debug] valor del webhook: {"uuid":"4391115d-5d61-4628-b700-94ff8f97c38c","changeType":"draft_approved","entity":"invoice","entityId":"2039","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2039,"clientId":25,"number":"001989","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2042,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:56.279458] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:56.279521] [debug] Valor de JSON: {"uuid":"4391115d-5d61-4628-b700-94ff8f97c38c","changeType":"draft_approved","entity":"invoice","entityId":"2039","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2039,"clientId":25,"number":"001989","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2042,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:56.279652] [debug] Aprobación de Factura
[2025-05-31 16:01:56.279695] [debug] {"uuid":"4391115d-5d61-4628-b700-94ff8f97c38c","changeType":"draft_approved","entity":"invoice","entityId":2039,"message":null,"clientId":25,"eventName":"invoice.draft_approved","clientData":{"id":25,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL DURAZNO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL DURAZNO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ARIEL","lastName":"CORTES","username":"acortes25","contacts":[{"id":26,"clientId":25,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-14000,"accountCredit":0,"accountOutstanding":14000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2039,"clientId":25,"number":"001989","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2042,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":24,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ARIEL","clientLastName":"CORTES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL DURAZNO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:57.432694] [notice] Logging level set to:debug
[2025-05-31 16:01:57.432764] [debug] valor del webhook: {"uuid":"0aa11de7-8671-47f4-808b-75be40fd8ab2","changeType":"draft_approved","entity":"invoice","entityId":"2040","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2040,"clientId":67,"number":"001990","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2043,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:57.575263] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:57.575316] [debug] Valor de JSON: {"uuid":"0aa11de7-8671-47f4-808b-75be40fd8ab2","changeType":"draft_approved","entity":"invoice","entityId":"2040","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2040,"clientId":67,"number":"001990","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2043,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:57.575423] [debug] Aprobación de Factura
[2025-05-31 16:01:57.575468] [debug] {"uuid":"0aa11de7-8671-47f4-808b-75be40fd8ab2","changeType":"draft_approved","entity":"invoice","entityId":2040,"message":null,"clientId":67,"eventName":"invoice.draft_approved","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2040,"clientId":67,"number":"001990","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2043,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":66,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"TOMAS","clientLastName":"SUASTE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:01:58.750044] [notice] Logging level set to:debug
[2025-05-31 16:01:58.750164] [debug] valor del webhook: {"uuid":"699d8213-361b-4700-8633-1d7d54aa7dbc","changeType":"draft_approved","entity":"invoice","entityId":"2041","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2041,"clientId":40,"number":"001991","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2044,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:58.899205] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:01:58.899261] [debug] Valor de JSON: {"uuid":"699d8213-361b-4700-8633-1d7d54aa7dbc","changeType":"draft_approved","entity":"invoice","entityId":"2041","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2041,"clientId":40,"number":"001991","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2044,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:01:58.899359] [debug] Aprobación de Factura
[2025-05-31 16:01:58.899416] [debug] {"uuid":"699d8213-361b-4700-8633-1d7d54aa7dbc","changeType":"draft_approved","entity":"invoice","entityId":2041,"message":null,"clientId":40,"eventName":"invoice.draft_approved","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fdd835","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2041,"clientId":40,"number":"001991","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2044,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":39,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"OMAR","clientLastName":"PADRON","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"RANCHO GUADALUPE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:00.071675] [notice] Logging level set to:debug
[2025-05-31 16:02:00.071753] [debug] valor del webhook: {"uuid":"929405b9-b14e-46a7-ac6c-6f441cf37b94","changeType":"draft_approved","entity":"invoice","entityId":"2042","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2042,"clientId":47,"number":"001992","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2045,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:00.231112] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:00.231164] [debug] Valor de JSON: {"uuid":"929405b9-b14e-46a7-ac6c-6f441cf37b94","changeType":"draft_approved","entity":"invoice","entityId":"2042","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2042,"clientId":47,"number":"001992","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2045,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:00.231276] [debug] Aprobación de Factura
[2025-05-31 16:02:00.231319] [debug] {"uuid":"929405b9-b14e-46a7-ac6c-6f441cf37b94","changeType":"draft_approved","entity":"invoice","entityId":2042,"message":null,"clientId":47,"eventName":"invoice.draft_approved","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":102,"clientId":47,"customAttributeId":8,"name":"conekta","key":"conekta","value":"cus_2vQtN1ERR1n4E6GPk","clientZoneVisible":true},{"id":103,"clientId":47,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"8205258963078605","clientZoneVisible":true}],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2042,"clientId":47,"number":"001992","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2045,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":46,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ASRAEL","clientLastName":"PONCE","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:01.898057] [notice] Logging level set to:debug
[2025-05-31 16:02:01.898118] [debug] valor del webhook: {"uuid":"449064aa-c287-4c5c-b5ea-94c6a4742b45","changeType":"draft_approved","entity":"invoice","entityId":"2043","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2043,"clientId":41,"number":"001993","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2046,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:02.025228] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:02.025285] [debug] Valor de JSON: {"uuid":"449064aa-c287-4c5c-b5ea-94c6a4742b45","changeType":"draft_approved","entity":"invoice","entityId":"2043","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2043,"clientId":41,"number":"001993","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2046,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:02.025382] [debug] Aprobación de Factura
[2025-05-31 16:02:02.025424] [debug] {"uuid":"449064aa-c287-4c5c-b5ea-94c6a4742b45","changeType":"draft_approved","entity":"invoice","entityId":2043,"message":null,"clientId":41,"eventName":"invoice.draft_approved","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4810,"accountCredit":0,"accountOutstanding":4810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2043,"clientId":41,"number":"001993","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2046,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":40,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"CUELLAR","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN SEBASTIAN","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:03.167715] [notice] Logging level set to:debug
[2025-05-31 16:02:03.167798] [debug] valor del webhook: {"uuid":"a2087092-b94f-4cde-abe4-bac60497c675","changeType":"draft_approved","entity":"invoice","entityId":"2044","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2044,"clientId":36,"number":"001994","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2047,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:03.314791] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:03.314845] [debug] Valor de JSON: {"uuid":"a2087092-b94f-4cde-abe4-bac60497c675","changeType":"draft_approved","entity":"invoice","entityId":"2044","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2044,"clientId":36,"number":"001994","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2047,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:03.314954] [debug] Aprobación de Factura
[2025-05-31 16:02:03.315026] [debug] {"uuid":"a2087092-b94f-4cde-abe4-bac60497c675","changeType":"draft_approved","entity":"invoice","entityId":2044,"message":null,"clientId":36,"eventName":"invoice.draft_approved","clientData":{"id":36,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURORA","lastName":"FLORES","username":"aflores36","contacts":[{"id":37,"clientId":36,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6590,"accountCredit":0,"accountOutstanding":6590,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2044,"clientId":36,"number":"001994","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2047,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":35,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"AURORA","clientLastName":"FLORES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS FLORES","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:04.483755] [notice] Logging level set to:debug
[2025-05-31 16:02:04.483943] [debug] valor del webhook: {"uuid":"ed1c5604-c24c-4a87-b293-1739263942ad","changeType":"draft_approved","entity":"invoice","entityId":"2045","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2045,"clientId":72,"number":"001995","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2048,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:04.624140] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:04.624190] [debug] Valor de JSON: {"uuid":"ed1c5604-c24c-4a87-b293-1739263942ad","changeType":"draft_approved","entity":"invoice","entityId":"2045","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2045,"clientId":72,"number":"001995","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2048,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:04.624284] [debug] Aprobación de Factura
[2025-05-31 16:02:04.624326] [debug] {"uuid":"ed1c5604-c24c-4a87-b293-1739263942ad","changeType":"draft_approved","entity":"invoice","entityId":2045,"message":null,"clientId":72,"eventName":"invoice.draft_approved","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.2384788,"addressGpsLon":-100.8430302,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2045,"clientId":72,"number":"001995","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2048,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":71,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BRANDOM","clientLastName":"EZQUIVEL","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:05.804007] [notice] Logging level set to:debug
[2025-05-31 16:02:05.804064] [debug] valor del webhook: {"uuid":"1e28880d-2341-48bf-8760-a02a8bb52a68","changeType":"draft_approved","entity":"invoice","entityId":"2046","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2046,"clientId":34,"number":"001996","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2049,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:05.937719] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:05.937771] [debug] Valor de JSON: {"uuid":"1e28880d-2341-48bf-8760-a02a8bb52a68","changeType":"draft_approved","entity":"invoice","entityId":"2046","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2046,"clientId":34,"number":"001996","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2049,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:05.937868] [debug] Aprobación de Factura
[2025-05-31 16:02:05.937911] [debug] {"uuid":"1e28880d-2341-48bf-8760-a02a8bb52a68","changeType":"draft_approved","entity":"invoice","entityId":2046,"message":null,"clientId":34,"eventName":"invoice.draft_approved","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5410,"accountCredit":0,"accountOutstanding":5410,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.2514711,"addressGpsLon":-100.738323,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2046,"clientId":34,"number":"001996","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2049,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":33,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NORMA","clientLastName":"ALMAGUER","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"EL ROSALITO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:07.091950] [notice] Logging level set to:debug
[2025-05-31 16:02:07.092037] [debug] valor del webhook: {"uuid":"6d3d4a3c-afbb-40e0-a38d-adfa48710620","changeType":"draft_approved","entity":"invoice","entityId":"2047","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2047,"clientId":75,"number":"001997","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2050,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:07.241697] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:07.241754] [debug] Valor de JSON: {"uuid":"6d3d4a3c-afbb-40e0-a38d-adfa48710620","changeType":"draft_approved","entity":"invoice","entityId":"2047","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2047,"clientId":75,"number":"001997","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2050,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:07.241875] [debug] Aprobación de Factura
[2025-05-31 16:02:07.241919] [debug] {"uuid":"6d3d4a3c-afbb-40e0-a38d-adfa48710620","changeType":"draft_approved","entity":"invoice","entityId":2047,"message":null,"clientId":75,"eventName":"invoice.draft_approved","clientData":{"id":75,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RAUL","lastName":"AYALA","username":"rayala75","contacts":[{"id":76,"clientId":75,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2047,"clientId":75,"number":"001997","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2050,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":74,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"RAUL","clientLastName":"AYALA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:08.359462] [notice] Logging level set to:debug
[2025-05-31 16:02:08.359544] [debug] valor del webhook: {"uuid":"864ca8a5-e658-42b2-a31b-46c6fddee51b","changeType":"draft_approved","entity":"invoice","entityId":"2048","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2048,"clientId":99,"number":"001998","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2051,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:08.497427] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:08.497478] [debug] Valor de JSON: {"uuid":"864ca8a5-e658-42b2-a31b-46c6fddee51b","changeType":"draft_approved","entity":"invoice","entityId":"2048","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2048,"clientId":99,"number":"001998","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2051,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:08.497584] [debug] Aprobación de Factura
[2025-05-31 16:02:08.497627] [debug] {"uuid":"864ca8a5-e658-42b2-a31b-46c6fddee51b","changeType":"draft_approved","entity":"invoice","entityId":2048,"message":null,"clientId":99,"eventName":"invoice.draft_approved","clientData":{"id":99,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BELINDA","lastName":"REYES","username":"breyes99","contacts":[{"id":100,"clientId":99,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#558b2f","addressGpsLat":21.2384788,"addressGpsLon":-100.8430302,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2048,"clientId":99,"number":"001998","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2051,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":98,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"BELINDA","clientLastName":"REYES","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MONTELONGO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:09.648137] [notice] Logging level set to:debug
[2025-05-31 16:02:09.648232] [debug] valor del webhook: {"uuid":"3f23ef0a-e073-45e6-8f03-e9165af5c9ee","changeType":"draft_approved","entity":"invoice","entityId":"2049","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2049,"clientId":18,"number":"001999","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2052,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:09.785618] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:09.785680] [debug] Valor de JSON: {"uuid":"3f23ef0a-e073-45e6-8f03-e9165af5c9ee","changeType":"draft_approved","entity":"invoice","entityId":"2049","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2049,"clientId":18,"number":"001999","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2052,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:09.785793] [debug] Aprobación de Factura
[2025-05-31 16:02:09.785840] [debug] {"uuid":"3f23ef0a-e073-45e6-8f03-e9165af5c9ee","changeType":"draft_approved","entity":"invoice","entityId":2049,"message":null,"clientId":18,"eventName":"invoice.draft_approved","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-11900,"accountCredit":0,"accountOutstanding":11900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2049,"clientId":18,"number":"001999","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2052,"type":"service","label":"PREMIUM 30\/04\/2025 \u2013 30\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":17,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"INGRID","clientLastName":"CORONADO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAUCILLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:10.937354] [notice] Logging level set to:debug
[2025-05-31 16:02:10.937422] [debug] valor del webhook: {"uuid":"2d10de2d-7e49-46df-adb3-39183c57bfcf","changeType":"draft_approved","entity":"invoice","entityId":"2050","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2050,"clientId":11,"number":"002000","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2053,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:11.083502] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:11.083554] [debug] Valor de JSON: {"uuid":"2d10de2d-7e49-46df-adb3-39183c57bfcf","changeType":"draft_approved","entity":"invoice","entityId":"2050","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2050,"clientId":11,"number":"002000","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2053,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:11.083672] [debug] Aprobación de Factura
[2025-05-31 16:02:11.083714] [debug] {"uuid":"2d10de2d-7e49-46df-adb3-39183c57bfcf","changeType":"draft_approved","entity":"invoice","entityId":2050,"message":null,"clientId":11,"eventName":"invoice.draft_approved","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2050,"clientId":11,"number":"002000","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2053,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:12.234683] [notice] Logging level set to:debug
[2025-05-31 16:02:12.234795] [debug] valor del webhook: {"uuid":"702f674d-a382-4285-ba0c-ad901e4592df","changeType":"draft_approved","entity":"invoice","entityId":"2051","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2051,"clientId":68,"number":"002001","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2054,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:12.372459] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:12.372520] [debug] Valor de JSON: {"uuid":"702f674d-a382-4285-ba0c-ad901e4592df","changeType":"draft_approved","entity":"invoice","entityId":"2051","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2051,"clientId":68,"number":"002001","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2054,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:12.372622] [debug] Aprobación de Factura
[2025-05-31 16:02:12.372665] [debug] {"uuid":"702f674d-a382-4285-ba0c-ad901e4592df","changeType":"draft_approved","entity":"invoice","entityId":2051,"message":null,"clientId":68,"eventName":"invoice.draft_approved","clientData":{"id":68,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DOLORES","lastName":"GARCIA","username":"dgarcia68","contacts":[{"id":69,"clientId":68,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9e9d24","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2051,"clientId":68,"number":"002001","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2054,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":67,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DOLORES","clientLastName":"GARCIA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN ELIAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:13.541991] [notice] Logging level set to:debug
[2025-05-31 16:02:13.542088] [debug] valor del webhook: {"uuid":"7f5c92b0-0652-4e29-bb35-ad02020d0501","changeType":"draft_approved","entity":"invoice","entityId":"2052","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2052,"clientId":12,"number":"002002","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2055,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:13.695902] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:13.695961] [debug] Valor de JSON: {"uuid":"7f5c92b0-0652-4e29-bb35-ad02020d0501","changeType":"draft_approved","entity":"invoice","entityId":"2052","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2052,"clientId":12,"number":"002002","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2055,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:13.696088] [debug] Aprobación de Factura
[2025-05-31 16:02:13.696134] [debug] {"uuid":"7f5c92b0-0652-4e29-bb35-ad02020d0501","changeType":"draft_approved","entity":"invoice","entityId":2052,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9933.33,"accountCredit":0,"accountOutstanding":9933.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2052,"clientId":12,"number":"002002","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2055,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:13.696183] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:02:13.696193] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"7f5c92b0-0652-4e29-bb35-ad02020d0501","changeType":"draft_approved","entity":"invoice","entityId":2052,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-9933.33,"accountCredit":0,"accountOutstanding":9933.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2052,"clientId":12,"number":"002002","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2055,"type":"service","label":"INTERMEDIO 30\/04\/2025 \u2013 30\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}]
Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ
UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09
JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Cliente":12,"Domicilio":"\ud83d\udccd DOLORES HIDALGO","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Saldo Actual":"\ud83d\udcb29933.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/12\",\"Saldo Actual\": \"\ud83d\udcb29933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:02","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "12","Domicilio": ""Nombre": "MIRIAM ZURITA RAMIREZ","URL": "https://sistema.siip.mx/crm/client/12","Saldo Actual": "💲9933.33 pendientes","Monto Ultimo Pago": "$ 3500","Estado": "Suspendido","Fecha Ultimo Pago": " 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion": "31/05/2025 10:02","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","user name":"Míriam Moctezuma","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 3500","Domicilio":"📍 DOLORES HIDALGO","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Cliente":"12","URL":"🌐 https://sistema.siip.mx/crm/client/12","Saldo Actual":"💲9933.33 pendientes","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:02","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","user name":"Míriam Moctezuma","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","Estado":"🔴 Suspendido","Monto Ultimo Pago":"💲 3500","Domicilio":"📍 DOLORES HIDALGO","Resumen":"{\"Cliente\": \"12\",\"Domicilio\": \"\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"URL\": \"https://sistema.siip.mx/crm/client/12\",\"Saldo Actual\": \"💲9933.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Cliente":"12","URL":"🌐 https://sistema.siip.mx/crm/client/12","Saldo Actual":"💲9933.33 pendientes","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:02","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:02:16.469988] [notice] Logging level set to:debug
[2025-05-31 16:02:16.470093] [debug] valor del webhook: {"uuid":"8c505821-f989-46d8-81df-1f5b7a20a755","changeType":"draft_approved","entity":"invoice","entityId":"2053","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2053,"clientId":20,"number":"002003","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2056,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:16.611959] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:16.612013] [debug] Valor de JSON: {"uuid":"8c505821-f989-46d8-81df-1f5b7a20a755","changeType":"draft_approved","entity":"invoice","entityId":"2053","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2053,"clientId":20,"number":"002003","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2056,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:16.612124] [debug] Aprobación de Factura
[2025-05-31 16:02:16.612169] [debug] {"uuid":"8c505821-f989-46d8-81df-1f5b7a20a755","changeType":"draft_approved","entity":"invoice","entityId":2053,"message":null,"clientId":20,"eventName":"invoice.draft_approved","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.1575375,"addressGpsLon":-100.9440518,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2053,"clientId":20,"number":"002003","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2056,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":19,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ESTEFANIA","clientLastName":"BUENROSTRO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SAN PABLO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:17.638762] [notice] Logging level set to:debug
[2025-05-31 16:02:17.638875] [debug] valor del webhook: {"uuid":"261063f7-1e14-4f90-94e2-484c49248587","changeType":"draft_approved","entity":"invoice","entityId":"2054","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2054,"clientId":6,"number":"002004","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2057,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:17.770859] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:17.770909] [debug] Valor de JSON: {"uuid":"261063f7-1e14-4f90-94e2-484c49248587","changeType":"draft_approved","entity":"invoice","entityId":"2054","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2054,"clientId":6,"number":"002004","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2057,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:17.771079] [debug] Aprobación de Factura
[2025-05-31 16:02:17.771126] [debug] {"uuid":"261063f7-1e14-4f90-94e2-484c49248587","changeType":"draft_approved","entity":"invoice","entityId":2054,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2054,"clientId":6,"number":"002004","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2057,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-05-31 16:02:17.771161] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-05-31 16:02:17.771171] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"261063f7-1e14-4f90-94e2-484c49248587","changeType":"draft_approved","entity":"invoice","entityId":2054,"message":null,"clientId":6,"eventName":"invoice.draft_approved","clientData":{"id":6,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"ALEJANDRO","lastName":"MOCTEZUMA","username":"amoctezuma06","contacts":[{"id":7,"clientId":6,"email":null,"phone":"5214181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-4780,"accountCredit":0,"accountOutstanding":4780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2054,"clientId":6,"number":"002004","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2057,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":6,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ALEJANDRO","clientLastName":"MOCTEZUMA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":27,"clientId":6,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-02-01T12:57:53-0600","amount":2000,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":30,"invoiceId":7,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":1700},{"id":31,"invoiceId":5,"paymentId":27,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1000,"attributes":[]}]
Nombre del cliente que se va a actualizar: ALEJANDRO MOCTEZUMA
UUID: 71a76e57f89441ff978a5ece070f21d7
JSON con los datos a actualizar: {"name":"ALEJANDRO MOCTEZUMA","custom_fields":{"Cliente":6,"Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Saldo Actual":"\ud83d\udcb24780 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb24780 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/05\/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/05\/2025 10:02","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "6","Domicilio": ""Nombre": "ALEJANDRO MOCTEZUMA","URL": "https://sistema.siip.mx/crm/client/6","Saldo Actual": "💲4780 pendientes","Monto Ultimo Pago": "$ 2000","Estado": "Suspendido","Fecha Ultimo Pago": " 01/02/2024 12:57 con Efectivo 💵","Fecha Ultima Actualizacion": "31/05/2025 10:02","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2025-05-23T15:41:40Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":["SIIP"],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","user name":"🤩🤤","user entry point":"inbound_message","Acciones":"NOBOT-SIIP","Saldo Actual":"💲4780 pendientes","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4780 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:02"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2025-05-23T15:41:40Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":["SIIP"],"assignedUser":null,"customFields":{"Antena/Sectorial":"6","Nombre":"👤 ALEJANDRO MOCTEZUMA","Domicilio":"📍 DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"📆💸 01/02/2024 12:57 con Efectivo 💵","Monto Ultimo Pago":"💲 2000","Estado":"🔴 Suspendido","Cliente":"6","URL":"🌐 https://sistema.siip.mx/crm/client/6","user name":"🤩🤤","user entry point":"inbound_message","Acciones":"NOBOT-SIIP","Saldo Actual":"💲4780 pendientes","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲4780 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/05/2025 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultima Actualizacion":"📆🔄️ 31/05/2025 10:02"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-05-31 16:02:20.516747] [notice] Logging level set to:debug
[2025-05-31 16:02:20.516801] [debug] valor del webhook: {"uuid":"2114e3f6-171e-4f90-8e63-f22775ae3509","changeType":"draft_approved","entity":"invoice","entityId":"2055","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2055,"clientId":60,"number":"002005","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2058,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:20.662806] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-05-31 16:02:20.662861] [debug] Valor de JSON: {"uuid":"2114e3f6-171e-4f90-8e63-f22775ae3509","changeType":"draft_approved","entity":"invoice","entityId":"2055","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2055,"clientId":60,"number":"002005","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2058,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-05-31 16:02:20.662981] [debug] Aprobación de Factura
[2025-05-31 16:02:20.663098] [debug] {"uuid":"2114e3f6-171e-4f90-8e63-f22775ae3509","changeType":"draft_approved","entity":"invoice","entityId":2055,"message":null,"clientId":60,"eventName":"invoice.draft_approved","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-4800,"accountCredit":0,"accountOutstanding":4800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2055,"clientId":60,"number":"002005","createdDate":"2025-05-31T10:00:02-0600","dueDate":"2025-06-14T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2058,"type":"service","label":"plan300 30\/04\/2025 \u2013 30\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":59,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MANUEL","clientLastName":"CORENEO","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TECOLOTE","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-01 16:00:04.666373] [notice] Logging level set to:debug
[2025-06-01 16:00:04.666459] [debug] valor del webhook: {"uuid":"e2141650-c145-4c60-9c9b-21da04f52483","changeType":"draft_approved","entity":"invoice","entityId":"2056","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2056,"clientId":132,"number":"002006","createdDate":"2025-06-01T10:00:02-0600","dueDate":"2025-06-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-31T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2059,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-01 16:00:04.921533] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-06-01 16:00:04.921587] [debug] Valor de JSON: {"uuid":"e2141650-c145-4c60-9c9b-21da04f52483","changeType":"draft_approved","entity":"invoice","entityId":"2056","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2056,"clientId":132,"number":"002006","createdDate":"2025-06-01T10:00:02-0600","dueDate":"2025-06-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-31T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2059,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-01 16:00:04.921797] [debug] Aprobación de Factura
[2025-06-01 16:00:04.921863] [debug] {"uuid":"e2141650-c145-4c60-9c9b-21da04f52483","changeType":"draft_approved","entity":"invoice","entityId":2056,"message":null,"clientId":132,"eventName":"invoice.draft_approved","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1641484,"addressGpsLon":-100.9405409,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2056,"clientId":132,"number":"002006","createdDate":"2025-06-01T10:00:02-0600","dueDate":"2025-06-15T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2059,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-03 18:02:10.397048] [notice] Logging level set to:debug
[2025-06-03 18:02:10.403064] [debug] valor del webhook: {"uuid":"d66c20bf-620f-4688-b784-95a23ef28c8e","changeType":"suspend","entity":"service","entityId":"156","eventName":"service.suspend","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:02:10.568084] [debug] valor el evento recibido por webhook: service.suspend
[2025-06-03 18:02:10.568157] [debug] Valor de JSON: {"uuid":"d66c20bf-620f-4688-b784-95a23ef28c8e","changeType":"suspend","entity":"service","entityId":"156","eventName":"service.suspend","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:02:10.568384] [debug] Se suspendió el servicio a un cliente
[2025-06-03 18:02:10.568470] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:02:10.568486] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:02:10.568540] [info] {"uuid":"d66c20bf-620f-4688-b784-95a23ef28c8e","changeType":"suspend","entity":"service","entityId":156,"message":null,"clientId":2,"eventName":"service.suspend","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udeab Finalizado","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:02"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🚫 Finalizado","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"24/05/2025 13:28\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:02:12.511112] [notice] Logging level set to:debug
[2025-06-03 18:02:12.511239] [debug] valor del webhook: {"uuid":"2ef1acec-8dc6-4ab3-90ca-a918dcd9c9c9","changeType":"insert","entity":"service","entityId":"156","eventName":"service.add","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:02:12.674384] [debug] valor el evento recibido por webhook: service.add
[2025-06-03 18:02:12.674452] [debug] Valor de JSON: {"uuid":"2ef1acec-8dc6-4ab3-90ca-a918dcd9c9c9","changeType":"insert","entity":"service","entityId":"156","eventName":"service.add","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:02:17.322731] [notice] Logging level set to:debug
[2025-06-03 18:02:17.322865] [debug] valor del webhook: {"uuid":"3316071c-489e-4d8a-b6c5-823e0bffd3cb","changeType":"edit","entity":"service","entityId":"156","eventName":"service.edit","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:02:17.480339] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:02:17.480513] [debug] Valor de JSON: {"uuid":"3316071c-489e-4d8a-b6c5-823e0bffd3cb","changeType":"edit","entity":"service","entityId":"156","eventName":"service.edit","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:02:17.480696] [debug] Se editó el servicio a un cliente
[2025-06-03 18:02:17.480792] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:02:17.480845] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:02:17.480928] [info] {"uuid":"3316071c-489e-4d8a-b6c5-823e0bffd3cb","changeType":"edit","entity":"service","entityId":156,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udeab Finalizado","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:02"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🚫 Finalizado","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"24/05/2025 13:28\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:02:19.211885] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:02:19.212089] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:02:19.212146] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:19.363074] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:02:19.364722] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:19.483145] [notice] Logging level set to:debug
[2025-06-03 18:02:19.483443] [debug] valor del webhook: {"uuid":"b2b4a5f5-3eec-4dd3-b59d-719bd1aab311","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:19.568669] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:02:19.568763] [debug] Valor de JSON: {"uuid":"b2b4a5f5-3eec-4dd3-b59d-719bd1aab311","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:19.568880] [debug] Se actualiza a un cliente
[2025-06-03 18:02:19.568932] [debug] Valor de json_data: {"uuid":"b2b4a5f5-3eec-4dd3-b59d-719bd1aab311","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:19.619622] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:02:19.619673] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:19.619683] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:19.619695] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:02:19.619704] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:02:19.619743] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:02:19.619750] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:02:19.619795] [debug] {"uuid":"b2b4a5f5-3eec-4dd3-b59d-719bd1aab311","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:02:19.619906] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:02:19.619947] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"b2b4a5f5-3eec-4dd3-b59d-719bd1aab311","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:02","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:02","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:02:46.778528] [notice] Logging level set to:debug
[2025-06-03 18:02:46.778866] [debug] valor del webhook: {"uuid":"0746df11-8f7a-4734-a188-bf0754d19ef6","changeType":"edit","entity":"service","entityId":"156","eventName":"service.edit","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":300,"hasIndividualPrice":true,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:02:46.925203] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:02:46.925406] [debug] Valor de JSON: {"uuid":"0746df11-8f7a-4734-a188-bf0754d19ef6","changeType":"edit","entity":"service","entityId":"156","eventName":"service.edit","extraData":{"entity":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":300,"hasIndividualPrice":true,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":30,"hasIndividualPrice":false,"totalPrice":30,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:02:46.925671] [debug] Se editó el servicio a un cliente
[2025-06-03 18:02:46.925776] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:02:46.925818] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:02:46.925899] [info] {"uuid":"0746df11-8f7a-4734-a188-bf0754d19ef6","changeType":"edit","entity":"service","entityId":156,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":156,"prepaid":true,"clientId":2,"status":8,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":7,"servicePlanPeriodId":null,"price":300,"hasIndividualPrice":true,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":null,"minimumContractLengthMonths":null,"activeFrom":null,"activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":null,"discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":null,"invoicingPeriodType":null,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":null,"servicePlanPeriod":null,"servicePlanType":"Internet","downloadSpeed":10,"uploadSpeed":10,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"bc54c7e0-d1a6-4162-beb8-595e3882355d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udeab Finalizado","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:02"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🚫 Finalizado","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:02:48.766344] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:02:48.766542] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:02:48.766594] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:48.912544] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:02:48.912923] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:49.031167] [notice] Logging level set to:debug
[2025-06-03 18:02:49.031390] [debug] valor del webhook: {"uuid":"2f376ceb-619d-4f15-961d-65e145453040","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:49.125291] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:02:49.125382] [debug] Valor de JSON: {"uuid":"2f376ceb-619d-4f15-961d-65e145453040","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:49.125515] [debug] Se actualiza a un cliente
[2025-06-03 18:02:49.125564] [debug] Valor de json_data: {"uuid":"2f376ceb-619d-4f15-961d-65e145453040","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:02:49.171484] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:02:49.171531] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:49.171544] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:02:49.171555] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:02:49.171562] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:02:49.171570] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:02:49.171576] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:02:49.171618] [debug] {"uuid":"2f376ceb-619d-4f15-961d-65e145453040","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:02:49.171689] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:02:49.171701] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"2f376ceb-619d-4f15-961d-65e145453040","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:02","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲0 está al corriente","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:02","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲0 está al corriente","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:02","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:02\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:03:38.752681] [notice] Logging level set to:debug
[2025-06-03 18:03:38.752877] [debug] valor del webhook: {"uuid":"d321c9ad-0222-40e1-bd7d-89b947c83105","changeType":"insert","entity":"service","entityId":"157","eventName":"service.add","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:03:38.891093] [debug] valor el evento recibido por webhook: service.add
[2025-06-03 18:03:38.891259] [debug] Valor de JSON: {"uuid":"d321c9ad-0222-40e1-bd7d-89b947c83105","changeType":"insert","entity":"service","entityId":"157","eventName":"service.add","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":null}}
[2025-06-03 18:03:43.015153] [notice] Logging level set to:debug
[2025-06-03 18:03:43.015356] [debug] valor del webhook: {"uuid":"2fbe5df3-0b86-40d3-83ef-41f9a39685d0","changeType":"draft_approved","entity":"invoice","entityId":"2057","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.9333333333333333,"total":466.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-03 18:03:43.164299] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-06-03 18:03:43.164499] [debug] Valor de JSON: {"uuid":"2fbe5df3-0b86-40d3-83ef-41f9a39685d0","changeType":"draft_approved","entity":"invoice","entityId":"2057","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.9333333333333333,"total":466.6666666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-03 18:03:43.164664] [debug] Aprobación de Factura
[2025-06-03 18:03:43.164778] [debug] {"uuid":"2fbe5df3-0b86-40d3-83ef-41f9a39685d0","changeType":"draft_approved","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-03 18:03:43.164886] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:03:43.164928] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"2fbe5df3-0b86-40d3-83ef-41f9a39685d0","changeType":"draft_approved","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:03","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:03","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:03","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:03","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:03:51.263454] [notice] Logging level set to:debug
[2025-06-03 18:03:51.263545] [debug] valor del webhook: {"uuid":"55339453-f900-43f8-a403-3530569def7f","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:03:51.411091] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:03:51.411314] [debug] Valor de JSON: {"uuid":"55339453-f900-43f8-a403-3530569def7f","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:03:51.411506] [debug] Se editó el servicio a un cliente
[2025-06-03 18:03:51.411612] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:03:51.411654] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:03:51.411729] [info] {"uuid":"55339453-f900-43f8-a403-3530569def7f","changeType":"edit","entity":"service","entityId":157,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:03"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:03","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:03:53.241291] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:03:53.241411] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:03:53.241431] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:03:53.397994] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:03:53.398407] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:03:53.520569] [notice] Logging level set to:debug
[2025-06-03 18:03:53.520662] [debug] valor del webhook: {"uuid":"178b4397-45c5-45e8-984d-b2c07f0be784","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:03:53.600708] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:03:53.600799] [debug] Valor de JSON: {"uuid":"178b4397-45c5-45e8-984d-b2c07f0be784","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:03:53.600913] [debug] Se actualiza a un cliente
[2025-06-03 18:03:53.600961] [debug] Valor de json_data: {"uuid":"178b4397-45c5-45e8-984d-b2c07f0be784","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:03:53.644074] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:03:53.644129] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:03:53.644140] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:03:53.644151] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:03:53.644160] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:03:53.644166] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:03:53.644174] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:03:53.644218] [debug] {"uuid":"178b4397-45c5-45e8-984d-b2c07f0be784","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:03:53.644264] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:03:53.644277] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"178b4397-45c5-45e8-984d-b2c07f0be784","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:03","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:03","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:03","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:03","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:06:46.274342] [notice] Logging level set to:debug
[2025-06-03 18:06:46.274708] [debug] valor del webhook: {"uuid":"b2a344ed-fdad-4758-bcec-883f30a14b4c","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:06:46.401664] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:06:46.401910] [debug] Valor de JSON: {"uuid":"b2a344ed-fdad-4758-bcec-883f30a14b4c","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:06:46.402199] [debug] Se editó el servicio a un cliente
[2025-06-03 18:06:46.402312] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:06:46.402355] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:06:46.402436] [info] {"uuid":"b2a344ed-fdad-4758-bcec-883f30a14b4c","changeType":"edit","entity":"service","entityId":157,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:06"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:06","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:03\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:06:51.154616] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:06:51.154742] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:06:51.154766] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:06:51.311961] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:06:51.312258] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:06:51.454783] [notice] Logging level set to:debug
[2025-06-03 18:06:51.454929] [debug] valor del webhook: {"uuid":"c02c74e5-cfe3-44c5-9f2b-5379c98ab6b9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:06:51.540307] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:06:51.540503] [debug] Valor de JSON: {"uuid":"c02c74e5-cfe3-44c5-9f2b-5379c98ab6b9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:06:51.540688] [debug] Se actualiza a un cliente
[2025-06-03 18:06:51.540771] [debug] Valor de json_data: {"uuid":"c02c74e5-cfe3-44c5-9f2b-5379c98ab6b9","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:06:51.594225] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:06:51.594280] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:06:51.594291] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:06:51.594302] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:06:51.594310] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:06:51.594317] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:06:51.594325] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:06:51.594368] [debug] {"uuid":"c02c74e5-cfe3-44c5-9f2b-5379c98ab6b9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:06:51.594440] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:06:51.594450] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"c02c74e5-cfe3-44c5-9f2b-5379c98ab6b9","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:06\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:06","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:06","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:06","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:06\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:06","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:06\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:09:52.981587] [notice] Logging level set to:debug
[2025-06-03 18:09:52.981949] [debug] valor del webhook: {"uuid":"c3184dca-147e-4b55-9195-6a1843fb53a4","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:09:53.111104] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:09:53.111299] [debug] Valor de JSON: {"uuid":"c3184dca-147e-4b55-9195-6a1843fb53a4","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:09:53.111566] [debug] Se editó el servicio a un cliente
[2025-06-03 18:09:53.111674] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:09:53.111716] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:09:53.111810] [info] {"uuid":"c3184dca-147e-4b55-9195-6a1843fb53a4","changeType":"edit","entity":"service","entityId":157,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:09"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:09","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:06\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:09:54.957384] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:09:54.957561] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:09:54.957609] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:09:55.101398] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:09:55.101896] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:09:55.222548] [notice] Logging level set to:debug
[2025-06-03 18:09:55.222706] [debug] valor del webhook: {"uuid":"923fdb4f-ee11-4ec0-92e8-84fb40b3e6d1","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:09:55.316936] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:09:55.317164] [debug] Valor de JSON: {"uuid":"923fdb4f-ee11-4ec0-92e8-84fb40b3e6d1","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:09:55.317356] [debug] Se actualiza a un cliente
[2025-06-03 18:09:55.317435] [debug] Valor de json_data: {"uuid":"923fdb4f-ee11-4ec0-92e8-84fb40b3e6d1","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:09:55.363538] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:09:55.363681] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:09:55.363732] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:09:55.363774] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:09:55.363810] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:09:55.363845] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:09:55.363878] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:09:55.363951] [debug] {"uuid":"923fdb4f-ee11-4ec0-92e8-84fb40b3e6d1","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:09:55.364048] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:09:55.364088] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"923fdb4f-ee11-4ec0-92e8-84fb40b3e6d1","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:09","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:09","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:09","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:09","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:12:35.085747] [notice] Logging level set to:debug
[2025-06-03 18:12:35.085844] [debug] valor del webhook: {"uuid":"af615030-7655-4d70-a2de-5b5c0398c059","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[{"id":"6eb52ebd-1ce3-4a86-894d-4bdea1d6f9f8","serviceId":157,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"1","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[{"id":"6eb52ebd-1ce3-4a86-894d-4bdea1d6f9f8","serviceId":157,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:12:35.230144] [debug] valor el evento recibido por webhook: service.edit
[2025-06-03 18:12:35.230221] [debug] Valor de JSON: {"uuid":"af615030-7655-4d70-a2de-5b5c0398c059","changeType":"edit","entity":"service","entityId":"157","eventName":"service.edit","extraData":{"entity":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[{"id":"6eb52ebd-1ce3-4a86-894d-4bdea1d6f9f8","serviceId":157,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"1","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[{"id":"6eb52ebd-1ce3-4a86-894d-4bdea1d6f9f8","serviceId":157,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
[2025-06-03 18:12:35.230451] [debug] Se editó el servicio a un cliente
[2025-06-03 18:12:35.230532] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:12:35.230547] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-03 18:12:35.230607] [info] {"uuid":"af615030-7655-4d70-a2de-5b5c0398c059","changeType":"edit","entity":"service","entityId":157,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":157,"prepaid":false,"clientId":2,"status":1,"name":"INTERMEDIO","fullAddress":"Chiapas 50, Dolores Hidalgo, 37800","street1":"Chiapas 50","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1570572,"addressGpsLon":-100.9398632,"servicePlanId":3,"servicePlanPeriodId":13,"price":500,"hasIndividualPrice":false,"totalPrice":500,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-06-03T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-06-03T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"INTERMEDIO","servicePlanPrice":500,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":12,"uploadSpeed":12,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"b04fe4ec-e6e4-4202-8dbc-bec31ac1a21d","attributes":[{"id":"6eb52ebd-1ce3-4a86-894d-4bdea1d6f9f8","serviceId":157,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"1","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:12"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:12","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-03 18:12:37.191597] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:12:37.191718] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-03 18:12:37.191734] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:12:37.351368] [info] Se actualizó el custom attribute del cliente 2
[2025-06-03 18:12:37.351850] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:12:37.494364] [notice] Logging level set to:debug
[2025-06-03 18:12:37.494446] [debug] valor del webhook: {"uuid":"6509c022-ad77-401a-91f4-9f54e98ea3c6","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:12:37.567854] [debug] valor el evento recibido por webhook: client.edit
[2025-06-03 18:12:37.567955] [debug] Valor de JSON: {"uuid":"6509c022-ad77-401a-91f4-9f54e98ea3c6","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:12:37.568064] [debug] Se actualiza a un cliente
[2025-06-03 18:12:37.568118] [debug] Valor de json_data: {"uuid":"6509c022-ad77-401a-91f4-9f54e98ea3c6","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-03 18:12:37.612740] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-03 18:12:37.612875] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:12:37.612921] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-03 18:12:37.612967] [debug] El cliente no cambió de potencial a cliente
[2025-06-03 18:12:37.613004] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-03 18:12:37.613039] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-03 18:12:37.613073] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-03 18:12:37.613141] [debug] {"uuid":"6509c022-ad77-401a-91f4-9f54e98ea3c6","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-03 18:12:37.613212] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-03 18:12:37.613249] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"6509c022-ad77-401a-91f4-9f54e98ea3c6","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"03\/06\/2025 12:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 03\/06\/2025 12:12","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "03/06/2025 12:12","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:12","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 03/06/2025 12:12","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"03/06/2025 12:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-04 6:25:02.856463] [notice] Logging level set to:debug
[2025-06-04 6:25:02.856550] [debug] valor del webhook: {"uuid":"14af8d9c-41fe-4f9d-b63c-55f773862e9b","changeType":"overdue","entity":"invoice","entityId":"1939","eventName":"invoice.overdue","extraData":{"entity":{"id":1939,"clientId":122,"number":"001889","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1942,"type":"service","label":"plan300 20\/04\/2025 \u2013 19\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-04 6:25:03.030020] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-04 6:25:03.030081] [debug] Valor de JSON: {"uuid":"14af8d9c-41fe-4f9d-b63c-55f773862e9b","changeType":"overdue","entity":"invoice","entityId":"1939","eventName":"invoice.overdue","extraData":{"entity":{"id":1939,"clientId":122,"number":"001889","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1942,"type":"service","label":"plan300 20\/04\/2025 \u2013 19\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-04 6:25:03.030298] [debug] Factura vencida
[2025-06-04 6:25:03.030343] [debug] datos del notification para el invoice overdue:{"uuid":"14af8d9c-41fe-4f9d-b63c-55f773862e9b","changeType":"overdue","entity":"invoice","entityId":1939,"message":null,"clientId":122,"eventName":"invoice.overdue","clientData":{"id":122,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PLTARCO 8, LINDAVISTA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PLTARCO 8, LINDAVISTA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"MARQUEZ GONZALEZ","username":null,"contacts":[{"id":126,"clientId":122,"email":null,"phone":"55667788","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":125,"clientId":122,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Q8uWOC8sjQem1K","clientZoneVisible":true},{"id":126,"clientId":122,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180296730137251","clientZoneVisible":true}],"accountBalance":-5490,"accountCredit":0,"accountOutstanding":5490,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.171581132292,"addressGpsLon":-100.9286433436,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1939,"clientId":122,"number":"001889","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1942,"type":"service","label":"plan300 20\/04\/2025 \u2013 19\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLTARCO 8, LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-04 6:25:03.030375] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-04 6:25:03.030493] [debug] Numero de cel obtenido
[2025-06-04 6:25:03.030504] [warning] No se encontró un teléfono celular válido para el cliente: 122
[2025-06-04 6:25:03.190370] [notice] Logging level set to:debug
[2025-06-04 6:25:03.190421] [debug] valor del webhook: {"uuid":"8d642a15-5790-4721-8958-e6680f45ec29","changeType":"overdue","entity":"invoice","entityId":"1940","eventName":"invoice.overdue","extraData":{"entity":{"id":1940,"clientId":121,"number":"001890","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1943,"type":"service","label":"INTERMEDIO 20\/04\/2025 \u2013 19\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-04 6:25:03.418226] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-04 6:25:03.418284] [debug] Valor de JSON: {"uuid":"8d642a15-5790-4721-8958-e6680f45ec29","changeType":"overdue","entity":"invoice","entityId":"1940","eventName":"invoice.overdue","extraData":{"entity":{"id":1940,"clientId":121,"number":"001890","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1943,"type":"service","label":"INTERMEDIO 20\/04\/2025 \u2013 19\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-04 6:25:03.418404] [debug] Factura vencida
[2025-06-04 6:25:03.418448] [debug] datos del notification para el invoice overdue:{"uuid":"8d642a15-5790-4721-8958-e6680f45ec29","changeType":"overdue","entity":"invoice","entityId":1940,"message":null,"clientId":121,"eventName":"invoice.overdue","clientData":{"id":121,"userIdent":"-105.998","previousIsp":"angel","isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"plutarco elias calles 8,lindavista","street2":"enfrente del parque","city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"plutarco elias calles 8,lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":false,"invoiceMaturityDays":null,"stopServiceDue":false,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-20T00:00:00-0600","leadConvertedAt":"2024-05-20T13:45:39-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"flor","lastName":"marquez gonzalez","username":null,"contacts":[{"id":125,"clientId":121,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":120,"clientId":121,"customAttributeId":2,"name":"CelularNotificaciones","key":"celularnotificaciones","value":"172.16.117.243","clientZoneVisible":true},{"id":121,"clientId":121,"customAttributeId":4,"name":"Whatsapp","key":"whatsapp","value":"Siip.567","clientZoneVisible":true},{"id":122,"clientId":121,"customAttributeId":5,"name":"uuid","key":"uuid","value":"admin1343","clientZoneVisible":true},{"id":123,"clientId":121,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"22372x9000055","clientZoneVisible":true},{"id":124,"clientId":121,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"21.9758566","clientZoneVisible":true}],"accountBalance":-5816.67,"accountCredit":0,"accountOutstanding":5816.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.5,"addressGpsLon":-100,"isArchived":false,"generateProformaInvoices":false,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1940,"clientId":121,"number":"001890","createdDate":"2025-05-20T10:00:01-0600","dueDate":"2025-06-03T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-18T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1943,"type":"service","label":"INTERMEDIO 20\/04\/2025 \u2013 19\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-04 6:25:03.418476] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
contac vacio
[2025-06-04 6:25:03.418572] [debug] Numero de cel obtenido
[2025-06-04 6:25:03.418585] [warning] No se encontró un teléfono celular válido para el cliente: 121
[2025-06-04 20:47:27.099831] [notice] Logging level set to:debug
[2025-06-04 20:47:27.099912] [debug] valor del webhook: {"uuid":"e6993dc7-80eb-43b9-8cd1-7df25d15fa34","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:27.180392] [debug] valor el evento recibido por webhook: client.edit
[2025-06-04 20:47:27.180493] [debug] Valor de JSON: {"uuid":"e6993dc7-80eb-43b9-8cd1-7df25d15fa34","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:27.180753] [debug] Se actualiza a un cliente
[2025-06-04 20:47:27.180809] [debug] Valor de json_data: {"uuid":"e6993dc7-80eb-43b9-8cd1-7df25d15fa34","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:27.231149] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-04 20:47:27.231195] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:27.231208] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:27.231218] [debug] El cliente no cambió de potencial a cliente
[2025-06-04 20:47:27.231226] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-04 20:47:27.231234] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-04 20:47:27.231240] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-04 20:47:27.231286] [debug] {"uuid":"e6993dc7-80eb-43b9-8cd1-7df25d15fa34","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-04 20:47:27.231447] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-04 20:47:27.231494] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"e6993dc7-80eb-43b9-8cd1-7df25d15fa34","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro Dolores","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"04\/06\/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/06\/2025 14:47","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "04/06/2025 14:47","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro Dolores","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 04/06/2025 14:47","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"04/06/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro Dolores","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 04/06/2025 14:47","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"04/06/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-04 20:47:30.223315] [notice] Logging level set to:debug
[2025-06-04 20:47:30.223484] [debug] valor del webhook: {"uuid":"0c25193b-3182-4f5e-a9e7-740ac58ed33b","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro Dolores","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]}}}
[2025-06-04 20:47:30.374839] [debug] valor el evento recibido por webhook: service.edit
[2025-06-04 20:47:30.375128] [debug] Valor de JSON: {"uuid":"0c25193b-3182-4f5e-a9e7-740ac58ed33b","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro Dolores","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]}}}
[2025-06-04 20:47:30.375313] [debug] Se editó el servicio a un cliente
[2025-06-04 20:47:30.375395] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-04 20:47:30.375436] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-04 20:47:30.375519] [info] {"uuid":"0c25193b-3182-4f5e-a9e7-740ac58ed33b","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro Dolores","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/06\/2025 14:47"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro Dolores","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultima Actualizacion":"📆🔄️ 04/06/2025 14:47","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"04/06/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-04 20:47:32.070436] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-04 20:47:32.070557] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-04 20:47:32.070575] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:32.227475] [info] Se actualizó el custom attribute del cliente 2
[2025-06-04 20:47:32.227900] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:32.342335] [notice] Logging level set to:debug
[2025-06-04 20:47:32.342411] [debug] valor del webhook: {"uuid":"0d4f521b-4cd4-4af3-9140-6e9f6c2819cb","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:32.420232] [debug] valor el evento recibido por webhook: client.edit
[2025-06-04 20:47:32.420444] [debug] Valor de JSON: {"uuid":"0d4f521b-4cd4-4af3-9140-6e9f6c2819cb","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:32.420615] [debug] Se actualiza a un cliente
[2025-06-04 20:47:32.420698] [debug] Valor de json_data: {"uuid":"0d4f521b-4cd4-4af3-9140-6e9f6c2819cb","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-04 20:47:32.474814] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-04 20:47:32.474953] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:32.475019] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-04 20:47:32.475060] [debug] El cliente no cambió de potencial a cliente
[2025-06-04 20:47:32.475097] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-04 20:47:32.475131] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-04 20:47:32.475167] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-04 20:47:32.475238] [debug] {"uuid":"0d4f521b-4cd4-4af3-9140-6e9f6c2819cb","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-04 20:47:32.475300] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-04 20:47:32.475337] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"0d4f521b-4cd4-4af3-9140-6e9f6c2819cb","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Centro Dolores","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"04\/06\/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 04\/06\/2025 14:47","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "04/06/2025 14:47","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro Dolores","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 04/06/2025 14:47","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"04/06/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Centro Dolores","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 04/06/2025 14:47","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"04/06/2025 14:47\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-04 20:58:32.298691] [notice] Logging level set to:debug
[2025-06-04 20:58:32.298780] [debug] valor del webhook: {"uuid":"23500a4b-e931-4927-a438-10b7b7a88d1e","changeType":"insert","entity":"job","entityId":"55","eventName":"job.add","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 20:58:32.325076] [debug] valor el evento recibido por webhook: job.add
[2025-06-04 20:58:32.325130] [debug] Valor de JSON: {"uuid":"23500a4b-e931-4927-a438-10b7b7a88d1e","changeType":"insert","entity":"job","entityId":"55","eventName":"job.add","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 20:58:32.325340] [debug] Se ha agregado un nuevo trabajo
[2025-06-04 20:58:32.325367] [debug] Valor de json_data: {"uuid":"23500a4b-e931-4927-a438-10b7b7a88d1e","changeType":"insert","entity":"job","entityId":"55","eventName":"job.add","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 20:58:32.387058] [debug] Respuesta de la API al agregar el trabajo: {"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}
[2025-06-04 20:58:32.528320] [notice] Logging level set to:debug
[2025-06-04 20:58:32.528487] [debug] valor del webhook: {"uuid":"d54a64f6-8026-4107-b0d3-6ac8538f2ad0","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:32.558199] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:58:32.558346] [debug] Valor de JSON: {"uuid":"d54a64f6-8026-4107-b0d3-6ac8538f2ad0","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:32.558568] [debug] Se actualiza un trabajo
[2025-06-04 20:58:32.558619] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 20:58:32.674511] [notice] Logging level set to:debug
[2025-06-04 20:58:32.674771] [debug] valor del webhook: {"uuid":"8b9b6818-ab1f-44e1-b2be-76bec123517d","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:32.703716] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:58:32.703850] [debug] Valor de JSON: {"uuid":"8b9b6818-ab1f-44e1-b2be-76bec123517d","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:32.703975] [debug] Se actualiza un trabajo
[2025-06-04 20:58:32.704020] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 20:58:51.179948] [notice] Logging level set to:debug
[2025-06-04 20:58:51.180274] [debug] valor del webhook: {"uuid":"0be09946-1364-4991-8711-53004fe1c261","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:51.209093] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:58:51.209270] [debug] Valor de JSON: {"uuid":"0be09946-1364-4991-8711-53004fe1c261","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":null,"clientId":156,"date":null,"duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:51.209522] [debug] Se actualiza un trabajo
[2025-06-04 20:58:51.209583] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 20:58:53.594706] [notice] Logging level set to:debug
[2025-06-04 20:58:53.595314] [debug] valor del webhook: {"uuid":"f40dfc53-171d-4b5b-ab9d-f16a00497d2a","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:53.625649] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:58:53.625848] [debug] Valor de JSON: {"uuid":"f40dfc53-171d-4b5b-ab9d-f16a00497d2a","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:53.626055] [debug] Se actualiza un trabajo
[2025-06-04 20:58:53.626135] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 20:58:53.626202] [debug] El instalador cambió de null a un valor
[2025-06-04 20:58:53.626277] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-04 20:58:53.626405] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"f40dfc53-171d-4b5b-ab9d-f16a00497d2a","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:53.626497] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"f40dfc53-171d-4b5b-ab9d-f16a00497d2a","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":0,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:58:53.626564] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-04 20:58:53.626625] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-06-04 20:58:53.626696] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Gricelda López",
"whatsapp": "4181817609"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-06-04 20:58:53.659657] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1131,"unmsId":"e41322b0-ad84-4f0d-9fc1-8af290d2a31c","email":"avalos.mgla@gmail.com","firstName":"Mar\u00eda Grielda","lastName":"L\u00f3pez Avalos","username":"gricelda","avatarColor":"#ef5350","isActive":true}
[2025-06-04 20:58:53.659876] [warning] No se encontró un número de WhatsApp para el instalador con ID 1019
[2025-06-04 20:58:53.689924] [debug] Valor de $installerFullName: María Grielda López Avalos
[2025-06-04 20:58:53.751805] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 4181817609
[2025-06-04 20:58:53.751929] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["4181817609"]
[2025-06-04 20:58:53.752049] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181817609"]
[2025-06-04 20:58:53.752141] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Maria Gricelda L\u00f3pez Avalos","jobId":"55","date":"*04\/06\/2025*","installerName":"Mar\u00eda Grielda L\u00f3pez Avalos"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Maria Gricelda López Avalos*", "*#⃣55*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *María Grielda López Avalos*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"a27e8528964b4f8f8cd3b3b15366e32d","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-04 20:58:54.562824] [info] Notificación enviada correctamente al cliente con teléfono 4181817609 después de 1 intento(s).
[2025-06-04 20:58:54.563117] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Ir a checar instalación
[2025-06-04 20:58:54.641752] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Ir a checar instalación
[2025-06-04 20:58:54.641882] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-06-04 20:58:54.641928] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Maria Gricelda L\u00f3pez Avalos [ID:156]","jobId":"55","clientAddress":"Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181817609","date":"*04\/06\/2025*","jobDescription":"Buen servicio para la dama","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1562598,-100.9370894"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *55*, del cliente 👤 *Maria Gricelda López Avalos [ID:156]*, para el 🗓️ *04/06/2025*", "5214181817609", "https://www.google.com/maps?q=21.1562598,-100.9370894", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"error":{"to":["can't be blank"]}}
Error al enviar la notificación: {"to":["can't be blank"]}
[2025-06-04 20:58:56.412914] [warning] Intento 1 fallido para enviar notificación a 4181817609. Reintentando...
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Maria Gricelda L\u00f3pez Avalos [ID:156]","jobId":"55","clientAddress":"Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181817609","date":"*04\/06\/2025*","jobDescription":"Buen servicio para la dama","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1562598,-100.9370894"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *55*, del cliente 👤 *Maria Gricelda López Avalos [ID:156]*, para el 🗓️ *04/06/2025*", "5214181817609", "https://www.google.com/maps?q=21.1562598,-100.9370894", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"error":{"to":["can't be blank"]}}
Error al enviar la notificación: {"to":["can't be blank"]}
[2025-06-04 20:58:58.158371] [warning] Intento 2 fallido para enviar notificación a 4181817609. Reintentando...
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Maria Gricelda L\u00f3pez Avalos [ID:156]","jobId":"55","clientAddress":"Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","clientWhatsApp":"5214181817609","date":"*04\/06\/2025*","jobDescription":"Buen servicio para la dama","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1562598,-100.9370894"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *55*, del cliente 👤 *Maria Gricelda López Avalos [ID:156]*, para el 🗓️ *04/06/2025*", "5214181817609", "https://www.google.com/maps?q=21.1562598,-100.9370894", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"error":{"to":["can't be blank"]}}
Error al enviar la notificación: {"to":["can't be blank"]}
[2025-06-04 20:58:59.908895] [warning] Intento 3 fallido para enviar notificación a 4181817609. Reintentando...
[2025-06-04 20:59:00.032511] [notice] Logging level set to:debug
[2025-06-04 20:59:00.032798] [debug] valor del webhook: {"uuid":"ee8eb906-e0fe-4c07-b47a-45a5c2b86cfe","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:59:00.067224] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:59:00.067368] [debug] Valor de JSON: {"uuid":"ee8eb906-e0fe-4c07-b47a-45a5c2b86cfe","changeType":"edit","entity":"job","entityId":"55","eventName":"job.edit","extraData":{"entity":{"id":55,"title":"Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":55,"title":"[NOTIFICACION-PENDIENTE]Ir a checar instalaci\u00f3n","description":"Buen servicio para la dama","assignedUserId":1131,"clientId":156,"date":"2025-06-04T15:00:47-0600","duration":60,"status":1,"address":"34 Yucat\u00e1n, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:59:00.067522] [debug] Se actualiza un trabajo
[2025-06-04 20:59:00.067569] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 20:59:00.067615] [debug] No hubo cambio en el instalador ni en la fecha
[2025-06-04 20:59:43.271218] [notice] Logging level set to:debug
[2025-06-04 20:59:43.271327] [debug] valor del webhook: {"uuid":"1d6d1250-110c-4c63-91a3-03f811e5dada","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:59:43.300298] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 20:59:43.300368] [debug] Valor de JSON: {"uuid":"1d6d1250-110c-4c63-91a3-03f811e5dada","changeType":"edit","entity":"job","entityId":"54","eventName":"job.edit","extraData":{"entity":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":54,"title":"Ir a checar instalaci\u00f3n","description":"Andan mal esos equipos","assignedUserId":1019,"clientId":2,"date":"2025-06-04T16:00:00-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 20:59:43.300808] [debug] Se actualiza un trabajo
[2025-06-04 20:59:43.300837] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:01.198338] [notice] Logging level set to:debug
[2025-06-04 21:00:01.198434] [debug] valor del webhook: {"uuid":"cb8e0c6a-9f6d-4660-9a54-82b0b9c2c396","changeType":"insert","entity":"job","entityId":"56","eventName":"job.add","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 21:00:01.340351] [debug] valor el evento recibido por webhook: job.add
[2025-06-04 21:00:01.340405] [debug] Valor de JSON: {"uuid":"cb8e0c6a-9f6d-4660-9a54-82b0b9c2c396","changeType":"insert","entity":"job","entityId":"56","eventName":"job.add","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 21:00:01.340640] [debug] Se ha agregado un nuevo trabajo
[2025-06-04 21:00:01.340662] [debug] Valor de json_data: {"uuid":"cb8e0c6a-9f6d-4660-9a54-82b0b9c2c396","changeType":"insert","entity":"job","entityId":"56","eventName":"job.add","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":null}}
[2025-06-04 21:00:01.675654] [debug] Respuesta de la API al agregar el trabajo: {"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}
[2025-06-04 21:00:01.789207] [notice] Logging level set to:debug
[2025-06-04 21:00:01.789357] [debug] valor del webhook: {"uuid":"479ee27e-9d58-471c-b3b0-2961523be26d","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:01.848660] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:00:01.848793] [debug] Valor de JSON: {"uuid":"479ee27e-9d58-471c-b3b0-2961523be26d","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:01.848932] [debug] Se actualiza un trabajo
[2025-06-04 21:00:01.848978] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:01.960500] [notice] Logging level set to:debug
[2025-06-04 21:00:01.960649] [debug] valor del webhook: {"uuid":"9c758057-a18b-4d04-b3a1-8505e0ff0072","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:02.015232] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:00:02.015378] [debug] Valor de JSON: {"uuid":"9c758057-a18b-4d04-b3a1-8505e0ff0072","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:02.015511] [debug] Se actualiza un trabajo
[2025-06-04 21:00:02.015556] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:28.115499] [notice] Logging level set to:debug
[2025-06-04 21:00:28.115609] [debug] valor del webhook: {"uuid":"3613fde9-a1e3-4641-90da-320d52d07bce","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:28.153341] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:00:28.153497] [debug] Valor de JSON: {"uuid":"3613fde9-a1e3-4641-90da-320d52d07bce","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":null,"clientId":2,"date":null,"duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:28.153765] [debug] Se actualiza un trabajo
[2025-06-04 21:00:28.153822] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:35.256454] [notice] Logging level set to:debug
[2025-06-04 21:00:35.256761] [debug] valor del webhook: {"uuid":"63ca62d2-42fb-420b-b877-2469cafcbe38","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:35.289767] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:00:35.289905] [debug] Valor de JSON: {"uuid":"63ca62d2-42fb-420b-b877-2469cafcbe38","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:35.290050] [debug] Se actualiza un trabajo
[2025-06-04 21:00:35.290098] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:35.290138] [debug] El instalador cambió de null a un valor
[2025-06-04 21:00:35.290185] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-04 21:00:35.290263] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"63ca62d2-42fb-420b-b877-2469cafcbe38","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:35.290311] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"63ca62d2-42fb-420b-b877-2469cafcbe38","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:35.290359] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-04 21:00:35.290394] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-06-04 21:00:35.290436] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Gricelda López",
"whatsapp": "4181817609"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
}
]
}
[2025-06-04 21:00:35.320611] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1173,"unmsId":"5cb37ee8-e445-4b2a-87d4-6c83eebb8944","email":"hachi9801@gmail.com","firstName":"\u00c1ngel ","lastName":"Arvizu","username":"mamey","avatarColor":"#4caf50","isActive":true}
[2025-06-04 21:00:35.320739] [debug] Número de WhatsApp del Instalador: 4181817609
[2025-06-04 21:00:35.352730] [debug] Valor de $installerFullName: Ángel Arvizu
[2025-06-04 21:00:35.411578] [error] Las coordenadas no están disponibles en el JSON
[2025-06-04 21:00:35.411726] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-04 21:00:35.411767] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-04 21:00:35.411856] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-04 21:00:35.411905] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"\u00c1ngel Arvizu"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Ángel Arvizu*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"561a9c8e018c4e4288d00193d1f0af22","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-04 21:00:36.200710] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-04 21:00:36.200942] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Servicio
[2025-06-04 21:00:36.273972] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Servicio
[2025-06-04 21:00:36.274112] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-06-04 21:00:36.274158] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\u00c1ngel Arvizu","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Centro Dolores","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":null}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Ángel Arvizu* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f68748e3bad842e590a45d232cd611ac","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-04 21:00:37.153369] [notice] Logging level set to:debug
[2025-06-04 21:00:37.153610] [debug] valor del webhook: {"uuid":"86d69f7a-63d8-4133-8b54-aacbee6bdc8b","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:37.184451] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:00:37.184640] [debug] Valor de JSON: {"uuid":"86d69f7a-63d8-4133-8b54-aacbee6bdc8b","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:00:37.184818] [debug] Se actualiza un trabajo
[2025-06-04 21:00:37.184887] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:00:37.184947] [debug] No hubo cambio en el instalador ni en la fecha
[2025-06-04 21:03:13.160414] [notice] Logging level set to:debug
[2025-06-04 21:03:13.160778] [debug] valor del webhook: {"uuid":"6a46c35e-445e-4759-9d45-fcb28f944576","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:03:13.191871] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:03:13.192011] [debug] Valor de JSON: {"uuid":"6a46c35e-445e-4759-9d45-fcb28f944576","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:03:13.192261] [debug] Se actualiza un trabajo
[2025-06-04 21:03:13.192326] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:09:38.397340] [notice] Logging level set to:debug
[2025-06-04 21:09:38.397516] [debug] valor del webhook: {"uuid":"c5138557-3450-4d48-a632-1d9bc1ba89a5","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:09:38.425637] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:09:38.425770] [debug] Valor de JSON: {"uuid":"c5138557-3450-4d48-a632-1d9bc1ba89a5","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:09:38.427337] [debug] Se actualiza un trabajo
[2025-06-04 21:09:38.427468] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:10:01.762481] [notice] Logging level set to:debug
[2025-06-04 21:10:01.775058] [debug] valor del webhook: {"uuid":"36ace3db-cdf5-4e65-88e9-38da224f7d54","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:01.853774] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:10:01.853919] [debug] Valor de JSON: {"uuid":"36ace3db-cdf5-4e65-88e9-38da224f7d54","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:01.857641] [debug] Se actualiza un trabajo
[2025-06-04 21:10:01.857762] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:10:35.307117] [notice] Logging level set to:debug
[2025-06-04 21:10:35.307419] [debug] valor del webhook: {"uuid":"2edf434c-1679-483d-b3c3-a15bf29b1240","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:35.346956] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:10:35.347023] [debug] Valor de JSON: {"uuid":"2edf434c-1679-483d-b3c3-a15bf29b1240","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1173,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:35.347234] [debug] Se actualiza un trabajo
[2025-06-04 21:10:35.347254] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:10:39.192167] [notice] Logging level set to:debug
[2025-06-04 21:10:39.192487] [debug] valor del webhook: {"uuid":"89100417-d916-4c36-97e3-f3e266990f9f","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:39.222518] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:10:39.222668] [debug] Valor de JSON: {"uuid":"89100417-d916-4c36-97e3-f3e266990f9f","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:39.222856] [debug] Se actualiza un trabajo
[2025-06-04 21:10:39.222913] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:10:39.222961] [debug] El instalador cambió de null a un valor
[2025-06-04 21:10:39.223051] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-04 21:10:39.223159] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"89100417-d916-4c36-97e3-f3e266990f9f","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:39.223216] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"89100417-d916-4c36-97e3-f3e266990f9f","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:39.223262] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-04 21:10:39.223303] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-06-04 21:10:39.223352] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181878106"
}
]
}
[2025-06-04 21:10:39.254678] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1131,"unmsId":"e41322b0-ad84-4f0d-9fc1-8af290d2a31c","email":"avalos.mgla@gmail.com","firstName":"Mar\u00eda Grielda","lastName":"L\u00f3pez Avalos","username":"gricelda","avatarColor":"#ef5350","isActive":true}
[2025-06-04 21:10:39.254802] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-06-04 21:10:39.291098] [debug] Valor de $installerFullName: María Grielda López Avalos
[2025-06-04 21:10:39.353348] [error] Las coordenadas no están disponibles en el JSON
[2025-06-04 21:10:39.353585] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-04 21:10:39.353646] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-04 21:10:39.353771] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-04 21:10:39.353854] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mar\u00eda Grielda L\u00f3pez Avalos"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *María Grielda López Avalos*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"b793d78bc68343439929b13c77a26c02","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-04 21:10:40.305290] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-04 21:10:40.305421] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Servicio
[2025-06-04 21:10:40.376540] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Servicio
[2025-06-04 21:10:40.378037] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-06-04 21:10:40.378149] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Centro Dolores","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":null}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"adc550b7069f4ed1b6327234835b5f3e","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-04 21:10:41.297240] [notice] Logging level set to:debug
[2025-06-04 21:10:41.297301] [debug] valor del webhook: {"uuid":"eee67094-fb8f-4518-86c2-2c4674d1792c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:41.331646] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:10:41.331815] [debug] Valor de JSON: {"uuid":"eee67094-fb8f-4518-86c2-2c4674d1792c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:10:41.331968] [debug] Se actualiza un trabajo
[2025-06-04 21:10:41.332020] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-04 21:10:41.332088] [debug] No hubo cambio en el instalador ni en la fecha
[2025-06-04 21:13:19.079271] [notice] Logging level set to:debug
[2025-06-04 21:13:19.079368] [debug] valor del webhook: {"uuid":"cd279b98-bdda-4548-81fb-ec67e9e481fa","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:13:19.106556] [debug] valor el evento recibido por webhook: job.edit
[2025-06-04 21:13:19.106614] [debug] Valor de JSON: {"uuid":"cd279b98-bdda-4548-81fb-ec67e9e481fa","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-04 21:13:19.106837] [debug] Se actualiza un trabajo
[2025-06-04 21:13:19.106859] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 6:25:02.780204] [notice] Logging level set to:debug
[2025-06-05 6:25:02.780301] [debug] valor del webhook: {"uuid":"640f122c-bf70-445d-9738-e4382e860719","changeType":"overdue","entity":"invoice","entityId":"1941","eventName":"invoice.overdue","extraData":{"entity":{"id":1941,"clientId":105,"number":"001891","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1944,"type":"service","label":"plan300 21\/04\/2025 \u2013 20\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:02.951335] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-05 6:25:02.951397] [debug] Valor de JSON: {"uuid":"640f122c-bf70-445d-9738-e4382e860719","changeType":"overdue","entity":"invoice","entityId":"1941","eventName":"invoice.overdue","extraData":{"entity":{"id":1941,"clientId":105,"number":"001891","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1944,"type":"service","label":"plan300 21\/04\/2025 \u2013 20\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:02.951605] [debug] Factura vencida
[2025-06-05 6:25:02.951646] [debug] datos del notification para el invoice overdue:{"uuid":"640f122c-bf70-445d-9738-e4382e860719","changeType":"overdue","entity":"invoice","entityId":1941,"message":null,"clientId":105,"eventName":"invoice.overdue","clientData":{"id":105,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":null,"countryId":173,"stateId":null,"zipCode":null,"fullAddress":null,"invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-02-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"jota","lastName":"serpiente","username":null,"contacts":[{"id":109,"clientId":105,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-3500,"accountCredit":0,"accountOutstanding":3500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1941,"clientId":105,"number":"001891","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1944,"type":"service","label":"plan300 21\/04\/2025 \u2013 20\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-05 6:25:02.951683] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
contac vacio
[2025-06-05 6:25:02.951837] [debug] Numero de cel obtenido
[2025-06-05 6:25:02.951849] [warning] No se encontró un teléfono celular válido para el cliente: 105
[2025-06-05 6:25:03.100394] [notice] Logging level set to:debug
[2025-06-05 6:25:03.100442] [debug] valor del webhook: {"uuid":"ce0a0717-a3fc-4a73-9574-5ca08fcb2bbe","changeType":"overdue","entity":"invoice","entityId":"1942","eventName":"invoice.overdue","extraData":{"entity":{"id":1942,"clientId":134,"number":"001892","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1945,"type":"service","label":"PREMIUM 21\/04\/2025 \u2013 20\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.279905] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-05 6:25:03.279958] [debug] Valor de JSON: {"uuid":"ce0a0717-a3fc-4a73-9574-5ca08fcb2bbe","changeType":"overdue","entity":"invoice","entityId":"1942","eventName":"invoice.overdue","extraData":{"entity":{"id":1942,"clientId":134,"number":"001892","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1945,"type":"service","label":"PREMIUM 21\/04\/2025 \u2013 20\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.280051] [debug] Factura vencida
[2025-06-05 6:25:03.280090] [debug] datos del notification para el invoice overdue:{"uuid":"ce0a0717-a3fc-4a73-9574-5ca08fcb2bbe","changeType":"overdue","entity":"invoice","entityId":1942,"message":null,"clientId":134,"eventName":"invoice.overdue","clientData":{"id":134,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"25 Michoac\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Michoac\u00e1n 25, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"La Mosca","lastName":"Tse Tse","username":null,"contacts":[{"id":138,"clientId":134,"email":"lamoscatsetse@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":190,"clientId":134,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0Igo0UyD5CUtI","clientZoneVisible":true},{"id":191,"clientId":134,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180573205227652","clientZoneVisible":true}],"accountBalance":-7700,"accountCredit":0,"accountOutstanding":7700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#009688","addressGpsLat":21.1576726,"addressGpsLon":-100.9370354,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1942,"clientId":134,"number":"001892","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1945,"type":"service","label":"PREMIUM 21\/04\/2025 \u2013 20\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-05 6:25:03.280118] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-05 6:25:03.280170] [debug] Numero de cel obtenido
[2025-06-05 6:25:03.280181] [warning] No se encontró un teléfono celular válido para el cliente: 134
[2025-06-05 6:25:03.392149] [notice] Logging level set to:debug
[2025-06-05 6:25:03.392199] [debug] valor del webhook: {"uuid":"885a709f-2f17-4b3a-ba4b-010206e1a99c","changeType":"overdue","entity":"invoice","entityId":"1943","eventName":"invoice.overdue","extraData":{"entity":{"id":1943,"clientId":136,"number":"001893","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1946,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.543935] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-05 6:25:03.543992] [debug] Valor de JSON: {"uuid":"885a709f-2f17-4b3a-ba4b-010206e1a99c","changeType":"overdue","entity":"invoice","entityId":"1943","eventName":"invoice.overdue","extraData":{"entity":{"id":1943,"clientId":136,"number":"001893","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1946,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.544099] [debug] Factura vencida
[2025-06-05 6:25:03.544137] [debug] datos del notification para el invoice overdue:{"uuid":"885a709f-2f17-4b3a-ba4b-010206e1a99c","changeType":"overdue","entity":"invoice","entityId":1943,"message":null,"clientId":136,"eventName":"invoice.overdue","clientData":{"id":136,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"22 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 22, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Mus","lastName":"Tafah","username":null,"contacts":[{"id":140,"clientId":136,"email":"elmus@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-5333.33,"accountCredit":0,"accountOutstanding":5333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1571597,"addressGpsLon":-100.9367744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1943,"clientId":136,"number":"001893","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1946,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-05 6:25:03.544158] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-05 6:25:03.544215] [debug] Numero de cel obtenido
[2025-06-05 6:25:03.544225] [warning] No se encontró un teléfono celular válido para el cliente: 136
[2025-06-05 6:25:03.659492] [notice] Logging level set to:debug
[2025-06-05 6:25:03.659548] [debug] valor del webhook: {"uuid":"0f2ea590-c0c0-4c9e-9ade-11a6c6dd7dee","changeType":"overdue","entity":"invoice","entityId":"1944","eventName":"invoice.overdue","extraData":{"entity":{"id":1944,"clientId":133,"number":"001894","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1947,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.799376] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-05 6:25:03.799426] [debug] Valor de JSON: {"uuid":"0f2ea590-c0c0-4c9e-9ade-11a6c6dd7dee","changeType":"overdue","entity":"invoice","entityId":"1944","eventName":"invoice.overdue","extraData":{"entity":{"id":1944,"clientId":133,"number":"001894","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1947,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-05 6:25:03.799541] [debug] Factura vencida
[2025-06-05 6:25:03.799582] [debug] datos del notification para el invoice overdue:{"uuid":"0f2ea590-c0c0-4c9e-9ade-11a6c6dd7dee","changeType":"overdue","entity":"invoice","entityId":1944,"message":null,"clientId":133,"eventName":"invoice.overdue","clientData":{"id":133,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 34, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Los Amigos","lastName":"Invisibles","username":null,"contacts":[{"id":137,"clientId":133,"email":"amigosinvisibles@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":135,"clientId":133,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJjZqeaZSSPwcT","clientZoneVisible":true},{"id":136,"clientId":133,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180822750421052","clientZoneVisible":true}],"accountBalance":-5333.33,"accountCredit":0,"accountOutstanding":5333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffc107","addressGpsLat":21.1568888,"addressGpsLon":-100.9275759,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1944,"clientId":133,"number":"001894","createdDate":"2025-05-21T10:00:02-0600","dueDate":"2025-06-04T10:00:02-0600","emailSentDate":"2025-06-05T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-19T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1947,"type":"service","label":"INTERMEDIO 21\/04\/2025 \u2013 20\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-05 6:25:03.799611] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-05 6:25:03.799666] [debug] Numero de cel obtenido
[2025-06-05 6:25:03.799679] [warning] No se encontró un teléfono celular válido para el cliente: 133
[2025-06-05 15:23:36.798696] [notice] Logging level set to:debug
[2025-06-05 15:23:36.798777] [debug] valor del webhook: {"uuid":"8c296d97-1cc6-48b3-b05b-33b26129cb5c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:36.828419] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 15:23:36.828460] [debug] Valor de JSON: {"uuid":"8c296d97-1cc6-48b3-b05b-33b26129cb5c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:36.828671] [debug] Se actualiza un trabajo
[2025-06-05 15:23:36.828686] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 15:23:36.828696] [debug] El instalador cambió de null a un valor
[2025-06-05 15:23:36.828718] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 15:23:36.828771] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"8c296d97-1cc6-48b3-b05b-33b26129cb5c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:36.828784] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"8c296d97-1cc6-48b3-b05b-33b26129cb5c","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:36.828794] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 15:23:36.828800] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-06-05 15:23:36.828814] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 15:23:36.861314] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1131,"unmsId":"e41322b0-ad84-4f0d-9fc1-8af290d2a31c","email":"avalos.mgla@gmail.com","firstName":"Mar\u00eda Grielda","lastName":"L\u00f3pez Avalos","username":"gricelda","avatarColor":"#ef5350","isActive":true}
[2025-06-05 15:23:36.861361] [debug] Número de WhatsApp del Instalador: 4181817609
[2025-06-05 15:23:36.893583] [debug] Valor de $installerFullName: María Grielda López Avalos
[2025-06-05 15:23:36.952383] [error] Las coordenadas no están disponibles en el JSON
[2025-06-05 15:23:36.952500] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 15:23:36.952523] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 15:23:36.952610] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 15:23:36.952651] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mar\u00eda Grielda L\u00f3pez Avalos"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *María Grielda López Avalos*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"49357e774fa04dde9120caba7f2aafbe","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 15:23:37.847912] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 15:23:37.847997] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Servicio
[2025-06-05 15:23:37.929887] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Servicio
[2025-06-05 15:23:37.929924] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-06-05 15:23:37.929934] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Centro Dolores","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":null}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"109da1b198794554bb301ecb51b50cdc","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 15:23:38.861938] [notice] Logging level set to:debug
[2025-06-05 15:23:38.862005] [debug] valor del webhook: {"uuid":"a04571f7-3828-4fd8-9396-04bd049e5a1b","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:38.892535] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 15:23:38.892580] [debug] Valor de JSON: {"uuid":"a04571f7-3828-4fd8-9396-04bd049e5a1b","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 15:23:38.892682] [debug] Se actualiza un trabajo
[2025-06-05 15:23:38.892698] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 15:23:38.892712] [debug] No hubo cambio en el instalador ni en la fecha
[2025-06-05 16:03:59.314474] [notice] Logging level set to:debug
[2025-06-05 16:03:59.314568] [debug] valor del webhook: {"uuid":"8ba35e83-3548-4bba-97f6-5615265270c6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:03:59.360821] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:03:59.360970] [debug] Valor de JSON: {"uuid":"8ba35e83-3548-4bba-97f6-5615265270c6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:03:59.361392] [debug] Se actualiza un trabajo
[2025-06-05 16:03:59.363954] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:03:59.364094] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-06-05 16:03:59.364172] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 16:03:59.364305] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"8ba35e83-3548-4bba-97f6-5615265270c6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:03:59.364357] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"8ba35e83-3548-4bba-97f6-5615265270c6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:03:59.364397] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 16:03:59.364432] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-06-05 16:03:59.364474] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 16:03:59.434791] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true}
[2025-06-05 16:03:59.434842] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-06-05 16:03:59.479615] [debug] Valor de $installerFullName: Mucio Robledo Villegas
[2025-06-05 16:03:59.589812] [error] Las coordenadas no están disponibles en el JSON
[2025-06-05 16:03:59.589937] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 16:03:59.590063] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:03:59.590156] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:03:59.590207] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mucio Robledo Villegas"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0d786a00f53347979d1ecb88c55c2ee6","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 16:04:00.517579] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 16:04:00.517904] [debug] Valor de $title en verifyJobActionToDo: Servicio
[2025-06-05 16:04:00.517976] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Servicio
[2025-06-05 16:04:00.518024] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-06-05 16:04:00.518060] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-06-05 16:04:00.631283] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181817609
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fMar\u00eda Grielda L\u00f3pez Avalos","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"56","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Mucio Robledo Villegas*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ 👷🏻María Grielda López Avalos", "se te ha desasignado❌ la tarea con el folio ", "#⃣56", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Mucio Robledo Villegas*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"10d46beeca994db2a7621fff694f43e7","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Centro Dolores","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":null}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"6e7e52cf25014b01a5fcb6412551efff","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 16:23:56.030833] [notice] Logging level set to:debug
[2025-06-05 16:23:56.031013] [debug] valor del webhook: {"uuid":"e53b044e-60df-43dd-bbd3-79d6806ddd22","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:23:56.119815] [debug] valor el evento recibido por webhook: client.edit
[2025-06-05 16:23:56.120028] [debug] Valor de JSON: {"uuid":"e53b044e-60df-43dd-bbd3-79d6806ddd22","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:23:56.120306] [debug] Se actualiza a un cliente
[2025-06-05 16:23:56.120398] [debug] Valor de json_data: {"uuid":"e53b044e-60df-43dd-bbd3-79d6806ddd22","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Centro Dolores","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":null,"addressGpsLon":null,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:23:56.171163] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-05 16:23:56.171281] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:23:56.171324] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:23:56.171372] [debug] El cliente no cambió de potencial a cliente
[2025-06-05 16:23:56.171410] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-05 16:23:56.171443] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-05 16:23:56.171477] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-05 16:23:56.171550] [debug] {"uuid":"e53b044e-60df-43dd-bbd3-79d6806ddd22","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-05 16:23:56.171668] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-05 16:23:56.171708] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"e53b044e-60df-43dd-bbd3-79d6806ddd22","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/06\/2025 10:23\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/06\/2025 10:23","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "05/06/2025 10:23","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:23","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:23\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:23","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:23\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-05 16:23:59.163778] [notice] Logging level set to:debug
[2025-06-05 16:23:59.163988] [debug] valor del webhook: {"uuid":"cfaf2fd1-071c-40aa-a741-b456e9650896","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro Dolores","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]}}}
[2025-06-05 16:23:59.331406] [debug] valor el evento recibido por webhook: service.edit
[2025-06-05 16:23:59.331598] [debug] Valor de JSON: {"uuid":"cfaf2fd1-071c-40aa-a741-b456e9650896","changeType":"edit","entity":"service","entityId":"152","eventName":"service.edit","extraData":{"entity":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Centro Dolores","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":null,"addressGpsLon":null,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]}}}
[2025-06-05 16:23:59.331767] [debug] Se editó el servicio a un cliente
[2025-06-05 16:23:59.331855] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-05 16:23:59.331897] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-05 16:23:59.331985] [info] {"uuid":"cfaf2fd1-071c-40aa-a741-b456e9650896","changeType":"edit","entity":"service","entityId":152,"message":null,"clientId":2,"eventName":"service.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":152,"prepaid":false,"clientId":2,"status":1,"name":"Basico 300","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":"el may","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-01T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-03-25T00:00:00-0600","invoicingPeriodType":2,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":false,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":true,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-06-30T00:00:00-0600","unmsClientSiteId":"13306f9e-1d9b-48b0-aa69-d97db512eab7","attributes":[{"id":"3a13b5e4-3282-480c-b897-2fcb4ea3e200","serviceId":152,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":41,"startDate":"2024-02-23T00:00:00-0600","endDate":"2024-03-07T00:00:00-0600"},{"id":42,"startDate":"2024-03-11T00:00:00-0600","endDate":"2024-03-14T00:00:00-0600"},{"id":97,"startDate":"2024-05-10T00:00:00-0600","endDate":"2024-05-21T00:00:00-0600"},{"id":103,"startDate":"2024-07-07T00:00:00-0600","endDate":"2024-08-08T00:00:00-0600"},{"id":118,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":117,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":119,"startDate":"2024-12-12T00:00:00-0600","endDate":"2024-12-12T00:00:00-0600"},{"id":124,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":128,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":127,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":126,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":125,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":120,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":121,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":122,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":123,"startDate":"2024-12-16T00:00:00-0600","endDate":"2024-12-16T00:00:00-0600"},{"id":129,"startDate":"2024-12-17T00:00:00-0600","endDate":"2024-12-17T00:00:00-0600"},{"id":130,"startDate":"2024-12-19T00:00:00-0600","endDate":"2024-12-19T00:00:00-0600"},{"id":141,"startDate":"2025-03-15T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":153,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":152,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":151,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":150,"startDate":"2025-03-22T00:00:00-0600","endDate":"2025-03-22T00:00:00-0600"},{"id":154,"startDate":"2025-03-26T00:00:00-0600","endDate":"2025-04-11T00:00:00-0600"},{"id":162,"startDate":"2025-04-26T00:00:00-0600","endDate":"2025-05-16T00:00:00-0600"}],"surcharges":[]},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/06\/2025 10:24"}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:24","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:23\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-05 16:24:01.157562] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-05 16:24:01.157679] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-05 16:24:01.157697] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:24:01.696258] [info] Se actualizó el custom attribute del cliente 2
[2025-06-05 16:24:01.696542] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:24:01.880460] [notice] Logging level set to:debug
[2025-06-05 16:24:01.880537] [debug] valor del webhook: {"uuid":"bac22ceb-a41d-4bca-8ce5-e7f17904172e","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:24:02.168128] [debug] valor el evento recibido por webhook: client.edit
[2025-06-05 16:24:02.168354] [debug] Valor de JSON: {"uuid":"bac22ceb-a41d-4bca-8ce5-e7f17904172e","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:24:02.168509] [debug] Se actualiza a un cliente
[2025-06-05 16:24:02.171591] [debug] Valor de json_data: {"uuid":"bac22ceb-a41d-4bca-8ce5-e7f17904172e","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:24:02.234906] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-05 16:24:02.235058] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:24:02.235104] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:24:02.235141] [debug] El cliente no cambió de potencial a cliente
[2025-06-05 16:24:02.235189] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-05 16:24:02.235224] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-05 16:24:02.235258] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-05 16:24:02.235327] [debug] {"uuid":"bac22ceb-a41d-4bca-8ce5-e7f17904172e","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-05 16:24:02.235387] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-05 16:24:02.235425] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"bac22ceb-a41d-4bca-8ce5-e7f17904172e","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/06\/2025 10:24\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/06\/2025 10:24","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "05/06/2025 10:24","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:24","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:24\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:24","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:24\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-05 16:33:38.913774] [notice] Logging level set to:debug
[2025-06-05 16:33:38.914104] [debug] valor del webhook: {"uuid":"593f3cf2-e3ba-43b0-b7e3-91def195df0d","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:33:38.990322] [debug] valor el evento recibido por webhook: client.edit
[2025-06-05 16:33:38.990417] [debug] Valor de JSON: {"uuid":"593f3cf2-e3ba-43b0-b7e3-91def195df0d","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:33:38.990787] [debug] Se actualiza a un cliente
[2025-06-05 16:33:38.990888] [debug] Valor de json_data: {"uuid":"593f3cf2-e3ba-43b0-b7e3-91def195df0d","changeType":"edit","entity":"client","entityId":"2","eventName":"client.edit","extraData":{"entity":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-05 16:33:39.073673] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-05 16:33:39.073796] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:33:39.073842] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-05 16:33:39.073882] [debug] El cliente no cambió de potencial a cliente
[2025-06-05 16:33:39.073919] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-05 16:33:39.073954] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-05 16:33:39.073988] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-05 16:33:39.074062] [debug] {"uuid":"593f3cf2-e3ba-43b0-b7e3-91def195df0d","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-05 16:33:39.074176] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-05 16:33:39.074218] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"593f3cf2-e3ba-43b0-b7e3-91def195df0d","changeType":"edit","entity":"client","entityId":2,"message":null,"clientId":2,"eventName":"client.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-466.67,"accountCredit":0,"accountOutstanding":466.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":625,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-05-16T09:49:31-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":728,"invoiceId":1818,"paymentId":625,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2466.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"05\/06\/2025 10:33\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/05\/2025 09:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 05\/06\/2025 10:33","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲466.67 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "05/06/2025 10:33","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:33","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:33\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲466.67 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 05/06/2025 10:33","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲466.67 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16/05/2025 09:49 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"05/06/2025 10:33\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-05 16:36:50.609828] [notice] Logging level set to:debug
[2025-06-05 16:36:50.609916] [debug] valor del webhook: {"uuid":"3a071e20-1088-4256-932e-9057cfb82eec","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:36:50.642507] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:36:50.642564] [debug] Valor de JSON: {"uuid":"3a071e20-1088-4256-932e-9057cfb82eec","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:36:50.642777] [debug] Se actualiza un trabajo
[2025-06-05 16:36:50.642802] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:37:28.101418] [notice] Logging level set to:debug
[2025-06-05 16:37:28.101520] [debug] valor del webhook: {"uuid":"e005ddbc-659d-4547-bfdc-908c7524b054","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:28.132786] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:37:28.132940] [debug] Valor de JSON: {"uuid":"e005ddbc-659d-4547-bfdc-908c7524b054","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:28.133207] [debug] Se actualiza un trabajo
[2025-06-05 16:37:28.133268] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:37:29.030929] [notice] Logging level set to:debug
[2025-06-05 16:37:29.031518] [debug] valor del webhook: {"uuid":"b30e6597-3256-4b62-b5a6-ee17bded9507","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:29.068463] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:37:29.068600] [debug] Valor de JSON: {"uuid":"b30e6597-3256-4b62-b5a6-ee17bded9507","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:29.068736] [debug] Se actualiza un trabajo
[2025-06-05 16:37:29.070240] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:37:29.070287] [debug] El instalador cambió de null a un valor
[2025-06-05 16:37:29.070305] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 16:37:29.070408] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"b30e6597-3256-4b62-b5a6-ee17bded9507","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:29.070431] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"b30e6597-3256-4b62-b5a6-ee17bded9507","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":0,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:29.070455] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 16:37:29.070463] [debug] Valor de $changeInstaller en verifyJobActionToDo: false
[2025-06-05 16:37:29.070482] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 16:37:29.103504] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1131,"unmsId":"e41322b0-ad84-4f0d-9fc1-8af290d2a31c","email":"avalos.mgla@gmail.com","firstName":"Mar\u00eda Grielda","lastName":"L\u00f3pez Avalos","username":"gricelda","avatarColor":"#ef5350","isActive":true}
[2025-06-05 16:37:29.103554] [debug] Número de WhatsApp del Instalador: 4181817609
[2025-06-05 16:37:29.134756] [debug] Valor de $installerFullName: María Grielda López Avalos
[2025-06-05 16:37:29.209182] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 16:37:29.209317] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:37:29.209439] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:37:29.209513] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mar\u00eda Grielda L\u00f3pez Avalos"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de visita técnica al cliente, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "*#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *María Grielda López Avalos*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "07cfbc6e394044608485b530a27177d0",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"8acbd5a6672b416287a6ee5a372d2e0d","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 16:37:30.014044] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 16:37:30.014225] [debug] Valor de $title en verifyJobActionToDo: [NOTIFICACION-PENDIENTE]Servicio
[2025-06-05 16:37:30.090080] [debug] Valor de $title después de quitar el prefijo en verifyJobActionToDo: Servicio
[2025-06-05 16:37:30.090549] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: false
[2025-06-05 16:37:30.090645] [debug] No se cambió el instalador
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mar\u00eda Grielda L\u00f3pez Avalos","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *María Grielda López Avalos* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"aad1315841c1487b807ef3fdb90ee561","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 16:37:30.992904] [notice] Logging level set to:debug
[2025-06-05 16:37:30.993124] [debug] valor del webhook: {"uuid":"16465133-eb1a-4d18-8f35-7cfd8102cd18","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:31.025384] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:37:31.025530] [debug] Valor de JSON: {"uuid":"16465133-eb1a-4d18-8f35-7cfd8102cd18","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"[NOTIFICACION-PENDIENTE]Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:37:31.025661] [debug] Se actualiza un trabajo
[2025-06-05 16:37:31.025711] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:37:31.025752] [debug] No hubo cambio en el instalador ni en la fecha
[2025-06-05 16:38:37.431113] [notice] Logging level set to:debug
[2025-06-05 16:38:37.431324] [debug] valor del webhook: {"uuid":"2449f0c1-4f0e-4d77-b135-4acd2cf89525","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:38:37.458605] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 16:38:37.459058] [debug] Valor de JSON: {"uuid":"2449f0c1-4f0e-4d77-b135-4acd2cf89525","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:38:37.459348] [debug] Se actualiza un trabajo
[2025-06-05 16:38:37.459425] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 16:38:37.459469] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-06-05 16:38:37.459515] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 16:38:37.459598] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"2449f0c1-4f0e-4d77-b135-4acd2cf89525","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:38:37.459641] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"2449f0c1-4f0e-4d77-b135-4acd2cf89525","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1131,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 16:38:37.459681] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 16:38:37.459718] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-06-05 16:38:37.459760] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 16:38:37.492814] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true}
[2025-06-05 16:38:37.492952] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-06-05 16:38:37.524081] [debug] Valor de $installerFullName: Mucio Robledo Villegas
[2025-06-05 16:38:37.590919] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 16:38:37.590967] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:38:37.591068] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 16:38:37.591114] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mucio Robledo Villegas"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f5f99483202540d29f91232b8aeb5457","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 16:38:38.380162] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 16:38:38.380430] [debug] Valor de $title en verifyJobActionToDo: Servicio
[2025-06-05 16:38:38.380537] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Servicio
[2025-06-05 16:38:38.380619] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-06-05 16:38:38.380693] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-06-05 16:38:38.420311] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181817609
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fMar\u00eda Grielda L\u00f3pez Avalos","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"56","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Mucio Robledo Villegas*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181817609",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻María Grielda López Avalos", "se te ha desasignado❌ la tarea con el folio ", "#⃣56", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Mucio Robledo Villegas*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"869a057448da4abb8eb34dad9aafe99f","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"4f597420a78c4a5f8728bdd0cbf97c8d","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 21:02:25.596599] [notice] Logging level set to:debug
[2025-06-05 21:02:25.596788] [debug] valor del webhook: {"uuid":"0cf90d4b-1891-4218-9762-16b88dfb9096","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 21:02:25.621591] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 21:02:25.621746] [debug] Valor de JSON: {"uuid":"0cf90d4b-1891-4218-9762-16b88dfb9096","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 21:02:25.621963] [debug] Se actualiza un trabajo
[2025-06-05 21:02:25.622013] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 21:02:25.622050] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-06-05 21:02:25.622087] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 21:02:25.622158] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"0cf90d4b-1891-4218-9762-16b88dfb9096","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 21:02:25.622247] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 21:02:25.622283] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-06-05 21:02:25.622323] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 21:02:25.659672] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1172,"unmsId":"2ac31363-6037-40f3-8196-5cc7c71866b0","email":"amazonrostro@gmail.com","firstName":"Juan","lastName":"Rostro","username":"rostro","avatarColor":"#00695c","isActive":true}
[2025-06-05 21:02:25.659816] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-06-05 21:02:25.713198] [debug] Valor de $installerFullName: Juan Rostro
[2025-06-05 21:02:25.813802] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 21:02:25.814026] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 21:02:25.814162] [debug] Valor de $resultados en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 21:02:25.814210] [debug] Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: 5214181878106, 5214181148783
[2025-06-05 21:02:25.814295] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Juan Rostro"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Juan Rostro*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"72c07b67ef8a4b39b50045d8f51cee71","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 21:02:26.598397] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 21:02:26.598649] [debug] Valor de $title en verifyJobActionToDo: Servicio
[2025-06-05 21:02:26.598776] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Servicio
[2025-06-05 21:02:26.598896] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-06-05 21:02:26.599031] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-06-05 21:02:26.640202] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fMucio Robledo Villegas","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"56","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Juan Rostro*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻Mucio Robledo Villegas", "se te ha desasignado❌ la tarea con el folio ", "#⃣56", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Juan Rostro*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0fa515fb862740a698449a9448ff62c0","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Juan Rostro","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","clientWhatsApp":"5214181878106, 5214181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Juan Rostro* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "5214181878106, 5214181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"ebd6d035254644d495be0843d54c35b6","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 23:52:55.755083] [notice] Logging level set to:debug
[2025-06-05 23:52:55.755179] [debug] valor del webhook: {"uuid":"c28bc670-fa35-4501-9adc-3153a6cfa0b6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 23:52:55.781836] [debug] valor el evento recibido por webhook: job.edit
[2025-06-05 23:52:55.781888] [debug] Valor de JSON: {"uuid":"c28bc670-fa35-4501-9adc-3153a6cfa0b6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 23:52:55.782110] [debug] Se actualiza un trabajo
[2025-06-05 23:52:55.782129] [debug] Validando claves dentro de entityBeforeEdit y entity
[2025-06-05 23:52:55.782140] [debug] No hay reprogramación de trabajo pero si hay cambio de instalador
[2025-06-05 23:52:55.782152] [debug] ******** INCIO DE LA FUNCIÓN verifyJobActionToDo ******
[2025-06-05 23:52:55.782197] [debug] Valor de $jsonNotificationData en verifyJobActionToDo: {"uuid":"c28bc670-fa35-4501-9adc-3153a6cfa0b6","changeType":"edit","entity":"job","entityId":"56","eventName":"job.edit","extraData":{"entity":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1019,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]},"entityBeforeEdit":{"id":56,"title":"Servicio","description":"Hola mundo","assignedUserId":1172,"clientId":2,"date":"2025-06-04T15:00:11-0600","duration":60,"status":1,"address":"31 Chiapas, Dolores Hidalgo Cuna de la Independencia Nacional, 37800, Mexico","gpsLat":null,"gpsLon":null,"attachments":[],"tasks":[]}}}
[2025-06-05 23:52:55.782212] [debug] Valor de $reprogramming en verifyJobActionToDo: false
[2025-06-05 23:52:55.782219] [debug] Valor de $changeInstaller en verifyJobActionToDo: true
[2025-06-05 23:52:55.782233] [debug] Valor de $installersData en verifyJobActionToDo: {
"instaladores": [
{
"id": 1019,
"nombre": "Mucio Robledo",
"whatsapp": "4181878106"
},
{
"id": 1173,
"nombre": "Ángel Arvizu",
"whatsapp": "4181878106"
},
{
"id": 1172,
"nombre": "Juan Rostro",
"whatsapp": "4181878106"
},
{
"id": 1015,
"nombre": "Daniel Humberto",
"whatsapp": "4181878106"
},
{
"id": 1131,
"nombre": "Gricelda Avalos",
"whatsapp": "4181817609"
}
]
}
[2025-06-05 23:52:55.819741] [debug] Valor de $usersInstallers en verifyJobActionToDo: {"id":1019,"unmsId":"75e00242-86c2-436a-b3ac-bd6c31db681e","email":"lionelmuz@gmail.com","firstName":"Mucio","lastName":"Robledo Villegas","username":"muz","avatarColor":"#8bc34a","isActive":true}
[2025-06-05 23:52:55.819792] [debug] Número de WhatsApp del Instalador: 4181878106
[2025-06-05 23:52:55.850147] [debug] Valor de $installerFullName: Mucio Robledo Villegas
[2025-06-05 23:52:55.919456] [debug] Valor de $clientAllPhonesString en verifyJobActionToDo: 5214181878106,5214181148783
[2025-06-05 23:52:55.919579] [debug] Valor de $arrayNumeros en verifyJobActionToDo: ["5214181878106","5214181148783"]
[2025-06-05 23:52:55.919703] [debug] Valor de $resultados en verifyJobActionToDo: ["4181878106","4181148783"]
[2025-06-05 23:52:55.919750] [debug] Valor de $resultadoFinalNumerosCliente en verifyJobActionToDo: 4181878106, 4181148783
[2025-06-05 23:52:55.919826] [debug] Se encontró un tipo de contacto whatsapp
Enviando mensaje de trabajo para el cliente
Datos de la notificación de trabajo: {"clientFullName":"Daniel Humberto Soto Villegas","jobId":"56","date":"*04\/06\/2025*","installerName":"Mucio Robledo Villegas"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
DEBUG: Valores antes de la estructura IF - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al cliente, valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👤 *Daniel Humberto Soto Villegas*", "se ha hecho un cambio de técnico 👷🏻‍♂️🔄 para su visita con el folio *#⃣56*", "🗓️ *04/06/2025*", "👷🏻‍♂️➡️ *Mucio Robledo Villegas*", "asegúrese de que alguien esté presente en el domicilio 🏠 para permitir el acceso y confirme su disponibilidad."],
"template_uuid": "d684e6fa2ba24593a86c98be1815831d",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"9c7763881f02415cb4f508f39898e8ca","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-05 23:52:56.810072] [info] Notificación enviada correctamente al cliente con teléfono 5214181148783 después de 1 intento(s).
[2025-06-05 23:52:56.810312] [debug] Valor de $title en verifyJobActionToDo: Servicio
[2025-06-05 23:52:56.810436] [debug] El título no contiene el prefijo [NOTIFICACION-PENDIENTE] en verifyJobActionToDo: Servicio
[2025-06-05 23:52:56.810559] [debug] DEBUG: Valores después de conversión para mensaje instalador - Reprogramming: false, ChangeInstaller: true
[2025-06-05 23:52:56.810666] [debug] Se cambió el instalador, por lo tanto se procede a enviarle mensaje al que se le desasignó
[2025-06-05 23:52:56.847292] [debug] Se encontró el Whatsapp del instalador anterior en el JSON y es: 4181878106
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"\ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0fJuan Rostro","subjectOfChange":"se te ha desasignado\u274c la tarea con el folio ","jobId":"56","clientFullName":"[2] Daniel Humberto Soto Villegas","additionalChangeData":"En tu lugar asistir\u00e1 el t\u00e9cnico \ud83d\udc77\ud83c\udffb\u200d\u2642\ufe0f\u27a1\ufe0f *Mucio Robledo Villegas*"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: true
Enviando notificación de cambio de instalador al instalador anterior (desasignación), valor de reprogramming y valor de changeInstaller 1
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻Juan Rostro", "se te ha desasignado❌ la tarea con el folio ", "#⃣56", "*👤[2] Daniel Humberto Soto Villegas* ", "En tu lugar asistirá el técnico 👷🏻‍♂️➡️ *Mucio Robledo Villegas*"],
"template_uuid": "e1aa2b0fd3884595918f4ac2676acd29",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"626979877ba74a12abcd892690e07c13","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
Enviando mensaje de tarea al instalador
Datos de la notificación de tarea: {"installerName":"Mucio Robledo Villegas","clientFullName":"Daniel Humberto Soto Villegas [ID:2]","jobId":"56","clientAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","clientWhatsApp":"4181878106, 4181148783","date":"*04\/06\/2025*","jobDescription":"Hola mundo","gmapsLocation":"https:\/\/www.google.com\/maps?q=21.1564209,-100.9384185"}
DEBUG: Valores después de conversión - Reprogramming: false, ChangeInstaller: false
Enviando notificación normal de tarea al instalador, valor de reprogramming y valor de changeInstaller
La cadena CURL que se envia es: {
"to": "5214181878106",
"from": "whatsapp",
"type": "text",
"content": {
"text": "S/M"
},
"template_values": ["👷🏻‍♂️ *Mucio Robledo Villegas* se te ha asignado una tarea con folio #️⃣ *56*, del cliente 👤 *Daniel Humberto Soto Villegas [ID:2]*, para el 🗓️ *04/06/2025*", "4181878106, 4181148783", "https://www.google.com/maps?q=21.1564209,-100.9384185", "gYAIEK:Be}SK*01z5+/V"],
"template_uuid": "88eeb6420a214fd8870dd28d741021c4",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"65a55e509d04488bb3e9bc316b8b21da","status":"enqueued"}}
La notificación fue enviada correctamente con estado: enqueued
[2025-06-06 6:25:02.565749] [notice] Logging level set to:debug
[2025-06-06 6:25:02.565850] [debug] valor del webhook: {"uuid":"6b215d55-a351-497c-a5c3-4b00af0d8a58","changeType":"overdue","entity":"invoice","entityId":"1945","eventName":"invoice.overdue","extraData":{"entity":{"id":1945,"clientId":160,"number":"001895","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1948,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:02.871646] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:02.871702] [debug] Valor de JSON: {"uuid":"6b215d55-a351-497c-a5c3-4b00af0d8a58","changeType":"overdue","entity":"invoice","entityId":"1945","eventName":"invoice.overdue","extraData":{"entity":{"id":1945,"clientId":160,"number":"001895","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1948,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:02.871908] [debug] Factura vencida
[2025-06-06 6:25:02.871952] [debug] datos del notification para el invoice overdue:{"uuid":"6b215d55-a351-497c-a5c3-4b00af0d8a58","changeType":"overdue","entity":"invoice","entityId":1945,"message":null,"clientId":160,"eventName":"invoice.overdue","clientData":{"id":160,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Jalisco","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Jalisco 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jimy","lastName":"Turner","username":"jymy@gmail.com","contacts":[{"id":164,"clientId":160,"email":"jymy@gmail.com","phone":"4186784656","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-970,"accountCredit":0,"accountOutstanding":970,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1544785,"addressGpsLon":-100.9352517,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1945,"clientId":160,"number":"001895","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1948,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":151,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jimy","clientLastName":"Turner","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Jalisco","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:02.871984] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:02.872106] [debug] Numero de cel obtenido
[2025-06-06 6:25:02.872118] [warning] No se encontró un teléfono celular válido para el cliente: 160
[2025-06-06 6:25:03.080641] [notice] Logging level set to:debug
[2025-06-06 6:25:03.080697] [debug] valor del webhook: {"uuid":"f211c9c9-32e3-4061-a207-8f2f76e35777","changeType":"overdue","entity":"invoice","entityId":"1946","eventName":"invoice.overdue","extraData":{"entity":{"id":1946,"clientId":162,"number":"001896","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1949,"type":"service","label":"PREMIUM 01\/05\/2025 \u2013 31\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.247091] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:03.247143] [debug] Valor de JSON: {"uuid":"f211c9c9-32e3-4061-a207-8f2f76e35777","changeType":"overdue","entity":"invoice","entityId":"1946","eventName":"invoice.overdue","extraData":{"entity":{"id":1946,"clientId":162,"number":"001896","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1949,"type":"service","label":"PREMIUM 01\/05\/2025 \u2013 31\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.247251] [debug] Factura vencida
[2025-06-06 6:25:03.247293] [debug] datos del notification para el invoice overdue:{"uuid":"f211c9c9-32e3-4061-a207-8f2f76e35777","changeType":"overdue","entity":"invoice","entityId":1946,"message":null,"clientId":162,"eventName":"invoice.overdue","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"5214181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":159,"clientId":162,"customAttributeId":9,"name":"oxxo","key":"oxxo","value":"434876867834423324","clientZoneVisible":true},{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true}],"accountBalance":-2316.67,"accountCredit":0,"accountOutstanding":2316.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1946,"clientId":162,"number":"001896","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1949,"type":"service","label":"PREMIUM 01\/05\/2025 \u2013 31\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:03.247325] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:03.247380] [debug] Numero de cel obtenido
[2025-06-06 6:25:03.247392] [warning] No se encontró un teléfono celular válido para el cliente: 162
[2025-06-06 6:25:03.362845] [notice] Logging level set to:debug
[2025-06-06 6:25:03.362895] [debug] valor del webhook: {"uuid":"ab0b6d74-8288-4f39-af3d-9ea50ef59522","changeType":"overdue","entity":"invoice","entityId":"1950","eventName":"invoice.overdue","extraData":{"entity":{"id":1950,"clientId":171,"number":"001900","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1953,"type":"service","label":"Basico 300 21\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":0.36666666666667,"total":110,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":155,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":110,"discount":null,"discountLabel":"Descuento","taxes":[],"total":110,"amountPaid":0,"totalUntaxed":110,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":110,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Archi","clientLastName":"Isalas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Campeche 56","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.531928] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:03.531984] [debug] Valor de JSON: {"uuid":"ab0b6d74-8288-4f39-af3d-9ea50ef59522","changeType":"overdue","entity":"invoice","entityId":"1950","eventName":"invoice.overdue","extraData":{"entity":{"id":1950,"clientId":171,"number":"001900","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1953,"type":"service","label":"Basico 300 21\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":0.36666666666667,"total":110,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":155,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":110,"discount":null,"discountLabel":"Descuento","taxes":[],"total":110,"amountPaid":0,"totalUntaxed":110,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":110,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Archi","clientLastName":"Isalas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Campeche 56","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.532090] [debug] Factura vencida
[2025-06-06 6:25:03.532131] [debug] datos del notification para el invoice overdue:{"uuid":"ab0b6d74-8288-4f39-af3d-9ea50ef59522","changeType":"overdue","entity":"invoice","entityId":1950,"message":null,"clientId":171,"eventName":"invoice.overdue","clientData":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1950,"clientId":171,"number":"001900","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1953,"type":"service","label":"Basico 300 21\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":0.36666666666667,"total":110,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":155,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":110,"discount":null,"discountLabel":"Descuento","taxes":[],"total":110,"amountPaid":0,"totalUntaxed":110,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":110,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Archi","clientLastName":"Isalas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Campeche 56","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:03.532150] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:03.532205] [debug] Numero de cel obtenido
[2025-06-06 6:25:03.532216] [warning] No se encontró un teléfono celular válido para el cliente: 171
[2025-06-06 6:25:03.647977] [notice] Logging level set to:debug
[2025-06-06 6:25:03.648026] [debug] valor del webhook: {"uuid":"67071d72-1540-4bdb-837f-7fbae8f75f5b","changeType":"overdue","entity":"invoice","entityId":"1953","eventName":"invoice.overdue","extraData":{"entity":{"id":1953,"clientId":157,"number":"001903","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1956,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.800709] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:03.800767] [debug] Valor de JSON: {"uuid":"67071d72-1540-4bdb-837f-7fbae8f75f5b","changeType":"overdue","entity":"invoice","entityId":"1953","eventName":"invoice.overdue","extraData":{"entity":{"id":1953,"clientId":157,"number":"001903","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1956,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:03.800879] [debug] Factura vencida
[2025-06-06 6:25:03.800920] [debug] datos del notification para el invoice overdue:{"uuid":"67071d72-1540-4bdb-837f-7fbae8f75f5b","changeType":"overdue","entity":"invoice","entityId":1953,"message":null,"clientId":157,"eventName":"invoice.overdue","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Calle Colima","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"Calle Colima 45, Mariano Balleza, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true}],"accountBalance":-1480,"accountCredit":0,"accountOutstanding":1480,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1574303,"addressGpsLon":-100.9275061,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1953,"clientId":157,"number":"001903","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1956,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:03.800937] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:03.800992] [debug] Numero de cel obtenido
[2025-06-06 6:25:03.801009] [warning] No se encontró un teléfono celular válido para el cliente: 157
[2025-06-06 6:25:03.915988] [notice] Logging level set to:debug
[2025-06-06 6:25:03.916090] [debug] valor del webhook: {"uuid":"2d5d2fc1-bd71-4cc5-aa2c-1982b4eabd7d","changeType":"overdue","entity":"invoice","entityId":"1948","eventName":"invoice.overdue","extraData":{"entity":{"id":1948,"clientId":112,"number":"001898","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1951,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.063342] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:04.063394] [debug] Valor de JSON: {"uuid":"2d5d2fc1-bd71-4cc5-aa2c-1982b4eabd7d","changeType":"overdue","entity":"invoice","entityId":"1948","eventName":"invoice.overdue","extraData":{"entity":{"id":1948,"clientId":112,"number":"001898","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1951,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.063504] [debug] Factura vencida
[2025-06-06 6:25:04.063545] [debug] datos del notification para el invoice overdue:{"uuid":"2d5d2fc1-bd71-4cc5-aa2c-1982b4eabd7d","changeType":"overdue","entity":"invoice","entityId":1948,"message":null,"clientId":112,"eventName":"invoice.overdue","clientData":{"id":112,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Tamaulipas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Tamaulipas 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Do\u00f1a petra","lastName":"Gonzalez","username":null,"contacts":[{"id":116,"clientId":112,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":196,"clientId":112,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S6evSxHpI6pSR6","clientZoneVisible":true},{"id":197,"clientId":112,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180438425083672","clientZoneVisible":true}],"accountBalance":-810,"accountCredit":0,"accountOutstanding":810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.1562555,"addressGpsLon":-100.9302794,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1948,"clientId":112,"number":"001898","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1951,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:04.063563] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:04.063616] [debug] Numero de cel obtenido
[2025-06-06 6:25:04.063627] [warning] No se encontró un teléfono celular válido para el cliente: 112
[2025-06-06 6:25:04.182071] [notice] Logging level set to:debug
[2025-06-06 6:25:04.182185] [debug] valor del webhook: {"uuid":"b31068cd-5615-4fcb-a85b-5651a055dbbb","changeType":"overdue","entity":"invoice","entityId":"1949","eventName":"invoice.overdue","extraData":{"entity":{"id":1949,"clientId":148,"number":"001899","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1952,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.346210] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:04.346262] [debug] Valor de JSON: {"uuid":"b31068cd-5615-4fcb-a85b-5651a055dbbb","changeType":"overdue","entity":"invoice","entityId":"1949","eventName":"invoice.overdue","extraData":{"entity":{"id":1949,"clientId":148,"number":"001899","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1952,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.346371] [debug] Factura vencida
[2025-06-06 6:25:04.346410] [debug] datos del notification para el invoice overdue:{"uuid":"b31068cd-5615-4fcb-a85b-5651a055dbbb","changeType":"overdue","entity":"invoice","entityId":1949,"message":null,"clientId":148,"eventName":"invoice.overdue","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":151,"clientId":148,"customAttributeId":8,"name":"conekta","key":"conekta","value":"aasdad","clientZoneVisible":true}],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1949,"clientId":148,"number":"001899","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1952,"type":"service","label":"plan300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:04.346427] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:04.346482] [debug] Numero de cel obtenido
[2025-06-06 6:25:04.346494] [warning] No se encontró un teléfono celular válido para el cliente: 148
[2025-06-06 6:25:04.458733] [notice] Logging level set to:debug
[2025-06-06 6:25:04.458842] [debug] valor del webhook: {"uuid":"9811aa73-9b8b-443a-8d5c-f35d8c0d770e","changeType":"overdue","entity":"invoice","entityId":"1951","eventName":"invoice.overdue","extraData":{"entity":{"id":1951,"clientId":114,"number":"001901","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1954,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.602421] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:04.602475] [debug] Valor de JSON: {"uuid":"9811aa73-9b8b-443a-8d5c-f35d8c0d770e","changeType":"overdue","entity":"invoice","entityId":"1951","eventName":"invoice.overdue","extraData":{"entity":{"id":1951,"clientId":114,"number":"001901","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1954,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.602582] [debug] Factura vencida
[2025-06-06 6:25:04.602622] [debug] datos del notification para el invoice overdue:{"uuid":"9811aa73-9b8b-443a-8d5c-f35d8c0d770e","changeType":"overdue","entity":"invoice","entityId":1951,"message":null,"clientId":114,"eventName":"invoice.overdue","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true}],"accountBalance":-980,"accountCredit":0,"accountOutstanding":980,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1951,"clientId":114,"number":"001901","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1954,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:04.602639] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:04.602693] [debug] Numero de cel obtenido
[2025-06-06 6:25:04.602704] [warning] No se encontró un teléfono celular válido para el cliente: 114
[2025-06-06 6:25:04.717138] [notice] Logging level set to:debug
[2025-06-06 6:25:04.717201] [debug] valor del webhook: {"uuid":"af45aca2-a67b-4f65-90e5-1732786a1a42","changeType":"overdue","entity":"invoice","entityId":"1952","eventName":"invoice.overdue","extraData":{"entity":{"id":1952,"clientId":146,"number":"001902","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1955,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.857093] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:04.857151] [debug] Valor de JSON: {"uuid":"af45aca2-a67b-4f65-90e5-1732786a1a42","changeType":"overdue","entity":"invoice","entityId":"1952","eventName":"invoice.overdue","extraData":{"entity":{"id":1952,"clientId":146,"number":"001902","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1955,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:04.857255] [debug] Factura vencida
[2025-06-06 6:25:04.857295] [debug] datos del notification para el invoice overdue:{"uuid":"af45aca2-a67b-4f65-90e5-1732786a1a42","changeType":"overdue","entity":"invoice","entityId":1952,"message":null,"clientId":146,"eventName":"invoice.overdue","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"4188897415","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true}],"accountBalance":-1400,"accountCredit":0,"accountOutstanding":1400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1952,"clientId":146,"number":"001902","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1955,"type":"service","label":"Basico 300 01\/05\/2025 \u2013 31\/05\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:04.857320] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:04.857376] [debug] Numero de cel obtenido
[2025-06-06 6:25:04.857387] [warning] No se encontró un teléfono celular válido para el cliente: 146
[2025-06-06 6:25:04.972093] [notice] Logging level set to:debug
[2025-06-06 6:25:04.972187] [debug] valor del webhook: {"uuid":"9cc8de59-f1c2-481b-8a7d-8604d2c09adf","changeType":"overdue","entity":"invoice","entityId":"1954","eventName":"invoice.overdue","extraData":{"entity":{"id":1954,"clientId":129,"number":"001904","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1957,"type":"service","label":"INTERMEDIO 01\/05\/2025 \u2013 31\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.152707] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:05.152759] [debug] Valor de JSON: {"uuid":"9cc8de59-f1c2-481b-8a7d-8604d2c09adf","changeType":"overdue","entity":"invoice","entityId":"1954","eventName":"invoice.overdue","extraData":{"entity":{"id":1954,"clientId":129,"number":"001904","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1957,"type":"service","label":"INTERMEDIO 01\/05\/2025 \u2013 31\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.152857] [debug] Factura vencida
[2025-06-06 6:25:05.152895] [debug] datos del notification para el invoice overdue:{"uuid":"9cc8de59-f1c2-481b-8a7d-8604d2c09adf","changeType":"overdue","entity":"invoice","entityId":1954,"message":null,"clientId":129,"eventName":"invoice.overdue","clientData":{"id":129,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-17T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Loco","lastName":"Valdez","username":null,"contacts":[{"id":133,"clientId":129,"email":"pepepeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":133,"clientId":129,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJSCgri287Ic0V","clientZoneVisible":true},{"id":134,"clientId":129,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180966482840265","clientZoneVisible":true}],"accountBalance":-2750,"accountCredit":0,"accountOutstanding":2750,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00897b","addressGpsLat":21.1608752,"addressGpsLon":-100.935835,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1954,"clientId":129,"number":"001904","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1957,"type":"service","label":"INTERMEDIO 01\/05\/2025 \u2013 31\/05\/2025","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:05.152919] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:05.152972] [debug] Numero de cel obtenido
[2025-06-06 6:25:05.152985] [warning] No se encontró un teléfono celular válido para el cliente: 129
[2025-06-06 6:25:05.272241] [notice] Logging level set to:debug
[2025-06-06 6:25:05.272346] [debug] valor del webhook: {"uuid":"aa155f39-3f93-4649-be80-dd2a326e55be","changeType":"overdue","entity":"invoice","entityId":"1947","eventName":"invoice.overdue","extraData":{"entity":{"id":1947,"clientId":141,"number":"001897","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1950,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.426865] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:05.426919] [debug] Valor de JSON: {"uuid":"aa155f39-3f93-4649-be80-dd2a326e55be","changeType":"overdue","entity":"invoice","entityId":"1947","eventName":"invoice.overdue","extraData":{"entity":{"id":1947,"clientId":141,"number":"001897","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1950,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.427072] [debug] Factura vencida
[2025-06-06 6:25:05.427113] [debug] datos del notification para el invoice overdue:{"uuid":"aa155f39-3f93-4649-be80-dd2a326e55be","changeType":"overdue","entity":"invoice","entityId":1947,"message":null,"clientId":141,"eventName":"invoice.overdue","clientData":{"id":141,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Coahuila","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Coahuila 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El Caim\u00e1n","lastName":"Dorado","username":null,"contacts":[{"id":145,"clientId":141,"email":"caimangolden@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-1170,"accountCredit":0,"accountOutstanding":1170,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#43a047","addressGpsLat":21.1609302,"addressGpsLon":-100.9360472,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1947,"clientId":141,"number":"001897","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1950,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:05.427135] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:05.427212] [debug] Numero de cel obtenido
[2025-06-06 6:25:05.427225] [warning] No se encontró un teléfono celular válido para el cliente: 141
[2025-06-06 6:25:05.539871] [notice] Logging level set to:debug
[2025-06-06 6:25:05.540023] [debug] valor del webhook: {"uuid":"d3250fa1-4ccd-4526-9372-f49fcb19e8a7","changeType":"overdue","entity":"invoice","entityId":"1956","eventName":"invoice.overdue","extraData":{"entity":{"id":1956,"clientId":138,"number":"001906","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1959,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.694138] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-06 6:25:05.694192] [debug] Valor de JSON: {"uuid":"d3250fa1-4ccd-4526-9372-f49fcb19e8a7","changeType":"overdue","entity":"invoice","entityId":"1956","eventName":"invoice.overdue","extraData":{"entity":{"id":1956,"clientId":138,"number":"001906","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1959,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-06 6:25:05.694300] [debug] Factura vencida
[2025-06-06 6:25:05.694343] [debug] datos del notification para el invoice overdue:{"uuid":"d3250fa1-4ccd-4526-9372-f49fcb19e8a7","changeType":"overdue","entity":"invoice","entityId":1956,"message":null,"clientId":138,"eventName":"invoice.overdue","clientData":{"id":138,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"89 Baja California Sur","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Baja California Sur 89, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-26T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles","lastName":"El Ruco Lopez","username":null,"contacts":[{"id":142,"clientId":138,"email":"moblesruco24@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":186,"clientId":138,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0ELEIMpRfdeLs","clientZoneVisible":true},{"id":187,"clientId":138,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180174170666420","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.1532569,"addressGpsLon":-100.9408275,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1956,"clientId":138,"number":"001906","createdDate":"2025-05-22T10:00:01-0600","dueDate":"2025-06-05T10:00:01-0600","emailSentDate":"2025-06-06T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1959,"type":"service","label":"Basico 300 01\/06\/2025 \u2013 30\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 6:25:05.694364] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-06 6:25:05.694423] [debug] Numero de cel obtenido
[2025-06-06 6:25:05.694434] [warning] No se encontró un teléfono celular válido para el cliente: 138
[2025-06-06 15:49:01.393034] [notice] Logging level set to:debug
[2025-06-06 15:49:01.393153] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 100
}
[2025-06-06 15:49:01.393178] [info] No UUID found in the webhook data
[2025-06-06 15:49:01.393193] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-06 15:49:01.393203] [info] Referencia persnoalizada, Valor del monto: 100
[2025-06-06 15:49:01.393213] [info] Creando referencia del cliente para OXXO:
[2025-06-06 15:49:01.595686] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-06 15:49:01.595736] [info] Monto proporcionado directamente: 100
[2025-06-06 15:49:01.595750] [info] Creando referencia en Stripe por 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-06 15:49:03.054019] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-06 15:49:03.054584] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TUndPbG9pY3lYRFd1bzFNcjVEeGtVRkJxdjI1TTMz0100rESxdhsx
[2025-06-06 15:49:03.054789] [info] Referencia OXXO creada correctamente.
[2025-06-06 15:52:06.550427] [notice] Logging level set to:debug
[2025-06-06 15:52:06.550777] [debug] valor del webhook: {"uuid":"938fa56d-e84b-4c9c-9342-6b62ea52a83f","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-06 15:52:06.695333] [debug] valor el evento recibido por webhook: invoice.edit
[2025-06-06 15:52:06.695545] [debug] Valor de JSON: {"uuid":"938fa56d-e84b-4c9c-9342-6b62ea52a83f","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":0,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":466.67,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-06 15:52:06.695835] [debug] Edición de Factura
[2025-06-06 15:52:06.695951] [debug] {"uuid":"938fa56d-e84b-4c9c-9342-6b62ea52a83f","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-366.67,"accountCredit":0,"accountOutstanding":366.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 15:52:06.696069] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-06 15:52:06.696114] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"938fa56d-e84b-4c9c-9342-6b62ea52a83f","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-366.67,"accountCredit":0,"accountOutstanding":366.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2366.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06\/06\/2025 09:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"06\/06\/2025 09:52\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 06\/06\/2025 09:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/06\/2025 09:52","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲366.67 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "06/06/2025 09:52","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲366.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 09:52","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 09:52\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲366.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 09:52","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 09:52\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-06 15:52:09.574760] [notice] Logging level set to:debug
[2025-06-06 15:52:09.574935] [debug] valor del webhook: {"uuid":"1e03e82f-2221-47bd-8eea-6c030464581b","changeType":"insert","entity":"payment","entityId":"626","eventName":"payment.add","extraData":{"entity":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-06 15:52:09.704344] [debug] valor el evento recibido por webhook: payment.add
[2025-06-06 15:52:09.704482] [debug] Valor de JSON: {"uuid":"1e03e82f-2221-47bd-8eea-6c030464581b","changeType":"insert","entity":"payment","entityId":"626","eventName":"payment.add","extraData":{"entity":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-06 15:52:09.704677] [debug] Notification encodificado en JSON:{"uuid":"1e03e82f-2221-47bd-8eea-6c030464581b","changeType":"insert","entity":"payment","entityId":626,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-366.67,"accountCredit":0,"accountOutstanding":366.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
[2025-06-06 15:52:09.704745] [debug] valor del payment data: {"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}
[2025-06-06 15:52:09.704833] [info] {"WhatsApp":["5214181148783"]}
[2025-06-06 15:52:09.704875] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-06 15:52:09.704914] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-06 15:52:09.704952] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Subiendo comprobante a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png
No se pudo obtener la lista de archivos de la carpeta FTP
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png"
},
"template_values": ["Daniel Humberto Soto Villegas", "$100", "$366.67 pendientes"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0006bd1af5fe48b2899d91726f3c6cb9","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"1e03e82f-2221-47bd-8eea-6c030464581b","changeType":"insert","entity":"payment","entityId":626,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-366.67,"accountCredit":0,"accountOutstanding":366.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2366.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06\/06\/2025 09:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"06\/06\/2025 09:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 06\/06\/2025 09:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/06\/2025 09:52","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲366.67 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "06/06/2025 09:52","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲366.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 09:52","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 09:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲366.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 09:52","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲366.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 09:52 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 09:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-06 15:52:16.129097] [notice] Logging level set to:debug
[2025-06-06 15:52:16.129230] [debug] valor del webhook: {"uuid":"716f64df-dec3-4577-b246-22e68e2ff3be","changeType":"edit","entity":"payment","entityId":"626","eventName":"payment.edit","extraData":{"entity":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-06 15:52:16.245198] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-06 15:52:16.245258] [debug] Valor de JSON: {"uuid":"716f64df-dec3-4577-b246-22e68e2ff3be","changeType":"edit","entity":"payment","entityId":"626","eventName":"payment.edit","extraData":{"entity":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":626,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T09:52:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-06 18:30:03.134532] [notice] Logging level set to:debug
[2025-06-06 18:30:03.134963] [debug] valor del webhook: {"uuid":"02bc2e03-ef7f-4875-89b8-09c3a1c524ac","changeType":"suspend","entity":"service","entityId":"155","eventName":"service.suspend","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":3,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-06 18:30:03.443978] [debug] valor el evento recibido por webhook: service.suspend
[2025-06-06 18:30:03.444056] [debug] Valor de JSON: {"uuid":"02bc2e03-ef7f-4875-89b8-09c3a1c524ac","changeType":"suspend","entity":"service","entityId":"155","eventName":"service.suspend","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":3,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-06 18:30:03.444299] [debug] Se suspendió el servicio a un cliente
[2025-06-06 18:30:03.444396] [info] Procesando tipo de contacto original: 'WhatsNotifica'
[2025-06-06 18:30:03.447031] [info] Tipo de contacto normalizado: 'whatsnotifica'
[2025-06-06 18:30:03.447139] [info] Tipo de contacto no reconocido: 'whatsnotifica'
[2025-06-06 18:30:03.595057] [notice] Logging level set to:debug
[2025-06-06 18:30:03.595211] [debug] valor del webhook: {"uuid":"bfeeaa2a-ca26-4b5f-b5e8-42cfda24bc41","changeType":"edit","entity":"service","entityId":"155","eventName":"service.edit","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":3,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-06 18:30:03.783941] [debug] valor el evento recibido por webhook: service.edit
[2025-06-06 18:30:03.784169] [debug] Valor de JSON: {"uuid":"bfeeaa2a-ca26-4b5f-b5e8-42cfda24bc41","changeType":"edit","entity":"service","entityId":"155","eventName":"service.edit","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":3,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":"2025-07-31T00:00:00-0600","contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-31T00:00:00-0600","unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[{"id":"55c756bc-46bd-4c82-9b77-ed925ce5aedb","serviceId":155,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":165,"startDate":"2025-05-21T00:00:00-0600","endDate":"2025-05-21T00:00:00-0600"},{"id":166,"startDate":"2025-06-06T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-06 18:30:03.784353] [debug] Se editó el servicio a un cliente
[2025-06-06 18:30:03.784439] [info] Procesando tipo de contacto original: 'WhatsNotifica'
[2025-06-06 18:30:03.784495] [info] Tipo de contacto normalizado: 'whatsnotifica'
[2025-06-06 18:30:03.784538] [info] Tipo de contacto no reconocido: 'whatsnotifica'
[2025-06-06 18:30:03.849267] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-06 18:30:03.849489] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-06 18:30:03.849549] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-06 18:30:04.000968] [info] Se actualizó el custom attribute del cliente 171
[2025-06-06 18:30:04.001523] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-06 18:30:04.165565] [notice] Logging level set to:debug
[2025-06-06 18:30:04.165740] [debug] valor del webhook: {"uuid":"b6786371-db73-4804-b0c7-282a9d0fd0ce","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-06 18:30:04.270036] [debug] valor el evento recibido por webhook: client.edit
[2025-06-06 18:30:04.270267] [debug] Valor de JSON: {"uuid":"b6786371-db73-4804-b0c7-282a9d0fd0ce","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-06 18:30:04.270492] [debug] Se actualiza a un cliente
[2025-06-06 18:30:04.270571] [debug] Valor de json_data: {"uuid":"b6786371-db73-4804-b0c7-282a9d0fd0ce","changeType":"edit","entity":"client","entityId":"171","eventName":"client.edit","extraData":{"entity":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-06 18:30:04.355292] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-06 18:30:04.355427] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-06 18:30:04.355477] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-06 18:30:04.355521] [debug] El cliente no cambió de potencial a cliente
[2025-06-06 18:30:04.355562] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-06 18:30:04.355602] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-06 18:30:04.355652] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-06 18:30:04.355726] [debug] {"uuid":"b6786371-db73-4804-b0c7-282a9d0fd0ce","changeType":"edit","entity":"client","entityId":171,"message":null,"clientId":171,"eventName":"client.edit","clientData":{"id":171,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-05-21T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Archi","lastName":"Isalas","username":"mainstreamm2@gmail.com","contacts":[{"id":177,"clientId":171,"email":"mainstreamm2@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1003,"name":"WhatsNotifica"}]}],"attributes":[{"id":198,"clientId":171,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_SM2zH6IsjTz6ol","clientZoneVisible":true},{"id":199,"clientId":171,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180950530868794","clientZoneVisible":true},{"id":201,"clientId":171,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-110,"accountCredit":0,"accountOutstanding":110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-06 18:30:04.355858] [info] Procesando tipo de contacto original: 'WhatsNotifica'
[2025-06-06 18:30:04.355911] [info] Tipo de contacto normalizado: 'whatsnotifica'
[2025-06-06 18:30:04.355952] [info] Tipo de contacto no reconocido: 'whatsnotifica'
[2025-06-06 19:06:00.081027] [notice] Logging level set to:debug
[2025-06-06 19:06:00.081149] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 100
}
[2025-06-06 19:06:00.081175] [info] No UUID found in the webhook data
[2025-06-06 19:06:00.081187] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-06 19:06:00.081196] [info] Referencia persnoalizada, Valor del monto: 100
[2025-06-06 19:06:00.081204] [info] Creando referencia del cliente para OXXO:
[2025-06-06 19:06:00.222017] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-06 19:06:00.222165] [info] Monto proporcionado directamente: 100
[2025-06-06 19:06:00.222234] [info] Creando referencia en Stripe por 10000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-06 19:06:01.592148] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-06 19:06:01.592365] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TUnpaZm5IQVVMRXhEV1QxV1FSMGdHaXJ4TlZCb3ND0100TghvWkqM
[2025-06-06 19:06:01.592421] [info] Referencia OXXO creada correctamente.
[2025-06-06 19:06:02.153584] [error] Error al generar PDF: sh: wkhtmltopdf: not found
[2025-06-06 19:06:02.155807] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TUnpaZm5IQVVMRXhEV1QxV1FSMGdHaXJ4TlZCb3ND0100TghvWkqM","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":100,"failDescription":"","error":""}
[2025-06-06 19:06:02.155877] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TUnpaZm5IQVVMRXhEV1QxV1FSMGdHaXJ4TlZCb3ND0100TghvWkqM","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "100"}
[2025-06-06 19:09:06.060271] [notice] Logging level set to:debug
[2025-06-06 19:09:06.060363] [debug] valor del webhook: {"uuid":"8e842b7b-d46b-48b5-b5f8-dea57a3ab22a","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-06 19:09:06.202188] [debug] valor el evento recibido por webhook: invoice.edit
[2025-06-06 19:09:06.202400] [debug] Valor de JSON: {"uuid":"8e842b7b-d46b-48b5-b5f8-dea57a3ab22a","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":100,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":366.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-06 19:09:06.202692] [debug] Edición de Factura
[2025-06-06 19:09:06.202810] [debug] {"uuid":"8e842b7b-d46b-48b5-b5f8-dea57a3ab22a","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-266.67,"accountCredit":0,"accountOutstanding":266.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-06 19:09:06.202924] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-06 19:09:06.202967] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"8e842b7b-d46b-48b5-b5f8-dea57a3ab22a","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-266.67,"accountCredit":0,"accountOutstanding":266.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2266.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06\/06\/2025 13:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"06\/06\/2025 13:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 06\/06\/2025 13:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/06\/2025 13:09","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲266.67 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "06/06/2025 13:09","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲266.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 13:09","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 13:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲266.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 13:09","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 13:09\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-06 19:09:09.071887] [notice] Logging level set to:debug
[2025-06-06 19:09:09.072097] [debug] valor del webhook: {"uuid":"77e58af5-db6e-4275-ae32-b8b9f883266b","changeType":"insert","entity":"payment","entityId":"627","eventName":"payment.add","extraData":{"entity":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-06 19:09:09.200154] [debug] valor el evento recibido por webhook: payment.add
[2025-06-06 19:09:09.200304] [debug] Valor de JSON: {"uuid":"77e58af5-db6e-4275-ae32-b8b9f883266b","changeType":"insert","entity":"payment","entityId":"627","eventName":"payment.add","extraData":{"entity":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-06 19:09:09.200509] [debug] Notification encodificado en JSON:{"uuid":"77e58af5-db6e-4275-ae32-b8b9f883266b","changeType":"insert","entity":"payment","entityId":627,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-266.67,"accountCredit":0,"accountOutstanding":266.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
[2025-06-06 19:09:09.200579] [debug] valor del payment data: {"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}
[2025-06-06 19:09:09.200664] [info] {"WhatsApp":["5214181148783"]}
[2025-06-06 19:09:09.200706] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-06 19:09:09.200743] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-06 19:09:09.200783] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Subiendo comprobante a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png
No se pudo obtener la lista de archivos de la carpeta FTP
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png"
},
"template_values": ["Daniel Humberto Soto Villegas", "$100", "$266.67 pendientes"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"c40852fc5d65479f8863f8e4f204c669","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"77e58af5-db6e-4275-ae32-b8b9f883266b","changeType":"insert","entity":"payment","entityId":627,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-266.67,"accountCredit":0,"accountOutstanding":266.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2266.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06\/06\/2025 13:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"06\/06\/2025 13:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 06\/06\/2025 13:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/06\/2025 13:09","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲266.67 pendientes","Monto Ultimo Pago": "$ 100","Estado": "Activo","Fecha Ultimo Pago": " 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "06/06/2025 13:09","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲266.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 13:09","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 13:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲266.67 pendientes","Monto Ultimo Pago":"💲 100","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 06/06/2025 13:09","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲266.67 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 06/06/2025 13:09 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"06/06/2025 13:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-06 19:09:15.939795] [notice] Logging level set to:debug
[2025-06-06 19:09:15.939884] [debug] valor del webhook: {"uuid":"1e3d61eb-2e75-4fb5-ae6f-2fb3eed873ac","changeType":"edit","entity":"payment","entityId":"627","eventName":"payment.edit","extraData":{"entity":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-06 19:09:16.064162] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-06 19:09:16.064307] [debug] Valor de JSON: {"uuid":"1e3d61eb-2e75-4fb5-ae6f-2fb3eed873ac","changeType":"edit","entity":"payment","entityId":"627","eventName":"payment.edit","extraData":{"entity":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":627,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-06T13:09:05-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-08 6:25:02.879153] [notice] Logging level set to:debug
[2025-06-08 6:25:02.880275] [debug] valor del webhook: {"uuid":"f88633c5-e13b-4fa2-a298-3728fa79b288","changeType":"overdue","entity":"invoice","entityId":"1957","eventName":"invoice.overdue","extraData":{"entity":{"id":1957,"clientId":126,"number":"001907","createdDate":"2025-05-24T10:00:01-0600","dueDate":"2025-06-07T10:00:01-0600","emailSentDate":"2025-06-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1960,"type":"service","label":"PREMIUM 24\/04\/2025 \u2013 23\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 6:25:03.104588] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-08 6:25:03.104646] [debug] Valor de JSON: {"uuid":"f88633c5-e13b-4fa2-a298-3728fa79b288","changeType":"overdue","entity":"invoice","entityId":"1957","eventName":"invoice.overdue","extraData":{"entity":{"id":1957,"clientId":126,"number":"001907","createdDate":"2025-05-24T10:00:01-0600","dueDate":"2025-06-07T10:00:01-0600","emailSentDate":"2025-06-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1960,"type":"service","label":"PREMIUM 24\/04\/2025 \u2013 23\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 6:25:03.105606] [debug] Factura vencida
[2025-06-08 6:25:03.105678] [debug] datos del notification para el invoice overdue:{"uuid":"f88633c5-e13b-4fa2-a298-3728fa79b288","changeType":"overdue","entity":"invoice","entityId":1957,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true}],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":"2024-06-07T00:00:00-0600","avatarColor":"#00695c","addressGpsLat":21.156773,"addressGpsLon":-100.9391642,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1957,"clientId":126,"number":"001907","createdDate":"2025-05-24T10:00:01-0600","dueDate":"2025-06-07T10:00:01-0600","emailSentDate":"2025-06-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1960,"type":"service","label":"PREMIUM 24\/04\/2025 \u2013 23\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-08 6:25:03.105700] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-08 6:25:03.113486] [debug] Numero de cel obtenido
[2025-06-08 6:25:03.113538] [warning] No se encontró un teléfono celular válido para el cliente: 126
[2025-06-08 16:00:04.010076] [notice] Logging level set to:debug
[2025-06-08 16:00:04.010152] [debug] valor del webhook: {"uuid":"28906dc2-f45d-48e9-bb35-021b25f5ff4d","changeType":"draft_approved","entity":"invoice","entityId":"2058","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2058,"clientId":116,"number":"002008","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2061,"type":"service","label":"PREMIUM 07\/05\/2025 \u2013 06\/06\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 16:00:04.174170] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-06-08 16:00:04.174227] [debug] Valor de JSON: {"uuid":"28906dc2-f45d-48e9-bb35-021b25f5ff4d","changeType":"draft_approved","entity":"invoice","entityId":"2058","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2058,"clientId":116,"number":"002008","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2061,"type":"service","label":"PREMIUM 07\/05\/2025 \u2013 06\/06\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 16:00:04.174518] [debug] Aprobación de Factura
[2025-06-08 16:00:04.174573] [debug] {"uuid":"28906dc2-f45d-48e9-bb35-021b25f5ff4d","changeType":"draft_approved","entity":"invoice","entityId":2058,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8400,"accountCredit":0,"accountOutstanding":8400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1566139,"addressGpsLon":-100.9384516,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2058,"clientId":116,"number":"002008","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2061,"type":"service","label":"PREMIUM 07\/05\/2025 \u2013 06\/06\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-08 16:00:04.174644] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-08 16:00:04.174655] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"28906dc2-f45d-48e9-bb35-021b25f5ff4d","changeType":"draft_approved","entity":"invoice","entityId":2058,"message":null,"clientId":116,"eventName":"invoice.draft_approved","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-8400,"accountCredit":0,"accountOutstanding":8400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1566139,"addressGpsLon":-100.9384516,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2058,"clientId":116,"number":"002008","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2061,"type":"service","label":"PREMIUM 07\/05\/2025 \u2013 06\/06\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: []
Nombre del cliente que se va a actualizar: José Humberto Rodríguez
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Jos\u00e9 Humberto Rodr\u00edguez","custom_fields":{"Cliente":116,"Domicilio":"\ud83d\udccd Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Jos\u00e9 Humberto Rodr\u00edguez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/116","Saldo Actual":"\ud83d\udcb28400 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"Jos\u00e9 Humberto Rodr\u00edguez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/116\",\"Saldo Actual\": \"\ud83d\udcb28400 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08\/06\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"08\/06\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 08\/06\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 08\/06\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "116","Domicilio": ""Nombre": "José Humberto Rodríguez","URL": "https://sistema.siip.mx/crm/client/116","Saldo Actual": "💲8400 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 08/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "08/06/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲8400 pendientes","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"0021804341999569810","Cliente":"116","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 08/06/2025 10:00","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲8400 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"08/06/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 08/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"José Humberto Rodríguez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲8400 pendientes","Monto Ultimo Pago":"💲 ","URL":"🌐 https://sistema.siip.mx/crm/client/116","Clabe Interbancaria":"0021804341999569810","Cliente":"116","Domicilio":"📍 Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 08/06/2025 10:00","Resumen":"{\"Cliente\": \"116\",\"Domicilio\": \"\"Nombre\": \"José Humberto Rodríguez\",\"URL\": \"https://sistema.siip.mx/crm/client/116\",\"Saldo Actual\": \"💲8400 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"08/06/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 08/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 José Humberto Rodríguez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-08 16:00:07.854654] [notice] Logging level set to:debug
[2025-06-08 16:00:07.854707] [debug] valor del webhook: {"uuid":"ccc97ee9-85e1-4c97-bb45-fc547c237035","changeType":"draft_approved","entity":"invoice","entityId":"2059","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2059,"clientId":110,"number":"002009","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2062,"type":"service","label":"plan300 07\/05\/2025 \u2013 06\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 16:00:08.008590] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-06-08 16:00:08.008658] [debug] Valor de JSON: {"uuid":"ccc97ee9-85e1-4c97-bb45-fc547c237035","changeType":"draft_approved","entity":"invoice","entityId":"2059","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2059,"clientId":110,"number":"002009","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-06T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2062,"type":"service","label":"plan300 07\/05\/2025 \u2013 06\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-08 16:00:08.008795] [debug] Aprobación de Factura
[2025-06-08 16:00:08.008841] [debug] {"uuid":"ccc97ee9-85e1-4c97-bb45-fc547c237035","changeType":"draft_approved","entity":"invoice","entityId":2059,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2059,"clientId":110,"number":"002009","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2062,"type":"service","label":"plan300 07\/05\/2025 \u2013 06\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-08 16:00:08.008984] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-08 16:00:08.008996] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"ccc97ee9-85e1-4c97-bb45-fc547c237035","changeType":"draft_approved","entity":"invoice","entityId":2059,"message":null,"clientId":110,"eventName":"invoice.draft_approved","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[],"accountBalance":-3300,"accountCredit":0,"accountOutstanding":3300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2059,"clientId":110,"number":"002009","createdDate":"2025-06-08T10:00:01-0600","dueDate":"2025-06-22T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2062,"type":"service","label":"plan300 07\/05\/2025 \u2013 06\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":615,"clientId":110,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-04-07T12:47:38-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-04-07T12:47:39-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":712,"invoiceId":1812,"paymentId":615,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Maria la del Barrio Soy
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Maria la del Barrio Soy","custom_fields":{"Cliente":110,"Domicilio":"\ud83d\udccd Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Maria la del Barrio Soy","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/110","Saldo Actual":"\ud83d\udcb23300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/110\",\"Saldo Actual\": \"\ud83d\udcb23300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"08\/06\/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2025 12:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 08\/06\/2025 10:00","Clabe Interbancaria":null,"Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "110","Domicilio": ""Nombre": "Maria la del Barrio Soy","URL": "https://sistema.siip.mx/crm/client/110","Saldo Actual": "💲3300 pendientes","Monto Ultimo Pago": "$ 300","Estado": "Suspendido","Fecha Ultimo Pago": " 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "08/06/2025 10:00","Clabe Interbancaria": "","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲3300 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 08/06/2025 10:00","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/06/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Maria la del Barrio Soy","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲3300 pendientes","Monto Ultimo Pago":"💲 300","Clabe Interbancaria":"0021804341999569810","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 08/06/2025 10:00","Domicilio":"📍 Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"110","URL":"🌐 https://sistema.siip.mx/crm/client/110","Resumen":"{\"Cliente\": \"110\",\"Domicilio\": \"\"Nombre\": \"Maria la del Barrio Soy\",\"URL\": \"https://sistema.siip.mx/crm/client/110\",\"Saldo Actual\": \"💲3300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/06/2025 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Fecha Ultimo Pago":"📆💸 07/04/2025 12:47 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Maria la del Barrio Soy"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 6:25:02.476682] [notice] Logging level set to:debug
[2025-06-09 6:25:02.476775] [debug] valor del webhook: {"uuid":"2f4cf1b5-8221-48db-a920-39f05f63f556","changeType":"overdue","entity":"invoice","entityId":"1958","eventName":"invoice.overdue","extraData":{"entity":{"id":1958,"clientId":1,"number":"001908","createdDate":"2025-05-25T10:00:02-0600","dueDate":"2025-06-08T10:00:02-0600","emailSentDate":"2025-06-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1961,"type":"service","label":"PREMIUM 25\/04\/2025 \u2013 24\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-09 6:25:02.680360] [debug] valor el evento recibido por webhook: invoice.overdue
[2025-06-09 6:25:02.680422] [debug] Valor de JSON: {"uuid":"2f4cf1b5-8221-48db-a920-39f05f63f556","changeType":"overdue","entity":"invoice","entityId":"1958","eventName":"invoice.overdue","extraData":{"entity":{"id":1958,"clientId":1,"number":"001908","createdDate":"2025-05-25T10:00:02-0600","dueDate":"2025-06-08T10:00:02-0600","emailSentDate":"2025-06-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1961,"type":"service","label":"PREMIUM 25\/04\/2025 \u2013 24\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-09 6:25:02.680634] [debug] Factura vencida
[2025-06-09 6:25:02.680680] [debug] datos del notification para el invoice overdue:{"uuid":"2f4cf1b5-8221-48db-a920-39f05f63f556","changeType":"overdue","entity":"invoice","entityId":1958,"message":null,"clientId":1,"eventName":"invoice.overdue","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":1958,"clientId":1,"number":"001908","createdDate":"2025-05-25T10:00:02-0600","dueDate":"2025-06-08T10:00:02-0600","emailSentDate":"2025-06-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-05-23T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":1961,"type":"service","label":"PREMIUM 25\/04\/2025 \u2013 24\/05\/2025","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-09 6:25:02.680710] [debug] ***Se notifica al cliente que la factura de su servicio está vencida***
[2025-06-09 6:25:02.680819] [debug] Numero de cel obtenido
[2025-06-09 6:25:02.680840] [warning] No se encontró un teléfono celular válido para el cliente: 1
[2025-06-09 15:30:52.399614] [notice] Logging level set to:debug
[2025-06-09 15:30:52.399746] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 110
}
[2025-06-09 15:30:52.399785] [info] No UUID found in the webhook data
[2025-06-09 15:30:52.399805] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 15:30:52.399818] [info] Referencia persnoalizada, Valor del monto: 110
[2025-06-09 15:30:52.399840] [info] Creando referencia del cliente para OXXO:
[2025-06-09 15:30:52.533241] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 15:30:52.533375] [info] Monto proporcionado directamente: 110
[2025-06-09 15:30:52.533418] [info] Creando referencia en Stripe por 11000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 15:30:53.934562] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 15:30:53.934617] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDNtbnVuSWludHJGbzV5aVhVbmxJQ0tZdzJhSzdu0100MGfUbjpb
[2025-06-09 15:30:53.934629] [info] Referencia OXXO creada correctamente.
[2025-06-09 15:30:54.565305] [error] Error al generar PDF: sh: wkhtmltopdf: not found
[2025-06-09 15:30:54.567476] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDNtbnVuSWludHJGbzV5aVhVbmxJQ0tZdzJhSzdu0100MGfUbjpb","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":110,"failDescription":"","error":""}
[2025-06-09 15:30:54.569219] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDNtbnVuSWludHJGbzV5aVhVbmxJQ0tZdzJhSzdu0100MGfUbjpb","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "110"}
[2025-06-09 15:34:01.904148] [notice] Logging level set to:debug
[2025-06-09 15:34:01.909957] [debug] valor del webhook: {"uuid":"6a6d17aa-aba9-44da-a7f2-af67beb995dc","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 15:34:02.066399] [debug] valor el evento recibido por webhook: invoice.edit
[2025-06-09 15:34:02.066597] [debug] Valor de JSON: {"uuid":"6a6d17aa-aba9-44da-a7f2-af67beb995dc","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":200,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":266.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 15:34:02.066847] [debug] Edición de Factura
[2025-06-09 15:34:02.066943] [debug] {"uuid":"6a6d17aa-aba9-44da-a7f2-af67beb995dc","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-156.67,"accountCredit":0,"accountOutstanding":156.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-09 15:34:02.067059] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 15:34:02.067099] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"6a6d17aa-aba9-44da-a7f2-af67beb995dc","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-156.67,"accountCredit":0,"accountOutstanding":156.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2156.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 110","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb2156.67 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09\/06\/2025 09:34 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"09\/06\/2025 09:34\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/06\/2025 09:34 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 09:34","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲156.67 pendientes","Monto Ultimo Pago": "$ 110","Estado": "Activo","Fecha Ultimo Pago": " 09/06/2025 09:34 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "09/06/2025 09:34","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲156.67 pendientes","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 09:34 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Monto Ultimo Pago":"💲 110","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 09:34","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲156.67 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 09:34 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 09:34\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲156.67 pendientes","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 09:34 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Monto Ultimo Pago":"💲 110","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 09:34","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲156.67 pendientes\",\"Monto Ultimo Pago\": \"$ 110\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 09:34 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 09:34\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 15:34:05.416717] [notice] Logging level set to:debug
[2025-06-09 15:34:05.417010] [debug] valor del webhook: {"uuid":"c070ffbd-4c70-4ad9-9406-23d94a4fc613","changeType":"insert","entity":"payment","entityId":"628","eventName":"payment.add","extraData":{"entity":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 15:34:05.548295] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 15:34:05.548460] [debug] Valor de JSON: {"uuid":"c070ffbd-4c70-4ad9-9406-23d94a4fc613","changeType":"insert","entity":"payment","entityId":"628","eventName":"payment.add","extraData":{"entity":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 15:34:05.548710] [debug] Notification encodificado en JSON:{"uuid":"c070ffbd-4c70-4ad9-9406-23d94a4fc613","changeType":"insert","entity":"payment","entityId":628,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-156.67,"accountCredit":0,"accountOutstanding":156.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}}
[2025-06-09 15:34:05.548779] [debug] valor del payment data: {"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}
[2025-06-09 15:34:05.548871] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 15:34:05.548912] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 15:34:05.548949] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 15:34:05.548984] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 15:34:05.779944] [notice] Logging level set to:debug
[2025-06-09 15:34:05.780086] [debug] valor del webhook: {"uuid":"601b22a0-e4fc-4645-a90f-bdc991a1b518","changeType":"edit","entity":"payment","entityId":"628","eventName":"payment.edit","extraData":{"entity":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-09 15:34:05.896933] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 15:34:05.897131] [debug] Valor de JSON: {"uuid":"601b22a0-e4fc-4645-a90f-bdc991a1b518","changeType":"edit","entity":"payment","entityId":"628","eventName":"payment.edit","extraData":{"entity":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":628,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T09:34:01-0600","amount":110,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-09 16:00:04.331573] [notice] Logging level set to:debug
[2025-06-09 16:00:04.331754] [debug] valor del webhook: {"uuid":"447038d4-c6a9-435c-a8ea-53191c20e6db","changeType":"draft_approved","entity":"invoice","entityId":"2060","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2060,"clientId":118,"number":"002010","createdDate":"2025-06-09T10:00:02-0600","dueDate":"2025-06-23T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2063,"type":"service","label":"plan300 09\/05\/2025 \u2013 08\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-09 16:00:04.475579] [debug] valor el evento recibido por webhook: invoice.draft_approved
[2025-06-09 16:00:04.475647] [debug] Valor de JSON: {"uuid":"447038d4-c6a9-435c-a8ea-53191c20e6db","changeType":"draft_approved","entity":"invoice","entityId":"2060","eventName":"invoice.draft_approved","extraData":{"entity":{"id":2060,"clientId":118,"number":"002010","createdDate":"2025-06-09T10:00:02-0600","dueDate":"2025-06-23T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":2063,"type":"service","label":"plan300 09\/05\/2025 \u2013 08\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":null}}
[2025-06-09 16:00:04.475858] [debug] Aprobación de Factura
[2025-06-09 16:00:04.475919] [debug] {"uuid":"447038d4-c6a9-435c-a8ea-53191c20e6db","changeType":"draft_approved","entity":"invoice","entityId":2060,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1572733,"addressGpsLon":-100.9403274,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2060,"clientId":118,"number":"002010","createdDate":"2025-06-09T10:00:02-0600","dueDate":"2025-06-23T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2063,"type":"service","label":"plan300 09\/05\/2025 \u2013 08\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-09 16:00:04.475999] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 16:00:04.476013] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"447038d4-c6a9-435c-a8ea-53191c20e6db","changeType":"draft_approved","entity":"invoice","entityId":2060,"message":null,"clientId":118,"eventName":"invoice.draft_approved","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true}],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1572733,"addressGpsLon":-100.9403274,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2060,"clientId":118,"number":"002010","createdDate":"2025-06-09T10:00:02-0600","dueDate":"2025-06-23T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2063,"type":"service","label":"plan300 09\/05\/2025 \u2013 08\/06\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: []
Nombre del cliente que se va a actualizar: Toro Sentado Ramírez
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Toro Sentado Ram\u00edrez","custom_fields":{"Cliente":118,"Domicilio":"\ud83d\udccd Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Toro Sentado Ram\u00edrez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/118","Saldo Actual":"\ud83d\udcb23900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 ","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ram\u00edrez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/118\",\"Saldo Actual\": \"\ud83d\udcb23900 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/06\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09\/06\/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/06\/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 10:00","Clabe Interbancaria":"002180173419260258","Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "118","Domicilio": ""Nombre": "Toro Sentado Ramírez","URL": "https://sistema.siip.mx/crm/client/118","Saldo Actual": "💲3900 pendientes","Monto Ultimo Pago": "$ ","Estado": "Suspendido","Fecha Ultimo Pago": " 09/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Fecha Ultima Actualizacion": "09/06/2025 10:00","Clabe Interbancaria": "002180173419260258","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲3900 pendientes","Monto Ultimo Pago":"💲 ","Clabe Interbancaria":"002180173419260258","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 10:00","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3900 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/06/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Fecha Ultimo Pago":"📆💸 09/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Toro Sentado Ramírez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2025-05-25T03:21:32Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","Sus"],"assignedUser":"mangelgg@gmail.com","customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🔴 Suspendido","Saldo Actual":"💲3900 pendientes","Monto Ultimo Pago":"💲 ","Clabe Interbancaria":"002180173419260258","user name":"Daniel Humberto 🐁","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 10:00","Resumen":"{\"Cliente\": \"118\",\"Domicilio\": \"\"Nombre\": \"Toro Sentado Ramírez\",\"URL\": \"https://sistema.siip.mx/crm/client/118\",\"Saldo Actual\": \"💲3900 pendientes\",\"Monto Ultimo Pago\": \"$ \",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"09/06/2025 10:00\",\"Clabe Interbancaria\": \"002180173419260258\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Domicilio":"📍 Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Cliente":"118","URL":"🌐 https://sistema.siip.mx/crm/client/118","Fecha Ultimo Pago":"📆💸 09/06/2025 16:00 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Toro Sentado Ramírez"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 18:12:20.871535] [notice] Logging level set to:debug
[2025-06-09 18:12:20.871714] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 120
}
[2025-06-09 18:12:20.871783] [info] No UUID found in the webhook data
[2025-06-09 18:12:20.871829] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 18:12:20.871867] [info] Referencia persnoalizada, Valor del monto: 120
[2025-06-09 18:12:20.871906] [info] Creando referencia del cliente para OXXO:
[2025-06-09 18:12:20.999542] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 18:12:20.999660] [info] Monto proporcionado directamente: 120
[2025-06-09 18:12:20.999716] [info] Creando referencia en Stripe por 12000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 18:12:22.085000] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 18:12:22.085449] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDZPVmpXZXR5bTZIY0NEYUpaTEFtbVFxS0ZGWjJH0100u9KOzZJP
[2025-06-09 18:12:22.085875] [info] Referencia OXXO creada correctamente.
[2025-06-09 18:12:22.475007] [error] Error al generar PDF: sh: wkhtmltopdf: not found
[2025-06-09 18:12:22.479175] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDZPVmpXZXR5bTZIY0NEYUpaTEFtbVFxS0ZGWjJH0100u9KOzZJP","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":120,"failDescription":"","error":""}
[2025-06-09 18:12:22.479412] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDZPVmpXZXR5bTZIY0NEYUpaTEFtbVFxS0ZGWjJH0100u9KOzZJP","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "120"}
[2025-06-09 18:15:27.534827] [notice] Logging level set to:debug
[2025-06-09 18:15:27.534934] [debug] valor del webhook: {"uuid":"6274f52b-4ee5-4f0c-9217-b3717cf8a3d5","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 18:15:27.679255] [debug] valor el evento recibido por webhook: invoice.edit
[2025-06-09 18:15:27.679356] [debug] Valor de JSON: {"uuid":"6274f52b-4ee5-4f0c-9217-b3717cf8a3d5","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":310,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":156.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 18:15:27.679582] [debug] Edición de Factura
[2025-06-09 18:15:27.679651] [debug] {"uuid":"6274f52b-4ee5-4f0c-9217-b3717cf8a3d5","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-36.67,"accountCredit":0,"accountOutstanding":36.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-09 18:15:27.679730] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 18:15:27.679745] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"6274f52b-4ee5-4f0c-9217-b3717cf8a3d5","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-36.67,"accountCredit":0,"accountOutstanding":36.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb236.67 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 120","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb236.67 pendientes\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09\/06\/2025 12:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"09\/06\/2025 12:15\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/06\/2025 12:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 12:15","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲36.67 pendientes","Monto Ultimo Pago": "$ 120","Estado": "Activo","Fecha Ultimo Pago": " 09/06/2025 12:15 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "09/06/2025 12:15","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲36.67 pendientes","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 12:15 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:15","Monto Ultimo Pago":"💲 120","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲36.67 pendientes\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 12:15 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 12:15\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲36.67 pendientes","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 12:15 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:15","Monto Ultimo Pago":"💲 120","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲36.67 pendientes\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 12:15 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 12:15\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 18:15:30.632162] [notice] Logging level set to:debug
[2025-06-09 18:15:30.632356] [debug] valor del webhook: {"uuid":"89d7b392-0d12-4f70-a4c7-f3c2e24d22b8","changeType":"insert","entity":"payment","entityId":"629","eventName":"payment.add","extraData":{"entity":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 18:15:30.768441] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 18:15:30.768579] [debug] Valor de JSON: {"uuid":"89d7b392-0d12-4f70-a4c7-f3c2e24d22b8","changeType":"insert","entity":"payment","entityId":"629","eventName":"payment.add","extraData":{"entity":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 18:15:30.768770] [debug] Notification encodificado en JSON:{"uuid":"89d7b392-0d12-4f70-a4c7-f3c2e24d22b8","changeType":"insert","entity":"payment","entityId":629,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-36.67,"accountCredit":0,"accountOutstanding":36.67,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]}}
[2025-06-09 18:15:30.768834] [debug] valor del payment data: {"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]}
[2025-06-09 18:15:30.768920] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 18:15:30.768958] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 18:15:30.768991] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 18:15:30.769026] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 18:15:31.016015] [notice] Logging level set to:debug
[2025-06-09 18:15:31.016181] [debug] valor del webhook: {"uuid":"ff333ae4-fc9d-41be-8568-80aa9e045709","changeType":"edit","entity":"payment","entityId":"629","eventName":"payment.edit","extraData":{"entity":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-09 18:15:31.149209] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 18:15:31.149266] [debug] Valor de JSON: {"uuid":"ff333ae4-fc9d-41be-8568-80aa9e045709","changeType":"edit","entity":"payment","entityId":"629","eventName":"payment.edit","extraData":{"entity":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":629,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T12:15:27-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120}],"creditAmount":0,"userId":null,"attributes":[]}}}
[2025-06-09 18:30:03.411870] [notice] Logging level set to:debug
[2025-06-09 18:30:03.412297] [debug] valor del webhook: {"uuid":"dcbac69e-6440-4044-a148-ffd4b1d16ae0","changeType":"suspend","entity":"service","entityId":"132","eventName":"service.suspend","extraData":{"entity":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":132,"prepaid":false,"clientId":1,"status":1,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-09 18:30:03.692717] [debug] valor el evento recibido por webhook: service.suspend
[2025-06-09 18:30:03.692905] [debug] Valor de JSON: {"uuid":"dcbac69e-6440-4044-a148-ffd4b1d16ae0","changeType":"suspend","entity":"service","entityId":"132","eventName":"service.suspend","extraData":{"entity":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":132,"prepaid":false,"clientId":1,"status":1,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-09 18:30:03.693226] [debug] Se suspendió el servicio a un cliente
[2025-06-09 18:30:03.693346] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 18:30:03.693392] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 18:30:03.693487] [info] {"uuid":"dcbac69e-6440-4044-a148-ffd4b1d16ae0","changeType":"suspend","entity":"service","entityId":132,"message":null,"clientId":1,"eventName":"service.suspend","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Don Miguel Ángel Guerrero González
UUID: 0e53e926ce424db5b9284a75915d24fe
JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 12:30"}}
Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/05/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1223.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:30"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 18:30:05.611773] [notice] Logging level set to:debug
[2025-06-09 18:30:05.611859] [debug] valor del webhook: {"uuid":"7db56faa-7476-4ba1-85f2-79ecbdfa3c66","changeType":"edit","entity":"service","entityId":"132","eventName":"service.edit","extraData":{"entity":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":132,"prepaid":false,"clientId":1,"status":1,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-09 18:30:05.788002] [debug] valor el evento recibido por webhook: service.edit
[2025-06-09 18:30:05.788168] [debug] Valor de JSON: {"uuid":"7db56faa-7476-4ba1-85f2-79ecbdfa3c66","changeType":"edit","entity":"service","entityId":"132","eventName":"service.edit","extraData":{"entity":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":132,"prepaid":false,"clientId":1,"status":1,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T12:30:02-0600","endDate":null}],"surcharges":[]}}}
[2025-06-09 18:30:05.788337] [debug] Se editó el servicio a un cliente
[2025-06-09 18:30:05.788419] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 18:30:05.788463] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 18:30:05.788536] [info] {"uuid":"7db56faa-7476-4ba1-85f2-79ecbdfa3c66","changeType":"edit","entity":"service","entityId":132,"message":null,"clientId":1,"eventName":"service.edit","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":{"id":132,"prepaid":false,"clientId":1,"status":3,"name":"PREMIUM","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-03-25T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-18T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":25,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2025-05-24T00:00:00-0600","unmsClientSiteId":"4e9a790b-b72c-4082-a58d-da7760848f95","attributes":[{"id":"2f9ed7d5-614c-413b-b77a-8d22623f9ca5","serviceId":132,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":101,"startDate":"2024-07-06T00:00:00-0600","endDate":"2024-12-11T00:00:00-0600"},{"id":116,"startDate":"2024-12-11T00:00:00-0600","endDate":"2025-02-18T00:00:00-0600"},{"id":167,"startDate":"2025-06-09T00:00:00-0600","endDate":null}],"surcharges":[],"stopReason":"Payments overdue"},"invoiceData":null,"paymentData":null}
Actualizando estado del servicio
Nombre del cliente al que se va a actualizar el estado del servicio: Don Miguel Ángel Guerrero González
UUID: 0e53e926ce424db5b9284a75915d24fe
JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 12:30"}}
Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"27/05/2025 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Saldo Actual":"💲1223.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:30"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 18:30:07.826987] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-09 18:30:07.827173] [info] El valor de passwordAntenaValue es null o cadena vacía, se manda llamar la función getVaultCredentials
[2025-06-09 18:30:07.827224] [info] El valor de password es: gYAIEK:Be}SK*01z5+/V
[2025-06-09 18:30:08.087585] [info] Se actualizó el custom attribute del cliente 1
[2025-06-09 18:30:08.088685] [info] Se actualizó el atributo personalizado passwordAntenaCliente con el valor: gYAIEK:Be}SK*01z5+/V
[2025-06-09 18:30:08.252945] [notice] Logging level set to:debug
[2025-06-09 18:30:08.253098] [debug] valor del webhook: {"uuid":"5572769a-a367-4cde-bf22-eda85ae601a4","changeType":"edit","entity":"client","entityId":"1","eventName":"client.edit","extraData":{"entity":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-09 18:30:08.334721] [debug] valor el evento recibido por webhook: client.edit
[2025-06-09 18:30:08.334927] [debug] Valor de JSON: {"uuid":"5572769a-a367-4cde-bf22-eda85ae601a4","changeType":"edit","entity":"client","entityId":"1","eventName":"client.edit","extraData":{"entity":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-09 18:30:08.335103] [debug] Se actualiza a un cliente
[2025-06-09 18:30:08.335179] [debug] Valor de json_data: {"uuid":"5572769a-a367-4cde-bf22-eda85ae601a4","changeType":"edit","entity":"client","entityId":"1","eventName":"client.edit","extraData":{"entity":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
[2025-06-09 18:30:08.382817] [info] ID correspondiente a 'passwordAntenaCliente': 17
[2025-06-09 18:30:08.382951] [info] El valor de passwordAntenaValue es: gYAIEK:Be}SK*01z5+/V
[2025-06-09 18:30:08.383008] [info] Ya existe un valor de passwordAntenaValue: gYAIEK:Be}SK*01z5+/V
[2025-06-09 18:30:08.383052] [debug] El cliente no cambió de potencial a cliente
[2025-06-09 18:30:08.383091] [debug] Validando claves dentro de entity y entityBeforeEdit
[2025-06-09 18:30:08.383130] [debug] Los datos entity y entityBeforeEdit contienen el campo tags
[2025-06-09 18:30:08.383166] [debug] Validando si la etiqueta STRIPE existe en entity pero no en entityBeforeEdit
[2025-06-09 18:30:08.383235] [debug] {"uuid":"5572769a-a367-4cde-bf22-eda85ae601a4","changeType":"edit","entity":"client","entityId":1,"message":null,"clientId":1,"eventName":"client.edit","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
[2025-06-09 18:30:08.383356] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 18:30:08.383408] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"5572769a-a367-4cde-bf22-eda85ae601a4","changeType":"edit","entity":"client","entityId":1,"message":null,"clientId":1,"eventName":"client.edit","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-1223.33,"accountCredit":0,"accountOutstanding":1223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":608,"clientId":1,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-03-07T23:51:02-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":726,"invoiceId":1837,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":113.33},{"id":727,"invoiceId":1839,"paymentId":608,"creditNoteId":null,"refundId":null,"amount":76.67}],"creditAmount":0,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González
UUID: 0e53e926ce424db5b9284a75915d24fe
JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Cliente":1,"Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Saldo Actual":"\ud83d\udcb21223.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 190","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb21223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"09\/06\/2025 12:30\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/03\/2025 23:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 12:30","Clabe Interbancaria":"002180697144444854","Site":"","Antena\/Sectorial":""}}
JSON con los datos a actualizar del resumen: {"Cliente": "1","Domicilio": ""Nombre": "Don Miguel Ángel Guerrero González","URL": "https://sistema.siip.mx/crm/client/1","Saldo Actual": "💲1223.33 pendientes","Monto Ultimo Pago": "$ 190","Estado": "Suspendido","Fecha Ultimo Pago": " 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "09/06/2025 12:30","Clabe Interbancaria": "002180697144444854","Site": "","Antena/Sectorial": ""}
Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲1223.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:30","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 12:30\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🔴 Suspendido"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-03-18T17:21:52Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Monto Ultimo Pago":"💲 190","Fecha Ultimo Pago":"📆💸 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲1223.33 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 12:30","Resumen":"{\"Cliente\": \"1\",\"Domicilio\": \"\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"URL\": \"https://sistema.siip.mx/crm/client/1\",\"Saldo Actual\": \"💲1223.33 pendientes\",\"Monto Ultimo Pago\": \"$ 190\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 07/03/2025 23:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 12:30\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena/Sectorial\": \"\"}","Estado":"🔴 Suspendido"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 19:09:34.077672] [notice] Logging level set to:debug
[2025-06-09 19:09:34.077860] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 120
}
[2025-06-09 19:09:34.077923] [info] No UUID found in the webhook data
[2025-06-09 19:09:34.077956] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 19:09:34.077981] [info] Referencia persnoalizada, Valor del monto: 120
[2025-06-09 19:09:34.078016] [info] Creando referencia del cliente para OXXO:
[2025-06-09 19:09:34.202605] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 19:09:34.202651] [info] Monto proporcionado directamente: 120
[2025-06-09 19:09:34.202662] [info] Creando referencia en Stripe por 12000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 19:09:35.641258] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 19:09:35.641350] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdKcnFQNTQ2RkhRMEdGSkpQWVZWSU9jcUJRaDMy0100ZxQpx1Wr
[2025-06-09 19:09:35.641375] [info] Referencia OXXO creada correctamente.
[2025-06-09 19:09:35.645944] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdKcnFQNTQ2RkhRMEdGSkpQWVZWSU9jcUJRaDMy0100ZxQpx1Wr","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":120,"failDescription":"","error":""}
[2025-06-09 19:09:35.646048] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdKcnFQNTQ2RkhRMEdGSkpQWVZWSU9jcUJRaDMy0100ZxQpx1Wr","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "120"}
[2025-06-09 19:12:40.202851] [notice] Logging level set to:debug
[2025-06-09 19:12:40.202960] [debug] valor del webhook: {"uuid":"655b2160-fec1-4da2-9a18-2fdd927c33e4","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":466.67,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 19:12:40.411118] [debug] valor el evento recibido por webhook: invoice.edit
[2025-06-09 19:12:40.411223] [debug] Valor de JSON: {"uuid":"655b2160-fec1-4da2-9a18-2fdd927c33e4","changeType":"edit","entity":"invoice","entityId":"2057","eventName":"invoice.edit","extraData":{"entity":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":466.67,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"entityBeforeEdit":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":430,"totalUntaxed":466.67,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":36.67,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false}}}
[2025-06-09 19:12:40.411452] [debug] Edición de Factura
[2025-06-09 19:12:40.411525] [debug] {"uuid":"655b2160-fec1-4da2-9a18-2fdd927c33e4","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":83.33,"accountCredit":83.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":466.67,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
[2025-06-09 19:12:40.411607] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 19:12:40.411622] [info] Tipo de contacto normalizado: 'whatsapp'
Notificacion data: {"uuid":"655b2160-fec1-4da2-9a18-2fdd927c33e4","changeType":"edit","entity":"invoice","entityId":2057,"message":null,"clientId":2,"eventName":"invoice.edit","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":83.33,"accountCredit":83.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2057,"clientId":2,"number":"002007","createdDate":"2025-06-03T12:03:42-0600","dueDate":"2025-06-17T12:03:42-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2025-06-03T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2060,"type":"service","label":"INTERMEDIO 03\/06\/2025 \u2013 30\/06\/2025","price":500,"quantity":0.93333333333333,"total":466.66666666667,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":466.67,"discount":null,"discountLabel":"Descuento","taxes":[],"total":466.67,"amountPaid":466.67,"totalUntaxed":466.67,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":730,"invoiceId":2057,"paymentId":626,"creditNoteId":null,"refundId":null,"amount":100},{"id":731,"invoiceId":2057,"paymentId":627,"creditNoteId":null,"refundId":null,"amount":100},{"id":732,"invoiceId":2057,"paymentId":628,"creditNoteId":null,"refundId":null,"amount":110},{"id":733,"invoiceId":2057,"paymentId":629,"creditNoteId":null,"refundId":null,"amount":120},{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"31 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb283.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb283.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09\/06\/2025 13:12 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"09\/06\/2025 13:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/06\/2025 13:12 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 09\/06\/2025 13:12","Clabe Interbancaria":"0021804341999569810","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲83.33 a favor","Monto Ultimo Pago": "$ 120","Estado": "Activo","Fecha Ultimo Pago": " 09/06/2025 13:12 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "09/06/2025 13:12","Clabe Interbancaria": "0021804341999569810","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲83.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 13:12 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 13:12","Monto Ultimo Pago":"💲 120","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲83.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 13:12 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 13:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲83.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 09/06/2025 13:12 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 09/06/2025 13:12","Monto Ultimo Pago":"💲 120","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲83.33 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 09/06/2025 13:12 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"09/06/2025 13:12\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-09 19:12:43.291928] [notice] Logging level set to:debug
[2025-06-09 19:12:43.292095] [debug] valor del webhook: {"uuid":"f67d2957-3a05-47c9-871c-4390713d3606","changeType":"insert","entity":"payment","entityId":"630","eventName":"payment.add","extraData":{"entity":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:12:43.432288] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 19:12:43.432492] [debug] Valor de JSON: {"uuid":"f67d2957-3a05-47c9-871c-4390713d3606","changeType":"insert","entity":"payment","entityId":"630","eventName":"payment.add","extraData":{"entity":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:12:43.432693] [debug] Notification encodificado en JSON:{"uuid":"f67d2957-3a05-47c9-871c-4390713d3606","changeType":"insert","entity":"payment","entityId":630,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":83.33,"accountCredit":83.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]}}
[2025-06-09 19:12:43.432760] [debug] valor del payment data: {"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]}
[2025-06-09 19:12:43.432841] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 19:12:43.432879] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 19:12:43.432917] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 19:12:43.432965] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 19:12:43.682478] [notice] Logging level set to:debug
[2025-06-09 19:12:43.682630] [debug] valor del webhook: {"uuid":"d35cbf22-0634-49fd-b3a1-beb91ccf6108","changeType":"edit","entity":"payment","entityId":"630","eventName":"payment.edit","extraData":{"entity":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]}}}
[2025-06-09 19:12:43.803765] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 19:12:43.803941] [debug] Valor de JSON: {"uuid":"d35cbf22-0634-49fd-b3a1-beb91ccf6108","changeType":"edit","entity":"payment","entityId":"630","eventName":"payment.edit","extraData":{"entity":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":630,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:12:39-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":734,"invoiceId":2057,"paymentId":630,"creditNoteId":null,"refundId":null,"amount":36.67}],"creditAmount":83.33,"userId":null,"attributes":[]}}}
[2025-06-09 19:44:44.298584] [notice] Logging level set to:debug
[2025-06-09 19:44:44.298998] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 130
}
[2025-06-09 19:44:44.299098] [info] No UUID found in the webhook data
[2025-06-09 19:44:44.299159] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 19:44:44.299206] [info] Referencia persnoalizada, Valor del monto: 130
[2025-06-09 19:44:44.299252] [info] Creando referencia del cliente para OXXO:
[2025-06-09 19:44:44.441438] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 19:44:44.441489] [info] Monto proporcionado directamente: 130
[2025-06-09 19:44:44.441502] [info] Creando referencia en Stripe por 13000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 19:44:45.961339] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 19:44:45.961872] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdzMGdsUmZZQnFaZTRCN2VidG5tYjJHU2Z3UHhQ0100YZsvx3ME
[2025-06-09 19:44:45.962101] [info] Referencia OXXO creada correctamente.
[2025-06-09 19:44:45.967133] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdzMGdsUmZZQnFaZTRCN2VidG5tYjJHU2Z3UHhQ0100YZsvx3ME","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":130,"failDescription":"","error":""}
[2025-06-09 19:44:45.967371] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDdzMGdsUmZZQnFaZTRCN2VidG5tYjJHU2Z3UHhQ0100YZsvx3ME","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "130"}
[2025-06-09 19:47:50.229664] [notice] Logging level set to:debug
[2025-06-09 19:47:50.229826] [debug] valor del webhook: {"uuid":"88d889eb-7d52-4451-86f4-de5b255c343d","changeType":"insert","entity":"payment","entityId":"631","eventName":"payment.add","extraData":{"entity":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:47:50.343493] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 19:47:50.343545] [debug] Valor de JSON: {"uuid":"88d889eb-7d52-4451-86f4-de5b255c343d","changeType":"insert","entity":"payment","entityId":"631","eventName":"payment.add","extraData":{"entity":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:47:50.343767] [debug] Notification encodificado en JSON:{"uuid":"88d889eb-7d52-4451-86f4-de5b255c343d","changeType":"insert","entity":"payment","entityId":631,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":213.33,"accountCredit":213.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]}}
[2025-06-09 19:47:50.343789] [debug] valor del payment data: {"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]}
[2025-06-09 19:47:50.343866] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 19:47:50.343878] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 19:47:50.343888] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 19:47:50.343914] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 19:47:50.928447] [notice] Logging level set to:debug
[2025-06-09 19:47:50.928509] [debug] valor del webhook: {"uuid":"2cc8361a-f947-4393-b916-993238161687","changeType":"edit","entity":"payment","entityId":"631","eventName":"payment.edit","extraData":{"entity":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]}}}
[2025-06-09 19:47:51.061580] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 19:47:51.061633] [debug] Valor de JSON: {"uuid":"2cc8361a-f947-4393-b916-993238161687","changeType":"edit","entity":"payment","entityId":"631","eventName":"payment.edit","extraData":{"entity":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":631,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:47:49-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":130,"userId":null,"attributes":[]}}}
[2025-06-09 19:48:48.788074] [notice] Logging level set to:debug
[2025-06-09 19:48:48.788505] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 140
}
[2025-06-09 19:48:48.788592] [info] No UUID found in the webhook data
[2025-06-09 19:48:48.788642] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 19:48:48.788680] [info] Referencia persnoalizada, Valor del monto: 140
[2025-06-09 19:48:48.788718] [info] Creando referencia del cliente para OXXO:
[2025-06-09 19:48:48.918921] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 19:48:48.919054] [info] Monto proporcionado directamente: 140
[2025-06-09 19:48:48.919099] [info] Creando referencia en Stripe por 14000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 19:48:50.376910] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 19:48:50.377490] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDd3UTVRWjMxSnBDWm5LckdoN3JpVmdOUTh5M2V40100OnUXGJlm
[2025-06-09 19:48:50.377686] [info] Referencia OXXO creada correctamente.
[2025-06-09 19:48:50.382822] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDd3UTVRWjMxSnBDWm5LckdoN3JpVmdOUTh5M2V40100OnUXGJlm","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":140,"failDescription":"","error":""}
[2025-06-09 19:48:50.383069] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDd3UTVRWjMxSnBDWm5LckdoN3JpVmdOUTh5M2V40100OnUXGJlm","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "140"}
[2025-06-09 19:51:57.374445] [notice] Logging level set to:debug
[2025-06-09 19:51:57.374533] [debug] valor del webhook: {"uuid":"54d78963-43ba-4651-9d3a-456aabb70379","changeType":"insert","entity":"payment","entityId":"632","eventName":"payment.add","extraData":{"entity":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:51:57.492826] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 19:51:57.492882] [debug] Valor de JSON: {"uuid":"54d78963-43ba-4651-9d3a-456aabb70379","changeType":"insert","entity":"payment","entityId":"632","eventName":"payment.add","extraData":{"entity":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 19:51:57.493133] [debug] Notification encodificado en JSON:{"uuid":"54d78963-43ba-4651-9d3a-456aabb70379","changeType":"insert","entity":"payment","entityId":632,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":353.33,"accountCredit":353.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]}}
[2025-06-09 19:51:57.493186] [debug] valor del payment data: {"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]}
[2025-06-09 19:51:57.493257] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 19:51:57.493271] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 19:51:57.493279] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 19:51:57.493304] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 19:51:58.014118] [notice] Logging level set to:debug
[2025-06-09 19:51:58.014337] [debug] valor del webhook: {"uuid":"56149e3d-4a5b-4979-8fab-0504c1543dfc","changeType":"edit","entity":"payment","entityId":"632","eventName":"payment.edit","extraData":{"entity":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]}}}
[2025-06-09 19:51:58.145626] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 19:51:58.145685] [debug] Valor de JSON: {"uuid":"56149e3d-4a5b-4979-8fab-0504c1543dfc","changeType":"edit","entity":"payment","entityId":"632","eventName":"payment.edit","extraData":{"entity":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":632,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T13:51:57-0600","amount":140,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":140,"userId":null,"attributes":[]}}}
[2025-06-09 19:57:06.556930] [notice] Logging level set to:debug
[2025-06-09 19:57:06.557569] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 150
}
[2025-06-09 19:57:06.557739] [info] No UUID found in the webhook data
[2025-06-09 19:57:06.557847] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 19:57:06.557933] [info] Referencia persnoalizada, Valor del monto: 150
[2025-06-09 19:57:06.558020] [info] Creando referencia del cliente para OXXO:
[2025-06-09 19:57:06.681411] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 19:57:06.681457] [info] Monto proporcionado directamente: 150
[2025-06-09 19:57:06.681468] [info] Creando referencia en Stripe por 15000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 19:57:07.788564] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 19:57:07.788628] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDg0N2pONTI5VERWUGRkd1VjSEtaZ1dIc2N1enBt01006gdzvUxY
[2025-06-09 19:57:07.788640] [info] Referencia OXXO creada correctamente.
[2025-06-09 19:57:07.790741] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDg0N2pONTI5VERWUGRkd1VjSEtaZ1dIc2N1enBt01006gdzvUxY","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":150,"failDescription":"","error":""}
[2025-06-09 19:57:07.790792] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDg0N2pONTI5VERWUGRkd1VjSEtaZ1dIc2N1enBt01006gdzvUxY","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "150"}
[2025-06-09 20:00:11.044064] [notice] Logging level set to:debug
[2025-06-09 20:00:11.044405] [debug] valor del webhook: {"uuid":"9bb85429-63c0-4922-97a0-8d9418d8e77d","changeType":"insert","entity":"payment","entityId":"633","eventName":"payment.add","extraData":{"entity":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:00:11.184839] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 20:00:11.184983] [debug] Valor de JSON: {"uuid":"9bb85429-63c0-4922-97a0-8d9418d8e77d","changeType":"insert","entity":"payment","entityId":"633","eventName":"payment.add","extraData":{"entity":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:00:11.185378] [debug] Notification encodificado en JSON:{"uuid":"9bb85429-63c0-4922-97a0-8d9418d8e77d","changeType":"insert","entity":"payment","entityId":633,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":503.33,"accountCredit":503.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}
[2025-06-09 20:00:11.185461] [debug] valor del payment data: {"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}
[2025-06-09 20:00:11.185568] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 20:00:11.185610] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 20:00:11.185647] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 20:00:11.185695] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 20:00:11.722793] [notice] Logging level set to:debug
[2025-06-09 20:00:11.722862] [debug] valor del webhook: {"uuid":"75c1a10d-dd08-44ab-94f3-cade157a4c70","changeType":"edit","entity":"payment","entityId":"633","eventName":"payment.edit","extraData":{"entity":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}}
[2025-06-09 20:00:11.836380] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 20:00:11.836515] [debug] Valor de JSON: {"uuid":"75c1a10d-dd08-44ab-94f3-cade157a4c70","changeType":"edit","entity":"payment","entityId":"633","eventName":"payment.edit","extraData":{"entity":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":633,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:00:10-0600","amount":150,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":150,"userId":null,"attributes":[]}}}
[2025-06-09 20:07:56.821434] [notice] Logging level set to:debug
[2025-06-09 20:07:56.821569] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 160
}
[2025-06-09 20:07:56.821602] [info] No UUID found in the webhook data
[2025-06-09 20:07:56.821618] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 20:07:56.821630] [info] Referencia persnoalizada, Valor del monto: 160
[2025-06-09 20:07:56.821645] [info] Creando referencia del cliente para OXXO:
[2025-06-09 20:07:56.956798] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 20:07:56.956842] [info] Monto proporcionado directamente: 160
[2025-06-09 20:07:56.956855] [info] Creando referencia en Stripe por 16000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 20:07:58.114351] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 20:07:58.114465] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhGWEhENzNtVVdleXJLaFV3dk9mRUZYTVVkS2hU0100Hw1Taeeh
[2025-06-09 20:07:58.114499] [info] Referencia OXXO creada correctamente.
[2025-06-09 20:07:58.119204] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhGWEhENzNtVVdleXJLaFV3dk9mRUZYTVVkS2hU0100Hw1Taeeh","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":160,"failDescription":"","error":""}
[2025-06-09 20:07:58.119312] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhGWEhENzNtVVdleXJLaFV3dk9mRUZYTVVkS2hU0100Hw1Taeeh","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "160"}
[2025-06-09 20:11:04.897315] [notice] Logging level set to:debug
[2025-06-09 20:11:04.897418] [debug] valor del webhook: {"uuid":"f5195af4-08e1-47c3-afc8-c59af03a971b","changeType":"insert","entity":"payment","entityId":"634","eventName":"payment.add","extraData":{"entity":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:11:05.019745] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 20:11:05.019802] [debug] Valor de JSON: {"uuid":"f5195af4-08e1-47c3-afc8-c59af03a971b","changeType":"insert","entity":"payment","entityId":"634","eventName":"payment.add","extraData":{"entity":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:11:05.020040] [debug] Notification encodificado en JSON:{"uuid":"f5195af4-08e1-47c3-afc8-c59af03a971b","changeType":"insert","entity":"payment","entityId":634,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":663.33,"accountCredit":663.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]}}
[2025-06-09 20:11:05.020071] [debug] valor del payment data: {"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]}
[2025-06-09 20:11:05.020152] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 20:11:05.020165] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 20:11:05.020174] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 20:11:05.020194] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 20:11:05.600265] [notice] Logging level set to:debug
[2025-06-09 20:11:05.600553] [debug] valor del webhook: {"uuid":"233b35b2-d75e-4b85-9116-dc0015006b83","changeType":"edit","entity":"payment","entityId":"634","eventName":"payment.edit","extraData":{"entity":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]}}}
[2025-06-09 20:11:05.743024] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 20:11:05.743161] [debug] Valor de JSON: {"uuid":"233b35b2-d75e-4b85-9116-dc0015006b83","changeType":"edit","entity":"payment","entityId":"634","eventName":"payment.edit","extraData":{"entity":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":634,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:11:04-0600","amount":160,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":160,"userId":null,"attributes":[]}}}
[2025-06-09 20:11:52.217216] [notice] Logging level set to:debug
[2025-06-09 20:11:52.217405] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 170
}
[2025-06-09 20:11:52.217467] [info] No UUID found in the webhook data
[2025-06-09 20:11:52.217509] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 20:11:52.217541] [info] Referencia persnoalizada, Valor del monto: 170
[2025-06-09 20:11:52.217576] [info] Creando referencia del cliente para OXXO:
[2025-06-09 20:11:52.348300] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 20:11:52.348460] [info] Monto proporcionado directamente: 170
[2025-06-09 20:11:52.348534] [info] Creando referencia en Stripe por 17000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 20:11:54.536547] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 20:11:54.536619] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhKZDFsT3ZxOEo3blR2bnZJOUdQSGc5TVVrV1I50100mqeajwx9
[2025-06-09 20:11:54.536637] [info] Referencia OXXO creada correctamente.
[2025-06-09 20:11:54.540659] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhKZDFsT3ZxOEo3blR2bnZJOUdQSGc5TVVrV1I50100mqeajwx9","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":170,"failDescription":"","error":""}
[2025-06-09 20:11:54.540904] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhKZDFsT3ZxOEo3blR2bnZJOUdQSGc5TVVrV1I50100mqeajwx9","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "170"}
[2025-06-09 20:15:01.427726] [notice] Logging level set to:debug
[2025-06-09 20:15:01.429224] [debug] valor del webhook: {"uuid":"89dce065-802d-47ea-98e7-12153bb2abac","changeType":"insert","entity":"payment","entityId":"635","eventName":"payment.add","extraData":{"entity":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:15:01.707043] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 20:15:01.707201] [debug] Valor de JSON: {"uuid":"89dce065-802d-47ea-98e7-12153bb2abac","changeType":"insert","entity":"payment","entityId":"635","eventName":"payment.add","extraData":{"entity":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:15:01.707485] [debug] Notification encodificado en JSON:{"uuid":"89dce065-802d-47ea-98e7-12153bb2abac","changeType":"insert","entity":"payment","entityId":635,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":833.33,"accountCredit":833.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}
[2025-06-09 20:15:01.707557] [debug] valor del payment data: {"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}
[2025-06-09 20:15:01.707663] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 20:15:01.707704] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 20:15:01.707740] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 20:15:01.707788] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 20:15:03.046798] [notice] Logging level set to:debug
[2025-06-09 20:15:03.052475] [debug] valor del webhook: {"uuid":"813b303d-b274-4fcc-8c18-dbdc6f9811ff","changeType":"edit","entity":"payment","entityId":"635","eventName":"payment.edit","extraData":{"entity":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}}
[2025-06-09 20:15:03.199934] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 20:15:03.200603] [debug] Valor de JSON: {"uuid":"813b303d-b274-4fcc-8c18-dbdc6f9811ff","changeType":"edit","entity":"payment","entityId":"635","eventName":"payment.edit","extraData":{"entity":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":635,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:15:00-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":170,"userId":null,"attributes":[]}}}
[2025-06-09 20:17:06.988590] [notice] Logging level set to:debug
[2025-06-09 20:17:06.988811] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 180
}
[2025-06-09 20:17:06.988886] [info] No UUID found in the webhook data
[2025-06-09 20:17:06.988945] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 20:17:06.988992] [info] Referencia persnoalizada, Valor del monto: 180
[2025-06-09 20:17:06.989041] [info] Creando referencia del cliente para OXXO:
[2025-06-09 20:17:07.122550] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 20:17:07.122596] [info] Monto proporcionado directamente: 180
[2025-06-09 20:17:07.122608] [info] Creando referencia en Stripe por 18000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 20:17:08.210839] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 20:17:08.210983] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhPYTNjVTJIZUh3MmVwYkt2SmFTQkl1YTNNeFdF0100Vd6Dmsfy
[2025-06-09 20:17:08.211020] [info] Referencia OXXO creada correctamente.
[2025-06-09 20:17:08.215636] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhPYTNjVTJIZUh3MmVwYkt2SmFTQkl1YTNNeFdF0100Vd6Dmsfy","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":180,"failDescription":"","error":""}
[2025-06-09 20:17:08.215744] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDhPYTNjVTJIZUh3MmVwYkt2SmFTQkl1YTNNeFdF0100Vd6Dmsfy","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "180"}
[2025-06-09 20:20:12.421096] [notice] Logging level set to:debug
[2025-06-09 20:20:12.421451] [debug] valor del webhook: {"uuid":"2437310c-bf5a-4c1d-a6b4-5b5513cdf82e","changeType":"insert","entity":"payment","entityId":"636","eventName":"payment.add","extraData":{"entity":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:20:12.601265] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 20:20:12.601413] [debug] Valor de JSON: {"uuid":"2437310c-bf5a-4c1d-a6b4-5b5513cdf82e","changeType":"insert","entity":"payment","entityId":"636","eventName":"payment.add","extraData":{"entity":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 20:20:12.601686] [debug] Notification encodificado en JSON:{"uuid":"2437310c-bf5a-4c1d-a6b4-5b5513cdf82e","changeType":"insert","entity":"payment","entityId":636,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":1013.33,"accountCredit":1013.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}}
[2025-06-09 20:20:12.601759] [debug] valor del payment data: {"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}
[2025-06-09 20:20:12.601865] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 20:20:12.601907] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 20:20:12.601946] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 20:20:12.601995] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 20:20:13.071305] [notice] Logging level set to:debug
[2025-06-09 20:20:13.071513] [debug] valor del webhook: {"uuid":"8a12ecba-b2f7-41a3-9f73-9adfcdb67fa4","changeType":"edit","entity":"payment","entityId":"636","eventName":"payment.edit","extraData":{"entity":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}}}
[2025-06-09 20:20:13.207174] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 20:20:13.207324] [debug] Valor de JSON: {"uuid":"8a12ecba-b2f7-41a3-9f73-9adfcdb67fa4","changeType":"edit","entity":"payment","entityId":"636","eventName":"payment.edit","extraData":{"entity":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":636,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T14:20:12-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":180,"userId":null,"attributes":[]}}}
[2025-06-09 21:07:49.407314] [notice] Logging level set to:debug
[2025-06-09 21:07:49.407629] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 190
}
[2025-06-09 21:07:49.407752] [info] No UUID found in the webhook data
[2025-06-09 21:07:49.407835] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 21:07:49.407906] [info] Referencia persnoalizada, Valor del monto: 190
[2025-06-09 21:07:49.407987] [info] Creando referencia del cliente para OXXO:
[2025-06-09 21:07:49.539222] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 21:07:49.539448] [info] Monto proporcionado directamente: 190
[2025-06-09 21:07:49.539499] [info] Creando referencia en Stripe por 19000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 21:07:50.730581] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 21:07:50.730947] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDlESGRjWncwZGpGaXhCV1lzb2NMTTdlWTYzOVFO0100jmyMGwKD
[2025-06-09 21:07:50.731090] [info] Referencia OXXO creada correctamente.
[2025-06-09 21:07:52.941682] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDlESGRjWncwZGpGaXhCV1lzb2NMTTdlWTYzOVFO0100jmyMGwKD","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":190,"failDescription":"","error":""}
[2025-06-09 21:07:52.941915] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVDlESGRjWncwZGpGaXhCV1lzb2NMTTdlWTYzOVFO0100jmyMGwKD","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "190"}
[2025-06-09 21:10:53.915052] [notice] Logging level set to:debug
[2025-06-09 21:10:53.915234] [debug] valor del webhook: {"uuid":"de17b348-8d29-4e87-972a-61713133715a","changeType":"insert","entity":"payment","entityId":"637","eventName":"payment.add","extraData":{"entity":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 21:10:54.040252] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 21:10:54.040307] [debug] Valor de JSON: {"uuid":"de17b348-8d29-4e87-972a-61713133715a","changeType":"insert","entity":"payment","entityId":"637","eventName":"payment.add","extraData":{"entity":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 21:10:54.040558] [debug] Notification encodificado en JSON:{"uuid":"de17b348-8d29-4e87-972a-61713133715a","changeType":"insert","entity":"payment","entityId":637,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":1203.33,"accountCredit":1203.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}}
[2025-06-09 21:10:54.040590] [debug] valor del payment data: {"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}
[2025-06-09 21:10:54.040664] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 21:10:54.040678] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 21:10:54.040688] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 21:10:54.040709] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 21:10:54.594108] [notice] Logging level set to:debug
[2025-06-09 21:10:54.594238] [debug] valor del webhook: {"uuid":"d2d84392-ce59-4c4b-be18-b4c655cd3d7c","changeType":"edit","entity":"payment","entityId":"637","eventName":"payment.edit","extraData":{"entity":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}}}
[2025-06-09 21:10:54.710787] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 21:10:54.710856] [debug] Valor de JSON: {"uuid":"d2d84392-ce59-4c4b-be18-b4c655cd3d7c","changeType":"edit","entity":"payment","entityId":"637","eventName":"payment.edit","extraData":{"entity":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":637,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T15:10:53-0600","amount":190,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":190,"userId":null,"attributes":[]}}}
[2025-06-09 22:46:18.297193] [notice] Logging level set to:debug
[2025-06-09 22:46:18.297574] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 200
}
[2025-06-09 22:46:18.297669] [info] No UUID found in the webhook data
[2025-06-09 22:46:18.297743] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 22:46:18.297790] [info] Referencia persnoalizada, Valor del monto: 200
[2025-06-09 22:46:18.297838] [info] Creando referencia del cliente para OXXO:
[2025-06-09 22:46:18.427711] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 22:46:18.427858] [info] Monto proporcionado directamente: 200
[2025-06-09 22:46:18.427906] [info] Creando referencia en Stripe por 20000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 22:46:24.279627] [error] Error al confirmar PaymentIntent: cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.stripe.com/v1/payment_intents/pi_3RYESMEFY1WEUtgR1OoIzzCN/confirm
[2025-06-09 22:46:24.283803] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"","url":"","error":"errorConfirmPaymentIntent","failDescription":"Error al confirmar PaymentIntent: cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see https:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html) for https:\/\/api.stripe.com\/v1\/payment_intents\/pi_3RYESMEFY1WEUtgR1OoIzzCN\/confirm","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":200}
[2025-06-09 22:46:24.283879] [info] Creando referencia del cliente para OXXO:
[2025-06-09 22:46:24.412530] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 22:46:24.412667] [info] Monto proporcionado directamente: 200
[2025-06-09 22:46:24.412709] [info] Creando referencia en Stripe por 20000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 22:46:26.015772] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 22:46:26.016285] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEFvbXAzQVBzNkVuQm95SzRKVzFsbk1qNnd1Y0M20100reyO0rjW
[2025-06-09 22:46:26.016452] [info] Referencia OXXO creada correctamente.
[2025-06-09 22:46:27.916420] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEFvbXAzQVBzNkVuQm95SzRKVzFsbk1qNnd1Y0M20100reyO0rjW","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":200,"failDescription":"","error":""}
[2025-06-09 22:46:27.916677] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEFvbXAzQVBzNkVuQm95SzRKVzFsbk1qNnd1Y0M20100reyO0rjW","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "200"}
[2025-06-09 22:49:25.224669] [notice] Logging level set to:debug
[2025-06-09 22:49:25.224756] [debug] valor del webhook: {"uuid":"e76063b4-11c0-4b47-8dfa-635435b69320","changeType":"insert","entity":"payment","entityId":"638","eventName":"payment.add","extraData":{"entity":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 22:49:25.347173] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 22:49:25.347225] [debug] Valor de JSON: {"uuid":"e76063b4-11c0-4b47-8dfa-635435b69320","changeType":"insert","entity":"payment","entityId":"638","eventName":"payment.add","extraData":{"entity":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 22:49:25.347484] [debug] Notification encodificado en JSON:{"uuid":"e76063b4-11c0-4b47-8dfa-635435b69320","changeType":"insert","entity":"payment","entityId":638,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":1403.33,"accountCredit":1403.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
[2025-06-09 22:49:25.347506] [debug] valor del payment data: {"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}
[2025-06-09 22:49:25.347584] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 22:49:25.347599] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 22:49:25.347606] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 22:49:25.347631] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 22:49:25.931246] [notice] Logging level set to:debug
[2025-06-09 22:49:25.931313] [debug] valor del webhook: {"uuid":"624a37a2-dbd1-4164-b051-22ea8ba96e68","changeType":"edit","entity":"payment","entityId":"638","eventName":"payment.edit","extraData":{"entity":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
[2025-06-09 22:49:26.044820] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 22:49:26.044995] [debug] Valor de JSON: {"uuid":"624a37a2-dbd1-4164-b051-22ea8ba96e68","changeType":"edit","entity":"payment","entityId":"638","eventName":"payment.edit","extraData":{"entity":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":638,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:24-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
[2025-06-09 22:49:32.969574] [notice] Logging level set to:debug
[2025-06-09 22:49:32.969907] [debug] valor del webhook: {"uuid":"2cfebdc1-f1f8-45f0-8f9f-be80c35cbc0d","changeType":"insert","entity":"payment","entityId":"639","eventName":"payment.add","extraData":{"entity":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 22:49:33.099237] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 22:49:33.099289] [debug] Valor de JSON: {"uuid":"2cfebdc1-f1f8-45f0-8f9f-be80c35cbc0d","changeType":"insert","entity":"payment","entityId":"639","eventName":"payment.add","extraData":{"entity":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 22:49:33.099436] [debug] Notification encodificado en JSON:{"uuid":"2cfebdc1-f1f8-45f0-8f9f-be80c35cbc0d","changeType":"insert","entity":"payment","entityId":639,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":1603.33,"accountCredit":1603.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
[2025-06-09 22:49:33.099466] [debug] valor del payment data: {"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}
[2025-06-09 22:49:33.099514] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 22:49:33.099524] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 22:49:33.099534] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 22:49:33.099543] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 22:49:33.749974] [notice] Logging level set to:debug
[2025-06-09 22:49:33.750092] [debug] valor del webhook: {"uuid":"a1faaaf2-6e50-4f34-9592-b8258794e749","changeType":"edit","entity":"payment","entityId":"639","eventName":"payment.edit","extraData":{"entity":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
[2025-06-09 22:49:33.875128] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 22:49:33.875355] [debug] Valor de JSON: {"uuid":"a1faaaf2-6e50-4f34-9592-b8258794e749","changeType":"edit","entity":"payment","entityId":"639","eventName":"payment.edit","extraData":{"entity":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":639,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T16:49:32-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
[2025-06-09 23:05:05.461813] [notice] Logging level set to:debug
[2025-06-09 23:05:05.462178] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 210
}
[2025-06-09 23:05:05.462323] [info] No UUID found in the webhook data
[2025-06-09 23:05:05.462440] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 23:05:05.462533] [info] Referencia persnoalizada, Valor del monto: 210
[2025-06-09 23:05:05.462626] [info] Creando referencia del cliente para OXXO:
[2025-06-09 23:05:05.595669] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 23:05:05.595715] [info] Monto proporcionado directamente: 210
[2025-06-09 23:05:05.595729] [info] Creando referencia en Stripe por 21000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 23:05:07.096807] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 23:05:07.096945] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEI2M0xoaVBSblYzdWVEc0tPTkYwRUdKb081cTBp0100sDQ3bJOw
[2025-06-09 23:05:07.096983] [info] Referencia OXXO creada correctamente.
[2025-06-09 23:05:09.177671] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEI2M0xoaVBSblYzdWVEc0tPTkYwRUdKb081cTBp0100sDQ3bJOw","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":210,"failDescription":"","error":""}
[2025-06-09 23:05:09.177727] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEI2M0xoaVBSblYzdWVEc0tPTkYwRUdKb081cTBp0100sDQ3bJOw","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "210"}
[2025-06-09 23:08:10.455612] [notice] Logging level set to:debug
[2025-06-09 23:08:10.455698] [debug] valor del webhook: {"uuid":"40f1864b-08bf-4662-81c7-071fc6743290","changeType":"insert","entity":"payment","entityId":"640","eventName":"payment.add","extraData":{"entity":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 23:08:10.576994] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 23:08:10.577183] [debug] Valor de JSON: {"uuid":"40f1864b-08bf-4662-81c7-071fc6743290","changeType":"insert","entity":"payment","entityId":"640","eventName":"payment.add","extraData":{"entity":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 23:08:10.577466] [debug] Notification encodificado en JSON:{"uuid":"40f1864b-08bf-4662-81c7-071fc6743290","changeType":"insert","entity":"payment","entityId":640,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":1813.33,"accountCredit":1813.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]}}
[2025-06-09 23:08:10.577536] [debug] valor del payment data: {"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]}
[2025-06-09 23:08:10.577650] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 23:08:10.577693] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 23:08:10.577730] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 23:08:10.577780] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 23:08:11.296202] [notice] Logging level set to:debug
[2025-06-09 23:08:11.296305] [debug] valor del webhook: {"uuid":"c1d79c0a-98aa-4db9-92ec-1c851acfc40e","changeType":"edit","entity":"payment","entityId":"640","eventName":"payment.edit","extraData":{"entity":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]}}}
[2025-06-09 23:08:11.464176] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 23:08:11.464234] [debug] Valor de JSON: {"uuid":"c1d79c0a-98aa-4db9-92ec-1c851acfc40e","changeType":"edit","entity":"payment","entityId":"640","eventName":"payment.edit","extraData":{"entity":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":640,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:08:10-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":210,"userId":null,"attributes":[]}}}
[2025-06-09 23:16:33.980395] [notice] Logging level set to:debug
[2025-06-09 23:16:33.980551] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 220
}
[2025-06-09 23:16:33.980600] [info] No UUID found in the webhook data
[2025-06-09 23:16:33.980623] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-09 23:16:33.980643] [info] Referencia persnoalizada, Valor del monto: 220
[2025-06-09 23:16:33.980660] [info] Creando referencia del cliente para OXXO:
[2025-06-09 23:16:34.125338] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-09 23:16:34.125382] [info] Monto proporcionado directamente: 220
[2025-06-09 23:16:34.125406] [info] Creando referencia en Stripe por 22000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-09 23:16:35.605911] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-09 23:16:35.606394] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEJJT2ZmeTBYcDY2eGI2TmpMd1FJNjdmSm9oUHZq0100IUbeOILl
[2025-06-09 23:16:35.606555] [info] Referencia OXXO creada correctamente.
[2025-06-09 23:16:37.413105] [debug] Status Code: 200
[2025-06-09 23:16:37.413445] [debug] Content Type: image/jpeg
[2025-06-09 23:16:37.413799] [debug] ¡Imagen guardada exitosamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_1749510995.jpeg
[2025-06-09 23:16:37.414220] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEJJT2ZmeTBYcDY2eGI2TmpMd1FJNjdmSm9oUHZq0100IUbeOILl","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":220,"failDescription":"","error":""}
[2025-06-09 23:16:37.414503] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEJJT2ZmeTBYcDY2eGI2TmpMd1FJNjdmSm9oUHZq0100IUbeOILl","oxxo_reference": "12345678901234657890123456789012","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "220"}
[2025-06-09 23:19:42.694834] [notice] Logging level set to:debug
[2025-06-09 23:19:42.695033] [debug] valor del webhook: {"uuid":"5e5c947a-6229-45d9-96bf-5c9d5f09ee66","changeType":"insert","entity":"payment","entityId":"641","eventName":"payment.add","extraData":{"entity":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 23:19:42.833416] [debug] valor el evento recibido por webhook: payment.add
[2025-06-09 23:19:42.833545] [debug] Valor de JSON: {"uuid":"5e5c947a-6229-45d9-96bf-5c9d5f09ee66","changeType":"insert","entity":"payment","entityId":"641","eventName":"payment.add","extraData":{"entity":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-09 23:19:42.833873] [debug] Notification encodificado en JSON:{"uuid":"5e5c947a-6229-45d9-96bf-5c9d5f09ee66","changeType":"insert","entity":"payment","entityId":641,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2033.33,"accountCredit":2033.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]}}
[2025-06-09 23:19:42.833956] [debug] valor del payment data: {"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]}
[2025-06-09 23:19:42.834067] [info] {"WhatsApp":["5214181148783"]}
[2025-06-09 23:19:42.834108] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-09 23:19:42.834144] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-09 23:19:42.834197] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
[2025-06-09 23:19:43.418849] [notice] Logging level set to:debug
[2025-06-09 23:19:43.419012] [debug] valor del webhook: {"uuid":"f889623a-1115-493c-a397-4db8d5f26aaa","changeType":"edit","entity":"payment","entityId":"641","eventName":"payment.edit","extraData":{"entity":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]}}}
[2025-06-09 23:19:43.552659] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-09 23:19:43.552824] [debug] Valor de JSON: {"uuid":"f889623a-1115-493c-a397-4db8d5f26aaa","changeType":"edit","entity":"payment","entityId":"641","eventName":"payment.edit","extraData":{"entity":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":641,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-09T17:19:42-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":220,"userId":null,"attributes":[]}}}
[2025-06-10 8:15:59.221036] [notice] Logging level set to:debug
[2025-06-10 8:15:59.221146] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 250
}
[2025-06-10 8:15:59.221193] [info] No UUID found in the webhook data
[2025-06-10 8:15:59.221206] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-10 8:15:59.221215] [info] Referencia persnoalizada, Valor del monto: 250
[2025-06-10 8:15:59.221225] [info] Creando referencia del cliente para OXXO:
[2025-06-10 8:15:59.387993] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-10 8:15:59.388039] [info] Monto proporcionado directamente: 250
[2025-06-10 8:15:59.388051] [info] Creando referencia en Stripe por 25000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-10 8:16:00.912168] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-10 8:16:00.912225] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEp6RnlqbXdhQXdCSU11dHVWSVNTVzJUanFUYzVY0100skZIEue8
[2025-06-10 8:16:00.912236] [info] Referencia OXXO creada correctamente.
[2025-06-10 8:16:03.513433] [debug] Status Code: 200
[2025-06-10 8:16:03.513736] [debug] Content Type: image/jpeg
[2025-06-10 8:16:03.520766] [debug] ¡Imagen guardada exitosamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_1749543360.jpeg
Subiendo voucher a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../vouchers_oxxo/voucher_Daniel Humberto Soto Villegas_1749543360.jpeg
Conexión FTP exitosa
Error al cargar el archivo
[2025-06-10 8:16:04.302099] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEp6RnlqbXdhQXdCSU11dHVWSVNTVzJUanFUYzVY0100skZIEue8","error":"","failDescription":"","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":250,"voucher_image_url":""}
[2025-06-10 8:16:04.302316] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEp6RnlqbXdhQXdCSU11dHVWSVNTVzJUanFUYzVY0100skZIEue8","oxxo_reference": "12345678901234657890123456789012","voucher_image_url": "","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "250"}
[2025-06-10 8:19:05.343847] [notice] Logging level set to:debug
[2025-06-10 8:19:05.343945] [debug] valor del webhook: {"uuid":"fa2987c9-607d-4141-aa0b-eba8dd42bcbe","changeType":"insert","entity":"payment","entityId":"642","eventName":"payment.add","extraData":{"entity":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:19:05.470594] [debug] valor el evento recibido por webhook: payment.add
[2025-06-10 8:19:05.470649] [debug] Valor de JSON: {"uuid":"fa2987c9-607d-4141-aa0b-eba8dd42bcbe","changeType":"insert","entity":"payment","entityId":"642","eventName":"payment.add","extraData":{"entity":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:19:05.470896] [debug] Notification encodificado en JSON:{"uuid":"fa2987c9-607d-4141-aa0b-eba8dd42bcbe","changeType":"insert","entity":"payment","entityId":642,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2283.33,"accountCredit":2283.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}}
[2025-06-10 8:19:05.470928] [debug] valor del payment data: {"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}
[2025-06-10 8:19:05.471002] [info] {"WhatsApp":["5214181148783"]}
[2025-06-10 8:19:05.471014] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-10 8:19:05.471021] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-10 8:19:05.471040] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Subiendo comprobante a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png
No se pudo obtener la lista de archivos de la carpeta FTP
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png"
},
"template_values": ["Daniel Humberto Soto Villegas", "$250", "$2283.33 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"0d55d2ae40254e3d84d5010762d9b820","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"fa2987c9-607d-4141-aa0b-eba8dd42bcbe","changeType":"insert","entity":"payment","entityId":642,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2283.33,"accountCredit":2283.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22283.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 250","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22283.33 a favor\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/06\/2025 02:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/06\/2025 02:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/06\/2025 02:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/06\/2025 02:19","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2283.33 a favor","Monto Ultimo Pago": "$ 250","Estado": "Activo","Fecha Ultimo Pago": " 10/06/2025 02:19 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "10/06/2025 02:19","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2283.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:19 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:19","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2283.33 a favor\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2283.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:19 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:19","Monto Ultimo Pago":"💲 250","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2283.33 a favor\",\"Monto Ultimo Pago\": \"$ 250\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:19 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-10 8:19:12.284193] [notice] Logging level set to:debug
[2025-06-10 8:19:12.284254] [debug] valor del webhook: {"uuid":"64cf537d-d573-44c1-acec-4a072cdf0063","changeType":"edit","entity":"payment","entityId":"642","eventName":"payment.edit","extraData":{"entity":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}}}
[2025-06-10 8:19:12.399074] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-10 8:19:12.399250] [debug] Valor de JSON: {"uuid":"64cf537d-d573-44c1-acec-4a072cdf0063","changeType":"edit","entity":"payment","entityId":"642","eventName":"payment.edit","extraData":{"entity":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":642,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:19:05-0600","amount":250,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":250,"userId":null,"attributes":[]}}}
[2025-06-10 8:20:19.760288] [notice] Logging level set to:debug
[2025-06-10 8:20:19.760780] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 300
}
[2025-06-10 8:20:19.760904] [info] No UUID found in the webhook data
[2025-06-10 8:20:19.760976] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-10 8:20:19.761033] [info] Referencia persnoalizada, Valor del monto: 300
[2025-06-10 8:20:19.761097] [info] Creando referencia del cliente para OXXO:
[2025-06-10 8:20:19.903256] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-10 8:20:19.903388] [info] Monto proporcionado directamente: 300
[2025-06-10 8:20:19.903434] [info] Creando referencia en Stripe por 30000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-10 8:20:21.383385] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-10 8:20:21.383923] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEs0WDN4SzRaYUxNaWFGdlZ1clYxelVCVE5xYmlt0100xRlGtVLY
[2025-06-10 8:20:21.384090] [info] Referencia OXXO creada correctamente.
[2025-06-10 8:20:23.687079] [debug] Status Code: 200
[2025-06-10 8:20:23.687383] [debug] Content Type: image/jpeg
[2025-06-10 8:20:23.687757] [debug] ¡Imagen guardada exitosamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Daniel Humberto Soto Villegas_1749543621.jpeg
Subiendo voucher a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../vouchers_oxxo/voucher_Daniel Humberto Soto Villegas_1749543621.jpeg
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Daniel Humberto Soto Villegas_1749543621.jpeg
No se pudo obtener la lista de archivos de la carpeta FTP
[2025-06-10 8:20:25.238972] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEs0WDN4SzRaYUxNaWFGdlZ1clYxelVCVE5xYmlt0100xRlGtVLY","error":"","failDescription":"","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":300,"voucher_image_url":"https:\/\/siip.mx\/wp\/wp-content\/uploads\/vouchers_oxxo\/voucher_Daniel Humberto Soto Villegas_1749543621.jpeg"}
[2025-06-10 8:20:25.239098] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEs0WDN4SzRaYUxNaWFGdlZ1clYxelVCVE5xYmlt0100xRlGtVLY","oxxo_reference": "12345678901234657890123456789012","voucher_image_url": "https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Daniel Humberto Soto Villegas_1749543621.jpeg","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "300"}
[2025-06-10 8:23:24.187242] [notice] Logging level set to:debug
[2025-06-10 8:23:24.187344] [debug] valor del webhook: {"uuid":"a119705a-0326-4780-bd71-a7fcd8d7ffff","changeType":"insert","entity":"payment","entityId":"643","eventName":"payment.add","extraData":{"entity":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:23:24.363619] [debug] valor el evento recibido por webhook: payment.add
[2025-06-10 8:23:24.363667] [debug] Valor de JSON: {"uuid":"a119705a-0326-4780-bd71-a7fcd8d7ffff","changeType":"insert","entity":"payment","entityId":"643","eventName":"payment.add","extraData":{"entity":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:23:24.363904] [debug] Notification encodificado en JSON:{"uuid":"a119705a-0326-4780-bd71-a7fcd8d7ffff","changeType":"insert","entity":"payment","entityId":643,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2583.33,"accountCredit":2583.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
[2025-06-10 8:23:24.363938] [debug] valor del payment data: {"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}
[2025-06-10 8:23:24.364017] [info] {"WhatsApp":["5214181148783"]}
[2025-06-10 8:23:24.364032] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-10 8:23:24.364042] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-10 8:23:24.364065] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Subiendo comprobante a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png
No se pudo obtener la lista de archivos de la carpeta FTP
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png"
},
"template_values": ["Daniel Humberto Soto Villegas", "$300", "$2583.33 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"2911507849ba41aa98c6f300b073633b","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"a119705a-0326-4780-bd71-a7fcd8d7ffff","changeType":"insert","entity":"payment","entityId":643,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2583.33,"accountCredit":2583.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22583.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22583.33 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/06\/2025 02:23 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/06\/2025 02:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/06\/2025 02:23 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/06\/2025 02:23","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2583.33 a favor","Monto Ultimo Pago": "$ 300","Estado": "Activo","Fecha Ultimo Pago": " 10/06/2025 02:23 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "10/06/2025 02:23","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2583.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:23 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:23","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2583.33 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:23 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2583.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:23 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:23","Monto Ultimo Pago":"💲 300","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2583.33 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:23 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-10 8:23:29.644613] [notice] Logging level set to:debug
[2025-06-10 8:23:29.644715] [debug] valor del webhook: {"uuid":"8ca3493c-75cd-4c06-9aa6-e2f7d4ff1ccd","changeType":"edit","entity":"payment","entityId":"643","eventName":"payment.edit","extraData":{"entity":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
[2025-06-10 8:23:29.762285] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-10 8:23:29.762340] [debug] Valor de JSON: {"uuid":"8ca3493c-75cd-4c06-9aa6-e2f7d4ff1ccd","changeType":"edit","entity":"payment","entityId":"643","eventName":"payment.edit","extraData":{"entity":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":643,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:23:23-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
[2025-06-10 8:27:44.852210] [notice] Logging level set to:debug
[2025-06-10 8:27:44.852336] [debug] valor del webhook: {
"type": "oxxo.request",
"client_id": 2,
"amount": 320
}
[2025-06-10 8:27:44.852370] [info] No UUID found in the webhook data
[2025-06-10 8:27:44.852386] [info] Evento de solicitud de referencia de oxxo recibido
[2025-06-10 8:27:44.852401] [info] Referencia persnoalizada, Valor del monto: 320
[2025-06-10 8:27:44.852420] [info] Creando referencia del cliente para OXXO:
[2025-06-10 8:27:44.996828] [info] Stripe Customer ID obtenido: cus_PetN1dhr4rx0kX
[2025-06-10 8:27:44.996880] [info] Monto proporcionado directamente: 320
[2025-06-10 8:27:44.996896] [info] Creando referencia en Stripe por 32000 para el cliente cus_PetN1dhr4rx0kX
[2025-06-10 8:27:46.493354] [info] Referencia OXXO: 12345678901234657890123456789012
[2025-06-10 8:27:46.493778] [info] URL del recibo: https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEtCYU45a3lkVXAwWVY3Wlpxb0ZvWldveTl5RWN60100VPhx7J2y
[2025-06-10 8:27:46.493910] [info] Referencia OXXO creada correctamente.
[2025-06-10 8:27:48.971805] [debug] Status Code: 200
[2025-06-10 8:27:48.972088] [debug] Content Type: image/jpeg
[2025-06-10 8:27:48.972446] [debug] ¡Imagen guardada exitosamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Daniel_Humberto_Soto_Villegas_1749544066.jpeg
Subiendo voucher a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../vouchers_oxxo/voucher_Daniel_Humberto_Soto_Villegas_1749544066.jpeg
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Daniel_Humberto_Soto_Villegas_1749544066.jpeg
No se pudo obtener la lista de archivos de la carpeta FTP
[2025-06-10 8:27:49.957355] [info] Referencia personalizada, Valor de la respuesta: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEtCYU45a3lkVXAwWVY3Wlpxb0ZvWldveTl5RWN60100VPhx7J2y","error":"","failDescription":"","clientID":2,"clientFullName":"Daniel Humberto Soto Villegas","amount":320,"voucher_image_url":"https:\/\/siip.mx\/wp\/wp-content\/uploads\/vouchers_oxxo\/voucher_Daniel_Humberto_Soto_Villegas_1749544066.jpeg"}
[2025-06-10 8:27:49.957503] [debug] Reponse que se envía a CallBell: {"url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9TVEtCYU45a3lkVXAwWVY3Wlpxb0ZvWldveTl5RWN60100VPhx7J2y","oxxo_reference": "12345678901234657890123456789012","voucher_image_url": "https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Daniel_Humberto_Soto_Villegas_1749544066.jpeg","error": "","failDescription": "","clientID": "2","clientFullName": "Daniel Humberto Soto Villegas","amount": "320"}
[2025-06-10 8:30:51.769222] [notice] Logging level set to:debug
[2025-06-10 8:30:51.769383] [debug] valor del webhook: {"uuid":"2eef7e99-0706-42d0-a813-14546d593503","changeType":"insert","entity":"payment","entityId":"644","eventName":"payment.add","extraData":{"entity":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:30:51.898674] [debug] valor el evento recibido por webhook: payment.add
[2025-06-10 8:30:51.898803] [debug] Valor de JSON: {"uuid":"2eef7e99-0706-42d0-a813-14546d593503","changeType":"insert","entity":"payment","entityId":"644","eventName":"payment.add","extraData":{"entity":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2025-06-10 8:30:51.902664] [debug] Notification encodificado en JSON:{"uuid":"2eef7e99-0706-42d0-a813-14546d593503","changeType":"insert","entity":"payment","entityId":644,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2903.33,"accountCredit":2903.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}}
[2025-06-10 8:30:51.902789] [debug] valor del payment data: {"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}
[2025-06-10 8:30:51.902903] [info] {"WhatsApp":["5214181148783"]}
[2025-06-10 8:30:51.902942] [info] Procesando tipo de contacto original: 'WhatsApp'
[2025-06-10 8:30:51.902976] [info] Tipo de contacto normalizado: 'whatsapp'
[2025-06-10 8:30:51.903027] [debug] ***Se notifica y actualiza al cliente sobre su pago***
Eviando comprobante de pago al cliente: 2 con número: 5214181148783
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
El archivo PNG se ha generado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Subiendo comprobante a worpdpress
file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.png
Conexión FTP exitosa
El archivo ha sido cargado exitosamente.
La URL es: https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png
No se pudo obtener la lista de archivos de la carpeta FTP
Se terminó de subir comprobante a wordpress
La cadena CURL que se envia es: {
"to": "5214181148783",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://siip.mx/wp/wp-content/uploads/img/Comprobante_Daniel_Humberto_Soto_Villegas.png"
},
"template_values": ["Daniel Humberto Soto Villegas", "$320", "$2903.33 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"709a600ea0ca49eb8437d4f0e492ecf2","status":"enqueued"}}
Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
La notificación fue enviada correctamente con estado: enqueued
Notificacion data: {"uuid":"2eef7e99-0706-42d0-a813-14546d593503","changeType":"insert","entity":"payment","entityId":644,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"31 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Guanajuato","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente espacial, el m\u00e1s chido","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"dhsv.141089@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"0LOCS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial-4b 172.16.13.16\/24","clientZoneVisible":false},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":202,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":2903.33,"accountCredit":2903.33,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564209,"addressGpsLon":-100.9384185,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
UUID: 7352b597ba6b43cf948a5ae86051fb80
JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Cliente":2,"Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Guanajuato","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb22903.33 a favor","Monto Ultimo Pago":"\ud83d\udcb2 320","Estado":"\ud83d\udfe2 Activo ","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/2\",\"Saldo Actual\": \"\ud83d\udcb22903.33 a favor\",\"Monto Ultimo Pago\": \"$ 320\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/06\/2025 02:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/06\/2025 02:31\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena\/Sectorial\": \"Sectorial-4b 172.16.13.16\/24\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/06\/2025 02:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/06\/2025 02:31","Clabe Interbancaria":null,"Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24"}}
JSON con los datos a actualizar del resumen: {"Cliente": "2","Domicilio": ""Nombre": "Daniel Humberto Soto Villegas","URL": "https://sistema.siip.mx/crm/client/2","Saldo Actual": "💲2903.33 a favor","Monto Ultimo Pago": "$ 320","Estado": "Activo","Fecha Ultimo Pago": " 10/06/2025 02:30 con Tarjeta de crédito Stripe 💳","Fecha Ultima Actualizacion": "10/06/2025 02:31","Clabe Interbancaria": "","Site": "0LOCS","Antena/Sectorial": "Sectorial-4b 172.16.13.16/24"}
[2025-06-10 8:31:01.938877] [notice] Logging level set to:debug
[2025-06-10 8:31:01.938981] [debug] valor del webhook: {"uuid":"e1496568-6164-4317-af9f-7c809b363b79","changeType":"edit","entity":"payment","entityId":"644","eventName":"payment.edit","extraData":{"entity":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}}}
Response Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2903.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:30 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:31","Monto Ultimo Pago":"💲 320","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2903.33 a favor\",\"Monto Ultimo Pago\": \"$ 320\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:31\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2025-06-10 8:31:02.059937] [debug] valor el evento recibido por webhook: payment.edit
[2025-06-10 8:31:02.059998] [debug] Valor de JSON: {"uuid":"e1496568-6164-4317-af9f-7c809b363b79","changeType":"edit","entity":"payment","entityId":"644","eventName":"payment.edit","extraData":{"entity":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":644,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2025-06-10T02:30:51-0600","amount":320,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":320,"userId":null,"attributes":[]}}}
Response 2 Patch CallBell: {"contact":{"uuid":"7352b597ba6b43cf948a5ae86051fb80","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181148783","avatarUrl":null,"createdAt":"2024-12-21T08:59:58Z","closedAt":"2025-05-25T03:21:17Z","source":"whatsapp","href":"https://dash.callbell.eu/contacts/7352b597ba6b43cf948a5ae86051fb80","conversationHref":"https://dash.callbell.eu/chat/dbc992bbb1bf43f98cd954231d006797","tags":["ePA","s0LOCS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Guanajuato","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲2903.33 a favor","Clabe Interbancaria":"0021804341999569810","Estado":"🟢 Activo ","Fecha Ultimo Pago":"📆💸 10/06/2025 02:30 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Daniel Humberto Soto Villegas","user name":"Soporte Técnico Danys","Fecha Ultima Actualizacion":"📆🔄️ 10/06/2025 02:31","Monto Ultimo Pago":"💲 320","Resumen":"{\"Cliente\": \"2\",\"Domicilio\": \"\"Nombre\": \"Daniel Humberto Soto Villegas\",\"URL\": \"https://sistema.siip.mx/crm/client/2\",\"Saldo Actual\": \"💲2903.33 a favor\",\"Monto Ultimo Pago\": \"$ 320\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/06/2025 02:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/06/2025 02:31\",\"Clabe Interbancaria\": \"\",\"Site\": \"0LOCS\",\"Antena/Sectorial\": \"Sectorial-4b 172.16.13.16/24\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":7,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}