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

4302 lines
549 KiB
Plaintext
Executable File

[2026-01-30 21:05:49.423695] [notice] Logging level set to:debug
[2026-01-30 21:05:49.423787] [debug] Payload recibido: {
"id": "evt_1SvOPWEFY1WEUtgRixhiBCWD",
"object": "event",
"api_version": "2023-10-16",
"created": 1769805321,
"data": {
"object": {
"id": "ccsbtxn_1SvOPVEFY1WEUtgR8tqpqGmd",
"object": "customer_cash_balance_transaction",
"created": 1769805321,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 10000,
"funded": {
"bank_transfer": {
"reference": "",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 10000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 1,
"request": {
"id": "req_QrEwU5RDfodt1s",
"idempotency_key": "c18a4122-15f4-499f-8d13-7d7e5c346969"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 21:05:49.423829] [info] No UUID found in the webhook data
[2026-01-30 21:05:49.423852] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvOPWEFY1WEUtgRixhiBCWD","object":"event","api_version":"2023-10-16","created":1769805321,"data":{"object":{"id":"ccsbtxn_1SvOPVEFY1WEUtgR8tqpqGmd","object":"customer_cash_balance_transaction","created":1769805321,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":10000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":1,"request":{"id":"req_QrEwU5RDfodt1s","idempotency_key":"c18a4122-15f4-499f-8d13-7d7e5c346969"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 21:05:50.712569] [info] PaymentIntent creado: pi_3SvOt0EFY1WEUtgR1Z4KqduM
[2026-01-30 21:48:23.912251] [notice] Logging level set to:debug
[2026-01-30 21:48:23.912411] [debug] Payload recibido: {
"id": "evt_1SvPYBEFY1WEUtgRVsqVxQCs",
"object": "event",
"api_version": "2023-10-16",
"created": 1769809701,
"data": {
"object": {
"id": "ccsbtxn_1SvPY9EFY1WEUtgR9Q2mJKPb",
"object": "customer_cash_balance_transaction",
"created": 1769809701,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 12000,
"funded": {
"bank_transfer": {
"reference": "243154",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 12000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_mGt6Znde7jrmHt",
"idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 21:48:23.912472] [info] No UUID found in the webhook data
[2026-01-30 21:48:23.912516] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPYBEFY1WEUtgRVsqVxQCs","object":"event","api_version":"2023-10-16","created":1769809701,"data":{"object":{"id":"ccsbtxn_1SvPY9EFY1WEUtgR9Q2mJKPb","object":"customer_cash_balance_transaction","created":1769809701,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":12000,"funded":{"bank_transfer":{"reference":"243154","type":"mx_bank_transfer"}},"livemode":false,"net_amount":12000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_mGt6Znde7jrmHt","idempotency_key":"776e1823-86b5-47dd-935f-de2af66f8d97"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 21:48:23.974560] [notice] Logging level set to:debug
[2026-01-30 21:48:23.974714] [debug] Payload recibido: {
"id": "evt_1SvPYBEFY1WEUtgRFaL1N3QU",
"object": "event",
"api_version": "2023-10-16",
"created": 1769809702,
"data": {
"object": {
"id": "ccsbtxn_1SvPYAEFY1WEUtgR2qLQe9sl",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvOpsEFY1WEUtgR0wRR97B1"
},
"created": 1769809702,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -12000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_mGt6Znde7jrmHt",
"idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 21:48:23.974790] [info] No UUID found in the webhook data
[2026-01-30 21:48:23.974836] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPYBEFY1WEUtgRFaL1N3QU","object":"event","api_version":"2023-10-16","created":1769809702,"data":{"object":{"id":"ccsbtxn_1SvPYAEFY1WEUtgR2qLQe9sl","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvOpsEFY1WEUtgR0wRR97B1"},"created":1769809702,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-12000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_mGt6Znde7jrmHt","idempotency_key":"776e1823-86b5-47dd-935f-de2af66f8d97"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 21:48:24.139664] [notice] Logging level set to:debug
[2026-01-30 21:48:24.139826] [debug] Payload recibido: {
"id": "evt_3SvOpsEFY1WEUtgR0oyBNCZV",
"object": "event",
"api_version": "2023-10-16",
"created": 1769809702,
"data": {
"object": {
"id": "pi_3SvOpsEFY1WEUtgR0wRR97B1",
"object": "payment_intent",
"amount": 12000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 12000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvOpsEFY1WEUtgR0wRR97B1_secret_R8cKS8zUYWznBQnEPEisYCRRw",
"confirmation_method": "automatic",
"created": 1769806956,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvOpsEFY1WEUtgR0T5hpjql",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvOpsEFY1WEUtgRs0LTTLBM",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_mGt6Znde7jrmHt",
"idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 21:48:24.139899] [info] No UUID found in the webhook data
[2026-01-30 21:48:24.139936] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 21:48:24.215939] [notice] Logging level set to:debug
[2026-01-30 21:48:24.216002] [debug] Payload recibido: {
"id": "evt_3SvOpsEFY1WEUtgR0XCwfZRy",
"object": "event",
"api_version": "2023-10-16",
"created": 1769809702,
"data": {
"object": {
"id": "py_3SvOpsEFY1WEUtgR0T5hpjql",
"object": "charge",
"amount": 12000,
"amount_captured": 12000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769809702,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvOpsEFY1WEUtgR0wRR97B1",
"payment_method": "pm_1SvOpsEFY1WEUtgRs0LTTLBM",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKKfO9MsGMgbJNZ5VkpE6LBaPMVt8KH1jqxchS6VvDWtxePlEdnP2-eLUJL_f2hAIEHE5whUBSJdamYrI",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_mGt6Znde7jrmHt",
"idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
},
"type": "charge.succeeded"
}
[2026-01-30 21:48:24.216053] [info] No UUID found in the webhook data
[2026-01-30 21:48:25.695584] [info] PaymentIntent creado: pi_3SvPYDEFY1WEUtgR19LSVtWy
[2026-01-30 21:48:25.744441] [notice] Logging level set to:debug
[2026-01-30 21:48:25.744565] [debug] Payload recibido: {"uuid":"43c2ae4e-c4be-49f0-afed-cf4f48375cf7","changeType":"insert","entity":"payment","entityId":"932","eventName":"payment.add","extraData":{"entity":{"id":932,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 21:48:25.932915] [debug] Evento recibido: payment.add
[2026-01-30 21:48:25.933203] [debug] Notification encodificado en JSON:{"uuid":"43c2ae4e-c4be-49f0-afed-cf4f48375cf7","changeType":"insert","entity":"payment","entityId":932,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5325,"accountCredit":5325,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":932,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}
[2026-01-30 21:48:25.933300] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 932
[2026-01-30 21:48:25.954366] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 21:48:26.057271] [info] Payment 932 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 21:48:26.157116] [info] Payment 932 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 21:48:26.160698] [info] Payment Method ID patched successfully.
[2026-01-30 21:48:26.272622] [info] PATCHING Payment 932: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 21:48:26.979562] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769809706.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769809706.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769809706.jpg"
},
"template_values": ["Juan Escutia", "$120", "$5325 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"53aaddeb84de4a6f9fd37baa5074f224","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":"43c2ae4e-c4be-49f0-afed-cf4f48375cf7","changeType":"insert","entity":"payment","entityId":932,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5325,"accountCredit":5325,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":932,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":932,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1180,"attributes":[{"id":"1bec44c1-4510-461b-b72d-378b113da911","paymentId":932,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 15:48","Saldo Actual":"\ud83d\udcb25325 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 15:48 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb25325 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 15:48 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 15:48\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5205 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5325 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 120","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 15:48","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 15:48 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲5325 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲5325 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 15:48 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 15:48\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 21:48:30.215478] [notice] Logging level set to:debug
[2026-01-30 21:48:30.215544] [debug] Payload recibido: {"uuid":"6fd587a1-e64b-49cb-a643-c8e0ce2d7126","changeType":"edit","entity":"payment","entityId":"932","eventName":"payment.edit","extraData":{"entity":{"id":932,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1180,"attributes":[{"id":"1bec44c1-4510-461b-b72d-378b113da911","paymentId":932,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":932,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:48:25-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}}
[2026-01-30 21:48:30.425668] [debug] Evento recibido: payment.edit
[2026-01-30 21:57:41.300021] [notice] Logging level set to:debug
[2026-01-30 21:57:41.300208] [debug] Payload recibido: {
"id": "evt_1SvPhAEFY1WEUtgR5Xj3tZlW",
"object": "event",
"api_version": "2023-10-16",
"created": 1769810259,
"data": {
"object": {
"id": "ccsbtxn_1SvPh8EFY1WEUtgRepp7G2xR",
"object": "customer_cash_balance_transaction",
"created": 1769810258,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 10000,
"funded": {
"bank_transfer": {
"reference": "926689",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 10000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_830KGTjhwAVGu1",
"idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 21:57:41.300273] [info] No UUID found in the webhook data
[2026-01-30 21:57:41.300326] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPhAEFY1WEUtgR5Xj3tZlW","object":"event","api_version":"2023-10-16","created":1769810259,"data":{"object":{"id":"ccsbtxn_1SvPh8EFY1WEUtgRepp7G2xR","object":"customer_cash_balance_transaction","created":1769810258,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":10000,"funded":{"bank_transfer":{"reference":"926689","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_830KGTjhwAVGu1","idempotency_key":"afaa80ae-9900-4601-bc20-9c1effefbb1a"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 21:57:41.327584] [notice] Logging level set to:debug
[2026-01-30 21:57:41.327743] [debug] Payload recibido: {
"id": "evt_1SvPhAEFY1WEUtgRAwbW3Rhi",
"object": "event",
"api_version": "2023-10-16",
"created": 1769810259,
"data": {
"object": {
"id": "ccsbtxn_1SvPh9EFY1WEUtgRfFftjxOx",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvOt0EFY1WEUtgR1Z4KqduM"
},
"created": 1769810259,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -10000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_830KGTjhwAVGu1",
"idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 21:57:41.327800] [info] No UUID found in the webhook data
[2026-01-30 21:57:41.327847] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPhAEFY1WEUtgRAwbW3Rhi","object":"event","api_version":"2023-10-16","created":1769810259,"data":{"object":{"id":"ccsbtxn_1SvPh9EFY1WEUtgRfFftjxOx","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvOt0EFY1WEUtgR1Z4KqduM"},"created":1769810259,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_830KGTjhwAVGu1","idempotency_key":"afaa80ae-9900-4601-bc20-9c1effefbb1a"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 21:57:41.523026] [notice] Logging level set to:debug
[2026-01-30 21:57:41.523183] [debug] Payload recibido: {
"id": "evt_3SvOt0EFY1WEUtgR1I8j2uRy",
"object": "event",
"api_version": "2023-10-16",
"created": 1769810260,
"data": {
"object": {
"id": "py_3SvOt0EFY1WEUtgR1xBxeech",
"object": "charge",
"amount": 10000,
"amount_captured": 10000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769810259,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvOt0EFY1WEUtgR1Z4KqduM",
"payment_method": "pm_1SvOt0EFY1WEUtgRxBoodeI2",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNTS9MsGMgZYATvNDjE6LBa13_CMls_WFdehNQV9PZsI2zihNI0F1XERbhNC-6T7AxdKkK5u-bV7ilRS",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_830KGTjhwAVGu1",
"idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
},
"type": "charge.succeeded"
}
[2026-01-30 21:57:41.523272] [info] No UUID found in the webhook data
[2026-01-30 21:57:42.399755] [notice] Logging level set to:debug
[2026-01-30 21:57:42.399897] [debug] Payload recibido: {
"id": "evt_3SvOt0EFY1WEUtgR1dFHqNX1",
"object": "event",
"api_version": "2023-10-16",
"created": 1769810260,
"data": {
"object": {
"id": "pi_3SvOt0EFY1WEUtgR1Z4KqduM",
"object": "payment_intent",
"amount": 10000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 10000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvOt0EFY1WEUtgR1Z4KqduM_secret_1W9XtFKSclGy6uQ8lCRbMrLcQ",
"confirmation_method": "automatic",
"created": 1769807150,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvOt0EFY1WEUtgR1xBxeech",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvOt0EFY1WEUtgRxBoodeI2",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_830KGTjhwAVGu1",
"idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 21:57:42.399979] [info] No UUID found in the webhook data
[2026-01-30 21:57:42.400017] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 21:57:42.431232] [notice] Logging level set to:debug
[2026-01-30 21:57:42.431379] [debug] Payload recibido: {"uuid":"2776983e-8832-4d5c-9ab7-9e0c84f5481c","changeType":"insert","entity":"payment","entityId":"933","eventName":"payment.add","extraData":{"entity":{"id":933,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 21:57:42.731059] [debug] Evento recibido: payment.add
[2026-01-30 21:57:42.731328] [debug] Notification encodificado en JSON:{"uuid":"2776983e-8832-4d5c-9ab7-9e0c84f5481c","changeType":"insert","entity":"payment","entityId":933,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5425,"accountCredit":5425,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":933,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2026-01-30 21:57:42.731408] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 933
[2026-01-30 21:57:42.750580] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 21:57:42.857067] [info] Payment 933 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 21:57:42.952255] [info] Payment 933 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 21:57:42.955926] [info] Payment Method ID patched successfully.
[2026-01-30 21:57:43.008174] [info] PaymentIntent creado: pi_3SvPhCEFY1WEUtgR0ErKwb2J
[2026-01-30 21:57:43.054507] [info] PATCHING Payment 933: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 21:57:44.043431] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769810264.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769810264.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769810264.jpg"
},
"template_values": ["Juan Escutia", "$100", "$5425 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f88174d1e55043818355f3de4ff6618e","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":"2776983e-8832-4d5c-9ab7-9e0c84f5481c","changeType":"insert","entity":"payment","entityId":933,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5425,"accountCredit":5425,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":933,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":933,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"40093862-71fa-45dd-abe6-6b91304e5f06","paymentId":933,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 15:57","Saldo Actual":"\ud83d\udcb25425 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 15:57 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb25425 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 15:57 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 15:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5325 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5425 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 15:57","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 15:57 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲5425 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲5425 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 15:57 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 15:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 21:57:47.335971] [notice] Logging level set to:debug
[2026-01-30 21:57:47.336127] [debug] Payload recibido: {"uuid":"e5669b7a-2d6e-4276-b71b-b1f2b26e04e1","changeType":"edit","entity":"payment","entityId":"933","eventName":"payment.edit","extraData":{"entity":{"id":933,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"40093862-71fa-45dd-abe6-6b91304e5f06","paymentId":933,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":933,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T15:57:42-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
[2026-01-30 21:57:47.528472] [debug] Evento recibido: payment.edit
[2026-01-30 22:13:14.391680] [notice] Logging level set to:debug
[2026-01-30 22:13:14.391763] [debug] Payload recibido: {
"id": "evt_1SvPwDEFY1WEUtgRjm30G34k",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811191,
"data": {
"object": {
"id": "ccsbtxn_1SvPwBEFY1WEUtgRZDmP5H44",
"object": "customer_cash_balance_transaction",
"created": 1769811191,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 10000,
"funded": {
"bank_transfer": {
"reference": "388287",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 10000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_lBHQnH0HMq4niO",
"idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:13:14.391788] [info] No UUID found in the webhook data
[2026-01-30 22:13:14.391805] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPwDEFY1WEUtgRjm30G34k","object":"event","api_version":"2023-10-16","created":1769811191,"data":{"object":{"id":"ccsbtxn_1SvPwBEFY1WEUtgRZDmP5H44","object":"customer_cash_balance_transaction","created":1769811191,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":10000,"funded":{"bank_transfer":{"reference":"388287","type":"mx_bank_transfer"}},"livemode":false,"net_amount":10000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_lBHQnH0HMq4niO","idempotency_key":"96ac29f7-a566-4286-99f6-22da96a85111"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:13:14.478585] [notice] Logging level set to:debug
[2026-01-30 22:13:14.478662] [debug] Payload recibido: {
"id": "evt_1SvPwDEFY1WEUtgRydwHavd7",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811192,
"data": {
"object": {
"id": "ccsbtxn_1SvPwCEFY1WEUtgRC7q22S1g",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPhCEFY1WEUtgR0ErKwb2J"
},
"created": 1769811192,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -10000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_lBHQnH0HMq4niO",
"idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:13:14.478749] [info] No UUID found in the webhook data
[2026-01-30 22:13:14.478770] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPwDEFY1WEUtgRydwHavd7","object":"event","api_version":"2023-10-16","created":1769811192,"data":{"object":{"id":"ccsbtxn_1SvPwCEFY1WEUtgRC7q22S1g","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPhCEFY1WEUtgR0ErKwb2J"},"created":1769811192,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_lBHQnH0HMq4niO","idempotency_key":"96ac29f7-a566-4286-99f6-22da96a85111"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:13:14.694953] [notice] Logging level set to:debug
[2026-01-30 22:13:14.702353] [debug] Payload recibido: {
"id": "evt_3SvPhCEFY1WEUtgR07KcI9Ik",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811193,
"data": {
"object": {
"id": "py_3SvPhCEFY1WEUtgR0oc6Lfji",
"object": "charge",
"amount": 10000,
"amount_captured": 10000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769811192,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvPhCEFY1WEUtgR0ErKwb2J",
"payment_method": "pm_1SvPhCEFY1WEUtgRCiIgfKD4",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPnZ9MsGMgY-kV-GK6A6LBa5uIAHvhVCsr5Fe58w4s11viyVKFU8hbNAHWaFrXo-_Y7T1w-qKW7-4aa8",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_lBHQnH0HMq4niO",
"idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
},
"type": "charge.succeeded"
}
[2026-01-30 22:13:14.702543] [info] No UUID found in the webhook data
[2026-01-30 22:13:15.355178] [notice] Logging level set to:debug
[2026-01-30 22:13:15.355307] [debug] Payload recibido: {
"id": "evt_3SvPhCEFY1WEUtgR0Efc8KI0",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811193,
"data": {
"object": {
"id": "pi_3SvPhCEFY1WEUtgR0ErKwb2J",
"object": "payment_intent",
"amount": 10000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 10000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvPhCEFY1WEUtgR0ErKwb2J_secret_5AZmOttJHwMibqlmWmAcgxXbx",
"confirmation_method": "automatic",
"created": 1769810262,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvPhCEFY1WEUtgR0oc6Lfji",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvPhCEFY1WEUtgRCiIgfKD4",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_lBHQnH0HMq4niO",
"idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 22:13:15.355376] [info] No UUID found in the webhook data
[2026-01-30 22:13:15.355424] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 22:13:15.412199] [notice] Logging level set to:debug
[2026-01-30 22:13:15.412259] [debug] Payload recibido: {"uuid":"8613e2af-ff1b-4b9f-97a9-b1214b96fe23","changeType":"insert","entity":"payment","entityId":"934","eventName":"payment.add","extraData":{"entity":{"id":934,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 22:13:15.507725] [info] PaymentIntent creado: pi_3SvPwFEFY1WEUtgR1J1VTP3q
[2026-01-30 22:13:15.702053] [debug] Evento recibido: payment.add
[2026-01-30 22:13:15.702188] [debug] Notification encodificado en JSON:{"uuid":"8613e2af-ff1b-4b9f-97a9-b1214b96fe23","changeType":"insert","entity":"payment","entityId":934,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5525,"accountCredit":5525,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":934,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2026-01-30 22:13:15.702229] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 934
[2026-01-30 22:13:15.731549] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 22:13:15.849785] [info] Payment 934 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 22:13:15.950344] [info] Payment 934 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 22:13:15.953706] [info] Payment Method ID patched successfully.
[2026-01-30 22:13:16.035831] [info] PATCHING Payment 934: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 22:13:16.796961] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811196.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811196.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811196.jpg"
},
"template_values": ["Juan Escutia", "$100", "$5525 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"a3d637f72b644fd4a868e3654e469000","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":"8613e2af-ff1b-4b9f-97a9-b1214b96fe23","changeType":"insert","entity":"payment","entityId":934,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5525,"accountCredit":5525,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":934,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":934,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"a2a411e0-3f12-4f25-a51b-caf5ad9cd2dc","paymentId":934,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 16:13","Saldo Actual":"\ud83d\udcb25525 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 16:13 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb25525 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 16:13 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 16:13\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5425 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5525 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 16:13","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 16:13 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲5525 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲5525 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 16:13 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 16:13\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 22:13:19.957505] [notice] Logging level set to:debug
[2026-01-30 22:13:19.957583] [debug] Payload recibido: {"uuid":"d5a5f53a-10a2-4cdd-820c-f6174879266e","changeType":"edit","entity":"payment","entityId":"934","eventName":"payment.edit","extraData":{"entity":{"id":934,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"a2a411e0-3f12-4f25-a51b-caf5ad9cd2dc","paymentId":934,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":934,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:13:15-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
[2026-01-30 22:13:20.180751] [debug] Evento recibido: payment.edit
[2026-01-30 22:14:00.712766] [notice] Logging level set to:debug
[2026-01-30 22:14:00.712842] [debug] Payload recibido: {
"id": "evt_1SvPwxEFY1WEUtgRIbWHVZmK",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811237,
"data": {
"object": {
"id": "ccsbtxn_1SvPwuEFY1WEUtgRxCu1VW42",
"object": "customer_cash_balance_transaction",
"created": 1769811236,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 50000,
"funded": {
"bank_transfer": {
"reference": "",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 50000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:00.712871] [info] No UUID found in the webhook data
[2026-01-30 22:14:00.712889] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPwxEFY1WEUtgRIbWHVZmK","object":"event","api_version":"2023-10-16","created":1769811237,"data":{"object":{"id":"ccsbtxn_1SvPwuEFY1WEUtgRxCu1VW42","object":"customer_cash_balance_transaction","created":1769811236,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":50000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":50000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_AZ9aC4A3IpmbY5","idempotency_key":"84228be9-a0b8-4b75-8d97-be372030affd"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:14:00.776515] [notice] Logging level set to:debug
[2026-01-30 22:14:00.776678] [debug] Payload recibido: {
"id": "evt_1SvPwyEFY1WEUtgRG4dkmzYi",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811237,
"data": {
"object": {
"id": "ccsbtxn_1SvPwvEFY1WEUtgRfZ1WKBpM",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPYDEFY1WEUtgR19LSVtWy"
},
"created": 1769811237,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 38000,
"livemode": false,
"net_amount": -12000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:00.776738] [info] No UUID found in the webhook data
[2026-01-30 22:14:00.776786] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPwyEFY1WEUtgRG4dkmzYi","object":"event","api_version":"2023-10-16","created":1769811237,"data":{"object":{"id":"ccsbtxn_1SvPwvEFY1WEUtgRfZ1WKBpM","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPYDEFY1WEUtgR19LSVtWy"},"created":1769811237,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":38000,"livemode":false,"net_amount":-12000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_AZ9aC4A3IpmbY5","idempotency_key":"84228be9-a0b8-4b75-8d97-be372030affd"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:14:00.942209] [notice] Logging level set to:debug
[2026-01-30 22:14:00.950042] [debug] Payload recibido: {
"id": "evt_1SvPwyEFY1WEUtgRzK9BkQaT",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811238,
"data": {
"object": {
"id": "ccsbtxn_1SvPwwEFY1WEUtgRK9nFKRgY",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPwFEFY1WEUtgR1J1VTP3q"
},
"created": 1769811238,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 28000,
"livemode": false,
"net_amount": -10000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:00.950117] [info] No UUID found in the webhook data
[2026-01-30 22:14:00.950136] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPwyEFY1WEUtgRzK9BkQaT","object":"event","api_version":"2023-10-16","created":1769811238,"data":{"object":{"id":"ccsbtxn_1SvPwwEFY1WEUtgRK9nFKRgY","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPwFEFY1WEUtgR1J1VTP3q"},"created":1769811238,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":28000,"livemode":false,"net_amount":-10000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_AZ9aC4A3IpmbY5","idempotency_key":"84228be9-a0b8-4b75-8d97-be372030affd"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:14:00.990150] [notice] Logging level set to:debug
[2026-01-30 22:14:00.990226] [debug] Payload recibido: {
"id": "evt_3SvPYDEFY1WEUtgR1BQYZGKZ",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811238,
"data": {
"object": {
"id": "pi_3SvPYDEFY1WEUtgR19LSVtWy",
"object": "payment_intent",
"amount": 12000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 12000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvPYDEFY1WEUtgR19LSVtWy_secret_yIiQNjzDx0xrTeLrIYxiW6ZZ7",
"confirmation_method": "automatic",
"created": 1769809705,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvPYDEFY1WEUtgR1DbnpE1h",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvPYDEFY1WEUtgRQQZo6Ql8",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 22:14:00.990273] [info] No UUID found in the webhook data
[2026-01-30 22:14:00.990283] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 22:14:01.106240] [notice] Logging level set to:debug
[2026-01-30 22:14:01.108160] [debug] Payload recibido: {
"id": "evt_3SvPwFEFY1WEUtgR1TJI6EMM",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811239,
"data": {
"object": {
"id": "pi_3SvPwFEFY1WEUtgR1J1VTP3q",
"object": "payment_intent",
"amount": 10000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 10000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvPwFEFY1WEUtgR1J1VTP3q_secret_aWaWWqVA4lFRQ0AzV56ighLlY",
"confirmation_method": "automatic",
"created": 1769811195,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvPwFEFY1WEUtgR1W7t2O9f",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvPwFEFY1WEUtgR2XpGIJRM",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 22:14:01.108284] [info] No UUID found in the webhook data
[2026-01-30 22:14:01.108329] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 22:14:01.249063] [notice] Logging level set to:debug
[2026-01-30 22:14:01.249233] [debug] Payload recibido: {
"id": "evt_3SvPYDEFY1WEUtgR15fdGeko",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811238,
"data": {
"object": {
"id": "py_3SvPYDEFY1WEUtgR1DbnpE1h",
"object": "charge",
"amount": 12000,
"amount_captured": 12000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769811237,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvPYDEFY1WEUtgR19LSVtWy",
"payment_method": "pm_1SvPYDEFY1WEUtgRQQZo6Ql8",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKKja9MsGMgYfUXfB_846LBbQeIQBe8s8NHLR2ZW9IVZb3vfxFQlGzZiQzY0XxUqnt1Fa4ctAKD5ZElRO",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "charge.succeeded"
}
[2026-01-30 22:14:01.249332] [info] No UUID found in the webhook data
[2026-01-30 22:14:01.385412] [notice] Logging level set to:debug
[2026-01-30 22:14:01.386320] [debug] Payload recibido: {
"id": "evt_3SvPwFEFY1WEUtgR1bUx3odT",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811239,
"data": {
"object": {
"id": "py_3SvPwFEFY1WEUtgR1W7t2O9f",
"object": "charge",
"amount": 10000,
"amount_captured": 10000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769811239,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvPwFEFY1WEUtgR1J1VTP3q",
"payment_method": "pm_1SvPwFEFY1WEUtgR2XpGIJRM",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKKja9MsGMgbhAsFWsdU6LBZxtBIBNGdDPx2OpUUZ59UMWvExagBjAzrhywkX9ei3wDiFimvknDaR_kXe",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_AZ9aC4A3IpmbY5",
"idempotency_key": "84228be9-a0b8-4b75-8d97-be372030affd"
},
"type": "charge.succeeded"
}
[2026-01-30 22:14:01.386428] [info] No UUID found in the webhook data
[2026-01-30 22:14:02.031904] [notice] Logging level set to:debug
[2026-01-30 22:14:02.031966] [debug] Payload recibido: {"uuid":"3c6736b4-cf7c-4a22-91bd-1802ceb86910","changeType":"insert","entity":"payment","entityId":"935","eventName":"payment.add","extraData":{"entity":{"id":935,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 22:14:02.217092] [info] PaymentIntent creado: pi_3SvPwzEFY1WEUtgR1C6xEPn8
[2026-01-30 22:14:02.484838] [debug] Evento recibido: payment.add
[2026-01-30 22:14:02.484997] [debug] Notification encodificado en JSON:{"uuid":"3c6736b4-cf7c-4a22-91bd-1802ceb86910","changeType":"insert","entity":"payment","entityId":935,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5745,"accountCredit":5745,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":935,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}
[2026-01-30 22:14:02.485116] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 935
[2026-01-30 22:14:02.512238] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 22:14:02.594633] [info] Payment 935 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 22:14:02.688026] [info] Payment 935 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 22:14:02.691653] [info] Payment Method ID patched successfully.
[2026-01-30 22:14:02.799360] [info] PATCHING Payment 935: Setting tipoPagoStripe = 'Transferencia Bancaria'
[2026-01-30 22:14:02.925195] [notice] Logging level set to:debug
[2026-01-30 22:14:02.925326] [debug] Payload recibido: {
"id": "evt_1SvPx0EFY1WEUtgRKiuGyY7P",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811242,
"data": {
"object": {
"id": "ccsbtxn_1SvPwzEFY1WEUtgRDc2foyB0",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPwzEFY1WEUtgR1C6xEPn8"
},
"created": 1769811241,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -28000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_x9CB1woFIW7aKP",
"idempotency_key": "evt_1SvPwxEFY1WEUtgRIbWHVZmK"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:02.925383] [info] No UUID found in the webhook data
[2026-01-30 22:14:02.925426] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPx0EFY1WEUtgRKiuGyY7P","object":"event","api_version":"2023-10-16","created":1769811242,"data":{"object":{"id":"ccsbtxn_1SvPwzEFY1WEUtgRDc2foyB0","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPwzEFY1WEUtgR1C6xEPn8"},"created":1769811241,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-28000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_x9CB1woFIW7aKP","idempotency_key":"evt_1SvPwxEFY1WEUtgRIbWHVZmK"},"type":"customer_cash_balance_transaction.created"}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 22:14:03.808234] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811243.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811243.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811243.jpg"
},
"template_values": ["Juan Escutia", "$100", "$5745 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"20f775fab30d4446a930ac0b89e4081d","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":"3c6736b4-cf7c-4a22-91bd-1802ceb86910","changeType":"insert","entity":"payment","entityId":935,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5745,"accountCredit":5745,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":935,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":936,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 16:14","Saldo Actual":"\ud83d\udcb25745 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 16:14 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb25745 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 16:14 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5525 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5745 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 16:14","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 16:14 con Tarjeta de crédito Stripe 💳","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲5745 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲5745 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 16:14 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"30/01/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 22:14:05.762876] [notice] Logging level set to:debug
[2026-01-30 22:14:05.763036] [debug] Payload recibido: {"uuid":"2f78c2d9-5a9b-467a-9e74-b2e284614dda","changeType":"insert","entity":"payment","entityId":"936","eventName":"payment.add","extraData":{"entity":{"id":936,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 22:14:05.947025] [debug] Evento recibido: payment.add
[2026-01-30 22:14:05.947318] [debug] Notification encodificado en JSON:{"uuid":"2f78c2d9-5a9b-467a-9e74-b2e284614dda","changeType":"insert","entity":"payment","entityId":936,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5745,"accountCredit":5745,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":936,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
[2026-01-30 22:14:05.947407] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 936
[2026-01-30 22:14:05.953560] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 22:14:06.031286] [info] Payment 936 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 22:14:06.140049] [info] Payment 936 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 22:14:06.143560] [info] Payment Method ID patched successfully.
[2026-01-30 22:14:06.215856] [info] PATCHING Payment 936: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 22:14:06.854974] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811246.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811246.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811246.jpg"
},
"template_values": ["Juan Escutia", "$100", "$5745 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"ecbea4957b8742118f239bc13ac37410","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":"2f78c2d9-5a9b-467a-9e74-b2e284614dda","changeType":"insert","entity":"payment","entityId":936,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":5745,"accountCredit":5745,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":936,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":936,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"971d6259-4834-4c5d-9abf-f2f146f8c69b","paymentId":936,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 16:14","Saldo Actual":"\ud83d\udcb25745 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 16:14 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb25745 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 16:14 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5745 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5745 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 16:14","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 16:14 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲5745 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲5745 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 16:14 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 22:14:09.675477] [notice] Logging level set to:debug
[2026-01-30 22:14:09.675544] [debug] Payload recibido: {"uuid":"d6571635-34d3-4278-bb22-e31ee811fe7e","changeType":"edit","entity":"payment","entityId":"935","eventName":"payment.edit","extraData":{"entity":{"id":935,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":1180,"attributes":[{"id":"514de385-4473-4ad3-8d23-b293c0df664f","paymentId":935,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":935,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}}
[2026-01-30 22:14:09.877137] [debug] Evento recibido: payment.edit
[2026-01-30 22:14:10.075769] [notice] Logging level set to:debug
[2026-01-30 22:14:10.075885] [debug] Payload recibido: {"uuid":"7c68d7e6-909b-4ee5-a2f8-0078fffc7739","changeType":"edit","entity":"payment","entityId":"936","eventName":"payment.edit","extraData":{"entity":{"id":936,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"971d6259-4834-4c5d-9abf-f2f146f8c69b","paymentId":936,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":936,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:01-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"971d6259-4834-4c5d-9abf-f2f146f8c69b","paymentId":936,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}}}
[2026-01-30 22:14:10.272140] [debug] Evento recibido: payment.edit
[2026-01-30 22:14:49.827856] [notice] Logging level set to:debug
[2026-01-30 22:14:49.827939] [debug] Payload recibido: {
"id": "evt_1SvPxlEFY1WEUtgRSg4Uhh4p",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811288,
"data": {
"object": {
"id": "ccsbtxn_1SvPxjEFY1WEUtgR4udCQXKc",
"object": "customer_cash_balance_transaction",
"created": 1769811287,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 22000,
"funded": {
"bank_transfer": {
"reference": "009060",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 22000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_NqQcZ0V7gXgIR2",
"idempotency_key": "77a1f66e-41f9-48e4-8e45-0c56403cd4cf"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:49.827967] [info] No UUID found in the webhook data
[2026-01-30 22:14:49.827987] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPxlEFY1WEUtgRSg4Uhh4p","object":"event","api_version":"2023-10-16","created":1769811288,"data":{"object":{"id":"ccsbtxn_1SvPxjEFY1WEUtgR4udCQXKc","object":"customer_cash_balance_transaction","created":1769811287,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":22000,"funded":{"bank_transfer":{"reference":"009060","type":"mx_bank_transfer"}},"livemode":false,"net_amount":22000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_NqQcZ0V7gXgIR2","idempotency_key":"77a1f66e-41f9-48e4-8e45-0c56403cd4cf"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:14:49.861783] [notice] Logging level set to:debug
[2026-01-30 22:14:49.861941] [debug] Payload recibido: {
"id": "evt_1SvPxlEFY1WEUtgRbzh1Wic8",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811288,
"data": {
"object": {
"id": "ccsbtxn_1SvPxkEFY1WEUtgRD4cZoCnH",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPwzEFY1WEUtgR1C6xEPn8"
},
"created": 1769811288,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -22000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_NqQcZ0V7gXgIR2",
"idempotency_key": "77a1f66e-41f9-48e4-8e45-0c56403cd4cf"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:14:49.862221] [info] No UUID found in the webhook data
[2026-01-30 22:14:49.862327] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPxlEFY1WEUtgRbzh1Wic8","object":"event","api_version":"2023-10-16","created":1769811288,"data":{"object":{"id":"ccsbtxn_1SvPxkEFY1WEUtgRD4cZoCnH","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPwzEFY1WEUtgR1C6xEPn8"},"created":1769811288,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-22000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_NqQcZ0V7gXgIR2","idempotency_key":"77a1f66e-41f9-48e4-8e45-0c56403cd4cf"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:14:49.966526] [notice] Logging level set to:debug
[2026-01-30 22:14:49.966598] [debug] Payload recibido: {
"id": "evt_3SvPwzEFY1WEUtgR1mlnQ7uw",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811289,
"data": {
"object": {
"id": "pi_3SvPwzEFY1WEUtgR1C6xEPn8",
"object": "payment_intent",
"amount": 50000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 50000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvPwzEFY1WEUtgR1C6xEPn8_secret_RNWNRA9H2qMGbJz5wEf0F4Dvo",
"confirmation_method": "automatic",
"created": 1769811241,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvPwzEFY1WEUtgR1A6VhOzB",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvPwzEFY1WEUtgR6kaOnmqu",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_NqQcZ0V7gXgIR2",
"idempotency_key": "77a1f66e-41f9-48e4-8e45-0c56403cd4cf"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 22:14:49.966634] [info] No UUID found in the webhook data
[2026-01-30 22:14:49.966645] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 22:14:50.110651] [notice] Logging level set to:debug
[2026-01-30 22:14:50.110724] [debug] Payload recibido: {
"id": "evt_3SvPwzEFY1WEUtgR1JaH3snT",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811289,
"data": {
"object": {
"id": "py_3SvPwzEFY1WEUtgR1A6VhOzB",
"object": "charge",
"amount": 50000,
"amount_captured": 50000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769811288,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvPwzEFY1WEUtgR1C6xEPn8",
"payment_method": "pm_1SvPwzEFY1WEUtgR6kaOnmqu",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNna9MsGMgZ_gjT3-o86LBYJTT5DTIU6Tg6wWKEjJHBHyKHE11hBrfsC5xmUp1sQtMexcTuiUAhv3-fV",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_NqQcZ0V7gXgIR2",
"idempotency_key": "77a1f66e-41f9-48e4-8e45-0c56403cd4cf"
},
"type": "charge.succeeded"
}
[2026-01-30 22:14:50.110781] [info] No UUID found in the webhook data
[2026-01-30 22:14:50.711467] [notice] Logging level set to:debug
[2026-01-30 22:14:50.711524] [debug] Payload recibido: {"uuid":"d6571c29-0ec3-4ee3-a0f3-756bf009b9ae","changeType":"insert","entity":"payment","entityId":"937","eventName":"payment.add","extraData":{"entity":{"id":937,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 22:14:50.944785] [debug] Evento recibido: payment.add
[2026-01-30 22:14:50.944924] [debug] Notification encodificado en JSON:{"uuid":"d6571c29-0ec3-4ee3-a0f3-756bf009b9ae","changeType":"insert","entity":"payment","entityId":937,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6245,"accountCredit":6245,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":937,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":null,"attributes":[]}}
[2026-01-30 22:14:50.944968] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 937
[2026-01-30 22:14:50.965801] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 22:14:51.027513] [info] PaymentIntent creado: pi_3SvPxmEFY1WEUtgR1D6PNSDO
[2026-01-30 22:14:51.091231] [info] Payment 937 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 22:14:51.211569] [info] Payment 937 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 22:14:51.215244] [info] Payment Method ID patched successfully.
[2026-01-30 22:14:51.288696] [info] PATCHING Payment 937: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 22:14:51.923048] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811291.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811291.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811291.jpg"
},
"template_values": ["Juan Escutia", "$500", "$6245 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"e355ed842c284e13a0c32ce695b22064","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":"d6571c29-0ec3-4ee3-a0f3-756bf009b9ae","changeType":"insert","entity":"payment","entityId":937,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6245,"accountCredit":6245,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":937,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":937,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1180,"attributes":[{"id":"c0513721-cc9a-45e0-925c-7759d1d72f86","paymentId":937,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 16:14","Saldo Actual":"\ud83d\udcb26245 a favor","Monto Ultimo Pago":"\ud83d\udcb2 500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 16:14 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb26245 a favor\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 16:14 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5745 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲6245 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 500","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 16:14","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 16:14 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲6245 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲6245 a favor\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 16:14 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 16:14\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 22:14:54.634124] [notice] Logging level set to:debug
[2026-01-30 22:14:54.634280] [debug] Payload recibido: {"uuid":"867545f4-ebc3-4839-b02e-28cf1e26272a","changeType":"edit","entity":"payment","entityId":"937","eventName":"payment.edit","extraData":{"entity":{"id":937,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":1180,"attributes":[{"id":"c0513721-cc9a-45e0-925c-7759d1d72f86","paymentId":937,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":937,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:14:50-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":500,"userId":null,"attributes":[]}}}
[2026-01-30 22:14:54.817085] [debug] Evento recibido: payment.edit
[2026-01-30 22:15:55.940078] [notice] Logging level set to:debug
[2026-01-30 22:15:55.940224] [debug] Payload recibido: {
"id": "evt_1SvPypEFY1WEUtgRTwRQglCT",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811354,
"data": {
"object": {
"id": "ccsbtxn_1SvPyoEFY1WEUtgRaBzLO4hv",
"object": "customer_cash_balance_transaction",
"created": 1769811354,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 34000,
"funded": {
"bank_transfer": {
"reference": "",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 34000,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_gzpSbHa5BFeOOj",
"idempotency_key": "0a02ec75-791b-40e0-ae0a-5d2da694b8ff"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:15:55.940294] [info] No UUID found in the webhook data
[2026-01-30 22:15:55.940341] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvPypEFY1WEUtgRTwRQglCT","object":"event","api_version":"2023-10-16","created":1769811354,"data":{"object":{"id":"ccsbtxn_1SvPyoEFY1WEUtgRaBzLO4hv","object":"customer_cash_balance_transaction","created":1769811354,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":34000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":34000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_gzpSbHa5BFeOOj","idempotency_key":"0a02ec75-791b-40e0-ae0a-5d2da694b8ff"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:15:57.840017] [info] PaymentIntent creado: pi_3SvPyqEFY1WEUtgR1Ta8bhvC
[2026-01-30 22:15:58.607682] [notice] Logging level set to:debug
[2026-01-30 22:15:58.607827] [debug] Payload recibido: {
"id": "evt_1SvPyrEFY1WEUtgRyTnvQBgP",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811357,
"data": {
"object": {
"id": "ccsbtxn_1SvPyrEFY1WEUtgRW1QjRH0C",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC"
},
"created": 1769811357,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -34000,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_E6igTf6hwCun5u",
"idempotency_key": "evt_1SvPypEFY1WEUtgRTwRQglCT"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-30 22:15:58.607884] [info] No UUID found in the webhook data
[2026-01-30 22:15:58.607928] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvPyrEFY1WEUtgRyTnvQBgP","object":"event","api_version":"2023-10-16","created":1769811357,"data":{"object":{"id":"ccsbtxn_1SvPyrEFY1WEUtgRW1QjRH0C","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvPyqEFY1WEUtgR1Ta8bhvC"},"created":1769811357,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-34000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_E6igTf6hwCun5u","idempotency_key":"evt_1SvPypEFY1WEUtgRTwRQglCT"},"type":"customer_cash_balance_transaction.created"}
[2026-01-30 22:15:58.707317] [notice] Logging level set to:debug
[2026-01-30 22:15:58.707463] [debug] Payload recibido: {
"id": "evt_3SvPyqEFY1WEUtgR1qXO0ohd",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811357,
"data": {
"object": {
"id": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC",
"object": "payment_intent",
"amount": 34000,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 34000,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC_secret_HeEum6kmh3YEVjdHUDli8lf1w",
"confirmation_method": "automatic",
"created": 1769811356,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvPyqEFY1WEUtgR1DRUBaSE",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvPyqEFY1WEUtgRWngm8HPI",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_E6igTf6hwCun5u",
"idempotency_key": "evt_1SvPypEFY1WEUtgRTwRQglCT"
},
"type": "payment_intent.succeeded"
}
[2026-01-30 22:15:58.707544] [info] No UUID found in the webhook data
[2026-01-30 22:15:58.707582] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 22:15:59.492770] [notice] Logging level set to:debug
[2026-01-30 22:15:59.492851] [debug] Payload recibido: {"uuid":"0f5c2876-3d8c-4d98-97a6-7a9316cf3532","changeType":"insert","entity":"payment","entityId":"938","eventName":"payment.add","extraData":{"entity":{"id":938,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 22:15:59.686512] [debug] Evento recibido: payment.add
[2026-01-30 22:15:59.686811] [debug] Notification encodificado en JSON:{"uuid":"0f5c2876-3d8c-4d98-97a6-7a9316cf3532","changeType":"insert","entity":"payment","entityId":938,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6585,"accountCredit":6585,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":938,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}
[2026-01-30 22:15:59.686903] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 938
[2026-01-30 22:15:59.709598] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-30 22:15:59.796962] [info] Payment 938 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 22:15:59.848129] [notice] Logging level set to:debug
[2026-01-30 22:15:59.848206] [debug] Payload recibido: {
"id": "evt_3SvPyqEFY1WEUtgR1EhcaN56",
"object": "event",
"api_version": "2023-10-16",
"created": 1769811357,
"data": {
"object": {
"id": "py_3SvPyqEFY1WEUtgR1DRUBaSE",
"object": "charge",
"amount": 34000,
"amount_captured": 34000,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769811357,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC",
"payment_method": "pm_1SvPyqEFY1WEUtgRWngm8HPI",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJ7b9MsGMgaFe4lBg5k6LBZ-2Gv5mi286oSeKFySpDuk5bSdp0fmPp_oE6p7jwhnda91Gqw9TDXKMOtc",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_E6igTf6hwCun5u",
"idempotency_key": "evt_1SvPypEFY1WEUtgRTwRQglCT"
},
"type": "charge.succeeded"
}
[2026-01-30 22:15:59.848263] [info] No UUID found in the webhook data
[2026-01-30 22:15:59.891993] [info] Payment 938 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-30 22:15:59.897595] [info] Payment Method ID patched successfully.
[2026-01-30 22:16:00.021760] [info] PATCHING Payment 938: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 22:16:00.731216] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811360.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811360.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811360.jpg"
},
"template_values": ["Juan Escutia", "$340", "$6585 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"b71449dccc6d448d80e43612f887b46c","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":"0f5c2876-3d8c-4d98-97a6-7a9316cf3532","changeType":"insert","entity":"payment","entityId":938,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6585,"accountCredit":6585,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":938,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":938,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":1180,"attributes":[{"id":"bae00914-cf83-42be-b012-442a9ee5651b","paymentId":938,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 16:16","Saldo Actual":"\ud83d\udcb26585 a favor","Monto Ultimo Pago":"\ud83d\udcb2 340","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 16:15 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb26585 a favor\",\"Monto Ultimo Pago\": \"$ 340\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 16:15 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 16:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6245 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲6585 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-30T18:48:13Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 340","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 16:16","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 16:15 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲6585 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲6585 a favor\",\"Monto Ultimo Pago\": \"$ 340\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 16:15 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"30/01/2026 16:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 22:16:03.962225] [notice] Logging level set to:debug
[2026-01-30 22:16:03.962398] [debug] Payload recibido: {"uuid":"46c498cd-3acc-4141-af0f-048cabaa37ea","changeType":"edit","entity":"payment","entityId":"938","eventName":"payment.edit","extraData":{"entity":{"id":938,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":1180,"attributes":[{"id":"bae00914-cf83-42be-b012-442a9ee5651b","paymentId":938,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":938,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T16:15:59-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}}
[2026-01-30 22:16:04.223087] [debug] Evento recibido: payment.edit
[PROPAGATED_DEBUG] Image Request: File=voucher_Juan_Escutia_1769817288.jpeg | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/voucher_Juan_Escutia_1769817288.jpeg | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769817288.jpeg | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769817288.jpeg | Exists=YES
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Juan_Escutia_1769817288.jpeg. Size: 34554 bytes
[2026-01-30 23:57:51.988544] [notice] Logging level set to:debug
[2026-01-30 23:57:51.988713] [debug] Payload recibido: {
"id": "evt_3SvRWVEFY1WEUtgR1eQ4kKs4",
"object": "event",
"api_version": "2023-10-16",
"created": 1769817471,
"data": {
"object": {
"id": "pi_3SvRWVEFY1WEUtgR1HuIjDbr",
"object": "payment_intent",
"amount": 36500,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 36500,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3SvRWVEFY1WEUtgR1HuIjDbr_secret_a84fAdNgOnQ1TjE2zS2ZabrEw",
"confirmation_method": "automatic",
"created": 1769817287,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvRWVEFY1WEUtgR13KlkyWa",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"ucrm_client_id": "135",
"clientId": "135",
"paymentType": "card.one_time",
"tipoPago": "OXXO"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvRWWEFY1WEUtgR3MSFTSqO",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"customer_balance": {
"funding_type": null
},
"oxxo": {
"expires_after_days": 3
}
},
"payment_method_types": [
"customer_balance",
"card",
"oxxo"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": null,
"idempotency_key": null
},
"type": "payment_intent.succeeded"
}
[2026-01-30 23:57:51.988795] [info] No UUID found in the webhook data
[2026-01-30 23:57:51.988846] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-30 23:57:52.313229] [notice] Logging level set to:debug
[2026-01-30 23:57:52.313389] [debug] Payload recibido: {
"id": "evt_3SvRWVEFY1WEUtgR1H3iOl8W",
"object": "event",
"api_version": "2023-10-16",
"created": 1769817471,
"data": {
"object": {
"id": "py_3SvRWVEFY1WEUtgR13KlkyWa",
"object": "charge",
"amount": 36500,
"amount_captured": 36500,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_3SvRWVEFY1WEUtgR16DK4ic8",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": "juanvaliente@gmail.com",
"name": "Juan Escutia",
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769817470,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"ucrm_client_id": "135",
"clientId": "135",
"paymentType": "card.one_time",
"tipoPago": "OXXO"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvRWVEFY1WEUtgR1HuIjDbr",
"payment_method": "pm_1SvRWWEFY1WEUtgR3MSFTSqO",
"payment_method_details": {
"oxxo": {
"number": "12345678901234657890123456789012"
},
"type": "oxxo"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKP-K9csGMgahLmZOqgc6LBbLJOG2Rx9nNfpFxJ_4yw5_d6xx9epAhuQ4U_d6g7UtoSyHQxJHB_tsy4ph",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": null,
"idempotency_key": null
},
"type": "charge.succeeded"
}
[2026-01-30 23:57:52.313482] [info] No UUID found in the webhook data
[2026-01-30 23:57:53.105511] [notice] Logging level set to:debug
[2026-01-30 23:57:53.105570] [debug] Payload recibido: {"uuid":"3a294da5-2adb-47e7-acd1-86023c2c8f7e","changeType":"insert","entity":"payment","entityId":"939","eventName":"payment.add","extraData":{"entity":{"id":939,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-30 23:57:53.281399] [debug] Evento recibido: payment.add
[2026-01-30 23:57:53.281538] [debug] Notification encodificado en JSON:{"uuid":"3a294da5-2adb-47e7-acd1-86023c2c8f7e","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6950,"accountCredit":6950,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":null,"attributes":[]}}
[2026-01-30 23:57:53.281572] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 939
[2026-01-30 23:57:53.302515] [info] Microservice found metadata: tipoPago = 'OXXO'
[2026-01-30 23:57:53.408762] [info] Payment 939 has no User ID. Assigning Stripe User ID: 1180
[2026-01-30 23:57:53.532687] [info] Payment 939 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
[2026-01-30 23:57:53.538392] [info] Payment Method ID patched successfully.
[2026-01-30 23:57:53.617403] [info] PATCHING Payment 939: Setting tipoPagoStripe = 'OXXO Pay'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-30 23:57:54.298563] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817474.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817474.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817474.jpg"
},
"template_values": ["Juan Escutia", "$365", "$6950 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"3480814bbed2490ead29e2f6b90ffff0","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":"3a294da5-2adb-47e7-acd1-86023c2c8f7e","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":6950,"accountCredit":6950,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 17:57","Saldo Actual":"\ud83d\udcb26950 a favor","Monto Ultimo Pago":"\ud83d\udcb2 365","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 17:57 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb26950 a favor\",\"Monto Ultimo Pago\": \"$ 365\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 17:57 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 17:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6585 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲6950 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":null,"source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 365","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 17:57","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 17:57 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲6950 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲6950 a favor\",\"Monto Ultimo Pago\": \"$ 365\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 17:57 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/01/2026 17:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-30 23:57:57.245728] [notice] Logging level set to:debug
[2026-01-30 23:57:57.245791] [debug] Payload recibido: {"uuid":"c66a06b7-67b8-4f6b-b9ba-b2c6f17aaeba","changeType":"edit","entity":"payment","entityId":"939","eventName":"payment.edit","extraData":{"entity":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]},"entityBeforeEdit":{"id":939,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":null,"attributes":[]}}}
[2026-01-30 23:57:57.425024] [debug] Evento recibido: payment.edit
[2026-01-30 23:58:57.295499] [notice] Logging level set to:debug
[2026-01-30 23:58:57.295654] [debug] Payload recibido: {
"type": "oxxo.request",
"client_id": 135,
"amount": "525"
}
[2026-01-30 23:58:57.295711] [info] No UUID found in the webhook data
[2026-01-30 23:58:57.295749] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
[2026-01-30 23:58:58.799082] [info] Iniciando generación background para orden #70
[2026-01-30 23:59:03.536061] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Juan_Escutia_1769817539.jpeg
[2026-01-30 23:59:03.539042] [info] Generación background finalizada para orden #70
[2026-01-30 23:59:12.343724] [notice] Logging level set to:debug
[2026-01-30 23:59:12.343806] [debug] Payload recibido: {
"type": "oxxo.retrieve",
"order_id": 70
}
[2026-01-30 23:59:12.343825] [info] No UUID found in the webhook data
[2026-01-30 23:59:12.343833] [info] Evento de recuperación de orden OXXO recibido
[2026-01-30 23:59:12.347460] [debug] Estado recuperado para Orden #70: {"id":70,"client_id":135,"amount":"525.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UdEUyNFZLN2xUeFJIczZxdnVJOEpFMnBnbElmZXlS0100hnHSPINC","status":"completed","voucher_filename":"voucher_Juan_Escutia_1769817539.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Juan_Escutia_1769817539.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Juan Escutia","created_at":"2026-01-30T23:58:58.795Z","updated_at":"2026-01-30T23:59:03.525Z"}
[2026-01-31 0:02:03.769188] [notice] Logging level set to:debug
[2026-01-31 0:02:03.769366] [debug] Payload recibido: {
"id": "evt_3SvRaXEFY1WEUtgR1pVMCQcy",
"object": "event",
"api_version": "2023-10-16",
"created": 1769817723,
"data": {
"object": {
"id": "pi_3SvRaXEFY1WEUtgR1S8i2pss",
"object": "payment_intent",
"amount": 52500,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 52500,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3SvRaXEFY1WEUtgR1S8i2pss_secret_gnWeBax97EHZY2iOuA4RgK7qI",
"confirmation_method": "automatic",
"created": 1769817537,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvRaXEFY1WEUtgR1YBMjbFx",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"ucrm_client_id": "135",
"clientId": "135",
"paymentType": "card.one_time",
"tipoPago": "OXXO"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvRaYEFY1WEUtgRpXiv8KwF",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
},
"customer_balance": {
"funding_type": null
},
"oxxo": {
"expires_after_days": 3
}
},
"payment_method_types": [
"customer_balance",
"card",
"oxxo"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": null,
"idempotency_key": null
},
"type": "payment_intent.succeeded"
}
[2026-01-31 0:02:03.769450] [info] No UUID found in the webhook data
[2026-01-31 0:02:03.769490] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-31 0:02:03.849020] [notice] Logging level set to:debug
[2026-01-31 0:02:03.849093] [debug] Payload recibido: {
"id": "evt_3SvRaXEFY1WEUtgR1VIXZ8Dg",
"object": "event",
"api_version": "2023-10-16",
"created": 1769817723,
"data": {
"object": {
"id": "py_3SvRaXEFY1WEUtgR1YBMjbFx",
"object": "charge",
"amount": 52500,
"amount_captured": 52500,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_3SvRaXEFY1WEUtgR1BJsblWd",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": "juanvaliente@gmail.com",
"name": "Juan Escutia",
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769817722,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"ucrm_client_id": "135",
"clientId": "135",
"paymentType": "card.one_time",
"tipoPago": "OXXO"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvRaXEFY1WEUtgR1S8i2pss",
"payment_method": "pm_1SvRaYEFY1WEUtgRpXiv8KwF",
"payment_method_details": {
"oxxo": {
"number": "12345678901234657890123456789012"
},
"type": "oxxo"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPuM9csGMgZBzf1pXZ06LBbcHmoJSFQ5kdjDeYWG_R8OL0P3cWHx5B9RnwWrKZCUlMkdqKJbu4AqbTP2",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": null,
"idempotency_key": null
},
"type": "charge.succeeded"
}
[2026-01-31 0:02:03.849148] [info] No UUID found in the webhook data
[2026-01-31 0:02:04.650923] [notice] Logging level set to:debug
[2026-01-31 0:02:04.650991] [debug] Payload recibido: {"uuid":"08368fe2-fab0-4b5c-900c-4554b23133fa","changeType":"insert","entity":"payment","entityId":"940","eventName":"payment.add","extraData":{"entity":{"id":940,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-31 0:02:04.882163] [debug] Evento recibido: payment.add
[2026-01-31 0:02:04.882484] [debug] Notification encodificado en JSON:{"uuid":"08368fe2-fab0-4b5c-900c-4554b23133fa","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7475,"accountCredit":7475,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":null,"attributes":[]}}
[2026-01-31 0:02:04.883651] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 940
[2026-01-31 0:02:04.974843] [info] Microservice found metadata: tipoPago = 'OXXO'
[2026-01-31 0:02:05.074829] [info] Payment 940 has no User ID. Assigning Stripe User ID: 1180
[2026-01-31 0:02:05.160717] [info] Payment 940 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
[2026-01-31 0:02:05.164228] [info] Payment Method ID patched successfully.
[2026-01-31 0:02:05.253474] [info] PATCHING Payment 940: Setting tipoPagoStripe = 'OXXO Pay'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 0:02:05.985105] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817725.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817725.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817725.jpg"
},
"template_values": ["Juan Escutia", "$525", "$7475 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f9d1450b362c4bc68726c62158f63432","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":"08368fe2-fab0-4b5c-900c-4554b23133fa","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7475,"accountCredit":7475,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/01\/2026 18:02","Saldo Actual":"\ud83d\udcb27475 a favor","Monto Ultimo Pago":"\ud83d\udcb2 525","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 30\/01\/2026 18:02 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27475 a favor\",\"Monto Ultimo Pago\": \"$ 525\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30\/01\/2026 18:02 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30\/01\/2026 18:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6950 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7475 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":null,"source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 525","Fecha Ultima Actualizacion":"📆🔄️ 30/01/2026 18:02","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 30/01/2026 18:02 con Desconocido, revisar metodos de pago no contemplados","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲7475 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲7475 a favor\",\"Monto Ultimo Pago\": \"$ 525\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 30/01/2026 18:02 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"30/01/2026 18:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":4,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 0:02:08.862508] [notice] Logging level set to:debug
[2026-01-31 0:02:08.862571] [debug] Payload recibido: {"uuid":"15af928b-fb41-4de0-bcb7-573c492453e2","changeType":"edit","entity":"payment","entityId":"940","eventName":"payment.edit","extraData":{"entity":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]},"entityBeforeEdit":{"id":940,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":null,"attributes":[]}}}
[2026-01-31 0:02:09.040344] [debug] Evento recibido: payment.edit
[2026-01-31 7:43:56.590742] [notice] Logging level set to:debug
[2026-01-31 7:43:56.590909] [debug] Payload recibido: {
"id": "evt_1SvYqWEFY1WEUtgRjATILUoh",
"object": "event",
"api_version": "2023-10-16",
"created": 1769845435,
"data": {
"object": {
"id": "ccsbtxn_1SvYqVEFY1WEUtgRLITcazXc",
"object": "customer_cash_balance_transaction",
"created": 1769845435,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 24500,
"funded": {
"bank_transfer": {
"reference": "",
"type": "mx_bank_transfer"
}
},
"livemode": false,
"net_amount": 24500,
"type": "funded"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_4jESCWaQJm714w",
"idempotency_key": "456d4279-ef48-4b03-a519-57a1946b37f1"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-31 7:43:56.590979] [info] No UUID found in the webhook data
[2026-01-31 7:43:56.591032] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SvYqWEFY1WEUtgRjATILUoh","object":"event","api_version":"2023-10-16","created":1769845435,"data":{"object":{"id":"ccsbtxn_1SvYqVEFY1WEUtgRLITcazXc","object":"customer_cash_balance_transaction","created":1769845435,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":24500,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":24500,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_4jESCWaQJm714w","idempotency_key":"456d4279-ef48-4b03-a519-57a1946b37f1"},"type":"customer_cash_balance_transaction.created"}
[2026-01-31 7:43:59.363209] [info] PaymentIntent creado: pi_3SvYqXEFY1WEUtgR1UyoUKHT
[2026-01-31 7:43:59.762068] [notice] Logging level set to:debug
[2026-01-31 7:43:59.762141] [debug] Payload recibido: {
"id": "evt_3SvYqXEFY1WEUtgR1ASok22J",
"object": "event",
"api_version": "2023-10-16",
"created": 1769845439,
"data": {
"object": {
"id": "pi_3SvYqXEFY1WEUtgR1UyoUKHT",
"object": "payment_intent",
"amount": 24500,
"amount_capturable": 0,
"amount_details": {
"tip": {}
},
"amount_received": 24500,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic_async",
"client_secret": "pi_3SvYqXEFY1WEUtgR1UyoUKHT_secret_avuz8zx2Y84HL3WAwdPPlKqMd",
"confirmation_method": "automatic",
"created": 1769845437,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"description": null,
"excluded_payment_method_types": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "py_3SvYqXEFY1WEUtgR1kLT5Lsz",
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1SvYqXEFY1WEUtgRBXXJnZzE",
"payment_method_configuration_details": null,
"payment_method_options": {
"customer_balance": {
"bank_transfer": {
"type": "mx_bank_transfer"
},
"funding_type": "bank_transfer"
}
},
"payment_method_types": [
"customer_balance"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_5hx7XCDRaknaS2",
"idempotency_key": "evt_1SvYqWEFY1WEUtgRjATILUoh"
},
"type": "payment_intent.succeeded"
}
[2026-01-31 7:43:59.762177] [info] No UUID found in the webhook data
[2026-01-31 7:43:59.762187] [info] Evento de pago exitoso (Stripe PI) recibido.
[2026-01-31 7:43:59.856264] [notice] Logging level set to:debug
[2026-01-31 7:43:59.856322] [debug] Payload recibido: {
"id": "evt_1SvYqZEFY1WEUtgREwqzQhas",
"object": "event",
"api_version": "2023-10-16",
"created": 1769845438,
"data": {
"object": {
"id": "ccsbtxn_1SvYqYEFY1WEUtgR33wMPzHW",
"object": "customer_cash_balance_transaction",
"applied_to_payment": {
"payment_intent": "pi_3SvYqXEFY1WEUtgR1UyoUKHT"
},
"created": 1769845438,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"customer_account": null,
"ending_balance": 0,
"livemode": false,
"net_amount": -24500,
"type": "applied_to_payment"
}
},
"livemode": false,
"pending_webhooks": 3,
"request": {
"id": "req_5hx7XCDRaknaS2",
"idempotency_key": "evt_1SvYqWEFY1WEUtgRjATILUoh"
},
"type": "customer_cash_balance_transaction.created"
}
[2026-01-31 7:43:59.856344] [info] No UUID found in the webhook data
[2026-01-31 7:43:59.856362] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SvYqZEFY1WEUtgREwqzQhas","object":"event","api_version":"2023-10-16","created":1769845438,"data":{"object":{"id":"ccsbtxn_1SvYqYEFY1WEUtgR33wMPzHW","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SvYqXEFY1WEUtgR1UyoUKHT"},"created":1769845438,"currency":"mxn","customer":"cus_QJk0PDx5ClqJ4w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-24500,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_5hx7XCDRaknaS2","idempotency_key":"evt_1SvYqWEFY1WEUtgRjATILUoh"},"type":"customer_cash_balance_transaction.created"}
[2026-01-31 7:43:59.924566] [notice] Logging level set to:debug
[2026-01-31 7:43:59.924632] [debug] Payload recibido: {
"id": "evt_3SvYqXEFY1WEUtgR1gVq3Iz1",
"object": "event",
"api_version": "2023-10-16",
"created": 1769845439,
"data": {
"object": {
"id": "py_3SvYqXEFY1WEUtgR1kLT5Lsz",
"object": "charge",
"amount": 24500,
"amount_captured": 24500,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null,
"tax_id": null
},
"calculated_statement_descriptor": null,
"captured": true,
"created": 1769845438,
"currency": "mxn",
"customer": "cus_QJk0PDx5ClqJ4w",
"description": null,
"destination": null,
"dispute": null,
"disputed": false,
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {
"signedInAdminId": "1180",
"createdBy": "UCRM",
"clientId": "135",
"tipoPago": "Transferencia Bancaria"
},
"on_behalf_of": null,
"order": null,
"outcome": {
"advice_code": null,
"network_advice_code": null,
"network_decline_code": null,
"network_status": "approved_by_network",
"reason": null,
"risk_level": "not_assessed",
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": true,
"payment_intent": "pi_3SvYqXEFY1WEUtgR1UyoUKHT",
"payment_method": "pm_1SvYqXEFY1WEUtgRBXXJnZzE",
"payment_method_details": {
"customer_balance": {},
"type": "customer_balance"
},
"radar_options": {},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL_l9ssGMgZVix4sJeE6LBZSNj2sNcoshS968O_azN3WhMX56jCEYohVD4razey-yfLTmUkZRw0BKlcb",
"refunded": false,
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_5hx7XCDRaknaS2",
"idempotency_key": "evt_1SvYqWEFY1WEUtgRjATILUoh"
},
"type": "charge.succeeded"
}
[2026-01-31 7:43:59.924673] [info] No UUID found in the webhook data
[2026-01-31 7:44:00.771384] [notice] Logging level set to:debug
[2026-01-31 7:44:00.771449] [debug] Payload recibido: {"uuid":"e8dde6cf-841a-4757-abcc-31a4d987dee8","changeType":"insert","entity":"payment","entityId":"941","eventName":"payment.add","extraData":{"entity":{"id":941,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
[2026-01-31 7:44:01.050787] [debug] Evento recibido: payment.add
[2026-01-31 7:44:01.050935] [debug] Notification encodificado en JSON:{"uuid":"e8dde6cf-841a-4757-abcc-31a4d987dee8","changeType":"insert","entity":"payment","entityId":941,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":941,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":null,"attributes":[]}}
[2026-01-31 7:44:01.050980] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 941
[2026-01-31 7:44:01.085254] [info] Microservice found metadata: tipoPago = 'Transferencia Bancaria'
[2026-01-31 7:44:01.232914] [info] Payment 941 has no User ID. Assigning Stripe User ID: 1180
[2026-01-31 7:44:01.379070] [info] Payment 941 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 4145b5f5-3bbc-45e3-8fc5-9cda970c62fb via Microservice.
[2026-01-31 7:44:01.384448] [info] Payment Method ID patched successfully.
[2026-01-31 7:44:01.527765] [info] PATCHING Payment 941: Setting tipoPagoStripe = 'Transferencia Bancaria'
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 7:44:03.046070] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769845443.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769845443.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769845443.jpg"
},
"template_values": ["Juan Escutia", "$245", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"1ebc16fb9a834e5ab3be179968286ec3","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":"e8dde6cf-841a-4757-abcc-31a4d987dee8","changeType":"insert","entity":"payment","entityId":941,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":null,"attributes":[]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 01:44","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 01:44\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7475 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":null,"source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["s0LOCS","PRUEBAS"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Clabe Interbancaria":"124180650741646979","user name":"Daniel Humberto","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 245","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 01:44","Cliente":"135","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Fecha Ultimo Pago":"📆💸 31/01/2026 01:44 con Transferencia bancaria 📱🏦","Nombre":"👤 Juan Escutia","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","URL":"🌐 https://sistema.siip.mx/crm/client/135","Saldo Actual":"💲7720 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https://sistema.siip.mx/crm/client/135\",\"Saldo Actual\": \"💲7720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31/01/2026 01:44 con Transferencia bancaria 📱🏦\",\"Fecha Ultima Actualizacion\": \"31/01/2026 01:44\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}"},"team":{"uuid":"3ce05a6952914ba6a44e1b066b22e4d8","name":"OXXOSEG1","default":false,"members":4,"createdAt":"2024-12-13T17:37:39Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 7:44:05.521923] [notice] Logging level set to:debug
[2026-01-31 7:44:05.521992] [debug] Payload recibido: {"uuid":"e804690c-4292-419f-9054-7907dce7df27","changeType":"edit","entity":"payment","entityId":"941","eventName":"payment.edit","extraData":{"entity":{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]},"entityBeforeEdit":{"id":941,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":null,"attributes":[]}}}
[2026-01-31 7:44:05.729441] [debug] Evento recibido: payment.edit
[2026-01-31 15:48:33.303522] [notice] Logging level set to:debug
[2026-01-31 15:48:33.303606] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 15:48:33.443753] [debug] Evento recibido: payment.add
[2026-01-31 15:48:33.443979] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 15:48:34.006460] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874513.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874513.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874513.jpg"
},
"template_values": ["Juan Escutia", "$245", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"2efb26c5435a4455a76616ef03507c9c","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 09:48","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 09:48\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 15:49:38.724373] [notice] Logging level set to:debug
[2026-01-31 15:49:38.724524] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 15:49:38.864958] [debug] Evento recibido: payment.add
[2026-01-31 15:49:38.865176] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 15:49:39.349989] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874579.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874579.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874579.jpg"
},
"template_values": ["Juan Escutia", "$245", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"374afc15cbe1405cb05329f06869a1ce","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 09:49","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 09:49\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 15:49:58.304945] [notice] Logging level set to:debug
[2026-01-31 15:49:58.305567] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 15:49:58.435488] [debug] Evento recibido: payment.add
[2026-01-31 15:49:58.435758] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 15:49:58.985415] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874598.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874598.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874598.jpg"
},
"template_values": ["Juan Escutia", "$245", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"90e0c44f42a04ac69b6f96dc8c424ca7","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 09:50","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 09:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 16:00:05.061495] [notice] Logging level set to:debug
[2026-01-31 16:00:05.062067] [debug] Payload recibido: {"uuid":"88a02de6-5383-463b-a257-0e3ca2a30d99","changeType":"draft_approved","entity":"invoice","entityId":"3005","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3005,"clientId":15,"number":"002951","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3022,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:05.320492] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:05.324696] [debug] Aprobación de Factura
[2026-01-31 16:00:05.324938] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181091933
[2026-01-31 16:00:05.334394] [debug] onlyUpdate: Teléfono validado: 524181091933
[2026-01-31 16:00:06.263799] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https:\/\/dash.callbell.eu\/chat\/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena\/Sectorial":"Sec3-Sb 172.16.55.13\/24","Site":"SBARB","Estado":"\ud83d\udd34 Suspendido","user entry point":"inbound_message","Resumen":"{\"Cliente\": \"15\",\"Domicilio\": \"\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb217500 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"19\/12\/2025 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"15","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Saldo Actual":"\ud83d\udcb217500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/12\/2025 15:50","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","user name":"+524181091933"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:06.263887] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181091933
Notificacion data: {"uuid":"88a02de6-5383-463b-a257-0e3ca2a30d99","changeType":"draft_approved","entity":"invoice","entityId":3005,"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":-18200,"accountCredit":0,"accountOutstanding":18200,"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":3005,"clientId":15,"number":"002951","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3022,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":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":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","Cliente":15,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:00","Saldo Actual":"\ud83d\udcb218200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"15\",\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb218200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","password-antena":""}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲17500 pendientes'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲18200 pendientes'
DEBUG COMPARACIÓN - CallBell Estado: '🔴 Suspendido'
DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Estado":"🟠 Suspendido","user entry point":"inbound_message","Domicilio":"📍 SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"15","URL":"🌐 https://sistema.siip.mx/crm/client/15","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 16:50 con Efectivo 💵","Nombre":"👤 EDUARDO VILLEGAZ","user name":"+524181091933","Resumen":"{\"Cliente\": \"15\",\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https://sistema.siip.mx/crm/client/15\",\"Saldo Actual\": \"💲18200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 16:50 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/01/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": \"\"}","Saldo Actual":"💲18200 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:08.363543] [notice] Logging level set to:debug
[2026-01-31 16:00:08.363884] [debug] Payload recibido: {"uuid":"b2e6f474-5e1b-42c8-84be-a17e31828238","changeType":"draft_approved","entity":"invoice","entityId":"3006","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3006,"clientId":79,"number":"002952","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3023,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:08.697309] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:08.697547] [debug] Aprobación de Factura
[2026-01-31 16:00:09.850527] [notice] Logging level set to:debug
[2026-01-31 16:00:09.850725] [debug] Payload recibido: {"uuid":"d49fc72c-48bf-4c7e-9362-bd5a0c027654","changeType":"draft_approved","entity":"invoice","entityId":"3007","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3007,"clientId":9,"number":"002953","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3024,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:10.139023] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:10.139271] [debug] Aprobación de Factura
[2026-01-31 16:00:11.385222] [notice] Logging level set to:debug
[2026-01-31 16:00:11.386966] [debug] Payload recibido: {"uuid":"7c43573a-3685-4aa8-a06a-831deb8482a4","changeType":"draft_approved","entity":"invoice","entityId":"3008","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3008,"clientId":75,"number":"002954","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3025,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:11.641555] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:11.641817] [debug] Aprobación de Factura
[2026-01-31 16:00:13.043251] [notice] Logging level set to:debug
[2026-01-31 16:00:13.043385] [debug] Payload recibido: {"uuid":"22ae6db8-3786-418e-b32e-56ac80203bc3","changeType":"draft_approved","entity":"invoice","entityId":"3009","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3009,"clientId":65,"number":"002955","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3026,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:13.267415] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:13.267661] [debug] Aprobación de Factura
[2026-01-31 16:00:14.549173] [notice] Logging level set to:debug
[2026-01-31 16:00:14.549247] [debug] Payload recibido: {"uuid":"e62ada73-92a2-467a-85c6-c232333326f7","changeType":"draft_approved","entity":"invoice","entityId":"3010","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3010,"clientId":21,"number":"002956","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3027,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:14.767745] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:14.767987] [debug] Aprobación de Factura
[2026-01-31 16:00:15.980274] [notice] Logging level set to:debug
[2026-01-31 16:00:15.980426] [debug] Payload recibido: {"uuid":"f6db9163-9eb4-4d54-a83f-2040d77d0468","changeType":"draft_approved","entity":"invoice","entityId":"3011","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3011,"clientId":55,"number":"002957","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3028,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:16.248549] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:16.248748] [debug] Aprobación de Factura
[2026-01-31 16:00:17.495009] [notice] Logging level set to:debug
[2026-01-31 16:00:17.495167] [debug] Payload recibido: {"uuid":"2a977632-0305-4a33-b9b3-4bc08d31580a","changeType":"draft_approved","entity":"invoice","entityId":"3012","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3012,"clientId":50,"number":"002958","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3029,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:17.808399] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:17.808588] [debug] Aprobación de Factura
[2026-01-31 16:00:19.074209] [notice] Logging level set to:debug
[2026-01-31 16:00:19.074354] [debug] Payload recibido: {"uuid":"50e3e697-e85e-46e4-b849-7b6a79879c3a","changeType":"draft_approved","entity":"invoice","entityId":"3013","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3013,"clientId":102,"number":"002959","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3030,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:19.335714] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:19.335988] [debug] Aprobación de Factura
[2026-01-31 16:00:20.553920] [notice] Logging level set to:debug
[2026-01-31 16:00:20.554074] [debug] Payload recibido: {"uuid":"bc846299-b258-4893-b697-d1e87a114791","changeType":"draft_approved","entity":"invoice","entityId":"3014","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3014,"clientId":72,"number":"002960","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3031,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:20.788080] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:20.788381] [debug] Aprobación de Factura
[2026-01-31 16:00:21.963921] [notice] Logging level set to:debug
[2026-01-31 16:00:21.964092] [debug] Payload recibido: {"uuid":"ccb4c23e-956d-4bb7-a23c-fbdb34c066e0","changeType":"draft_approved","entity":"invoice","entityId":"3015","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3015,"clientId":95,"number":"002961","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3032,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:22.205184] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:22.205451] [debug] Aprobación de Factura
[2026-01-31 16:00:23.486331] [notice] Logging level set to:debug
[2026-01-31 16:00:23.486664] [debug] Payload recibido: {"uuid":"8a4154ff-4792-4d7d-a45a-da0b1eb26c0c","changeType":"draft_approved","entity":"invoice","entityId":"3016","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3016,"clientId":20,"number":"002962","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3033,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:23.765743] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:23.766015] [debug] Aprobación de Factura
[2026-01-31 16:00:25.120645] [notice] Logging level set to:debug
[2026-01-31 16:00:25.120702] [debug] Payload recibido: {"uuid":"45d3ad17-3e1a-4a3c-a0b4-46ed696ee9a0","changeType":"draft_approved","entity":"invoice","entityId":"3017","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3017,"clientId":91,"number":"002963","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3034,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:25.380177] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:25.380304] [debug] Aprobación de Factura
[2026-01-31 16:00:26.606631] [notice] Logging level set to:debug
[2026-01-31 16:00:26.606775] [debug] Payload recibido: {"uuid":"86fb7e63-d635-469b-b3e3-0b087b1c0484","changeType":"draft_approved","entity":"invoice","entityId":"3018","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3018,"clientId":8,"number":"002964","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3035,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:26.824934] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:26.825149] [debug] Aprobación de Factura
[2026-01-31 16:00:28.107556] [notice] Logging level set to:debug
[2026-01-31 16:00:28.107697] [debug] Payload recibido: {"uuid":"775fb66c-d0c8-44c9-96be-67dd6ae8acce","changeType":"draft_approved","entity":"invoice","entityId":"3019","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3019,"clientId":45,"number":"002965","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3036,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:28.593908] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:28.594197] [debug] Aprobación de Factura
[2026-01-31 16:00:33.083528] [notice] Logging level set to:debug
[2026-01-31 16:00:33.083667] [debug] Payload recibido: {"uuid":"85c6ab58-75c4-44c4-a54a-c092babc750d","changeType":"draft_approved","entity":"invoice","entityId":"3020","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3020,"clientId":99,"number":"002966","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3037,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:33.359317] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:33.359570] [debug] Aprobación de Factura
[2026-01-31 16:00:34.674679] [notice] Logging level set to:debug
[2026-01-31 16:00:34.674818] [debug] Payload recibido: {"uuid":"851339ed-6b02-4a80-bb65-ffc547695d31","changeType":"draft_approved","entity":"invoice","entityId":"3021","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3021,"clientId":31,"number":"002967","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3038,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:34.959626] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:34.959942] [debug] Aprobación de Factura
[2026-01-31 16:00:36.227298] [notice] Logging level set to:debug
[2026-01-31 16:00:36.227487] [debug] Payload recibido: {"uuid":"a52a010e-e1fc-4928-8e22-7498d05457ef","changeType":"draft_approved","entity":"invoice","entityId":"3022","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3022,"clientId":61,"number":"002968","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3039,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:36.444909] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:36.445106] [debug] Aprobación de Factura
[2026-01-31 16:00:37.665667] [notice] Logging level set to:debug
[2026-01-31 16:00:37.665826] [debug] Payload recibido: {"uuid":"9b904661-1608-4686-9724-63685a811240","changeType":"draft_approved","entity":"invoice","entityId":"3023","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3023,"clientId":14,"number":"002969","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3040,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:37.926981] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:37.927237] [debug] Aprobación de Factura
[2026-01-31 16:00:37.927349] [debug] onlyUpdate: Iniciando actualización para teléfono: +1 682-260-4759
[2026-01-31 16:00:37.927467] [debug] onlyUpdate: Teléfono validado: 16822604759
[2026-01-31 16:00:38.349088] [debug] onlyUpdate: Contacto obtenido de 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","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/be760b254a694e8b94b002789d68d388","conversationHref":"https:\/\/dash.callbell.eu\/chat\/b95896c60a7e4541b9d378d9d9ef938b","tags":[],"assignedUser":null,"customFields":{"Antena\/Sectorial":"14","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","Cliente":"14","Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Monto Ultimo Pago":"\ud83d\udcb2 1800","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Estado":"\ud83d\udd34 Suspendido","Resumen":"{\"Cliente\": \"14\",\"Domicilio\": \"\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb25700 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"19\/12\/2025 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","Saldo Actual":"\ud83d\udcb25700 pendientes","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 19\/12\/2025 15:50"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:38.349169] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 16822604759
Notificacion data: {"uuid":"9b904661-1608-4686-9724-63685a811240","changeType":"draft_approved","entity":"invoice","entityId":3023,"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":-6000,"accountCredit":0,"accountOutstanding":6000,"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":3023,"clientId":14,"number":"002969","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3040,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":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":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/14","Nombre":"\ud83d\udc64 ALEXANDRO ARIAS","Cliente":14,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:00","Saldo Actual":"\ud83d\udcb26000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 1800","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd LINDAVISTA, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"14\",\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/14\",\"Saldo Actual\": \"\ud83d\udcb26000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 12:00 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","password-antena":""}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5700 pendientes'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲6000 pendientes'
DEBUG COMPARACIÓN - CallBell Estado: '🔴 Suspendido'
DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
EJECUTANDO PATCH - Se detectaron cambios
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","funnelId":null,"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","Resumen":"{\"Cliente\": \"14\",\"Nombre\": \"ALEXANDRO ARIAS\",\"URL\": \"https://sistema.siip.mx/crm/client/14\",\"Saldo Actual\": \"💲6000 pendientes\",\"Monto Ultimo Pago\": \"$ 1800\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 12:00 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/01/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": \"\"}","Estado":"🟠 Suspendido","Saldo Actual":"💲6000 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:39.453248] [notice] Logging level set to:debug
[2026-01-31 16:00:39.453413] [debug] Payload recibido: {"uuid":"15b3ad6b-5472-486f-b7c1-a549b6bdfdb8","changeType":"draft_approved","entity":"invoice","entityId":"3024","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3024,"clientId":53,"number":"002970","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3041,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:39.730643] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:39.730842] [debug] Aprobación de Factura
[2026-01-31 16:00:40.930577] [notice] Logging level set to:debug
[2026-01-31 16:00:40.930717] [debug] Payload recibido: {"uuid":"2a48ee3d-9e2f-40d4-af5a-3fe87c7b1dfa","changeType":"draft_approved","entity":"invoice","entityId":"3025","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3025,"clientId":74,"number":"002971","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3042,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:41.170587] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:41.170834] [debug] Aprobación de Factura
[2026-01-31 16:00:42.507899] [notice] Logging level set to:debug
[2026-01-31 16:00:42.508049] [debug] Payload recibido: {"uuid":"f5296614-4a84-4a0a-8630-3ab18c55adaa","changeType":"draft_approved","entity":"invoice","entityId":"3026","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3026,"clientId":90,"number":"002972","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3043,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:42.743402] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:42.743693] [debug] Aprobación de Factura
[2026-01-31 16:00:43.977248] [notice] Logging level set to:debug
[2026-01-31 16:00:43.977387] [debug] Payload recibido: {"uuid":"5579f7f8-c3b7-4580-83a1-9b8f16add385","changeType":"draft_approved","entity":"invoice","entityId":"3027","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3027,"clientId":18,"number":"002973","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3044,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:44.357671] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:44.357912] [debug] Aprobación de Factura
[2026-01-31 16:00:45.963547] [notice] Logging level set to:debug
[2026-01-31 16:00:45.963610] [debug] Payload recibido: {"uuid":"f3fca211-8575-4113-9b6e-2e126d3c8168","changeType":"draft_approved","entity":"invoice","entityId":"3028","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3028,"clientId":60,"number":"002974","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3045,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:46.232162] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:46.232436] [debug] Aprobación de Factura
[2026-01-31 16:00:47.590648] [notice] Logging level set to:debug
[2026-01-31 16:00:47.590774] [debug] Payload recibido: {"uuid":"663e593c-92c1-442e-b5c6-ff8eb0a1de3f","changeType":"draft_approved","entity":"invoice","entityId":"3029","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3029,"clientId":48,"number":"002975","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3046,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:47.822834] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:47.822949] [debug] Aprobación de Factura
[2026-01-31 16:00:49.155410] [notice] Logging level set to:debug
[2026-01-31 16:00:49.155560] [debug] Payload recibido: {"uuid":"9aa4147b-8f97-4f8f-a324-8a9782d25370","changeType":"draft_approved","entity":"invoice","entityId":"3030","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3030,"clientId":87,"number":"002976","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3047,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:49.425771] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:49.426006] [debug] Aprobación de Factura
[2026-01-31 16:00:50.808300] [notice] Logging level set to:debug
[2026-01-31 16:00:50.808449] [debug] Payload recibido: {"uuid":"0bdd82e2-8cee-4daa-bfa6-52bb092ae709","changeType":"draft_approved","entity":"invoice","entityId":"3031","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3031,"clientId":38,"number":"002977","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3048,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:51.060224] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:51.060471] [debug] Aprobación de Factura
[2026-01-31 16:00:52.259617] [notice] Logging level set to:debug
[2026-01-31 16:00:52.259748] [debug] Payload recibido: {"uuid":"937cf846-fada-49bb-9fc0-1a732b22451f","changeType":"draft_approved","entity":"invoice","entityId":"3032","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3032,"clientId":94,"number":"002978","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3049,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:52.485812] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:52.486061] [debug] Aprobación de Factura
[2026-01-31 16:00:52.486181] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181091933
[2026-01-31 16:00:52.486283] [debug] onlyUpdate: Teléfono validado: 524181091933
[2026-01-31 16:00:52.880848] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"EDUARDO VILLEGAZ","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https:\/\/dash.callbell.eu\/chat\/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena\/Sectorial":"Sec3-Sb 172.16.55.13\/24","Site":"SBARB","Estado":"\ud83d\udfe0 Suspendido","user entry point":"inbound_message","Domicilio":"\ud83d\udccd SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"15","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/15","Monto Ultimo Pago":"\ud83d\udcb2 3500","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5","Nombre":"\ud83d\udc64 EDUARDO VILLEGAZ","user name":"+524181091933","Resumen":"{\"Cliente\": \"15\",\"Nombre\": \"EDUARDO VILLEGAZ\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/15\",\"Saldo Actual\": \"\ud83d\udcb218200 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 16:50 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","Saldo Actual":"\ud83d\udcb218200 pendientes","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:52.881045] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181091933
Notificacion data: {"uuid":"937cf846-fada-49bb-9fc0-1a732b22451f","changeType":"draft_approved","entity":"invoice","entityId":3032,"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":-7500,"accountCredit":0,"accountOutstanding":7500,"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":3032,"clientId":94,"number":"002978","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3049,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":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":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Nombre":"\ud83d\udc64 MARTIN TREJO","Cliente":94,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:00","Saldo Actual":"\ud83d\udcb27500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"94\",\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb27500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","password-antena":""}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲18200 pendientes'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7500 pendientes'
DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Estado":"🟠 Suspendido","user entry point":"inbound_message","Domicilio":"📍 Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"94","URL":"🌐 https://sistema.siip.mx/crm/client/94","Monto Ultimo Pago":"💲 200","Fecha Ultimo Pago":"📆💸 31/01/2024 15:59 con Efectivo 💵","Nombre":"👤 MARTIN TREJO","user name":"+524181091933","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 10:00","Resumen":"{\"Cliente\": \"94\",\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https://sistema.siip.mx/crm/client/94\",\"Saldo Actual\": \"💲7500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31/01/2024 15:59 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/01/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": \"\"}","Saldo Actual":"💲7500 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:00:54.607860] [notice] Logging level set to:debug
[2026-01-31 16:00:54.607930] [debug] Payload recibido: {"uuid":"4faf27ea-b031-4a1f-8749-1fe69ad5f9c8","changeType":"draft_approved","entity":"invoice","entityId":"3033","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3033,"clientId":62,"number":"002979","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3050,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:54.891225] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:54.891459] [debug] Aprobación de Factura
[2026-01-31 16:00:56.004564] [notice] Logging level set to:debug
[2026-01-31 16:00:56.004703] [debug] Payload recibido: {"uuid":"c39b7cf7-ad39-4f9b-b444-de039b51f494","changeType":"draft_approved","entity":"invoice","entityId":"3034","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3034,"clientId":97,"number":"002980","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3051,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:56.352353] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:56.352586] [debug] Aprobación de Factura
[2026-01-31 16:00:57.717645] [notice] Logging level set to:debug
[2026-01-31 16:00:57.717777] [debug] Payload recibido: {"uuid":"b6ae1e71-27a3-45fd-8d82-d45f141f3b26","changeType":"draft_approved","entity":"invoice","entityId":"3035","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3035,"clientId":68,"number":"002981","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3052,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:57.931715] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:57.931843] [debug] Aprobación de Factura
[2026-01-31 16:00:59.133029] [notice] Logging level set to:debug
[2026-01-31 16:00:59.133163] [debug] Payload recibido: {"uuid":"b6608d29-eff3-44ad-8817-e54f238334eb","changeType":"draft_approved","entity":"invoice","entityId":"3036","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3036,"clientId":66,"number":"002982","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3053,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:00:59.342161] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:00:59.342427] [debug] Aprobación de Factura
[2026-01-31 16:01:00.784590] [notice] Logging level set to:debug
[2026-01-31 16:01:00.784727] [debug] Payload recibido: {"uuid":"35e32650-8362-4b02-92d0-e5bca18bdfa8","changeType":"draft_approved","entity":"invoice","entityId":"3037","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3037,"clientId":46,"number":"002983","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3054,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:01.236521] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:01.238446] [debug] Aprobación de Factura
[2026-01-31 16:01:03.010590] [notice] Logging level set to:debug
[2026-01-31 16:01:03.010657] [debug] Payload recibido: {"uuid":"b385f62c-b8ee-4862-860b-bb26fca6c98f","changeType":"draft_approved","entity":"invoice","entityId":"3038","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3038,"clientId":82,"number":"002984","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3055,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:03.307548] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:03.307662] [debug] Aprobación de Factura
[2026-01-31 16:01:04.512052] [notice] Logging level set to:debug
[2026-01-31 16:01:04.512119] [debug] Payload recibido: {"uuid":"8e4e637e-82ee-4d01-8606-2092f5b7831a","changeType":"draft_approved","entity":"invoice","entityId":"3039","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3039,"clientId":30,"number":"002985","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3056,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:04.717737] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:04.717858] [debug] Aprobación de Factura
[2026-01-31 16:01:06.109719] [notice] Logging level set to:debug
[2026-01-31 16:01:06.109853] [debug] Payload recibido: {"uuid":"e831eda7-1b31-4bf6-9143-27cf5c32732a","changeType":"draft_approved","entity":"invoice","entityId":"3040","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3040,"clientId":85,"number":"002986","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3057,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:06.363851] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:06.364062] [debug] Aprobación de Factura
[2026-01-31 16:01:07.682709] [notice] Logging level set to:debug
[2026-01-31 16:01:07.682869] [debug] Payload recibido: {"uuid":"2a38df95-7638-4474-a4df-d3441f328f0f","changeType":"draft_approved","entity":"invoice","entityId":"3041","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3041,"clientId":67,"number":"002987","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3058,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:08.018568] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:08.018811] [debug] Aprobación de Factura
[2026-01-31 16:01:09.314870] [notice] Logging level set to:debug
[2026-01-31 16:01:09.315001] [debug] Payload recibido: {"uuid":"2c5affc9-8e5b-436f-af35-88adabf9d174","changeType":"draft_approved","entity":"invoice","entityId":"3042","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3042,"clientId":63,"number":"002988","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3059,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:09.580075] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:09.580305] [debug] Aprobación de Factura
[2026-01-31 16:01:10.819556] [notice] Logging level set to:debug
[2026-01-31 16:01:10.819736] [debug] Payload recibido: {"uuid":"63b2241d-8a38-40e1-8519-e1174bd6e269","changeType":"draft_approved","entity":"invoice","entityId":"3043","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3043,"clientId":36,"number":"002989","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3060,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:11.079555] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:11.079794] [debug] Aprobación de Factura
[2026-01-31 16:01:12.443744] [notice] Logging level set to:debug
[2026-01-31 16:01:12.443882] [debug] Payload recibido: {"uuid":"537d8ada-db3e-4f1d-8acf-3592262a692f","changeType":"draft_approved","entity":"invoice","entityId":"3044","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3044,"clientId":58,"number":"002990","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3061,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:12.735296] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:12.735522] [debug] Aprobación de Factura
[2026-01-31 16:01:13.875787] [notice] Logging level set to:debug
[2026-01-31 16:01:13.875936] [debug] Payload recibido: {"uuid":"61585a71-d8e8-4c3a-9b4a-7db1c97a7ce4","changeType":"draft_approved","entity":"invoice","entityId":"3045","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3045,"clientId":34,"number":"002991","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3062,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:14.242636] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:14.242894] [debug] Aprobación de Factura
[2026-01-31 16:01:15.675142] [notice] Logging level set to:debug
[2026-01-31 16:01:15.676951] [debug] Payload recibido: {"uuid":"870c70c1-9320-47c2-8e36-f042c2c993be","changeType":"draft_approved","entity":"invoice","entityId":"3046","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3046,"clientId":39,"number":"002992","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3063,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:16.082596] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:16.082710] [debug] Aprobación de Factura
[2026-01-31 16:01:17.578968] [notice] Logging level set to:debug
[2026-01-31 16:01:17.579025] [debug] Payload recibido: {"uuid":"d40bb0ad-5cdf-4351-8d80-3d60a3ea467b","changeType":"draft_approved","entity":"invoice","entityId":"3047","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3047,"clientId":101,"number":"002993","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3064,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:17.787710] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:17.787892] [debug] Aprobación de Factura
[2026-01-31 16:01:19.030047] [notice] Logging level set to:debug
[2026-01-31 16:01:19.036719] [debug] Payload recibido: {"uuid":"3dba9ae3-6b9a-4256-8879-b4c5f9cfd534","changeType":"draft_approved","entity":"invoice","entityId":"3048","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3048,"clientId":89,"number":"002994","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3065,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:19.266376] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:19.266608] [debug] Aprobación de Factura
[2026-01-31 16:01:20.553905] [notice] Logging level set to:debug
[2026-01-31 16:01:20.553965] [debug] Payload recibido: {"uuid":"7732870c-1389-4d04-9b85-c7ec0f58fe89","changeType":"draft_approved","entity":"invoice","entityId":"3049","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3049,"clientId":71,"number":"002995","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3066,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:20.835449] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:20.835660] [debug] Aprobación de Factura
[2026-01-31 16:01:22.064980] [notice] Logging level set to:debug
[2026-01-31 16:01:22.065131] [debug] Payload recibido: {"uuid":"e43309a5-f3c8-4462-936f-fedcfc9b72fb","changeType":"draft_approved","entity":"invoice","entityId":"3050","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3050,"clientId":64,"number":"002996","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3067,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:22.290793] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:22.291008] [debug] Aprobación de Factura
[2026-01-31 16:01:26.712291] [notice] Logging level set to:debug
[2026-01-31 16:01:26.712445] [debug] Payload recibido: {"uuid":"37f5b185-def6-4587-8d76-511f7be5117d","changeType":"draft_approved","entity":"invoice","entityId":"3051","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3051,"clientId":57,"number":"002997","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3068,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:27.019260] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:27.019489] [debug] Aprobación de Factura
[2026-01-31 16:01:28.313819] [notice] Logging level set to:debug
[2026-01-31 16:01:28.313975] [debug] Payload recibido: {"uuid":"83228a47-1cc3-4cde-9383-7d9b16d9bc0e","changeType":"draft_approved","entity":"invoice","entityId":"3052","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3052,"clientId":77,"number":"002998","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3069,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:28.734800] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:28.734920] [debug] Aprobación de Factura
[2026-01-31 16:01:30.022260] [notice] Logging level set to:debug
[2026-01-31 16:01:30.022486] [debug] Payload recibido: {"uuid":"f717bec3-826f-4458-a2b6-510e39474199","changeType":"draft_approved","entity":"invoice","entityId":"3053","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3053,"clientId":23,"number":"002999","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3070,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:30.239587] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:30.239953] [debug] Aprobación de Factura
[2026-01-31 16:01:31.659616] [notice] Logging level set to:debug
[2026-01-31 16:01:31.659775] [debug] Payload recibido: {"uuid":"0cb188f7-b65b-481f-92fb-108b720ce895","changeType":"draft_approved","entity":"invoice","entityId":"3054","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3054,"clientId":26,"number":"003000","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3071,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:32.086795] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:32.087023] [debug] Aprobación de Factura
[2026-01-31 16:01:33.799586] [notice] Logging level set to:debug
[2026-01-31 16:01:33.799726] [debug] Payload recibido: {"uuid":"00eda2e0-7c55-4e38-9494-be07baf5b843","changeType":"draft_approved","entity":"invoice","entityId":"3055","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3055,"clientId":100,"number":"003001","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3072,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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":100,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":200,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1509,"invoiceId":3055,"paymentId":891,"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":"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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:34.030698] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:34.030939] [debug] Aprobación de Factura
[2026-01-31 16:01:35.219268] [notice] Logging level set to:debug
[2026-01-31 16:01:35.219414] [debug] Payload recibido: {"uuid":"87b45262-2f6b-4463-831f-2df05abbb68b","changeType":"draft_approved","entity":"invoice","entityId":"3056","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3056,"clientId":6,"number":"003002","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3073,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:35.505987] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:35.506258] [debug] Aprobación de Factura
[2026-01-31 16:01:35.506412] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181811375
[2026-01-31 16:01:35.506519] [debug] onlyUpdate: Teléfono validado: 5214181811375
[2026-01-31 16:01:35.928977] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2025-12-11T22:42:27Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https:\/\/dash.callbell.eu\/chat\/6c83978a945141db820592787b7184d5","tags":["SIIP"],"assignedUser":"avalos.mgla@gmail.com","customFields":{"Antena\/Sectorial":"6","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Monto Ultimo Pago":"\ud83d\udcb2 2000","Estado":"\ud83d\udd34 Suspendido","Cliente":"6","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","user entry point":"inbound_message","Acciones":"NOBOT-SIIP","Saldo Actual":"\ud83d\udcb26580 pendientes","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 30\/11\/2025 10:01","Resumen":"{\"Cliente\": \"6\",\"Domicilio\": \"\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb26580 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"30\/11\/2025 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\"}","user name":"\ud83e\udd29\ud83e\udd24"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:01:35.929058] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181811375
Notificacion data: {"uuid":"87b45262-2f6b-4463-831f-2df05abbb68b","changeType":"draft_approved","entity":"invoice","entityId":3056,"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":-7180,"accountCredit":0,"accountOutstanding":7180,"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":3056,"clientId":6,"number":"003002","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3073,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":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":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/6","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA","Cliente":6,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:01","Saldo Actual":"\ud83d\udcb27180 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 2000","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd DOCTOR MORA #51, FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"6\",\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/6\",\"Saldo Actual\": \"\ud83d\udcb27180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01\/02\/2024 12:57 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","password-antena":""}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6580 pendientes'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7180 pendientes'
DEBUG COMPARACIÓN - CallBell Estado: '🔴 Suspendido'
DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
EJECUTANDO PATCH - Se detectaron cambios
Response Patch CallBell: {"contact":{"uuid":"71a76e57f89441ff978a5ece070f21d7","name":"ALEJANDRO MOCTEZUMA","phoneNumber":"5214181811375","avatarUrl":null,"createdAt":"2021-06-25T15:57:32Z","closedAt":"2025-12-11T22:42:27Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/71a76e57f89441ff978a5ece070f21d7","conversationHref":"https://dash.callbell.eu/chat/6c83978a945141db820592787b7184d5","tags":["SIIP"],"assignedUser":"avalos.mgla@gmail.com","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 entry point":"inbound_message","Acciones":"NOBOT-SIIP","user name":"🤩🤤","Resumen":"{\"Cliente\": \"6\",\"Nombre\": \"ALEJANDRO MOCTEZUMA\",\"URL\": \"https://sistema.siip.mx/crm/client/6\",\"Saldo Actual\": \"💲7180 pendientes\",\"Monto Ultimo Pago\": \"$ 2000\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 01/02/2024 12:57 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/01/2026 10:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": \"\"}","Saldo Actual":"💲7180 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 10:01"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:01:37.617140] [notice] Logging level set to:debug
[2026-01-31 16:01:37.617288] [debug] Payload recibido: {"uuid":"29b4f1c4-0e50-42ca-8553-ca46bfeac5ed","changeType":"draft_approved","entity":"invoice","entityId":"3057","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3057,"clientId":32,"number":"003003","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3074,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:37.889163] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:37.889281] [debug] Aprobación de Factura
[2026-01-31 16:01:42.278063] [notice] Logging level set to:debug
[2026-01-31 16:01:42.278124] [debug] Payload recibido: {"uuid":"b6d60b10-57e1-47bc-9da6-a3150c83a139","changeType":"draft_approved","entity":"invoice","entityId":"3058","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3058,"clientId":52,"number":"003004","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3075,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:42.491399] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:42.491581] [debug] Aprobación de Factura
[2026-01-31 16:01:43.893372] [notice] Logging level set to:debug
[2026-01-31 16:01:43.893486] [debug] Payload recibido: {"uuid":"e8599212-87fd-4062-88d7-8d93cbe7c80f","changeType":"draft_approved","entity":"invoice","entityId":"3059","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3059,"clientId":27,"number":"003005","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3076,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:44.139606] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:44.139838] [debug] Aprobación de Factura
[2026-01-31 16:01:45.621795] [notice] Logging level set to:debug
[2026-01-31 16:01:45.622400] [debug] Payload recibido: {"uuid":"6fb3f922-fefd-40a6-a9d5-da0cc2813cb1","changeType":"draft_approved","entity":"invoice","entityId":"3060","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3060,"clientId":29,"number":"003006","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3077,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:45.852462] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:45.852579] [debug] Aprobación de Factura
[2026-01-31 16:01:47.134618] [notice] Logging level set to:debug
[2026-01-31 16:01:47.134681] [debug] Payload recibido: {"uuid":"a45951f9-8cd4-4c60-ae29-398d29e4371a","changeType":"draft_approved","entity":"invoice","entityId":"3061","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3061,"clientId":73,"number":"003007","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3078,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:47.407191] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:47.407330] [debug] Aprobación de Factura
[2026-01-31 16:01:48.708666] [notice] Logging level set to:debug
[2026-01-31 16:01:48.708834] [debug] Payload recibido: {"uuid":"f8baf498-e6bf-4a3b-9bf8-838730a007e1","changeType":"draft_approved","entity":"invoice","entityId":"3062","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3062,"clientId":98,"number":"003008","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3079,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:48.947122] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:48.947345] [debug] Aprobación de Factura
[2026-01-31 16:01:50.162671] [notice] Logging level set to:debug
[2026-01-31 16:01:50.162811] [debug] Payload recibido: {"uuid":"18c5d8c6-ee8f-401b-a297-d1f4a28d739c","changeType":"draft_approved","entity":"invoice","entityId":"3063","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3063,"clientId":40,"number":"003009","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3080,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:50.398772] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:50.399002] [debug] Aprobación de Factura
[2026-01-31 16:01:51.616331] [notice] Logging level set to:debug
[2026-01-31 16:01:51.616470] [debug] Payload recibido: {"uuid":"d79ff3a0-51ca-48ea-a61d-1cdbaa5d927d","changeType":"draft_approved","entity":"invoice","entityId":"3064","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3064,"clientId":54,"number":"003010","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3081,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:52.022372] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:52.022485] [debug] Aprobación de Factura
[2026-01-31 16:01:53.553141] [notice] Logging level set to:debug
[2026-01-31 16:01:53.553329] [debug] Payload recibido: {"uuid":"f0cdb25e-9ca2-42d9-80cd-fd8e31b3a2e2","changeType":"draft_approved","entity":"invoice","entityId":"3065","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3065,"clientId":22,"number":"003011","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3082,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:53.770410] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:53.770637] [debug] Aprobación de Factura
[2026-01-31 16:01:55.021171] [notice] Logging level set to:debug
[2026-01-31 16:01:55.021235] [debug] Payload recibido: {"uuid":"68004b4a-35b6-4974-8575-b211c2879853","changeType":"draft_approved","entity":"invoice","entityId":"3066","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3066,"clientId":41,"number":"003012","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3083,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:55.240761] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:55.240878] [debug] Aprobación de Factura
[2026-01-31 16:01:56.472517] [notice] Logging level set to:debug
[2026-01-31 16:01:56.472651] [debug] Payload recibido: {"uuid":"c1a4ae3e-d179-45a6-ab84-5584d2305c8f","changeType":"draft_approved","entity":"invoice","entityId":"3067","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3067,"clientId":59,"number":"003013","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3084,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:56.762552] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:56.762793] [debug] Aprobación de Factura
[2026-01-31 16:01:58.071147] [notice] Logging level set to:debug
[2026-01-31 16:01:58.071326] [debug] Payload recibido: {"uuid":"3f9f23b6-bfd0-45cd-90d6-7d9a50bf7fb5","changeType":"draft_approved","entity":"invoice","entityId":"3068","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3068,"clientId":25,"number":"003014","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3085,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:58.283840] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:58.284066] [debug] Aprobación de Factura
[2026-01-31 16:01:59.516757] [notice] Logging level set to:debug
[2026-01-31 16:01:59.516896] [debug] Payload recibido: {"uuid":"c1474d3e-36d1-4002-b35a-c863e7390c0c","changeType":"draft_approved","entity":"invoice","entityId":"3069","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3069,"clientId":19,"number":"003015","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3086,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:01:59.785778] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:01:59.786024] [debug] Aprobación de Factura
[2026-01-31 16:02:01.810692] [notice] Logging level set to:debug
[2026-01-31 16:02:01.810844] [debug] Payload recibido: {"uuid":"b8bfa10a-fb67-4cb3-9bd7-68db0683435c","changeType":"draft_approved","entity":"invoice","entityId":"3070","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3070,"clientId":88,"number":"003016","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3087,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:02.107806] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:02.111397] [debug] Aprobación de Factura
[2026-01-31 16:02:03.458816] [notice] Logging level set to:debug
[2026-01-31 16:02:03.458956] [debug] Payload recibido: {"uuid":"ee13a78f-725c-404f-a971-f379fdbc271f","changeType":"draft_approved","entity":"invoice","entityId":"3071","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3071,"clientId":5,"number":"003017","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-31T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3088,"type":"service","label":"INTERMEDIO 31\/01\/2026 \u2013 27\/02\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:03.725424] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:03.725541] [debug] Aprobación de Factura
[2026-01-31 16:02:03.725605] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181091933
[2026-01-31 16:02:03.725673] [debug] onlyUpdate: Teléfono validado: 5214181091933
[2026-01-31 16:02:13.886636] [notice] Logging level set to:debug
[2026-01-31 16:02:13.886806] [debug] Payload recibido: {"uuid":"2905f413-99e5-4d22-a06b-5d22642c23c6","changeType":"draft_approved","entity":"invoice","entityId":"3072","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3072,"clientId":86,"number":"003018","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3089,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:14.105185] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:14.105448] [debug] Aprobación de Factura
[2026-01-31 16:02:14.274759] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MARTIN TREJO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https:\/\/dash.callbell.eu\/chat\/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena\/Sectorial":"Sec3-Sb 172.16.55.13\/24","Site":"SBARB","Estado":"\ud83d\udfe0 Suspendido","user entry point":"inbound_message","Domicilio":"\ud83d\udccd Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Cliente":"94","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/94","Monto Ultimo Pago":"\ud83d\udcb2 200","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5","Nombre":"\ud83d\udc64 MARTIN TREJO","user name":"+524181091933","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:00","Resumen":"{\"Cliente\": \"94\",\"Nombre\": \"MARTIN TREJO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/94\",\"Saldo Actual\": \"\ud83d\udcb27500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 31\/01\/2024 15:59 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": \"\"}","Saldo Actual":"\ud83d\udcb27500 pendientes"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:02:14.274827] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181091933
Notificacion data: {"uuid":"ee13a78f-725c-404f-a971-f379fdbc271f","changeType":"draft_approved","entity":"invoice","entityId":3071,"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":[{"id":246,"clientId":5,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-2000,"accountCredit":0,"accountOutstanding":2000,"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":3071,"clientId":5,"number":"003017","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-31T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3088,"type":"service","label":"INTERMEDIO 31\/01\/2026 \u2013 27\/02\/2026","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,"printed":false},"paymentData":null}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":699,"clientId":5,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:24:35-0600","amount":15033.33,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":868,"invoiceId":3,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":869,"invoiceId":4,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":870,"invoiceId":71,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":3533.33},{"id":871,"invoiceId":174,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":872,"invoiceId":324,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":873,"invoiceId":381,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":874,"invoiceId":547,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":875,"invoiceId":676,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":876,"invoiceId":800,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":877,"invoiceId":931,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":878,"invoiceId":1050,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":879,"invoiceId":1117,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":880,"invoiceId":1278,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":881,"invoiceId":1368,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":882,"invoiceId":1531,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":883,"invoiceId":1621,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":884,"invoiceId":1785,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":885,"invoiceId":1847,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":886,"invoiceId":1978,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":887,"invoiceId":2159,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":888,"invoiceId":2282,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":889,"invoiceId":2365,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":890,"invoiceId":2508,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500},{"id":891,"invoiceId":2604,"paymentId":699,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":1015,"attributes":[]}]
Nombre del cliente que se va a actualizar: MUCIO ROBLEDO
UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4
JSON con los datos a actualizar: {"name":"MUCIO ROBLEDO","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/5","Nombre":"\ud83d\udc64 MUCIO ROBLEDO","Cliente":5,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:02","Saldo Actual":"\ud83d\udcb22000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 15033.33","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:24 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"5\",\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/5\",\"Saldo Actual\": \"\ud83d\udcb22000 pendientes\",\"Monto Ultimo Pago\": \"$ 15033.33\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:24 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7500 pendientes'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2000 pendientes'
DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
EJECUTANDO PATCH - Se detectaron cambios
[2026-01-31 16:02:14.590061] [notice] Logging level set to:debug
[2026-01-31 16:02:14.590121] [debug] Payload recibido: {"uuid":"ac013c33-a337-4b6b-a6df-175378a2e0e7","changeType":"draft_approved","entity":"invoice","entityId":"3073","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3073,"clientId":84,"number":"003019","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3090,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:15.025228] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:15.025357] [debug] Aprobación de Factura
[2026-01-31 16:02:15.407795] [notice] Logging level set to:debug
[2026-01-31 16:02:15.407936] [debug] Payload recibido: {"uuid":"f5ef180a-93f4-4ed6-a951-bdf0671005f0","changeType":"draft_approved","entity":"invoice","entityId":"3074","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3074,"clientId":28,"number":"003020","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3091,"type":"service","label":"INTERMEDIO 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
Response Patch CallBell: {"contact":{"uuid":"92dd9fb15b8f4ff6860f8a32ea9bd7e4","name":"MUCIO ROBLEDO","phoneNumber":"5214181091933","avatarUrl":null,"createdAt":"2023-12-22T16:55:50Z","closedAt":"2026-01-07T17:43:43Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/92dd9fb15b8f4ff6860f8a32ea9bd7e4","conversationHref":"https://dash.callbell.eu/chat/04a3e26142e0431789260acb0b60a3ac","tags":["Sus","sSBARB"],"assignedUser":null,"customFields":{"Clabe Interbancaria":"124180650659256341","Antena/Sectorial":"Sec3-Sb 172.16.55.13/24","Site":"SBARB","Estado":"🟠 Suspendido","user entry point":"inbound_message","Domicilio":"📍 CORREGIDORA #61, ZONA CENTRO, Dolores Hidalgo, 37800","Cliente":"5","URL":"🌐 https://sistema.siip.mx/crm/client/5","Monto Ultimo Pago":"💲 15033.33","Fecha Ultimo Pago":"📆💸 28/11/2025 12:24 con Efectivo 💵","Nombre":"👤 MUCIO ROBLEDO","user name":"+524181091933","Fecha Ultima Actualizacion":"📆🔄️ 31/01/2026 10:02","Resumen":"{\"Cliente\": \"5\",\"Nombre\": \"MUCIO ROBLEDO\",\"URL\": \"https://sistema.siip.mx/crm/client/5\",\"Saldo Actual\": \"💲2000 pendientes\",\"Monto Ultimo Pago\": \"$ 15033.33\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:24 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"31/01/2026 10:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Saldo Actual":"💲2000 pendientes","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"type":"whatsapp","main":true},"blockedAt":null}}
[2026-01-31 16:02:15.629734] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:15.629934] [debug] Aprobación de Factura
[2026-01-31 16:02:16.045887] [notice] Logging level set to:debug
[2026-01-31 16:02:16.046029] [debug] Payload recibido: {"uuid":"26dc14f6-39fd-41b4-b78c-583219fb4f4e","changeType":"draft_approved","entity":"invoice","entityId":"3075","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3075,"clientId":33,"number":"003021","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3092,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:16.296713] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:16.296936] [debug] Aprobación de Factura
[2026-01-31 16:02:16.912205] [notice] Logging level set to:debug
[2026-01-31 16:02:16.912350] [debug] Payload recibido: {"uuid":"5266263f-a379-4656-a2c8-95a646e54407","changeType":"draft_approved","entity":"invoice","entityId":"3076","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3076,"clientId":83,"number":"003022","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3093,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:17.158477] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:17.158688] [debug] Aprobación de Factura
[2026-01-31 16:02:18.438647] [notice] Logging level set to:debug
[2026-01-31 16:02:18.438707] [debug] Payload recibido: {"uuid":"ea353f1c-4c61-4567-8d56-d101dc8f185c","changeType":"draft_approved","entity":"invoice","entityId":"3077","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3077,"clientId":51,"number":"003023","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3094,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:18.709867] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:18.710069] [debug] Aprobación de Factura
[2026-01-31 16:02:20.159015] [notice] Logging level set to:debug
[2026-01-31 16:02:20.159143] [debug] Payload recibido: {"uuid":"57920084-07eb-4568-a445-039dd260fa75","changeType":"draft_approved","entity":"invoice","entityId":"3078","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3078,"clientId":43,"number":"003024","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3095,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:20.390223] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:20.390506] [debug] Aprobación de Factura
[2026-01-31 16:02:21.532707] [notice] Logging level set to:debug
[2026-01-31 16:02:21.532839] [debug] Payload recibido: {"uuid":"bb98cc06-5fed-4baf-b23a-bc8669ff5659","changeType":"draft_approved","entity":"invoice","entityId":"3079","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3079,"clientId":7,"number":"003025","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3096,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:21.738373] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:21.738604] [debug] Aprobación de Factura
[2026-01-31 16:02:23.261543] [notice] Logging level set to:debug
[2026-01-31 16:02:23.265502] [debug] Payload recibido: {"uuid":"3d9c8a4d-a69e-464c-8cf8-5a143e454afe","changeType":"draft_approved","entity":"invoice","entityId":"3080","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3080,"clientId":81,"number":"003026","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3097,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:23.510874] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:23.511059] [debug] Aprobación de Factura
[2026-01-31 16:02:24.855106] [notice] Logging level set to:debug
[2026-01-31 16:02:24.855236] [debug] Payload recibido: {"uuid":"050f5894-61d4-4380-995c-53fe39ce9ff2","changeType":"draft_approved","entity":"invoice","entityId":"3081","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3081,"clientId":96,"number":"003027","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3098,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:25.113260] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:25.113380] [debug] Aprobación de Factura
[2026-01-31 16:02:26.350811] [notice] Logging level set to:debug
[2026-01-31 16:02:26.350950] [debug] Payload recibido: {"uuid":"1b027dad-baff-410a-ab58-4ebef62b16e4","changeType":"draft_approved","entity":"invoice","entityId":"3082","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3082,"clientId":80,"number":"003028","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3099,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:26.629363] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:26.633676] [debug] Aprobación de Factura
[2026-01-31 16:02:27.747327] [notice] Logging level set to:debug
[2026-01-31 16:02:27.747452] [debug] Payload recibido: {"uuid":"b1c2b316-081f-443e-ac5e-8a507e0c5860","changeType":"draft_approved","entity":"invoice","entityId":"3083","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3083,"clientId":70,"number":"003029","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3100,"type":"service","label":"PREMIUM 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:27.952615] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:27.952845] [debug] Aprobación de Factura
[2026-01-31 16:02:29.201518] [notice] Logging level set to:debug
[2026-01-31 16:02:29.201652] [debug] Payload recibido: {"uuid":"1ce7a2e6-9c71-4a04-b4ba-ba50ccd6bc9c","changeType":"draft_approved","entity":"invoice","entityId":"3084","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3084,"clientId":17,"number":"003030","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3101,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:29.548582] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:29.548727] [debug] Aprobación de Factura
[2026-01-31 16:02:30.911590] [notice] Logging level set to:debug
[2026-01-31 16:02:30.911737] [debug] Payload recibido: {"uuid":"2e3c48bf-218f-4bde-8500-93e7faa40a5b","changeType":"draft_approved","entity":"invoice","entityId":"3085","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3085,"clientId":49,"number":"003031","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3102,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:31.137578] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:31.137770] [debug] Aprobación de Factura
[2026-01-31 16:02:32.443581] [notice] Logging level set to:debug
[2026-01-31 16:02:32.443645] [debug] Payload recibido: {"uuid":"81e76a3d-03b9-4532-9e19-e45dafef25a8","changeType":"draft_approved","entity":"invoice","entityId":"3086","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3086,"clientId":44,"number":"003032","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3103,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:32.670572] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:32.670692] [debug] Aprobación de Factura
[2026-01-31 16:02:33.918476] [notice] Logging level set to:debug
[2026-01-31 16:02:33.918557] [debug] Payload recibido: {"uuid":"f2da340e-0398-402e-8cf5-3aaccd47349f","changeType":"draft_approved","entity":"invoice","entityId":"3087","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3087,"clientId":35,"number":"003033","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3104,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:34.237776] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:34.238003] [debug] Aprobación de Factura
[2026-01-31 16:02:35.475070] [notice] Logging level set to:debug
[2026-01-31 16:02:35.475213] [debug] Payload recibido: {"uuid":"e127e24d-9908-40ef-9091-4bddd14f3a55","changeType":"draft_approved","entity":"invoice","entityId":"3088","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3088,"clientId":24,"number":"003034","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3105,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:35.720705] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:35.720927] [debug] Aprobación de Factura
[2026-01-31 16:02:36.954102] [notice] Logging level set to:debug
[2026-01-31 16:02:36.954282] [debug] Payload recibido: {"uuid":"7b103789-ac36-495a-80da-676309e6834a","changeType":"draft_approved","entity":"invoice","entityId":"3089","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3089,"clientId":47,"number":"003035","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3106,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:37.193854] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:37.194082] [debug] Aprobación de Factura
[2026-01-31 16:02:38.441148] [notice] Logging level set to:debug
[2026-01-31 16:02:38.446341] [debug] Payload recibido: {"uuid":"6bf518ae-b6c2-4c6e-9715-377af4787627","changeType":"draft_approved","entity":"invoice","entityId":"3090","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3090,"clientId":56,"number":"003036","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3107,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:38.713758] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:38.713968] [debug] Aprobación de Factura
[2026-01-31 16:02:40.038220] [notice] Logging level set to:debug
[2026-01-31 16:02:40.038395] [debug] Payload recibido: {"uuid":"9a635955-6271-414a-b581-68c2cb3d7933","changeType":"draft_approved","entity":"invoice","entityId":"3091","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3091,"clientId":42,"number":"003037","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3108,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:40.268637] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:40.268884] [debug] Aprobación de Factura
[2026-01-31 16:02:41.563312] [notice] Logging level set to:debug
[2026-01-31 16:02:41.563458] [debug] Payload recibido: {"uuid":"ea73d487-5c43-4a73-b608-8496c9511b79","changeType":"draft_approved","entity":"invoice","entityId":"3092","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3092,"clientId":78,"number":"003038","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3109,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:41.859482] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:41.859730] [debug] Aprobación de Factura
[2026-01-31 16:02:43.009995] [notice] Logging level set to:debug
[2026-01-31 16:02:43.010047] [debug] Payload recibido: {"uuid":"519ab450-71fa-4a40-b441-48e067b87567","changeType":"draft_approved","entity":"invoice","entityId":"3093","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3093,"clientId":69,"number":"003039","createdDate":"2026-01-31T10:00:01-0600","dueDate":"2026-02-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-30T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3110,"type":"service","label":"plan300 31\/12\/2025 \u2013 30\/01\/2026","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,"printed":false},"entityBeforeEdit":null}}
[2026-01-31 16:02:43.262856] [debug] Evento recibido: invoice.draft_approved
[2026-01-31 16:02:43.262986] [debug] Aprobación de Factura
[PROPAGATED_DEBUG] Image Request: File=logo-empresa.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/logo-empresa.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/logo-empresa.png. Size: 48352 bytes
[PROPAGATED_DEBUG] Image Request: File=instalador.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/instalador.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/instalador.png. Size: 13689 bytes
[PROPAGATED_DEBUG] Image Request: File=whatsapp-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/whatsapp-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png. Size: 85794 bytes
[PROPAGATED_DEBUG] Image Request: File=stripe-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/stripe-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/stripe-logo.png. Size: 22209 bytes
[PROPAGATED_DEBUG] Image Request: File=oxxo-logo.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/oxxo-logo.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/oxxo-logo.png. Size: 755752 bytes
[PROPAGATED_DEBUG] Image Request: File=whatsapp-logo-button.png | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/whatsapp-logo-button.png | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png | Exists=NO
[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo-button.png. Size: 9568 bytes
[2026-01-31 16:11:27.823690] [notice] Logging level set to:debug
[2026-01-31 16:11:27.823828] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 16:11:27.990641] [debug] Evento recibido: payment.add
[2026-01-31 16:11:27.990933] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 16:11:28.504060] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875888.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875888.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875888.jpg"
},
"template_values": ["Juan Escutia", "$525", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"f5e6304a2fa84d069d863dbabdff8d6d","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:11","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:11\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 16:12:55.092113] [notice] Logging level set to:debug
[2026-01-31 16:12:55.092252] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 16:12:55.228610] [debug] Evento recibido: payment.add
[2026-01-31 16:12:55.228766] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 16:12:55.847119] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875975.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875975.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769875975.jpg"
},
"template_values": ["Juan Escutia", "$365", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"35934f79212841aebee20893dc075e59","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":939,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":939,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T17:57:52-0600","amount":365,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":365,"userId":1180,"attributes":[{"id":"d91466a4-82b1-498e-a98a-85bf9a82557a","paymentId":939,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:12","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:12\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 16:55:28.072726] [notice] Logging level set to:debug
[2026-01-31 16:55:28.072859] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 16:55:28.216125] [debug] Evento recibido: payment.add
[2026-01-31 16:55:28.216288] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 16:55:28.687238] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878528.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878528.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878528.jpg"
},
"template_values": ["Juan Escutia", "$525", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"ba2b308a7ef745599f75fa44520eb46f","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:55","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:55\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar
[2026-01-31 16:59:17.595541] [notice] Logging level set to:debug
[2026-01-31 16:59:17.595700] [debug] Payload recibido: {"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
[2026-01-31 16:59:17.751962] [debug] Evento recibido: payment.add
[2026-01-31 16:59:17.752227] [debug] Notification encodificado en JSON:{"uuid":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Eviando comprobante de pago al cliente: 135 con número: 524181878106
El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
Procesando PDF con microservicio: http://172.16.5.134:8050/process
Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
[2026-01-31 16:59:18.501723] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878758.jpg
Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878758.jpg
Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
Proceso de obtención de imagen finalizado.
La cadena CURL que se envia es: {
"to": "524181878106",
"from": "whatsapp",
"type": "document",
"content": {
"text": "S/M",
"url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769878758.jpg"
},
"template_values": ["Juan Escutia", "$525", "$7720 a favor"],
"template_uuid": "57ead79cebd14902921477922403093b",
"optin_contact": true
}
Response del CallBell: {"message":{"uuid":"b7aa80cc2a414a0caec88d2c871e1c37","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":"manual-trigger","changeType":"insert","entity":"payment","entityId":940,"message":null,"clientId":135,"eventName":"payment.add","clientData":{"id":135,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"13 Calle San Antonio","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37806","fullAddress":"Calle San Antonio 13, Lindavista, 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":"Juan","lastName":"Escutia","username":null,"contacts":[{"id":139,"clientId":135,"email":"juanvaliente@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":137,"clientId":135,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QJk0PDx5ClqJ4w","clientZoneVisible":true},{"id":138,"clientId":135,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180674088308545","clientZoneVisible":true},{"id":222,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":7720,"accountCredit":7720,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.1468281,"addressGpsLon":-100.9577464,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":940,"clientId":135,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-01-30T18:02:04-0600","amount":525,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":525,"userId":1180,"attributes":[{"id":"294c3e15-6927-46be-b2df-6bbf3f44d86a","paymentId":940,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}}
Dentro del proceso del patch:
Datos traidos con payment api: [{"id":941,"clientId":135,"methodId":"4145b5f5-3bbc-45e3-8fc5-9cda970c62fb","checkNumber":null,"createdDate":"2026-01-31T01:44:00-0600","amount":245,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":245,"userId":1180,"attributes":[{"id":"1e81d01b-76bc-4d8a-9f3e-448c5aad24b8","paymentId":941,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Transferencia Bancaria","clientZoneVisible":true}]}]
Nombre del cliente que se va a actualizar: Juan Escutia
UUID: 74cc2bb45eb8409f92cd5dba99200d26
JSON con los datos a actualizar: {"name":"Juan Escutia","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Nombre":"\ud83d\udc64 Juan Escutia","Cliente":135,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 31\/01\/2026 10:59","Saldo Actual":"\ud83d\udcb27720 a favor","Monto Ultimo Pago":"\ud83d\udcb2 245","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/135\",\"Saldo Actual\": \"\ud83d\udcb27720 a favor\",\"Monto Ultimo Pago\": \"$ 245\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 31\/01\/2026 01:44 con Transferencia bancaria \ud83d\udcf1\ud83c\udfe6\",\"Fecha Ultima Actualizacion\": \"31\/01\/2026 10:59\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
NO SE EJECUTA PATCH - No hay cambios que actualizar