From 24c32f63340be451a27d8bca7537e01bd209c7e5 Mon Sep 17 00:00:00 2001 From: DANYDHSV Date: Sat, 31 Jan 2026 11:44:23 -0600 Subject: [PATCH] corregido doble payment intent y reenvio de comprobantes --- data/config.json | 2 +- data/plugin.log | 12715 ++++------------ manifest.json | 14 + src/Facade/AbstractStripeOperationsFacade.php | 293 +- src/Facade/ClientCallBellAPI.php | 78 +- src/Plugin.php | 99 +- test_microservice_patch.php | 32 + 7 files changed, 3358 insertions(+), 9875 deletions(-) create mode 100644 test_microservice_patch.php diff --git a/data/config.json b/data/config.json index 150f70c0..2bcd9dff 100755 --- a/data/config.json +++ b/data/config.json @@ -1 +1 @@ -{"ipserver":"venus.siip.mx","apitoken":"gvcnIJqXdUjneVSjhl6THLlQcYXJyIFCcwHKVba2bvIrNraanCTb5VeoWuJ0TFZ9","unmsApiToken":"079c28f5-888c-457d-bd7a-0a4202590f75","tokencallbell":"g8thcZkXGd3xBj2g3TtYNYFMH1fuesbJ.b6a940ea7d78cf6c9e42f067b21c8ddf96e9fa2a9e307bfd0c7c7c4d7fa38f79","tokenstripe":"sk_test_51OkG0REFY1WEUtgRH6UxBK5pu80Aq5Iy8EcdPnf0cOWzuVLQTpyLCd7CbPzqMsWMafZOHElCxhEHF7g8boURjWlJ00tBwE0W1M","hostServerFTP":"siip.mx","usernameServerFTP":"siip0001","passServerFTP":"$spGiT,[wa)n","ipPuppeteer":"172.16.5.134","portPuppeteer":"4100","idPaymentAdminCRM":"1180","cashPaymentMethodId":false,"courtesyPaymentMethodId":false,"bankTransferPaymentMethodId":true,"paypalPaymentMethodId":true,"creditCardPaypalPaymentMethodId":true,"creditCardStripePaymentMethodId":true,"stripeSubscriptionCreditCardPaymentMethodId":true,"paypalSubscriptionPaymentMethodId":true,"mercadopagoPaymentMethodId":true,"checkPaymentMethodId":true,"customPaymentMethodId":true,"notificationTypeText":false,"installersDataWhatsApp":"{\r\n \"instaladores\": [\r\n {\r\n \"id\": 1019,\r\n \"nombre\": \"Mucio Robledo\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1173,\r\n \"nombre\": \"Ángel Arvizu\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1172,\r\n \"nombre\": \"Juan Rostro\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1015,\r\n \"nombre\": \"Daniel Humberto\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1131,\r\n \"nombre\": \"Gricelda Avalos\",\r\n \"whatsapp\": \"4181817609\"\r\n }\r\n ]\r\n}","debugMode":true,"minioEndpoint":"http://172.16.5.134:9002","minioPublicUrl":"https://aws-venus.siip.mx","minioAccessKey":"minioadmin","minioSecretKey":"minioadmin","minioBucket":"vouchers-oxxo","logging_level":true} \ No newline at end of file +{"ipserver":"venus.siip.mx","apitoken":"gvcnIJqXdUjneVSjhl6THLlQcYXJyIFCcwHKVba2bvIrNraanCTb5VeoWuJ0TFZ9","unmsApiToken":"079c28f5-888c-457d-bd7a-0a4202590f75","tokencallbell":"g8thcZkXGd3xBj2g3TtYNYFMH1fuesbJ.b6a940ea7d78cf6c9e42f067b21c8ddf96e9fa2a9e307bfd0c7c7c4d7fa38f79","tokenstripe":"sk_test_51OkG0REFY1WEUtgRH6UxBK5pu80Aq5Iy8EcdPnf0cOWzuVLQTpyLCd7CbPzqMsWMafZOHElCxhEHF7g8boURjWlJ00tBwE0W1M","hostServerFTP":"siip.mx","usernameServerFTP":"siip0001","passServerFTP":"$spGiT,[wa)n","ipPuppeteer":"172.16.5.134","portPuppeteer":"4100","idPaymentAdminCRM":"1180","cashPaymentMethodId":true,"courtesyPaymentMethodId":true,"bankTransferPaymentMethodId":true,"paypalPaymentMethodId":true,"creditCardPaypalPaymentMethodId":true,"creditCardStripePaymentMethodId":true,"stripeSubscriptionCreditCardPaymentMethodId":true,"paypalSubscriptionPaymentMethodId":true,"mercadopagoPaymentMethodId":true,"checkPaymentMethodId":true,"customPaymentMethodId":true,"notificationTypeText":false,"installersDataWhatsApp":"{\r\n \"instaladores\": [\r\n {\r\n \"id\": 1019,\r\n \"nombre\": \"Mucio Robledo\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1173,\r\n \"nombre\": \"Ángel Arvizu\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1172,\r\n \"nombre\": \"Juan Rostro\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1015,\r\n \"nombre\": \"Daniel Humberto\",\r\n \"whatsapp\": \"4181878106\"\r\n },\r\n {\r\n \"id\": 1131,\r\n \"nombre\": \"Gricelda Avalos\",\r\n \"whatsapp\": \"4181817609\"\r\n }\r\n ]\r\n}","debugMode":true,"minioEndpoint":"http://172.16.5.134:9002","minioPublicUrl":"https://aws-venus.siip.mx","minioAccessKey":"minioadmin","minioSecretKey":"minioadmin","minioBucket":"vouchers-oxxo","logging_level":true,"oxxoPayPaymentMethodId":true,"creditDebitCardPaymentMethodId":true} \ No newline at end of file diff --git a/data/plugin.log b/data/plugin.log index 6fe6549c..ac212371 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -1,5699 +1,169 @@ -[2026-01-13 8:03:23.084841] [notice] Logging level set to:debug -[2026-01-13 8:03:23.084930] [debug] Payload recibido: { -"type": "oxxo.request", -"client_id": 146 - -} - -[2026-01-13 8:03:23.084959] [info] No UUID found in the webhook data -[2026-01-13 8:03:23.084970] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow) -[2026-01-13 8:03:24.489784] [debug] Respuesta Async OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbWJuZFI4V29zVG16aDVjOVNiVEVIc3lmcXVudnpi0100Nsvi0sIL","error":"","clientID":146,"clientFullName":"Delfino De los Mares","amount":300,"voucher_image_url":"","order_id":25} -[2026-01-13 8:03:24.490082] [info] Iniciando background job para Orden #25 -[2026-01-13 8:03:24.490232] [info] Iniciando generación en background para Orden #25 -[2026-01-13 8:03:27.870625] [info] Imagen generada y guardada localmente: voucher_Delfino_De_los_Mares_1768291404.jpeg -Subiendo voucher a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../vouchers_oxxo/voucher_Delfino_De_los_Mares_1768291404.jpeg - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Delfino_De_los_Mares_1768291404.jpeg - -[2026-01-13 8:03:29.051945] [info] Imagen subida a FTP: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Delfino_De_los_Mares_1768291404.jpeg -[2026-01-13 8:03:29.055629] [info] Background job finalizado para Orden #25 -[2026-01-13 8:03:36.681308] [notice] Logging level set to:debug -[2026-01-13 8:03:36.681435] [debug] Payload recibido: { - "type": "oxxo.retrieve", - "order_id": 25 -} - - -[2026-01-13 8:03:36.681495] [info] No UUID found in the webhook data -[2026-01-13 8:03:36.681540] [info] Evento de recuperación de orden OXXO recibido -[2026-01-13 8:03:36.685337] [debug] Estado recuperado para Orden #25: {"id":25,"client_id":146,"amount":"300.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbWJuZFI4V29zVG16aDVjOVNiVEVIc3lmcXVudnpi0100Nsvi0sIL","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_1768291404.jpeg","voucher_image_url":"https:\/\/siip.mx\/wp\/wp-content\/uploads\/vouchers_oxxo\/voucher_Delfino_De_los_Mares_1768291404.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares","created_at":"2026-01-13T08:03:24.485Z","updated_at":"2026-01-13T08:03:27.868Z"} -[2026-01-13 8:06:30.051321] [notice] Logging level set to:debug -[2026-01-13 8:06:30.051415] [debug] Payload recibido: { - "id": "evt_3Sp2ZSEFY1WEUtgR0LnUUdXj", +[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": 1768291589, + "created": 1769805321, "data": { "object": { - "id": "pi_3Sp2ZSEFY1WEUtgR0x3XAmz0", - "object": "payment_intent", - "amount": 30000, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 30000, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "automatic", - "client_secret": "pi_3Sp2ZSEFY1WEUtgR0x3XAmz0_secret_oP2J4CTenULKQstJgiKXkijSA", - "confirmation_method": "automatic", - "created": 1768291402, + "id": "ccsbtxn_1SvOPVEFY1WEUtgR8tqpqGmd", + "object": "customer_cash_balance_transaction", + "created": 1769805321, "currency": "mxn", - "customer": "cus_QZ7T1h3th3Dr7w", + "customer": "cus_QJk0PDx5ClqJ4w", "customer_account": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "py_3Sp2ZSEFY1WEUtgR02NAadDk", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1Sp2ZTEFY1WEUtgRjvnUgGtN", - "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 + "ending_balance": 10000, + "funded": { + "bank_transfer": { + "reference": "", + "type": "mx_bank_transfer" } }, - "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-13 8:06:30.051512] [info] No UUID found in the webhook data -[2026-01-13 8:06:30.051532] [info] Evento de pago exitoso (Stripe PI) recibido. -[2026-01-13 8:06:30.052361] [warning] PaymentIntent pi_3Sp2ZSEFY1WEUtgR0x3XAmz0 no tiene clientId en metadata. -[2026-01-13 8:06:30.225867] [notice] Logging level set to:debug -[2026-01-13 8:06:30.226021] [debug] Payload recibido: { - "id": "evt_3Sp2ZSEFY1WEUtgR0KhI4rSP", - "object": "event", - "api_version": "2023-10-16", - "created": 1768291589, - "data": { - "object": { - "id": "py_3Sp2ZSEFY1WEUtgR02NAadDk", - "object": "charge", - "amount": 30000, - "amount_captured": 30000, - "amount_refunded": 0, - "application": null, - "application_fee": null, - "application_fee_amount": null, - "balance_transaction": "txn_3Sp2ZSEFY1WEUtgR0OR4HpWr", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": "mariscoselsietemares@gmail.com", - "name": "Delfino De los Mares", - "phone": null, - "tax_id": null - }, - "calculated_statement_descriptor": null, - "captured": true, - "created": 1768291588, - "currency": "mxn", - "customer": "cus_QZ7T1h3th3Dr7w", - "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": {}, - "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_3Sp2ZSEFY1WEUtgR0x3XAmz0", - "payment_method": "pm_1Sp2ZTEFY1WEUtgRjvnUgGtN", - "payment_method_details": { - "oxxo": { - "number": "12345678901234657890123456789012" - }, - "type": "oxxo" - }, - "radar_options": {}, - "receipt_email": null, - "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIX6l8sGMgb-Hqhm72g6LBYAyec3EkYVNZCkmgO2BKr8UgfDdNIRb7u8-hTzAbO0M0Fj6B_14rhHLWod", - "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-13 8:06:30.226128] [info] No UUID found in the webhook data -[2026-01-13 8:21:56.000955] [notice] Logging level set to:debug -[2026-01-13 8:21:56.001043] [debug] Payload recibido: { -"type": "oxxo.request", -"client_id": 146 - -} - -[2026-01-13 8:21:56.001066] [info] No UUID found in the webhook data -[2026-01-13 8:21:56.001079] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow) -[2026-01-13 8:21:57.554620] [debug] Respuesta Async OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbWM1eFNBT3FUemZQbTVKZDdPdUh0V1FGclNXc1JK0100uxzaSELT","error":"","clientID":146,"clientFullName":"Delfino De los Mares","amount":300,"voucher_image_url":"","order_id":26} -[2026-01-13 8:21:57.554904] [info] Iniciando background job para Orden #26 -[2026-01-13 8:21:57.554938] [info] Iniciando generación en background para Orden #26 -[2026-01-13 8:22:00.980318] [info] Imagen generada y guardada localmente: voucher_Delfino_De_los_Mares_1768292517.jpeg -Subiendo voucher a worpdpress - -file_to_upload: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../vouchers_oxxo/voucher_Delfino_De_los_Mares_1768292517.jpeg - -Conexión FTP exitosa - -El archivo ha sido cargado exitosamente. - -La URL es: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Delfino_De_los_Mares_1768292517.jpeg - -[2026-01-13 8:22:02.080492] [info] Imagen subida a FTP: https://siip.mx/wp/wp-content/uploads/vouchers_oxxo/voucher_Delfino_De_los_Mares_1768292517.jpeg -[2026-01-13 8:22:02.084553] [info] Background job finalizado para Orden #26 -[2026-01-13 8:22:14.552103] [notice] Logging level set to:debug -[2026-01-13 8:22:14.552222] [debug] Payload recibido: { - "type": "oxxo.retrieve", - "order_id": 26 -} - - -[2026-01-13 8:22:14.552277] [info] No UUID found in the webhook data -[2026-01-13 8:22:14.552320] [info] Evento de recuperación de orden OXXO recibido -[2026-01-13 8:22:14.567632] [debug] Estado recuperado para Orden #26: {"id":26,"client_id":146,"amount":"300.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbWM1eFNBT3FUemZQbTVKZDdPdUh0V1FGclNXc1JK0100uxzaSELT","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_1768292517.jpeg","voucher_image_url":"https:\/\/siip.mx\/wp\/wp-content\/uploads\/vouchers_oxxo\/voucher_Delfino_De_los_Mares_1768292517.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares","created_at":"2026-01-13T08:21:57.550Z","updated_at":"2026-01-13T08:22:00.978Z"} -[2026-01-13 8:25:02.999862] [notice] Logging level set to:debug -[2026-01-13 8:25:03.000008] [debug] Payload recibido: { - "id": "evt_3Sp2rPEFY1WEUtgR1HHz3dSv", - "object": "event", - "api_version": "2023-10-16", - "created": 1768292702, - "data": { - "object": { - "id": "pi_3Sp2rPEFY1WEUtgR1rFVuIRR", - "object": "payment_intent", - "amount": 30000, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 30000, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "automatic", - "client_secret": "pi_3Sp2rPEFY1WEUtgR1rFVuIRR_secret_HjREPoxLYK3lSEN29pxPvl0o6", - "confirmation_method": "automatic", - "created": 1768292515, - "currency": "mxn", - "customer": "cus_QZ7T1h3th3Dr7w", - "customer_account": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "py_3Sp2rPEFY1WEUtgR1ef308pS", - "livemode": false, - "metadata": { - "signedInAdminId": "1180", - "createdBy": "UCRM", - "ucrm_client_id": "146", - "clientId": "146", - "paymentType": "card.one_time", - "tipoPago": "OXXO" - }, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1Sp2rQEFY1WEUtgRMpxDocqw", - "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-13 8:25:03.000101] [info] No UUID found in the webhook data -[2026-01-13 8:25:03.000144] [info] Evento de pago exitoso (Stripe PI) recibido. -[2026-01-13 8:25:03.179769] [notice] Logging level set to:debug -[2026-01-13 8:25:03.181327] [debug] Payload recibido: { - "id": "evt_3Sp2rPEFY1WEUtgR1lZyw5TW", - "object": "event", - "api_version": "2023-10-16", - "created": 1768292702, - "data": { - "object": { - "id": "py_3Sp2rPEFY1WEUtgR1ef308pS", - "object": "charge", - "amount": 30000, - "amount_captured": 30000, - "amount_refunded": 0, - "application": null, - "application_fee": null, - "application_fee_amount": null, - "balance_transaction": "txn_3Sp2rPEFY1WEUtgR10Eyc0wO", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": "mariscoselsietemares@gmail.com", - "name": "Delfino De los Mares", - "phone": null, - "tax_id": null - }, - "calculated_statement_descriptor": null, - "captured": true, - "created": 1768292701, - "currency": "mxn", - "customer": "cus_QZ7T1h3th3Dr7w", - "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": "146", - "clientId": "146", - "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_3Sp2rPEFY1WEUtgR1rFVuIRR", - "payment_method": "pm_1Sp2rQEFY1WEUtgRMpxDocqw", - "payment_method_details": { - "oxxo": { - "number": "12345678901234657890123456789012" - }, - "type": "oxxo" - }, - "radar_options": {}, - "receipt_email": null, - "receipt_number": null, - "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKN6CmMsGMgaw1gSTMxE6LBa5YkZy6PQ6bXgYyPIn5ijitmUbcOBz4Zn92tue3XsZkNhmcmBC9Oa_f3nn", - "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-13 8:25:03.181467] [info] No UUID found in the webhook data -[2026-01-13 8:25:04.040036] [notice] Logging level set to:debug -[2026-01-13 8:25:04.040142] [debug] Payload recibido: {"uuid":"101028c4-fed1-4a1c-b4ca-3382afaf4ada","changeType":"edit","entity":"invoice","entityId":"2945","eventName":"invoice.edit","extraData":{"entity":{"id":2945,"clientId":146,"number":"002891","createdDate":"2026-01-11T14:58:03-0600","dueDate":"2026-01-25T14:58:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2961,"type":"service","label":"Basico 300 01\/01\/2026 \u2013 31\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2945,"clientId":146,"number":"002891","createdDate":"2026-01-11T14:58:03-0600","dueDate":"2026-01-25T14:58:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2961,"type":"service","label":"Basico 300 01\/01\/2026 \u2013 31\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}} - -[2026-01-13 8:25:04.264430] [debug] Evento recibido: invoice.edit -[2026-01-13 8:25:04.264664] [debug] Edición de Factura - -Notificacion data: {"uuid":"101028c4-fed1-4a1c-b4ca-3382afaf4ada","changeType":"edit","entity":"invoice","entityId":2945,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol yeah hadfd","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2945,"clientId":146,"number":"002891","createdDate":"2026-01-11T14:58:03-0600","dueDate":"2026-01-25T14:58:03-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-11T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2961,"type":"service","label":"Basico 300 01\/01\/2026 \u2013 31\/01\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 02:25","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 02:25\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 02:25","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 02:25\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 8:25:06.469382] [notice] Logging level set to:debug -[2026-01-13 8:25:06.469480] [debug] Payload recibido: {"uuid":"7914c000-e8a2-4196-bd09-8c24870e1ce8","changeType":"insert","entity":"payment","entityId":"753","eventName":"payment.add","extraData":{"entity":{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}} - -[2026-01-13 8:25:06.718847] [debug] Evento recibido: payment.add -[2026-01-13 8:25:06.719119] [debug] Notification encodificado en JSON:{"uuid":"7914c000-e8a2-4196-bd09-8c24870e1ce8","changeType":"insert","entity":"payment","entityId":753,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol yeah hadfd","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -Eviando comprobante de pago al cliente: 146 con número: 5214181878106 - -Datos traidos con payment api: [{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Datos client data credit amount: 0 - -Verificar paymentCovers - -payment covers[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}] - -Datos del payment covers: - -Invoice ID pagado: 2945 de esta cantidad: 300 - -Todos los Invoice IDs: 2945 - -Todas las cantidades: 300,00 - -Numero de factura: 002891 - -TOTAL de factura: 300 - -Se terminó de verificar payment covers - -La cadena CURL que se envia es: { - "to": "5214181878106", - "from": "whatsapp", - "type": "text", - "content": { - "text": "John Doe" - }, - "template_values": ["Delfino De los Mares", "753", "146", "13/01/2026 2:25am", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "2945", "$300,00 MXN", "$300,00 MXN", "$0 está al corriente", "_________________________"], - "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5", - "optin_contact": true - } -Response del CallBell: {"message":{"uuid":"3eb19168c5294457b9f40823944b778c","status":"enqueued"}} -La notificación fue enviada correctamente con estado: enqueued - -Notificacion data: {"uuid":"7914c000-e8a2-4196-bd09-8c24870e1ce8","changeType":"insert","entity":"payment","entityId":753,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol yeah hadfd","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}} - -Dentro del proceso del patch: - -Datos traidos con payment api: [{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}] - -Nombre del cliente que se va a actualizar: Delfino De los Mares - -UUID: 74cc2bb45eb8409f92cd5dba99200d26 - -JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 02:25","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 02:25\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} - -Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 02:25","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 02:25\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 8:25:09.552541] [notice] Logging level set to:debug -[2026-01-13 8:25:09.552651] [debug] Payload recibido: {"uuid":"9176c08f-7b3c-4de1-abc0-1ec41a11321b","changeType":"edit","entity":"payment","entityId":"753","eventName":"payment.edit","extraData":{"entity":{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}} - -[2026-01-13 8:25:09.769670] [debug] Evento recibido: payment.edit -[2026-01-13 21:27:35.773953] [notice] Logging level set to:debug -[2026-01-13 21:27:35.774185] [debug] Payload recibido: { -"type": "oxxo.request", -"client_id": 146, -"amount": "300" -} - -[2026-01-13 21:27:35.774240] [info] No UUID found in the webhook data -[2026-01-13 21:27:35.774277] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow) -[2026-01-13 21:27:37.292113] [error] Error en generación síncrona: Client error: `POST http://172.16.5.134:4100/screenshot` resulted in a `404 Not Found` response: - - - - -Error - - -
Cannot POST /scr (truncated...)
-
-[2026-01-13 21:27:37.293101] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbW9sdkhmSXp4Qk14dE5CalBMbmFwWkliT0k3VmZu0100iXGzQGQ1","error":"","clientID":146,"clientFullName":"Delfino De los Mares","amount":"300","voucher_image_url":""}
-[2026-01-13 21:28:01.865333] [notice] Logging level set to:debug
-[2026-01-13 21:28:01.865509] [debug] Payload recibido: {"uuid":"ccd8ab18-f696-4b55-8b0d-8a95131357d4","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:28:02.003272] [debug] Evento recibido: client.edit
-[2026-01-13 21:28:02.003560] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:28:02.003675] [debug] Payload completo client.edit: {"uuid":"ccd8ab18-f696-4b55-8b0d-8a95131357d4","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:28:02.003732] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:28:02.003772] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:28:02.115089] [info] Llamada finalizada exitosamente.
-[2026-01-13 21:28:02.115242] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 21:28:02.823668] [info] Sincronización automática a Stripe exitosa para cliente 146.
-[2026-01-13 21:28:03.133599] [notice] Logging level set to:debug
-[2026-01-13 21:28:03.136010] [debug] Payload recibido: {
-  "id": "evt_1SpF8AEFY1WEUtgRlpBxNzPi",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768339682,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares Godinez",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_04YMFGCezCJzg2",
-    "idempotency_key": "8c8c09ce-c684-490d-8ed8-48c7db4a771a"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 21:28:03.136074] [info] No UUID found in the webhook data
-Notificacion data: {"uuid":"ccd8ab18-f696-4b55-8b0d-8a95131357d4","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":753,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T02:25:03-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1039,"invoiceId":2945,"paymentId":753,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Godinez","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:28","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 02:25 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:28","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 02:25 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:30:38.864299] [notice] Logging level set to:debug
-[2026-01-13 21:30:38.864469] [debug] Payload recibido: {
-  "id": "evt_3SpF7jEFY1WEUtgR1Do4S4KR",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768339837,
-  "data": {
-    "object": {
-      "id": "pi_3SpF7jEFY1WEUtgR17zWhRHX",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpF7jEFY1WEUtgR17zWhRHX_secret_POoSNAkshDsMeWxxQklFA2Gfd",
-      "confirmation_method": "automatic",
-      "created": 1768339655,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpF7jEFY1WEUtgR1aif6jRr",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpF7jEFY1WEUtgRUZtjD14d",
-      "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-13 21:30:38.864550] [info] No UUID found in the webhook data
-[2026-01-13 21:30:38.864588] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 21:30:38.922991] [notice] Logging level set to:debug
-[2026-01-13 21:30:38.923132] [debug] Payload recibido: {
-  "id": "evt_3SpF7jEFY1WEUtgR1BpTOzyR",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768339837,
-  "data": {
-    "object": {
-      "id": "py_3SpF7jEFY1WEUtgR1aif6jRr",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpF7jEFY1WEUtgR1m9OqPaL",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768339837,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpF7jEFY1WEUtgR17zWhRHX",
-      "payment_method": "pm_1SpF7jEFY1WEUtgRUZtjD14d",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKP3ymssGMga1dBQ_lyc6LBYHoQiAajQnbL4ru8-jE1CObpEPcsgvUht3JT_cUM6KQZsTiRASUYxqOtHn",
-      "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-13 21:30:38.923223] [info] No UUID found in the webhook data
-[2026-01-13 21:30:39.817703] [notice] Logging level set to:debug
-[2026-01-13 21:30:39.818300] [debug] Payload recibido: {"uuid":"e190793b-af00-46bc-b2ba-8c565410de1b","changeType":"edit","entity":"invoice","entityId":"2946","eventName":"invoice.edit","extraData":{"entity":{"id":2946,"clientId":146,"number":"002892","createdDate":"2026-01-13T15:19:41-0600","dueDate":"2026-01-27T15:19:41-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2962,"type":"service","label":"Basico 300 01\/02\/2026 \u2013 28\/02\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2946,"clientId":146,"number":"002892","createdDate":"2026-01-13T15:19:41-0600","dueDate":"2026-01-27T15:19:41-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2962,"type":"service","label":"Basico 300 01\/02\/2026 \u2013 28\/02\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-13 21:30:40.071255] [debug] Evento recibido: invoice.edit
-[2026-01-13 21:30:40.071537] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"e190793b-af00-46bc-b2ba-8c565410de1b","changeType":"edit","entity":"invoice","entityId":2946,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2946,"clientId":146,"number":"002892","createdDate":"2026-01-13T15:19:41-0600","dueDate":"2026-01-27T15:19:41-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2962,"type":"service","label":"Basico 300 01\/02\/2026 \u2013 28\/02\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Godinez","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:30","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:30","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:30:41.890558] [notice] Logging level set to:debug
-[2026-01-13 21:30:41.890621] [debug] Payload recibido: {"uuid":"aa7781d8-b279-43d9-9f58-176fd19e9220","changeType":"insert","entity":"payment","entityId":"754","eventName":"payment.add","extraData":{"entity":{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 21:30:42.259012] [debug] Evento recibido: payment.add
-[2026-01-13 21:30:42.259159] [debug] Notification encodificado en JSON:{"uuid":"aa7781d8-b279-43d9-9f58-176fd19e9220","changeType":"insert","entity":"payment","entityId":754,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2946 de esta cantidad: 300
-
-Todos los Invoice IDs: 2946
-
-Todas las cantidades: 300,00
-
-Numero de factura: 002892
-
-TOTAL de factura: 300
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares Godinez", "754", "146", "13/01/2026 3:30pm", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "2946", "$300,00 MXN", "$300,00 MXN", "$0 está al corriente", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"ae13f3c580d445208412d39e06e23318","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"aa7781d8-b279-43d9-9f58-176fd19e9220","changeType":"insert","entity":"payment","entityId":754,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Godinez","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:30","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:30","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:30\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:30:45.184578] [notice] Logging level set to:debug
-[2026-01-13 21:30:45.184809] [debug] Payload recibido: {"uuid":"267925f4-430c-4a7b-9942-aae06b9f9fcb","changeType":"edit","entity":"payment","entityId":"754","eventName":"payment.edit","extraData":{"entity":{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-13 21:30:45.386032] [debug] Evento recibido: payment.edit
-[2026-01-13 21:36:11.869071] [notice] Logging level set to:debug
-[2026-01-13 21:36:11.869240] [debug] Payload recibido: {"uuid":"955b7b68-afcf-48b0-bb12-04ee0d11ca1d","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeah","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:36:11.998408] [debug] Evento recibido: client.edit
-[2026-01-13 21:36:11.998683] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:36:11.998785] [debug] Payload completo client.edit: {"uuid":"955b7b68-afcf-48b0-bb12-04ee0d11ca1d","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeah","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y sol","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:36:11.998843] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:36:11.998886] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:36:12.101196] [info] Llamada finalizada exitosamente.
-Notificacion data: {"uuid":"955b7b68-afcf-48b0-bb12-04ee0d11ca1d","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeah","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Godinez","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:36","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:36","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:36:49.803292] [notice] Logging level set to:debug
-[2026-01-13 21:36:49.803435] [debug] Payload recibido: {"uuid":"d40a8852-471e-4f04-9f03-cc79841f6d09","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeah","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:36:49.919502] [debug] Evento recibido: client.edit
-[2026-01-13 21:36:49.919708] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:36:49.919805] [debug] Payload completo client.edit: {"uuid":"d40a8852-471e-4f04-9f03-cc79841f6d09","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeah","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:36:49.919859] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:36:49.919899] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:36:50.017034] [info] Llamada finalizada exitosamente.
-Notificacion data: {"uuid":"d40a8852-471e-4f04-9f03-cc79841f6d09","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Godinez","custom_fields":{"Site":"","Estado":"\ufffd Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:36","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:36","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:43:24.220705] [notice] Logging level set to:debug
-[2026-01-13 21:43:24.220801] [debug] Payload recibido: {"uuid":"ca66672f-928a-498f-b5e6-f03e8a5e4318","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:43:24.356821] [debug] Evento recibido: client.edit
-[2026-01-13 21:43:24.356946] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:43:24.357002] [debug] Payload completo client.edit: {"uuid":"ca66672f-928a-498f-b5e6-f03e8a5e4318","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:43:24.357029] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:43:24.357042] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:43:24.454773] [info] Llamada finalizada exitosamente.
-[2026-01-13 21:43:24.454885] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 21:43:25.116475] [info] Sincronización automática a Stripe exitosa para cliente 146.
-Notificacion data: {"uuid":"ca66672f-928a-498f-b5e6-f03e8a5e4318","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-[2026-01-13 21:43:25.940176] [notice] Logging level set to:debug
-[2026-01-13 21:43:25.940326] [debug] Payload recibido: {
-  "id": "evt_1SpFN2EFY1WEUtgRultxy223",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768340604,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares Mariscos",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares Godinez"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_1oPqD3L6Q67cll",
-    "idempotency_key": "2f612ff6-9864-4c2c-88b8-a9a17deb91f9"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 21:43:25.940388] [info] No UUID found in the webhook data
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Mariscos
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Mariscos","customFields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:43","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:43\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"� Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:36","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:50:02.870786] [notice] Logging level set to:debug
-[2026-01-13 21:50:02.876180] [debug] Payload recibido: {"uuid":"547d5dd5-b71f-499c-932a-3903b91c0c84","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:50:03.085660] [debug] Evento recibido: client.edit
-[2026-01-13 21:50:03.085982] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:50:03.086086] [debug] Payload completo client.edit: {"uuid":"547d5dd5-b71f-499c-932a-3903b91c0c84","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:50:03.088207] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:50:03.089720] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:50:03.374902] [info] Llamada finalizada exitosamente.
-[2026-01-13 21:50:03.375052] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 21:50:04.085042] [info] Sincronización automática a Stripe exitosa para cliente 146.
-[2026-01-13 21:50:04.458190] [notice] Logging level set to:debug
-[2026-01-13 21:50:04.458393] [debug] Payload recibido: {
-  "id": "evt_1SpFTTEFY1WEUtgRALFzEiuO",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768341003,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares Mariscos Godinez",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares Mariscos"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_LgiiXORMVMWaBJ",
-    "idempotency_key": "5d4c4269-4c4a-4045-b3a9-a19348608dcb"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 21:50:04.458460] [info] No UUID found in the webhook data
-Notificacion data: {"uuid":"547d5dd5-b71f-499c-932a-3903b91c0c84","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Mariscos Godinez
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Mariscos Godinez","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos Godinez","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:50","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:50","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Mariscos Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos Godinez\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:52:00.896965] [notice] Logging level set to:debug
-[2026-01-13 21:52:00.897056] [debug] Payload recibido: {"uuid":"9d7cb60b-2184-44a4-8901-843dc2de51f2","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:52:01.160615] [debug] Evento recibido: client.edit
-[2026-01-13 21:52:01.160846] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:52:01.160988] [debug] Payload completo client.edit: {"uuid":"9d7cb60b-2184-44a4-8901-843dc2de51f2","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos Godinez","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:52:01.161051] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:52:01.161092] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:52:01.323036] [info] Llamada finalizada exitosamente.
-[2026-01-13 21:52:01.323189] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 21:52:02.046741] [info] Sincronización automática a Stripe exitosa para cliente 146.
-[2026-01-13 21:52:02.354974] [notice] Logging level set to:debug
-[2026-01-13 21:52:02.355134] [debug] Payload recibido: {
-  "id": "evt_1SpFVNEFY1WEUtgRFJKv6kb5",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768341121,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares Mariscos",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares Mariscos Godinez"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_UbL6LdaQOfhXk3",
-    "idempotency_key": "d290f02c-c9d0-4943-8926-06e72d31433a"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 21:52:02.355196] [info] No UUID found in the webhook data
-Notificacion data: {"uuid":"9d7cb60b-2184-44a4-8901-843dc2de51f2","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Mariscos
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Mariscos","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos Godinez","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:50","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:50","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos Godinez","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos Godinez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:50\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:52","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:52:39.157383] [notice] Logging level set to:debug
-[2026-01-13 21:52:39.157531] [debug] Payload recibido: {"uuid":"dda62406-b756-4504-ac1e-629238e6be00","changeType":"insert","entity":"invoice","entityId":"2947","eventName":"invoice.add","extraData":{"entity":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-13 21:52:39.387880] [debug] Evento recibido: invoice.add
-[2026-01-13 21:52:39.388040] [debug] Adición de Factura
-
-[2026-01-13 21:52:39.388124] [debug] datos del notification para el invoice add:{"uuid":"dda62406-b756-4504-ac1e-629238e6be00","changeType":"insert","entity":"invoice","entityId":2947,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-13 21:52:39.388159] [debug] Account Balance: -300
-
-Notificacion data: {"uuid":"dda62406-b756-4504-ac1e-629238e6be00","changeType":"insert","entity":"invoice","entityId":2947,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares Mariscos
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares Mariscos","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:52","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:53:15.769381] [notice] Logging level set to:debug
-[2026-01-13 21:53:15.769526] [debug] Payload recibido: {"uuid":"ce71e7eb-3363-4bf4-aa31-bb0554677195","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 21:53:15.929907] [debug] Evento recibido: client.edit
-[2026-01-13 21:53:15.930099] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 21:53:15.930181] [debug] Payload completo client.edit: {"uuid":"ce71e7eb-3363-4bf4-aa31-bb0554677195","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares Mariscos","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 21:53:15.930237] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 21:53:15.930273] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 21:53:16.032139] [info] Llamada finalizada exitosamente.
-[2026-01-13 21:53:16.032275] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 21:53:16.735613] [info] Sincronización automática a Stripe exitosa para cliente 146.
-[2026-01-13 21:53:17.077167] [notice] Logging level set to:debug
-[2026-01-13 21:53:17.077358] [debug] Payload recibido: {
-  "id": "evt_1SpFWaEFY1WEUtgRouPhq6vH",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768341195,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares Mariscos"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_FoND7CcIwSh8T1",
-    "idempotency_key": "70a0c8f9-671b-4aaf-b402-8e79c1b48c87"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 21:53:17.077439] [info] No UUID found in the webhook data
-Notificacion data: {"uuid":"ce71e7eb-3363-4bf4-aa31-bb0554677195","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":754,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T15:30:39-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1040,"invoiceId":2946,"paymentId":754,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:53","Saldo Actual":"\ud83d\udcb2300 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares Mariscos","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2300 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2300 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:52","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares Mariscos","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares Mariscos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲300 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 15:53","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 15:30 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 15:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 21:58:59.375263] [notice] Logging level set to:debug
-[2026-01-13 21:58:59.375329] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146
-
-}
-
-[2026-01-13 21:58:59.375344] [info] No UUID found in the webhook data
-[2026-01-13 21:58:59.375364] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 21:59:00.738727] [error] Error en generación síncrona: Client error: `POST http://172.16.5.134:4100/screenshot` resulted in a `404 Not Found` response:
-
-
-
-
-Error
-
-
-
Cannot POST /scr (truncated...)
-
-[2026-01-13 21:59:00.739276] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXBHR2x2R2ZRSW9aQndGT2lNTWNEcXNnTFVzWGhh0100hQst0dbg","error":"","clientID":146,"clientFullName":"Delfino De los Mares","amount":300,"voucher_image_url":""}
-[2026-01-13 21:59:13.279529] [notice] Logging level set to:debug
-[2026-01-13 21:59:13.279683] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-13 21:59:13.279733] [info] No UUID found in the webhook data
-[2026-01-13 21:59:13.279772] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-13 21:59:13.279807] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-13 22:02:03.456604] [notice] Logging level set to:debug
-[2026-01-13 22:02:03.456691] [debug] Payload recibido: {
-  "id": "evt_3SpFc7EFY1WEUtgR1j8afV3q",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768341722,
-  "data": {
-    "object": {
-      "id": "pi_3SpFc7EFY1WEUtgR1eSO9p2n",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpFc7EFY1WEUtgR1eSO9p2n_secret_1H4utxU7wZLAjhoXnEnazoG4w",
-      "confirmation_method": "automatic",
-      "created": 1768341539,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpFc7EFY1WEUtgR1XQF0hmv",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpFc7EFY1WEUtgR1mSROXfb",
-      "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-13 22:02:03.456727] [info] No UUID found in the webhook data
-[2026-01-13 22:02:03.456737] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 22:02:03.588388] [notice] Logging level set to:debug
-[2026-01-13 22:02:03.588547] [debug] Payload recibido: {
-  "id": "evt_3SpFc7EFY1WEUtgR1iCxDeOZ",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768341722,
-  "data": {
-    "object": {
-      "id": "py_3SpFc7EFY1WEUtgR1XQF0hmv",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpFc7EFY1WEUtgR1d27KhP6",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768341721,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpFc7EFY1WEUtgR1eSO9p2n",
-      "payment_method": "pm_1SpFc7EFY1WEUtgR1mSROXfb",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNqBm8sGMgbTfIJ_4Qo6LBbxaRgejrpL5sEof0R_hBTt7VU-AQt5pFT3QTPhMOobykCe-nUy25Gqd_nc",
-      "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-13 22:02:03.588638] [info] No UUID found in the webhook data
-[2026-01-13 22:02:04.368474] [notice] Logging level set to:debug
-[2026-01-13 22:02:04.368650] [debug] Payload recibido: {"uuid":"3f28e32b-8658-4e4c-bcd5-3b89e175be16","changeType":"edit","entity":"invoice","entityId":"2947","eventName":"invoice.edit","extraData":{"entity":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-13 22:02:04.654963] [debug] Evento recibido: invoice.edit
-[2026-01-13 22:02:04.655093] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"3f28e32b-8658-4e4c-bcd5-3b89e175be16","changeType":"edit","entity":"invoice","entityId":2947,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2947,"clientId":146,"number":"002893","createdDate":"2026-01-13T15:52:34-0600","dueDate":"2026-01-27T15:52:34-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2963,"type":"service","label":"Basico 300 01\/03\/2026 \u2013 31\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares Mariscos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2300 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:53","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2300 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 15:53","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 15:30 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 15:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 16:02","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 22:02:06.780563] [notice] Logging level set to:debug
-[2026-01-13 22:02:06.780726] [debug] Payload recibido: {"uuid":"ab619779-72e9-4a5c-a488-dc904e7e9222","changeType":"insert","entity":"payment","entityId":"755","eventName":"payment.add","extraData":{"entity":{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 22:02:07.087786] [debug] Evento recibido: payment.add
-[2026-01-13 22:02:07.088053] [debug] Notification encodificado en JSON:{"uuid":"ab619779-72e9-4a5c-a488-dc904e7e9222","changeType":"insert","entity":"payment","entityId":755,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2947 de esta cantidad: 300
-
-Todos los Invoice IDs: 2947
-
-Todas las cantidades: 300,00
-
-Numero de factura: 002893
-
-TOTAL de factura: 300
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares", "755", "146", "13/01/2026 4:02pm", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "2947", "$300,00 MXN", "$300,00 MXN", "$0 está al corriente", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"fd2ac487841e46f8a25a5ad698b6449e","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"ab619779-72e9-4a5c-a488-dc904e7e9222","changeType":"insert","entity":"payment","entityId":755,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲0 está al corriente","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 16:02","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲0 está al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 22:02:09.729968] [notice] Logging level set to:debug
-[2026-01-13 22:02:09.730156] [debug] Payload recibido: {"uuid":"cea8baaf-ec56-4707-a777-76cc15d5edbb","changeType":"edit","entity":"payment","entityId":"755","eventName":"payment.edit","extraData":{"entity":{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-13 22:02:09.914911] [debug] Evento recibido: payment.edit
-[2026-01-13 22:02:25.403882] [notice] Logging level set to:debug
-[2026-01-13 22:02:25.404047] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146
-
-}
-
-[2026-01-13 22:02:25.404110] [info] No UUID found in the webhook data
-[2026-01-13 22:02:25.404160] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 22:02:25.529691] [debug] Respuesta Sync OXXO: {"oxxo_reference":"","url":"","error":"errorsinadeudo","failDescription":"Monto insuficiente o sin deuda","clientID":146,"clientFullName":"Delfino De los Mares","amount":0,"voucher_image_url":""}
-[2026-01-13 22:02:38.528934] [notice] Logging level set to:debug
-[2026-01-13 22:02:38.529023] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-13 22:02:38.529041] [info] No UUID found in the webhook data
-[2026-01-13 22:02:38.529051] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-13 22:02:38.529059] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-13 23:25:50.030431] [notice] Logging level set to:debug
-[2026-01-13 23:25:50.030607] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "300"
-}
-
-[2026-01-13 23:25:50.030668] [info] No UUID found in the webhook data
-[2026-01-13 23:25:50.030709] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 23:25:51.449632] [error] Error en generación síncrona: Client error: `POST http://172.16.5.134:4100/screenshot` resulted in a `404 Not Found` response:
-
-
-
-
-Error
-
-
-
Cannot POST /scr (truncated...)
-
-[2026-01-13 23:25:51.450391] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXFmTDY4YkVwOUdHZk1WWnVVbjBmckhieVo5b2x20100fmh0Nbs4","error":"","clientID":146,"clientFullName":"Delfino De los Mares","amount":"300","voucher_image_url":""}
-[2026-01-13 23:28:02.192625] [notice] Logging level set to:debug
-[2026-01-13 23:28:02.192807] [debug] Payload recibido: {"uuid":"a494dbd1-79bd-4be5-9dfd-3b9794bac0bc","changeType":"insert","entity":"invoice","entityId":"2948","eventName":"invoice.add","extraData":{"entity":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":0,"totalUntaxed":1000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1000,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-13 23:28:02.402215] [debug] Evento recibido: invoice.add
-[2026-01-13 23:28:02.402353] [debug] Adición de Factura
-
-[2026-01-13 23:28:02.402415] [debug] datos del notification para el invoice add:{"uuid":"a494dbd1-79bd-4be5-9dfd-3b9794bac0bc","changeType":"insert","entity":"invoice","entityId":2948,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":0,"totalUntaxed":1000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1000,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-13 23:28:02.402451] [debug] Account Balance: -1000
-
-[2026-01-13 23:28:14.652137] [notice] Logging level set to:debug
-[2026-01-13 23:28:14.652307] [debug] Payload recibido: {"uuid":"eb98599c-81f9-4f83-ad7e-e6bc41de87ee","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-
-[2026-01-13 23:28:14.776284] [debug] Evento recibido: client.edit
-[2026-01-13 23:28:14.776563] [info] Procesando evento client.edit para entityId: 146
-[2026-01-13 23:28:14.776669] [debug] Payload completo client.edit: {"uuid":"eb98599c-81f9-4f83-ad7e-e6bc41de87ee","changeType":"edit","entity":"client","entityId":"146","eventName":"client.edit","extraData":{"entity":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
-[2026-01-13 23:28:14.776735] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 146
-[2026-01-13 23:28:14.776787] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-13 23:28:14.889657] [info] Llamada finalizada exitosamente.
-[2026-01-13 23:28:14.889790] [info] Detectado cambio en datos básicos del cliente 146. Sincronizando con Stripe...
-[2026-01-13 23:28:15.592933] [info] Sincronización automática a Stripe exitosa para cliente 146.
-[2026-01-13 23:28:15.910240] [notice] Logging level set to:debug
-[2026-01-13 23:28:15.910320] [debug] Payload recibido: {
-  "id": "evt_1SpH0UEFY1WEUtgRQtfzcF8r",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768346894,
-  "data": {
-    "object": {
-      "id": "cus_QZ7T1h3th3Dr7w",
-      "object": "customer",
-      "address": null,
-      "balance": 0,
-      "created": 1722281255,
-      "currency": null,
-      "customer_account": null,
-      "default_source": null,
-      "delinquent": false,
-      "description": "Cliente SIIP CRM con client_id: 146",
-      "discount": null,
-      "email": null,
-      "invoice_prefix": "C8D4B6B2",
-      "invoice_settings": {
-        "custom_fields": null,
-        "default_payment_method": null,
-        "footer": null,
-        "rendering_options": null
-      },
-      "livemode": false,
-      "metadata": {
-        "ucrm_client_id": "146",
-        "clabe": "002180695453333629"
-      },
-      "name": "Delfino De los Mares venus",
-      "next_invoice_sequence": 1,
-      "phone": "4188897415",
-      "preferred_locales": [
-        "es-419"
-      ],
-      "shipping": null,
-      "tax_exempt": "none",
-      "test_clock": null
-    },
-    "previous_attributes": {
-      "name": "Delfino De los Mares"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_pmfxnKyNYcGxMh",
-    "idempotency_key": "0ee90dfc-356b-4811-ae86-f8dc8726435f"
-  },
-  "type": "customer.updated"
-}
-
-[2026-01-13 23:28:15.910348] [info] No UUID found in the webhook data
-Notificacion data: {"uuid":"eb98599c-81f9-4f83-ad7e-e6bc41de87ee","changeType":"edit","entity":"client","entityId":146,"message":null,"clientId":146,"eventName":"client.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1000,"accountCredit":0,"accountOutstanding":1000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":755,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T16:02:04-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1041,"invoiceId":2947,"paymentId":755,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Saldo Actual":"\ud83d\udcb21000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 16:02","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 16:02\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲1000 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 17:28","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲1000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 16:02 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 23:28:55.375240] [notice] Logging level set to:debug
-[2026-01-13 23:28:55.375420] [debug] Payload recibido: {
-  "id": "evt_3SpGy9EFY1WEUtgR00bIQJ4j",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768346934,
-  "data": {
-    "object": {
-      "id": "pi_3SpGy9EFY1WEUtgR0IqN1SaU",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpGy9EFY1WEUtgR0IqN1SaU_secret_7FuF8kwMrOUKXs1BFfMHeDNY5",
-      "confirmation_method": "automatic",
-      "created": 1768346749,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpGy9EFY1WEUtgR0zRdAtRJ",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpGyAEFY1WEUtgRxQGP8m9S",
-      "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-13 23:28:55.375525] [info] No UUID found in the webhook data
-[2026-01-13 23:28:55.375569] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 23:28:55.514292] [notice] Logging level set to:debug
-[2026-01-13 23:28:55.514431] [debug] Payload recibido: {
-  "id": "evt_3SpGy9EFY1WEUtgR0QLPilmW",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768346934,
-  "data": {
-    "object": {
-      "id": "py_3SpGy9EFY1WEUtgR0zRdAtRJ",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpGy9EFY1WEUtgR0K07sHj5",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768346933,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpGy9EFY1WEUtgR0IqN1SaU",
-      "payment_method": "pm_1SpGyAEFY1WEUtgRxQGP8m9S",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLaqm8sGMgYWcObEGCY6LBYx19-Eq2RgUV_C491TPA_bpN_8ZD1uZOxt5xZ5FxjCU-PUxouxebVP3Ifg",
-      "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-13 23:28:55.514564] [info] No UUID found in the webhook data
-[2026-01-13 23:28:56.302663] [notice] Logging level set to:debug
-[2026-01-13 23:28:56.302814] [debug] Payload recibido: {"uuid":"5ee9735a-0e3d-49cb-b268-208be06da986","changeType":"edit","entity":"invoice","entityId":"2948","eventName":"invoice.edit","extraData":{"entity":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":300,"totalUntaxed":1000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":0,"totalUntaxed":1000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1000,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-13 23:28:56.553963] [debug] Evento recibido: invoice.edit
-[2026-01-13 23:28:56.554240] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"5ee9735a-0e3d-49cb-b268-208be06da986","changeType":"edit","entity":"invoice","entityId":2948,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":300,"totalUntaxed":1000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb21000 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb21000 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21000 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 16:02 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 17:28 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 17:28","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 17:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 23:28:58.239104] [notice] Logging level set to:debug
-[2026-01-13 23:28:58.239175] [debug] Payload recibido: {"uuid":"30531b2c-55ca-49a1-b670-266573cab0e4","changeType":"insert","entity":"payment","entityId":"756","eventName":"payment.add","extraData":{"entity":{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 23:28:58.461325] [debug] Evento recibido: payment.add
-[2026-01-13 23:28:58.461611] [debug] Notification encodificado en JSON:{"uuid":"30531b2c-55ca-49a1-b670-266573cab0e4","changeType":"insert","entity":"payment","entityId":756,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2948 de esta cantidad: 300
-
-Todos los Invoice IDs: 2948
-
-Todas las cantidades: 300,00
-
-Numero de factura: 002894
-
-TOTAL de factura: 1000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "756", "146", "13/01/2026 5:28pm", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "2948", "$1.000,00 MXN", "$300,00 MXN", "$700 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"7d2cafbabf60478aa5d779fb1354e723","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"30531b2c-55ca-49a1-b670-266573cab0e4","changeType":"insert","entity":"payment","entityId":756,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:29","Saldo Actual":"\ud83d\udcb2700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG - Contact Payload from Callbell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2700 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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}}
-
-DEBUG - Contact Custom Fields: {"user entry point":"inbound_message","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Site":"0LOCS","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Saldo Actual":"\ud83d\udcb2700 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:28","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:28\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"}
-
-FORCING UPDATE - Bypassing comparison logic
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","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","ePA"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Site":"0LOCS","Estado":"🟢 Activo ","Cliente":"146","Fecha Ultimo Pago":"📆💸 13/01/2026 17:28 con Tarjeta de crédito Stripe 💳","Saldo Actual":"💲700 pendientes","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Fecha Ultima Actualizacion":"📆🔄️ 13/01/2026 17:29","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 300","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲700 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13/01/2026 17:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"13/01/2026 17:29\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"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-13 23:29:01.184602] [notice] Logging level set to:debug
-[2026-01-13 23:29:01.184847] [debug] Payload recibido: {"uuid":"0d705d4b-2c5f-40b7-a236-4f2b4f101bf6","changeType":"edit","entity":"payment","entityId":"756","eventName":"payment.edit","extraData":{"entity":{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":756,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:28:55-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-13 23:29:01.609975] [debug] Evento recibido: payment.edit
-[2026-01-13 23:43:39.259676] [notice] Logging level set to:debug
-[2026-01-13 23:43:39.259833] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146
-
-}
-
-[2026-01-13 23:43:39.259896] [info] No UUID found in the webhook data
-[2026-01-13 23:43:39.259946] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 23:43:43.062598] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768347820.jpeg
-[2026-01-13 23:43:43.068084] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXF4UlBTTjBFVENnZ1A0a294ZlplaVhadW5NYk500100OI2369fw","error":"","clientID":146,"clientFullName":"Delfino De los Mares venus","amount":700,"voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768347820.jpeg","order_id":27,"voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768347820.jpeg"}
-[2026-01-13 23:43:54.206525] [notice] Logging level set to:debug
-[2026-01-13 23:43:54.206890] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-13 23:43:54.206967] [info] No UUID found in the webhook data
-[2026-01-13 23:43:54.207022] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-13 23:43:54.207076] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-13 23:44:03.523940] [notice] Logging level set to:debug
-[2026-01-13 23:44:03.524077] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "300"
-}
-
-[2026-01-13 23:44:03.524127] [info] No UUID found in the webhook data
-[2026-01-13 23:44:03.524163] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 23:44:08.203670] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768347844.jpeg
-[2026-01-13 23:44:08.206274] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXF4clhHc2thNjZSWGpyUWg0WFhZSUZnQndCdTBw0100YE7H3MY0","error":"","clientID":146,"clientFullName":"Delfino De los Mares venus","amount":"300","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768347844.jpeg","order_id":28,"voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768347844.jpeg"}
-[2026-01-13 23:44:25.974165] [notice] Logging level set to:debug
-[2026-01-13 23:44:25.974251] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146
-
-}
-
-[2026-01-13 23:44:25.974267] [info] No UUID found in the webhook data
-[2026-01-13 23:44:25.974277] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 23:44:29.687840] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768347867.jpeg
-[2026-01-13 23:44:29.690105] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXF5bWNOUWlmeWl0alFneGhDYWtvSU04aGJMMExY0100nUJ5Mw8n","error":"","clientID":146,"clientFullName":"Delfino De los Mares venus","amount":700,"voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768347867.jpeg","order_id":29,"voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768347867.jpeg"}
-[2026-01-13 23:44:47.428873] [notice] Logging level set to:debug
-[2026-01-13 23:44:47.429042] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-13 23:44:47.429102] [info] No UUID found in the webhook data
-[2026-01-13 23:44:47.429151] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-13 23:44:47.429194] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-13 23:46:06.360414] [notice] Logging level set to:debug
-[2026-01-13 23:46:06.360483] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-13 23:46:06.360500] [info] No UUID found in the webhook data
-[2026-01-13 23:46:06.360508] [info] Evento de solicitud de referencia de OXXO recibido (Sync Flow)
-[2026-01-13 23:46:10.855119] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768347967.jpeg
-[2026-01-13 23:46:10.860105] [debug] Respuesta Sync OXXO: {"oxxo_reference":"12345678901234657890123456789012","url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXF6cW1MT3RUb0g4WWU4ODRuVmRWZ0VaSWdSYVhJ0100YCfUvPNL","error":"","clientID":146,"clientFullName":"Delfino De los Mares venus","amount":"200","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768347967.jpeg","order_id":30,"voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768347967.jpeg"}
-[2026-01-13 23:46:46.255088] [notice] Logging level set to:debug
-[2026-01-13 23:46:46.255220] [debug] Payload recibido: {
-  "id": "evt_3SpHFPEFY1WEUtgR1jeLtv6I",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348005,
-  "data": {
-    "object": {
-      "id": "pi_3SpHFPEFY1WEUtgR1kdkyxLP",
-      "object": "payment_intent",
-      "amount": 70000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 70000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpHFPEFY1WEUtgR1kdkyxLP_secret_u5pwtGSrOwYjRcDNX29QfyHzm",
-      "confirmation_method": "automatic",
-      "created": 1768347819,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpHFPEFY1WEUtgR1zp9jmg5",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpHFPEFY1WEUtgRpNsaT0Yz",
-      "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-13 23:46:46.255276] [info] No UUID found in the webhook data
-[2026-01-13 23:46:46.255290] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 23:46:46.421066] [notice] Logging level set to:debug
-[2026-01-13 23:46:46.421145] [debug] Payload recibido: {
-  "id": "evt_3SpHFPEFY1WEUtgR1rjNa67l",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348005,
-  "data": {
-    "object": {
-      "id": "py_3SpHFPEFY1WEUtgR1zp9jmg5",
-      "object": "charge",
-      "amount": 70000,
-      "amount_captured": 70000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpHFPEFY1WEUtgR112mpLbV",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768348004,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpHFPEFY1WEUtgR1kdkyxLP",
-      "payment_method": "pm_1SpHFPEFY1WEUtgRpNsaT0Yz",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKOWym8sGMgY6EGIRPSM6LBb_6mwzETwepV44e3RfqfHQ9EFNTEPiRr6AOwM6DX4x8ttp4qLk0A6Ug4PU",
-      "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-13 23:46:46.421191] [info] No UUID found in the webhook data
-[2026-01-13 23:46:47.173975] [notice] Logging level set to:debug
-[2026-01-13 23:46:47.174058] [debug] Payload recibido: {"uuid":"fe54fbb4-46a3-476a-9906-489d66d8bd0b","changeType":"edit","entity":"invoice","entityId":"2948","eventName":"invoice.edit","extraData":{"entity":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":1000,"totalUntaxed":1000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300},{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":300,"totalUntaxed":1000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300},{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-13 23:46:47.423218] [debug] Evento recibido: invoice.edit
-[2026-01-13 23:46:47.423337] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"fe54fbb4-46a3-476a-9906-489d66d8bd0b","changeType":"edit","entity":"invoice","entityId":2948,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2948,"clientId":146,"number":"002894","createdDate":"2026-01-13T17:27:19-0600","dueDate":"2026-01-27T17:27:19-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-13T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2964,"type":"other","label":"pruebas","price":1000,"quantity":1,"total":1000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":1000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":1000,"amountPaid":1000,"totalUntaxed":1000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1042,"invoiceId":2948,"paymentId":756,"creditNoteId":null,"refundId":null,"amount":300},{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:46","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 700","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 700\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:46\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-13 23:46:49.463695] [notice] Logging level set to:debug
-[2026-01-13 23:46:49.463838] [debug] Payload recibido: {"uuid":"cd839e68-eea4-4b74-a742-6c5739f29187","changeType":"insert","entity":"payment","entityId":"757","eventName":"payment.add","extraData":{"entity":{"id":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 23:46:49.820537] [debug] Evento recibido: payment.add
-[2026-01-13 23:46:49.821751] [debug] Notification encodificado en JSON:{"uuid":"cd839e68-eea4-4b74-a742-6c5739f29187","changeType":"insert","entity":"payment","entityId":757,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2948 de esta cantidad: 700
-
-Todos los Invoice IDs: 2948
-
-Todas las cantidades: 700,00
-
-Numero de factura: 002894
-
-TOTAL de factura: 1000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "757", "146", "13/01/2026 5:46pm", "$700,00 MXN", "Tarjeta de crédito Stripe 💳", "2948", "$1.000,00 MXN", "$700,00 MXN", "$0 está al corriente", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-[2026-01-13 23:46:59.629123] [notice] Logging level set to:debug
-[2026-01-13 23:46:59.629322] [debug] Payload recibido: {"uuid":"e2c01c78-931a-4f09-8902-fab2c10df117","changeType":"edit","entity":"payment","entityId":"757","eventName":"payment.edit","extraData":{"entity":{"id":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":757,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:46:46-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1043,"invoiceId":2948,"paymentId":757,"creditNoteId":null,"refundId":null,"amount":700}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-13 23:46:59.914519] [debug] Evento recibido: payment.edit
-[2026-01-13 23:47:08.524179] [notice] Logging level set to:debug
-[2026-01-13 23:47:08.524346] [debug] Payload recibido: {
-  "id": "evt_3SpHFnEFY1WEUtgR07xNL5RH",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348027,
-  "data": {
-    "object": {
-      "id": "pi_3SpHFnEFY1WEUtgR0ZT4N3Ez",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpHFnEFY1WEUtgR0ZT4N3Ez_secret_kHiVGpMH7WBvLeSTRYUAYlTOQ",
-      "confirmation_method": "automatic",
-      "created": 1768347843,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpHFnEFY1WEUtgR03UTtKB7",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpHFnEFY1WEUtgRZE5AdNjP",
-      "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-13 23:47:08.524430] [info] No UUID found in the webhook data
-[2026-01-13 23:47:08.524468] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 23:47:08.567436] [notice] Logging level set to:debug
-[2026-01-13 23:47:08.567627] [debug] Payload recibido: {
-  "id": "evt_3SpHFnEFY1WEUtgR0veqKr9S",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348027,
-  "data": {
-    "object": {
-      "id": "py_3SpHFnEFY1WEUtgR03UTtKB7",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpHFnEFY1WEUtgR0dhtXYVd",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768348026,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpHFnEFY1WEUtgR0ZT4N3Ez",
-      "payment_method": "pm_1SpHFnEFY1WEUtgRZE5AdNjP",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPuym8sGMgYs4d405I86LBYqJ31-vmJbfvQY58U2-L6vj_XYkAiV9TmI1MvSj9J6wVB6wM1IyfW5wdRs",
-      "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-13 23:47:08.567719] [info] No UUID found in the webhook data
-[2026-01-13 23:47:09.232633] [notice] Logging level set to:debug
-[2026-01-13 23:47:09.232791] [debug] Payload recibido: {"uuid":"75ff48f7-6fa0-43b2-8842-1929e9ae8cc7","changeType":"insert","entity":"payment","entityId":"758","eventName":"payment.add","extraData":{"entity":{"id":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 23:47:09.436695] [debug] Evento recibido: payment.add
-[2026-01-13 23:47:09.436948] [debug] Notification encodificado en JSON:{"uuid":"75ff48f7-6fa0-43b2-8842-1929e9ae8cc7","changeType":"insert","entity":"payment","entityId":758,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 300
-
-La cantidad que sobra de $300,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "758", "146", "13/01/2026 5:47pm", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "$300 a favor", "La cantidad que sobra de $300,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"35c0989ed783417298b0fb8048e79c00","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"75ff48f7-6fa0-43b2-8842-1929e9ae8cc7","changeType":"insert","entity":"payment","entityId":758,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:47","Saldo Actual":"\ud83d\udcb2300 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-13 23:47:12.050404] [notice] Logging level set to:debug
-[2026-01-13 23:47:12.050551] [debug] Payload recibido: {"uuid":"baf8f6d3-5f67-434d-80f6-d3a7b3c28df5","changeType":"edit","entity":"payment","entityId":"758","eventName":"payment.edit","extraData":{"entity":{"id":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":758,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:08-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
-
-[2026-01-13 23:47:12.404486] [debug] Evento recibido: payment.edit
-[2026-01-13 23:47:30.333178] [notice] Logging level set to:debug
-[2026-01-13 23:47:30.333340] [debug] Payload recibido: {
-  "id": "evt_3SpHG9EFY1WEUtgR1Qi0cAbx",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348049,
-  "data": {
-    "object": {
-      "id": "pi_3SpHG9EFY1WEUtgR17g0JPxQ",
-      "object": "payment_intent",
-      "amount": 70000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 70000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpHG9EFY1WEUtgR17g0JPxQ_secret_iNqSRuwKmsPeHIRfVshbKGIiP",
-      "confirmation_method": "automatic",
-      "created": 1768347865,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpHG9EFY1WEUtgR16I29seq",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpHG9EFY1WEUtgRGMSPIog1",
-      "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-13 23:47:30.333420] [info] No UUID found in the webhook data
-[2026-01-13 23:47:30.333457] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 23:47:30.605046] [notice] Logging level set to:debug
-[2026-01-13 23:47:30.605113] [debug] Payload recibido: {
-  "id": "evt_3SpHG9EFY1WEUtgR1U4SrHmL",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348049,
-  "data": {
-    "object": {
-      "id": "py_3SpHG9EFY1WEUtgR16I29seq",
-      "object": "charge",
-      "amount": 70000,
-      "amount_captured": 70000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpHG9EFY1WEUtgR1rxD3y9U",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768348048,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpHG9EFY1WEUtgR17g0JPxQ",
-      "payment_method": "pm_1SpHG9EFY1WEUtgRGMSPIog1",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJGzm8sGMgZTPHRc4Q46LBaTWeT-DNDfBwlCx_7UTRshIl8ncl-9sX5UwS8QXc_LSZAYpIn05SYZodxb",
-      "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-13 23:47:30.605165] [info] No UUID found in the webhook data
-[2026-01-13 23:47:31.224541] [notice] Logging level set to:debug
-[2026-01-13 23:47:31.224613] [debug] Payload recibido: {"uuid":"ace92372-721a-4686-ad74-033adbb181e2","changeType":"insert","entity":"payment","entityId":"759","eventName":"payment.add","extraData":{"entity":{"id":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 23:47:31.526356] [debug] Evento recibido: payment.add
-[2026-01-13 23:47:31.526765] [debug] Notification encodificado en JSON:{"uuid":"ace92372-721a-4686-ad74-033adbb181e2","changeType":"insert","entity":"payment","entityId":759,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1000,"accountCredit":1000,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 700
-
-La cantidad que sobra de $700,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "759", "146", "13/01/2026 5:47pm", "$700,00 MXN", "Tarjeta de crédito Stripe 💳", "$1000 a favor", "La cantidad que sobra de $700,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"a39a302ffed5446e899bba258f3d0b99","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"ace92372-721a-4686-ad74-033adbb181e2","changeType":"insert","entity":"payment","entityId":759,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1000,"accountCredit":1000,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:47","Saldo Actual":"\ud83d\udcb21000 a favor","Monto Ultimo Pago":"\ud83d\udcb2 700","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21000 a favor\",\"Monto Ultimo Pago\": \"$ 700\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-13 23:47:34.101142] [notice] Logging level set to:debug
-[2026-01-13 23:47:34.101211] [debug] Payload recibido: {"uuid":"9df37054-3260-420d-ad71-4fc5a85b76f2","changeType":"edit","entity":"payment","entityId":"759","eventName":"payment.edit","extraData":{"entity":{"id":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":759,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:47:30-0600","amount":700,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":700,"userId":null,"attributes":[]}}}
-
-[2026-01-13 23:47:34.504405] [debug] Evento recibido: payment.edit
-[2026-01-13 23:49:11.069020] [notice] Logging level set to:debug
-[2026-01-13 23:49:11.069106] [debug] Payload recibido: {
-  "id": "evt_3SpHHmEFY1WEUtgR1sHAJqbU",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348150,
-  "data": {
-    "object": {
-      "id": "pi_3SpHHmEFY1WEUtgR1SqTxyyQ",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpHHmEFY1WEUtgR1SqTxyyQ_secret_f0a0IjLi1nF4TQibzqPIxFU9T",
-      "confirmation_method": "automatic",
-      "created": 1768347966,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpHHmEFY1WEUtgR12LentUP",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpHHmEFY1WEUtgRQIfhwsh8",
-      "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-13 23:49:11.069154] [info] No UUID found in the webhook data
-[2026-01-13 23:49:11.069164] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-13 23:49:11.229779] [notice] Logging level set to:debug
-[2026-01-13 23:49:11.229947] [debug] Payload recibido: {
-  "id": "evt_3SpHHmEFY1WEUtgR1sbfsW4s",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768348150,
-  "data": {
-    "object": {
-      "id": "py_3SpHHmEFY1WEUtgR12LentUP",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpHHmEFY1WEUtgR1oqkZM48",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768348149,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpHHmEFY1WEUtgR1SqTxyyQ",
-      "payment_method": "pm_1SpHHmEFY1WEUtgRQIfhwsh8",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPazm8sGMgbjHIagahA6LBbQe_mxdSlJcF8oYP894Hvro3M75jxFcWCJ57A9VxqHopqRjrpR1VDmihLd",
-      "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-13 23:49:11.230063] [info] No UUID found in the webhook data
-[2026-01-13 23:49:12.057554] [notice] Logging level set to:debug
-[2026-01-13 23:49:12.057614] [debug] Payload recibido: {"uuid":"580487c7-a575-42a4-824f-8b97e2cbefe2","changeType":"insert","entity":"payment","entityId":"760","eventName":"payment.add","extraData":{"entity":{"id":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-13 23:49:12.308487] [debug] Evento recibido: payment.add
-[2026-01-13 23:49:12.308666] [debug] Notification encodificado en JSON:{"uuid":"580487c7-a575-42a4-824f-8b97e2cbefe2","changeType":"insert","entity":"payment","entityId":760,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1200,"accountCredit":1200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 200
-
-La cantidad que sobra de $200,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "760", "146", "13/01/2026 5:49pm", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "$1200 a favor", "La cantidad que sobra de $200,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"c104e4db19fa4062880626e5b825abd5","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"580487c7-a575-42a4-824f-8b97e2cbefe2","changeType":"insert","entity":"payment","entityId":760,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1200,"accountCredit":1200,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 13\/01\/2026 17:49","Saldo Actual":"\ud83d\udcb21200 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 13\/01\/2026 17:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21200 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 13\/01\/2026 17:49 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"13\/01\/2026 17:49\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-13 23:49:15.221354] [notice] Logging level set to:debug
-[2026-01-13 23:49:15.224266] [debug] Payload recibido: {"uuid":"87dc8dd8-bedb-46a0-b6c2-f8ab545ec334","changeType":"edit","entity":"payment","entityId":"760","eventName":"payment.edit","extraData":{"entity":{"id":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":760,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-13T17:49:11-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
-
-[2026-01-13 23:49:15.533412] [debug] Evento recibido: payment.edit
-[2026-01-13 23:57:40.042148] [notice] Logging level set to:debug
-[2026-01-13 23:57:40.042222] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "300"
-}
-
-[2026-01-13 23:57:40.042237] [info] No UUID found in the webhook data
-[2026-01-13 23:57:40.042246] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-13 23:57:40.062176] [info] Iniciando generación background para orden #31
-[2026-01-14 7:12:53.477410] [notice] Logging level set to:debug
-[2026-01-14 7:12:53.477564] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "300"
-}
-
-
-
-[2026-01-14 7:12:53.477610] [info] No UUID found in the webhook data
-[2026-01-14 7:12:53.477646] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 7:12:54.899030] [info] Iniciando generación background para orden #32
-[2026-01-14 7:12:59.161164] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768374775.jpeg
-[2026-01-14 7:12:59.163523] [info] Generación background finalizada para orden #32
-[2026-01-14 7:13:11.948370] [notice] Logging level set to:debug
-[2026-01-14 7:13:11.948455] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 7:13:11.948476] [info] No UUID found in the webhook data
-[2026-01-14 7:13:11.948506] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 7:13:11.948518] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 7:13:41.984266] [notice] Logging level set to:debug
-[2026-01-14 7:13:41.984401] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "300"
-}
-
-[2026-01-14 7:13:41.984450] [info] No UUID found in the webhook data
-[2026-01-14 7:13:41.984493] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 7:13:43.349133] [info] Iniciando generación background para orden #33
-[2026-01-14 7:13:47.727750] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768374824.jpeg
-[2026-01-14 7:13:47.730634] [info] Generación background finalizada para orden #33
-[2026-01-14 7:15:59.204597] [notice] Logging level set to:debug
-[2026-01-14 7:15:59.205204] [debug] Payload recibido: {
-  "id": "evt_3SpOG9EFY1WEUtgR1oIIfZ2Z",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768374958,
-  "data": {
-    "object": {
-      "id": "pi_3SpOG9EFY1WEUtgR1RIb0H5f",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpOG9EFY1WEUtgR1RIb0H5f_secret_NzKsf7ZC0GBETSPp9wqrPWcXE",
-      "confirmation_method": "automatic",
-      "created": 1768374773,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpOG9EFY1WEUtgR1ULT13NU",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpOG9EFY1WEUtgRJfzCB4Hh",
-      "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-14 7:15:59.205321] [info] No UUID found in the webhook data
-[2026-01-14 7:15:59.205363] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 7:15:59.477705] [notice] Logging level set to:debug
-[2026-01-14 7:15:59.477848] [debug] Payload recibido: {
-  "id": "evt_3SpOG9EFY1WEUtgR17Mcxibd",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768374958,
-  "data": {
-    "object": {
-      "id": "py_3SpOG9EFY1WEUtgR1ULT13NU",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpOG9EFY1WEUtgR1A9QdAcu",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768374957,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpOG9EFY1WEUtgR1RIb0H5f",
-      "payment_method": "pm_1SpOG9EFY1WEUtgRJfzCB4Hh",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKK6FncsGMgamHKNRCzo6LBaZ0m1LaIehMiWpVz7njOp4p7dA3d_TFZ0iIcN7xy-QfNGX5tFq4EgOgj7R",
-      "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-14 7:15:59.477947] [info] No UUID found in the webhook data
-[2026-01-14 7:16:00.058073] [notice] Logging level set to:debug
-[2026-01-14 7:16:00.058129] [debug] Payload recibido: {"uuid":"69848a59-44e9-4203-9c09-f715dc7fdc66","changeType":"insert","entity":"payment","entityId":"761","eventName":"payment.add","extraData":{"entity":{"id":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 7:16:00.258687] [debug] Evento recibido: payment.add
-[2026-01-14 7:16:00.258928] [debug] Notification encodificado en JSON:{"uuid":"69848a59-44e9-4203-9c09-f715dc7fdc66","changeType":"insert","entity":"payment","entityId":761,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1500,"accountCredit":1500,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 300
-
-La cantidad que sobra de $300,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "761", "146", "14/01/2026 1:16am", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "$1500 a favor", "La cantidad que sobra de $300,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"0d84166ac97943e3831233d471f3e021","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"69848a59-44e9-4203-9c09-f715dc7fdc66","changeType":"insert","entity":"payment","entityId":761,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1500,"accountCredit":1500,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 01:16","Saldo Actual":"\ud83d\udcb21500 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 01:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21500 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 01:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 01:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 7:16:03.065886] [notice] Logging level set to:debug
-[2026-01-14 7:16:03.066040] [debug] Payload recibido: {"uuid":"ab1d0153-f2a8-4f27-8d39-8ca2d7e0529c","changeType":"edit","entity":"payment","entityId":"761","eventName":"payment.edit","extraData":{"entity":{"id":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":761,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:15:59-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
-
-[2026-01-14 7:16:03.278047] [debug] Evento recibido: payment.edit
-[2026-01-14 7:16:48.022947] [notice] Logging level set to:debug
-[2026-01-14 7:16:48.023106] [debug] Payload recibido: {
-  "id": "evt_3SpOGvEFY1WEUtgR0sO8rWgx",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768375007,
-  "data": {
-    "object": {
-      "id": "pi_3SpOGvEFY1WEUtgR06SOwwDa",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpOGvEFY1WEUtgR06SOwwDa_secret_sq60OJkn0GUoc4bfGnKJxf3EN",
-      "confirmation_method": "automatic",
-      "created": 1768374821,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpOGvEFY1WEUtgR0KjOvvs7",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpOGvEFY1WEUtgR3sdG5ie0",
-      "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-14 7:16:48.023190] [info] No UUID found in the webhook data
-[2026-01-14 7:16:48.023237] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 7:16:48.306433] [notice] Logging level set to:debug
-[2026-01-14 7:16:48.306540] [debug] Payload recibido: {
-  "id": "evt_3SpOGvEFY1WEUtgR0OHlbFyy",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768375007,
-  "data": {
-    "object": {
-      "id": "py_3SpOGvEFY1WEUtgR0KjOvvs7",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpOGvEFY1WEUtgR0dtRfZps",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768375006,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpOGvEFY1WEUtgR06SOwwDa",
-      "payment_method": "pm_1SpOGvEFY1WEUtgR3sdG5ie0",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKN-FncsGMgZhSWM6q6k6LBaICb1XnDhSuK73SkCSK4Nnr0t3-L0TPX9DbqFBCkWynBHOxGZkRQfYx_4G",
-      "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-14 7:16:48.306643] [info] No UUID found in the webhook data
-[2026-01-14 7:16:48.733669] [notice] Logging level set to:debug
-[2026-01-14 7:16:48.733725] [debug] Payload recibido: {"uuid":"11fb4937-9b13-428e-9a42-422988f7d979","changeType":"insert","entity":"payment","entityId":"762","eventName":"payment.add","extraData":{"entity":{"id":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 7:16:48.955344] [debug] Evento recibido: payment.add
-[2026-01-14 7:16:48.955493] [debug] Notification encodificado en JSON:{"uuid":"11fb4937-9b13-428e-9a42-422988f7d979","changeType":"insert","entity":"payment","entityId":762,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1800,"accountCredit":1800,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 300
-
-La cantidad que sobra de $300,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "762", "146", "14/01/2026 1:16am", "$300,00 MXN", "Tarjeta de crédito Stripe 💳", "$1800 a favor", "La cantidad que sobra de $300,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"5f25ae3c62a84d5ea747c1a3afdd92e2","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"11fb4937-9b13-428e-9a42-422988f7d979","changeType":"insert","entity":"payment","entityId":762,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":1800,"accountCredit":1800,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 01:16","Saldo Actual":"\ud83d\udcb21800 a favor","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 01:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21800 a favor\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 01:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 01:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 7:16:51.150367] [notice] Logging level set to:debug
-[2026-01-14 7:16:51.150425] [debug] Payload recibido: {"uuid":"63266a99-80c6-4d86-b2bd-db269d210985","changeType":"edit","entity":"payment","entityId":"762","eventName":"payment.edit","extraData":{"entity":{"id":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":762,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T01:16:48-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":300,"userId":null,"attributes":[]}}}
-
-[2026-01-14 7:16:51.336659] [debug] Evento recibido: payment.edit
-[2026-01-14 7:57:54.699745] [notice] Logging level set to:debug
-[2026-01-14 7:57:54.699907] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 33
-}
-
-
-[2026-01-14 7:57:54.699959] [info] No UUID found in the webhook data
-[2026-01-14 7:57:54.699997] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 7:57:54.718003] [debug] Estado recuperado para Orden #33: {"id":33,"client_id":146,"amount":"300.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXlEQ2pibzY3RlFadjVaN0NpVUhPTUNhZlpGdm8w0100pJ9hgB31","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768374824.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768374824.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares venus","created_at":"2026-01-14T07:13:43.346Z","updated_at":"2026-01-14T07:13:47.716Z"}
-[2026-01-14 8:30:14.331053] [notice] Logging level set to:debug
-[2026-01-14 8:30:14.331260] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-14 8:30:14.331336] [info] No UUID found in the webhook data
-[2026-01-14 8:30:14.331399] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 8:30:15.674552] [info] Iniciando generación background para orden #34
-[2026-01-14 8:30:20.037875] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768379416.jpeg
-[2026-01-14 8:30:20.041918] [info] Generación background finalizada para orden #34
-[2026-01-14 8:30:28.593338] [notice] Logging level set to:debug
-[2026-01-14 8:30:28.593480] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 8:30:28.593528] [info] No UUID found in the webhook data
-[2026-01-14 8:30:28.593584] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 8:30:28.593621] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 8:33:20.384324] [notice] Logging level set to:debug
-[2026-01-14 8:33:20.384485] [debug] Payload recibido: {
-  "id": "evt_3SpPT0EFY1WEUtgR0fQZcDDt",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768379599,
-  "data": {
-    "object": {
-      "id": "pi_3SpPT0EFY1WEUtgR0WFHhBoG",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpPT0EFY1WEUtgR0WFHhBoG_secret_bDP0H8sK318b3lneEU6gwg3hF",
-      "confirmation_method": "automatic",
-      "created": 1768379414,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpPT0EFY1WEUtgR0eNcAhiR",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpPT0EFY1WEUtgRyaSwEIoB",
-      "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-14 8:33:20.384582] [info] No UUID found in the webhook data
-[2026-01-14 8:33:20.384622] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 8:33:20.498435] [notice] Logging level set to:debug
-[2026-01-14 8:33:20.498589] [debug] Payload recibido: {
-  "id": "evt_3SpPT0EFY1WEUtgR0DOTHhbP",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768379599,
-  "data": {
-    "object": {
-      "id": "py_3SpPT0EFY1WEUtgR0eNcAhiR",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpPT0EFY1WEUtgR09e0altm",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768379598,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpPT0EFY1WEUtgR0WFHhBoG",
-      "payment_method": "pm_1SpPT0EFY1WEUtgRyaSwEIoB",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKM-pncsGMgZgnYCIFOw6LBZ2RJer7K7wWoQ2wfnWnRJvlof-rORY_bHViGxzL2pHQqWiHyFwJCyWwrxX",
-      "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-14 8:33:20.498665] [info] No UUID found in the webhook data
-[2026-01-14 8:33:21.415966] [notice] Logging level set to:debug
-[2026-01-14 8:33:21.416062] [debug] Payload recibido: {"uuid":"b531b378-ab35-447d-8b93-294cde0aec24","changeType":"insert","entity":"payment","entityId":"763","eventName":"payment.add","extraData":{"entity":{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 8:33:21.768348] [debug] Evento recibido: payment.add
-[2026-01-14 8:33:21.768482] [debug] Notification encodificado en JSON:{"uuid":"b531b378-ab35-447d-8b93-294cde0aec24","changeType":"insert","entity":"payment","entityId":763,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":2000,"accountCredit":2000,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 200
-
-La cantidad que sobra de $200,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "763", "146", "14/01/2026 2:33am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "$2000 a favor", "La cantidad que sobra de $200,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"3c953b31daf04a399af156d9ff1b548c","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"b531b378-ab35-447d-8b93-294cde0aec24","changeType":"insert","entity":"payment","entityId":763,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":2000,"accountCredit":2000,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:33","Saldo Actual":"\ud83d\udcb22000 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22000 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:33\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:33:25.060301] [notice] Logging level set to:debug
-[2026-01-14 8:33:25.060354] [debug] Payload recibido: {"uuid":"f81d8281-c047-44ff-8099-b723f054612d","changeType":"edit","entity":"payment","entityId":"763","eventName":"payment.edit","extraData":{"entity":{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
-
-[2026-01-14 8:33:25.287585] [debug] Evento recibido: payment.edit
-[2026-01-14 8:34:26.066554] [notice] Logging level set to:debug
-[2026-01-14 8:34:26.066626] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "130"
-}
-
-
-
-[2026-01-14 8:34:26.066658] [info] No UUID found in the webhook data
-[2026-01-14 8:34:26.066668] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 8:34:27.560123] [info] Iniciando generación background para orden #35
-[2026-01-14 8:34:31.941936] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768379668.jpeg
-[2026-01-14 8:34:31.944556] [info] Generación background finalizada para orden #35
-[2026-01-14 8:34:41.709145] [notice] Logging level set to:debug
-[2026-01-14 8:34:41.709256] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 8:34:41.709284] [info] No UUID found in the webhook data
-[2026-01-14 8:34:41.709299] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 8:34:41.709311] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 8:35:33.566018] [notice] Logging level set to:debug
-[2026-01-14 8:35:33.566181] [debug] Payload recibido: {"uuid":"99b23122-67ca-4502-b1aa-8366403e82ec","changeType":"insert","entity":"invoice","entityId":"2949","eventName":"invoice.add","extraData":{"entity":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2000,"totalUntaxed":2500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-14 8:35:33.832607] [debug] Evento recibido: invoice.add
-[2026-01-14 8:35:33.832856] [debug] Adición de Factura
-
-[2026-01-14 8:35:33.832959] [debug] datos del notification para el invoice add:{"uuid":"99b23122-67ca-4502-b1aa-8366403e82ec","changeType":"insert","entity":"invoice","entityId":2949,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-500,"accountCredit":0,"accountOutstanding":500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2000,"totalUntaxed":2500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-14 8:35:33.833020] [debug] Account Balance: -500
-
-Notificacion data: {"uuid":"99b23122-67ca-4502-b1aa-8366403e82ec","changeType":"insert","entity":"invoice","entityId":2949,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-500,"accountCredit":0,"accountOutstanding":500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2000,"totalUntaxed":2500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:35","Saldo Actual":"\ud83d\udcb2500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:35\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:36:05.479130] [notice] Logging level set to:debug
-[2026-01-14 8:36:05.479275] [debug] Payload recibido: {"uuid":"6fca2d26-75b7-467b-ac91-4e1803416b57","changeType":"insert","entity":"invoice","entityId":"2950","eventName":"invoice.add","extraData":{"entity":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":0,"totalUntaxed":2000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2000,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-14 8:36:05.727845] [debug] Evento recibido: invoice.add
-[2026-01-14 8:36:05.728084] [debug] Adición de Factura
-
-[2026-01-14 8:36:05.728178] [debug] datos del notification para el invoice add:{"uuid":"6fca2d26-75b7-467b-ac91-4e1803416b57","changeType":"insert","entity":"invoice","entityId":2950,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2500,"accountCredit":0,"accountOutstanding":2500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":0,"totalUntaxed":2000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2000,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-14 8:36:05.728236] [debug] Account Balance: -2500
-
-Notificacion data: {"uuid":"6fca2d26-75b7-467b-ac91-4e1803416b57","changeType":"insert","entity":"invoice","entityId":2950,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2500,"accountCredit":0,"accountOutstanding":2500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":0,"totalUntaxed":2000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2000,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":763,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:33:21-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:36","Saldo Actual":"\ud83d\udcb22500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22500 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:33 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:36\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:37:00.668311] [notice] Logging level set to:debug
-[2026-01-14 8:37:00.668380] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146
-
-}
-
-[2026-01-14 8:37:00.668395] [info] No UUID found in the webhook data
-[2026-01-14 8:37:00.668406] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 8:37:02.078670] [info] Iniciando generación background para orden #36
-[2026-01-14 8:37:06.224519] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768379823.jpeg
-[2026-01-14 8:37:06.227291] [info] Generación background finalizada para orden #36
-[2026-01-14 8:37:14.034059] [notice] Logging level set to:debug
-[2026-01-14 8:37:14.034149] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 8:37:14.034173] [info] No UUID found in the webhook data
-[2026-01-14 8:37:14.034187] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 8:37:14.034198] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 8:37:33.152759] [notice] Logging level set to:debug
-[2026-01-14 8:37:33.152923] [debug] Payload recibido: {
-  "id": "evt_3SpPX3EFY1WEUtgR02zixRWM",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768379852,
-  "data": {
-    "object": {
-      "id": "pi_3SpPX3EFY1WEUtgR0lCqI5Jp",
-      "object": "payment_intent",
-      "amount": 13000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 13000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpPX3EFY1WEUtgR0lCqI5Jp_secret_AQbQuB9gZlxI2I3JrmSeGEtmI",
-      "confirmation_method": "automatic",
-      "created": 1768379665,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpPX3EFY1WEUtgR08eV6vWa",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpPX4EFY1WEUtgRudwG142x",
-      "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-14 8:37:33.153017] [info] No UUID found in the webhook data
-[2026-01-14 8:37:33.153062] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 8:37:33.321404] [notice] Logging level set to:debug
-[2026-01-14 8:37:33.321563] [debug] Payload recibido: {
-  "id": "evt_3SpPX3EFY1WEUtgR0uqh11jt",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768379852,
-  "data": {
-    "object": {
-      "id": "py_3SpPX3EFY1WEUtgR08eV6vWa",
-      "object": "charge",
-      "amount": 13000,
-      "amount_captured": 13000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpPX3EFY1WEUtgR045L71EO",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768379851,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpPX3EFY1WEUtgR0lCqI5Jp",
-      "payment_method": "pm_1SpPX4EFY1WEUtgRudwG142x",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMyrncsGMgY5hmJTLo06LBYep5Mct0PxW-4RsUkovvF88HfSNA4QCrxGu6z7Rn_jPQUE_NU4bAatM39O",
-      "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-14 8:37:33.321649] [info] No UUID found in the webhook data
-[2026-01-14 8:37:34.012103] [notice] Logging level set to:debug
-[2026-01-14 8:37:34.019536] [debug] Payload recibido: {"uuid":"61097384-64e0-4721-be56-2bd852e04d3d","changeType":"edit","entity":"invoice","entityId":"2949","eventName":"invoice.edit","extraData":{"entity":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2130,"totalUntaxed":2500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2000,"totalUntaxed":2500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 8:37:34.228055] [debug] Evento recibido: invoice.edit
-[2026-01-14 8:37:34.228303] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"61097384-64e0-4721-be56-2bd852e04d3d","changeType":"edit","entity":"invoice","entityId":2949,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2370,"accountCredit":0,"accountOutstanding":2370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2130,"totalUntaxed":2500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:37","Saldo Actual":"\ud83d\udcb22370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 130","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22370 pendientes\",\"Monto Ultimo Pago\": \"$ 130\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:37:36.257435] [notice] Logging level set to:debug
-[2026-01-14 8:37:36.257555] [debug] Payload recibido: {"uuid":"afc9d1c8-3050-4bbb-ac7c-cf4bc1c93891","changeType":"insert","entity":"payment","entityId":"764","eventName":"payment.add","extraData":{"entity":{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 8:37:36.496727] [debug] Evento recibido: payment.add
-[2026-01-14 8:37:36.497045] [debug] Notification encodificado en JSON:{"uuid":"afc9d1c8-3050-4bbb-ac7c-cf4bc1c93891","changeType":"insert","entity":"payment","entityId":764,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2370,"accountCredit":0,"accountOutstanding":2370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2949 de esta cantidad: 130
-
-Todos los Invoice IDs: 2949
-
-Todas las cantidades: 130,00
-
-Numero de factura: 002895
-
-TOTAL de factura: 2500
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "764", "146", "14/01/2026 2:37am", "$130,00 MXN", "Tarjeta de crédito Stripe 💳", "2949", "$2.500,00 MXN", "$130,00 MXN", "$2370 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"8161ae939d204d278de215bed057dafc","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"afc9d1c8-3050-4bbb-ac7c-cf4bc1c93891","changeType":"insert","entity":"payment","entityId":764,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2370,"accountCredit":0,"accountOutstanding":2370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:37","Saldo Actual":"\ud83d\udcb22370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 130","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22370 pendientes\",\"Monto Ultimo Pago\": \"$ 130\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:37:38.657480] [notice] Logging level set to:debug
-[2026-01-14 8:37:38.657537] [debug] Payload recibido: {"uuid":"24e3a019-519d-4b3b-a706-5631c7f8f8e3","changeType":"edit","entity":"payment","entityId":"764","eventName":"payment.edit","extraData":{"entity":{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":764,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:37:33-0600","amount":130,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 8:37:38.861071] [debug] Evento recibido: payment.edit
-[2026-01-14 8:40:04.838584] [notice] Logging level set to:debug
-[2026-01-14 8:40:04.838742] [debug] Payload recibido: {
-  "id": "evt_3SpPZYEFY1WEUtgR0GtdStoh",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768380003,
-  "data": {
-    "object": {
-      "id": "pi_3SpPZYEFY1WEUtgR0WBWzjkP",
-      "object": "payment_intent",
-      "amount": 250000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 250000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpPZYEFY1WEUtgR0WBWzjkP_secret_tqGNaambJpYyYqR4Giiv8wPUG",
-      "confirmation_method": "automatic",
-      "created": 1768379820,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpPZYEFY1WEUtgR0A6bUoZ9",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpPZYEFY1WEUtgRpvGtvsWG",
-      "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-14 8:40:04.838829] [info] No UUID found in the webhook data
-[2026-01-14 8:40:04.838869] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 8:40:04.961009] [notice] Logging level set to:debug
-[2026-01-14 8:40:04.961146] [debug] Payload recibido: {
-  "id": "evt_3SpPZYEFY1WEUtgR0VZDzdNc",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768380003,
-  "data": {
-    "object": {
-      "id": "py_3SpPZYEFY1WEUtgR0A6bUoZ9",
-      "object": "charge",
-      "amount": 250000,
-      "amount_captured": 250000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpPZYEFY1WEUtgR03kGVbtv",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768380003,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpPZYEFY1WEUtgR0WBWzjkP",
-      "payment_method": "pm_1SpPZYEFY1WEUtgRpvGtvsWG",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKOOsncsGMgbGtF8O7k86LBZc4Lx5ITfkZQ9x7ZF7kqcKzhnPtu6yilZk49nu9vCCHi1sCeaD9DMLaPsM",
-      "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-14 8:40:04.961258] [info] No UUID found in the webhook data
-[2026-01-14 8:40:05.676875] [notice] Logging level set to:debug
-[2026-01-14 8:40:05.676947] [debug] Payload recibido: {"uuid":"dda77e60-d045-40dd-bf00-d4affea0f99e","changeType":"edit","entity":"invoice","entityId":"2949","eventName":"invoice.edit","extraData":{"entity":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2500,"totalUntaxed":2500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130},{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2130,"totalUntaxed":2500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130},{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 8:40:06.128689] [debug] Evento recibido: invoice.edit
-[2026-01-14 8:40:06.128808] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"dda77e60-d045-40dd-bf00-d4affea0f99e","changeType":"edit","entity":"invoice","entityId":2949,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":130,"accountCredit":130,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2949,"clientId":146,"number":"002895","createdDate":"2026-01-14T02:35:10-0600","dueDate":"2026-01-28T02:35:10-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2965,"type":"other","label":"cvbv","price":2500,"quantity":1,"total":2500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2500,"amountPaid":2500,"totalUntaxed":2500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1044,"invoiceId":2949,"paymentId":758,"creditNoteId":null,"refundId":null,"amount":300},{"id":1045,"invoiceId":2949,"paymentId":759,"creditNoteId":null,"refundId":null,"amount":700},{"id":1046,"invoiceId":2949,"paymentId":760,"creditNoteId":null,"refundId":null,"amount":200},{"id":1047,"invoiceId":2949,"paymentId":761,"creditNoteId":null,"refundId":null,"amount":300},{"id":1048,"invoiceId":2949,"paymentId":762,"creditNoteId":null,"refundId":null,"amount":300},{"id":1049,"invoiceId":2949,"paymentId":763,"creditNoteId":null,"refundId":null,"amount":200},{"id":1050,"invoiceId":2949,"paymentId":764,"creditNoteId":null,"refundId":null,"amount":130},{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:40","Saldo Actual":"\ud83d\udcb2130 a favor","Monto Ultimo Pago":"\ud83d\udcb2 2500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:40 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2130 a favor\",\"Monto Ultimo Pago\": \"$ 2500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:40 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:40\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:40:08.194597] [notice] Logging level set to:debug
-[2026-01-14 8:40:08.194766] [debug] Payload recibido: {"uuid":"88cdd5d5-82df-4f63-b0b4-19004cbc10f1","changeType":"edit","entity":"invoice","entityId":"2950","eventName":"invoice.edit","extraData":{"entity":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":2000,"totalUntaxed":2000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":0,"totalUntaxed":2000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2000,"currencyCode":"MXN","status":1,"paymentCovers":[{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 8:40:08.475655] [debug] Evento recibido: invoice.edit
-[2026-01-14 8:40:08.475883] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"88cdd5d5-82df-4f63-b0b4-19004cbc10f1","changeType":"edit","entity":"invoice","entityId":2950,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":130,"accountCredit":130,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2950,"clientId":146,"number":"002896","createdDate":"2026-01-14T02:35:50-0600","dueDate":"2026-01-28T02:35:50-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2966,"type":"other","label":"tghbjggjjgj","price":2000,"quantity":1,"total":2000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":2000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":2000,"amountPaid":2000,"totalUntaxed":2000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:40","Saldo Actual":"\ud83d\udcb2130 a favor","Monto Ultimo Pago":"\ud83d\udcb2 2500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:40 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2130 a favor\",\"Monto Ultimo Pago\": \"$ 2500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:40 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:40\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:40:09.552323] [notice] Logging level set to:debug
-[2026-01-14 8:40:09.552464] [debug] Payload recibido: {"uuid":"e21f7f3e-bad7-466f-bca2-301378fdc1e4","changeType":"insert","entity":"payment","entityId":"765","eventName":"payment.add","extraData":{"entity":{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 8:40:09.735841] [debug] Evento recibido: payment.add
-[2026-01-14 8:40:09.736273] [debug] Notification encodificado en JSON:{"uuid":"e21f7f3e-bad7-466f-bca2-301378fdc1e4","changeType":"insert","entity":"payment","entityId":765,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":130,"accountCredit":130,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 130
-
-La cantidad que sobra de $130,00 MXN se ha convertido a crédito
-
-Verificar paymentCovers 
-
-payment covers[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2949 de esta cantidad: 370
-
-Invoice ID pagado: 2950 de esta cantidad: 2000
-
-Todos los Invoice IDs: 2949, 2950
-
-Todas las cantidades: 370,00, 2.000,00
-
-Error con un problema al obtener alguna factura del cliente: Client error: `GET https://venus.siip.mx/crm/api/v1.0/invoices/2949,%202950` resulted in a `404 Not Found` response:
-{"code":404,"message":"Not Found"}
-
-
-[2026-01-14 8:40:10.145576] [notice] Logging level set to:debug
-[2026-01-14 8:40:10.145642] [debug] Payload recibido: {"uuid":"35252ede-2232-4503-b2f5-abada40dbbbe","changeType":"edit","entity":"payment","entityId":"765","eventName":"payment.edit","extraData":{"entity":{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":765,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:40:05-0600","amount":2500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1051,"invoiceId":2949,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":370},{"id":1052,"invoiceId":2950,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":2000}],"creditAmount":130,"userId":null,"attributes":[]}}}
-
-[2026-01-14 8:40:10.339585] [debug] Evento recibido: payment.edit
-[2026-01-14 8:49:06.606725] [notice] Logging level set to:debug
-[2026-01-14 8:49:06.606923] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "400"
-}
-
-
-
-[2026-01-14 8:49:06.607002] [info] No UUID found in the webhook data
-[2026-01-14 8:49:06.607059] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 8:49:07.950915] [info] Iniciando generación background para orden #37
-[2026-01-14 8:49:12.052128] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768380548.jpeg
-[2026-01-14 8:49:12.055232] [info] Generación background finalizada para orden #37
-[2026-01-14 8:49:19.912101] [notice] Logging level set to:debug
-[2026-01-14 8:49:19.912172] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 8:49:19.912189] [info] No UUID found in the webhook data
-[2026-01-14 8:49:19.912198] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 8:49:19.912205] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 8:52:10.710844] [notice] Logging level set to:debug
-[2026-01-14 8:52:10.710927] [debug] Payload recibido: {
-  "id": "evt_3SpPlGEFY1WEUtgR1ATqz9cq",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768380729,
-  "data": {
-    "object": {
-      "id": "pi_3SpPlGEFY1WEUtgR1qyAMVmr",
-      "object": "payment_intent",
-      "amount": 40000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 40000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpPlGEFY1WEUtgR1qyAMVmr_secret_QAEFJ8LHGaQiECE8KV0vHbziJ",
-      "confirmation_method": "automatic",
-      "created": 1768380546,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpPlGEFY1WEUtgR1M4rz2Xb",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpPlGEFY1WEUtgRcNwX8DrO",
-      "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-14 8:52:10.710977] [info] No UUID found in the webhook data
-[2026-01-14 8:52:10.710987] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 8:52:10.864294] [notice] Logging level set to:debug
-[2026-01-14 8:52:10.864370] [debug] Payload recibido: {
-  "id": "evt_3SpPlGEFY1WEUtgR1RpuFrAf",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768380729,
-  "data": {
-    "object": {
-      "id": "py_3SpPlGEFY1WEUtgR1M4rz2Xb",
-      "object": "charge",
-      "amount": 40000,
-      "amount_captured": 40000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpPlGEFY1WEUtgR1p1W9mgM",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768380729,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpPlGEFY1WEUtgR1qyAMVmr",
-      "payment_method": "pm_1SpPlGEFY1WEUtgRcNwX8DrO",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLmyncsGMgYM671FGek6LBZHqZF4l3PbY0OAFLaCVFGSQCWk52hTcJ06sgF-IWCI9vwZ-p9_wLB5NlyR",
-      "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-14 8:52:10.864409] [info] No UUID found in the webhook data
-[2026-01-14 8:52:11.652281] [notice] Logging level set to:debug
-[2026-01-14 8:52:11.652335] [debug] Payload recibido: {"uuid":"33c8b5d6-8d45-432d-9614-3578aded364a","changeType":"insert","entity":"payment","entityId":"766","eventName":"payment.add","extraData":{"entity":{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 8:52:11.842073] [debug] Evento recibido: payment.add
-[2026-01-14 8:52:11.842221] [debug] Notification encodificado en JSON:{"uuid":"33c8b5d6-8d45-432d-9614-3578aded364a","changeType":"insert","entity":"payment","entityId":766,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":530,"accountCredit":530,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 400
-
-La cantidad que sobra de $400,00 MXN se ha convertido a crédito
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "766", "146", "14/01/2026 2:52am", "$400,00 MXN", "Tarjeta de crédito Stripe 💳", "$530 a favor", "La cantidad que sobra de $400,00 MXN se ha convertido a crédito"],
-  "template_uuid": "4ac9dc060cf746b6ad7f2e8acad355e0",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"2e03a18deba6449389f6f31eeb8ff5f9","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"33c8b5d6-8d45-432d-9614-3578aded364a","changeType":"insert","entity":"payment","entityId":766,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":530,"accountCredit":530,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 02:52","Saldo Actual":"\ud83d\udcb2530 a favor","Monto Ultimo Pago":"\ud83d\udcb2 400","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2530 a favor\",\"Monto Ultimo Pago\": \"$ 400\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 02:52\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 8:52:14.836944] [notice] Logging level set to:debug
-[2026-01-14 8:52:14.837029] [debug] Payload recibido: {"uuid":"64316072-05d6-47d1-adc3-3141655e780a","changeType":"edit","entity":"payment","entityId":"766","eventName":"payment.edit","extraData":{"entity":{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":400,"userId":null,"attributes":[]}}}
-
-[2026-01-14 8:52:15.050725] [debug] Evento recibido: payment.edit
-[2026-01-14 16:04:08.987947] [notice] Logging level set to:debug
-[2026-01-14 16:04:08.988101] [debug] Payload recibido: {"uuid":"64755190-6638-42a0-bf08-cb73552eee92","changeType":"insert","entity":"invoice","entityId":"2951","eventName":"invoice.add","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":530,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-14 16:04:09.203563] [debug] Evento recibido: invoice.add
-[2026-01-14 16:04:09.203757] [debug] Adición de Factura
-
-[2026-01-14 16:04:09.203849] [debug] datos del notification para el invoice add:{"uuid":"64755190-6638-42a0-bf08-cb73552eee92","changeType":"insert","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2470,"accountCredit":0,"accountOutstanding":2470,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":530,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-14 16:04:09.203912] [debug] Account Balance: -2470
-
-Notificacion data: {"uuid":"64755190-6638-42a0-bf08-cb73552eee92","changeType":"insert","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2470,"accountCredit":0,"accountOutstanding":2470,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":530,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":766,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T02:52:11-0600","amount":400,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 10:04","Saldo Actual":"\ud83d\udcb22470 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 400","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 02:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22470 pendientes\",\"Monto Ultimo Pago\": \"$ 400\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 02:52 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 10:04\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:19:32.175105] [notice] Logging level set to:debug
-[2026-01-14 17:19:32.175286] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-14 17:19:32.175332] [info] No UUID found in the webhook data
-[2026-01-14 17:19:32.175370] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:19:33.624802] [info] Iniciando generación background para orden #38
-[2026-01-14 17:19:40.039155] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768411174.jpeg
-[2026-01-14 17:19:40.042680] [info] Generación background finalizada para orden #38
-[2026-01-14 17:20:09.342283] [notice] Logging level set to:debug
-[2026-01-14 17:20:09.342494] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 33
-}
-
-
-[2026-01-14 17:20:09.342573] [info] No UUID found in the webhook data
-[2026-01-14 17:20:09.342637] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 17:20:09.357038] [debug] Estado recuperado para Orden #33: {"id":33,"client_id":146,"amount":"300.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbXlEQ2pibzY3RlFadjVaN0NpVUhPTUNhZlpGdm8w0100pJ9hgB31","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768374824.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768374824.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares venus","created_at":"2026-01-14T07:13:43.346Z","updated_at":"2026-01-14T07:13:47.716Z"}
-[2026-01-14 17:21:22.357117] [notice] Logging level set to:debug
-[2026-01-14 17:21:22.357275] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 5
-}
-
-
-[2026-01-14 17:21:22.357328] [info] No UUID found in the webhook data
-[2026-01-14 17:21:22.357367] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 17:21:22.371301] [debug] Estado recuperado para Orden #5: {"id":5,"client_id":146,"amount":"400.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbTNSMkY1TmRwdFhhNmxVM2RlanNSWmJZdmdKaGU50100iKQd4z6I","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_1768163649.jpeg","voucher_image_url":"https:\/\/siip.mx\/wp\/wp-content\/uploads\/vouchers_oxxo\/voucher_Delfino_De_los_Mares_1768163649.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares","created_at":"2026-01-11T20:34:09.220Z","updated_at":"2026-01-11T20:34:10.781Z"}
-[2026-01-14 17:22:38.672759] [notice] Logging level set to:debug
-[2026-01-14 17:22:38.672848] [debug] Payload recibido: {
-  "id": "evt_3SpXjDEFY1WEUtgR1uOvKElb",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768411357,
-  "data": {
-    "object": {
-      "id": "py_3SpXjDEFY1WEUtgR17WXl0L1",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpXjDEFY1WEUtgR1MNdmVrm",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768411356,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpXjDEFY1WEUtgR1lyrtTOL",
-      "payment_method": "pm_1SpXjEEFY1WEUtgRAARNk1xa",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKN2hn8sGMgYMh8wsnf86LBZrMa3ikI-Gel_a8MlMOqDUAdSHk0_n0TK9wJ3HaVBjl0IdqXLkCSrJozY0",
-      "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-14 17:22:38.672888] [info] No UUID found in the webhook data
-[2026-01-14 17:22:38.673346] [notice] Logging level set to:debug
-[2026-01-14 17:22:38.673403] [debug] Payload recibido: {
-  "id": "evt_3SpXjDEFY1WEUtgR1obNIxqB",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768411357,
-  "data": {
-    "object": {
-      "id": "pi_3SpXjDEFY1WEUtgR1lyrtTOL",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpXjDEFY1WEUtgR1lyrtTOL_secret_8s8nGcMCkeBaTY3guH3FSpVSz",
-      "confirmation_method": "automatic",
-      "created": 1768411171,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpXjDEFY1WEUtgR17WXl0L1",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpXjEEFY1WEUtgRAARNk1xa",
-      "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-14 17:22:38.673434] [info] No UUID found in the webhook data
-[2026-01-14 17:22:38.673444] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:22:39.560401] [notice] Logging level set to:debug
-[2026-01-14 17:22:39.560475] [debug] Payload recibido: {"uuid":"3e0ffc56-afa0-4568-a5d1-4cd63f979b9d","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":730,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":530,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 17:22:40.004657] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:22:40.004864] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"3e0ffc56-afa0-4568-a5d1-4cd63f979b9d","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2270,"accountCredit":0,"accountOutstanding":2270,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":730,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:22","Saldo Actual":"\ud83d\udcb22270 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22270 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:22:42.206293] [notice] Logging level set to:debug
-[2026-01-14 17:22:42.206487] [debug] Payload recibido: {"uuid":"3b55028b-deab-44e4-b651-171f03c0b5d8","changeType":"insert","entity":"payment","entityId":"767","eventName":"payment.add","extraData":{"entity":{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 17:22:42.454746] [debug] Evento recibido: payment.add
-[2026-01-14 17:22:42.455102] [debug] Notification encodificado en JSON:{"uuid":"3b55028b-deab-44e4-b651-171f03c0b5d8","changeType":"insert","entity":"payment","entityId":767,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2270,"accountCredit":0,"accountOutstanding":2270,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 200
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 200,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "767", "146", "14/01/2026 11:22am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$200,00 MXN", "$2270 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"50d12c60d9514333a93bc85b71f74d1f","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"3b55028b-deab-44e4-b651-171f03c0b5d8","changeType":"insert","entity":"payment","entityId":767,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2270,"accountCredit":0,"accountOutstanding":2270,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:22","Saldo Actual":"\ud83d\udcb22270 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22270 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:22:44.883009] [notice] Logging level set to:debug
-[2026-01-14 17:22:44.883066] [debug] Payload recibido: {"uuid":"e32e3b1f-7ae1-4396-9b0f-2571399640d9","changeType":"edit","entity":"payment","entityId":"767","eventName":"payment.edit","extraData":{"entity":{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":767,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:22:39-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 17:22:45.053076] [debug] Evento recibido: payment.edit
-[2026-01-14 17:23:49.947714] [notice] Logging level set to:debug
-[2026-01-14 17:23:49.947799] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-14 17:23:49.947818] [info] No UUID found in the webhook data
-[2026-01-14 17:23:49.947828] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:23:51.339116] [info] Iniciando generación background para orden #39
-[2026-01-14 17:23:55.603768] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768411432.jpeg
-[2026-01-14 17:23:55.606142] [info] Generación background finalizada para orden #39
-[2026-01-14 17:26:55.679622] [notice] Logging level set to:debug
-[2026-01-14 17:26:55.679717] [debug] Payload recibido: {
-  "id": "evt_3SpXnNEFY1WEUtgR0oCygQ6Z",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768411614,
-  "data": {
-    "object": {
-      "id": "pi_3SpXnNEFY1WEUtgR0GGeF7AQ",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpXnNEFY1WEUtgR0GGeF7AQ_secret_a8PyGNDOSS2ZNG8frcPTRJ7d7",
-      "confirmation_method": "automatic",
-      "created": 1768411429,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpXnNEFY1WEUtgR0ibxV19n",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpXnNEFY1WEUtgR9P67PALy",
-      "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-14 17:26:55.679755] [info] No UUID found in the webhook data
-[2026-01-14 17:26:55.679765] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:26:55.823656] [notice] Logging level set to:debug
-[2026-01-14 17:26:55.823779] [debug] Payload recibido: {
-  "id": "evt_3SpXnNEFY1WEUtgR0ow3wwv4",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768411614,
-  "data": {
-    "object": {
-      "id": "py_3SpXnNEFY1WEUtgR0ibxV19n",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpXnNEFY1WEUtgR0aEKMhDZ",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768411613,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpXnNEFY1WEUtgR0GGeF7AQ",
-      "payment_method": "pm_1SpXnNEFY1WEUtgR9P67PALy",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKN6jn8sGMgag7dmf-nM6LBak4TBW_-vAeTK5Ufm1-PwIzOTYSBavO_qjk8GTGRvrPATwjJrciT6oqCRE",
-      "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-14 17:26:55.823837] [info] No UUID found in the webhook data
-[2026-01-14 17:26:56.578151] [notice] Logging level set to:debug
-[2026-01-14 17:26:56.578217] [debug] Payload recibido: {"uuid":"d5e4af8d-9a95-4e1d-a107-a7b8ea78ebdf","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":930,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2070,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":730,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2270,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 17:26:56.827595] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:26:56.827791] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"d5e4af8d-9a95-4e1d-a107-a7b8ea78ebdf","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2070,"accountCredit":0,"accountOutstanding":2070,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":930,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":2070,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:26","Saldo Actual":"\ud83d\udcb22070 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22070 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:26\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:26:59.280980] [notice] Logging level set to:debug
-[2026-01-14 17:26:59.281153] [debug] Payload recibido: {"uuid":"426bcfa7-a28c-402f-a3d6-9592df1890ae","changeType":"insert","entity":"payment","entityId":"768","eventName":"payment.add","extraData":{"entity":{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 17:26:59.550110] [debug] Evento recibido: payment.add
-[2026-01-14 17:26:59.550256] [debug] Notification encodificado en JSON:{"uuid":"426bcfa7-a28c-402f-a3d6-9592df1890ae","changeType":"insert","entity":"payment","entityId":768,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2070,"accountCredit":0,"accountOutstanding":2070,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 200
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 200,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "768", "146", "14/01/2026 11:26am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$200,00 MXN", "$2070 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"bc4f4c7fa32a472b8708c1b7807912f8","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"426bcfa7-a28c-402f-a3d6-9592df1890ae","changeType":"insert","entity":"payment","entityId":768,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-2070,"accountCredit":0,"accountOutstanding":2070,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:27","Saldo Actual":"\ud83d\udcb22070 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb22070 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:27\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:27:01.423979] [notice] Logging level set to:debug
-[2026-01-14 17:27:01.424173] [debug] Payload recibido: {"uuid":"0ecba8dd-6887-4173-a199-99d13bd6a76d","changeType":"edit","entity":"payment","entityId":"768","eventName":"payment.edit","extraData":{"entity":{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":768,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:26:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 17:27:01.594676] [debug] Evento recibido: payment.edit
-[2026-01-14 17:32:48.385066] [notice] Logging level set to:debug
-[2026-01-14 17:32:48.385169] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-14 17:32:48.385188] [info] No UUID found in the webhook data
-[2026-01-14 17:32:48.385196] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:32:49.880336] [info] Iniciando generación background para orden #40
-[2026-01-14 17:32:54.186414] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768411970.jpeg
-[2026-01-14 17:32:54.189328] [info] Generación background finalizada para orden #40
-[2026-01-14 17:33:03.729485] [notice] Logging level set to:debug
-[2026-01-14 17:33:03.729665] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 0
-}
-
-
-[2026-01-14 17:33:03.729721] [info] No UUID found in the webhook data
-[2026-01-14 17:33:03.729759] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 17:33:03.729795] [warning] Solicitud de oxxo.retrieve sin order_id
-[2026-01-14 17:35:52.560240] [notice] Logging level set to:debug
-[2026-01-14 17:35:52.560338] [debug] Payload recibido: {
-  "id": "evt_3SpXw4EFY1WEUtgR0XEHBAfq",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768412150,
-  "data": {
-    "object": {
-      "id": "pi_3SpXw4EFY1WEUtgR0dDeNNCo",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpXw4EFY1WEUtgR0dDeNNCo_secret_wyeWzd59ZNuMGcu9L9UtB0VCh",
-      "confirmation_method": "automatic",
-      "created": 1768411968,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpXw4EFY1WEUtgR04qjKQmP",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpXw4EFY1WEUtgRf7KoQXt9",
-      "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-14 17:35:52.560376] [info] No UUID found in the webhook data
-[2026-01-14 17:35:52.560386] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:35:52.956430] [notice] Logging level set to:debug
-[2026-01-14 17:35:52.957820] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
-
-
-
-[2026-01-14 17:35:52.957916] [info] No UUID found in the webhook data
-[2026-01-14 17:35:52.957981] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:35:53.807466] [notice] Logging level set to:debug
-[2026-01-14 17:35:53.807554] [debug] Payload recibido: {"uuid":"8df1bda1-c6eb-4bf9-8bba-43e250551a74","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1130,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1870,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":930,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2070,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 17:35:54.010164] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:35:54.010293] [debug] Edición de Factura
-
-[2026-01-14 17:35:54.166229] [notice] Logging level set to:debug
-[2026-01-14 17:35:54.166527] [debug] Payload recibido: {
-  "id": "evt_3SpXw4EFY1WEUtgR0ZDEAZX9",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768412151,
-  "data": {
-    "object": {
-      "id": "py_3SpXw4EFY1WEUtgR04qjKQmP",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpXw4EFY1WEUtgR0sUpUDNx",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768412150,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "clientId": "146",
-        "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_3SpXw4EFY1WEUtgR0dDeNNCo",
-      "payment_method": "pm_1SpXw4EFY1WEUtgRf7KoQXt9",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPenn8sGMgbwrCZgzJw6LBYrLj6blwWqO035mtYPP17t6QgaPrI5w_1kfSrLf7ssWGPkxJSph9NXVB1m",
-      "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
+      "net_amount": 10000,
+      "type": "funded"
     }
   },
   "livemode": false,
   "pending_webhooks": 1,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_QrEwU5RDfodt1s",
+    "idempotency_key": "c18a4122-15f4-499f-8d13-7d7e5c346969"
   },
-  "type": "charge.succeeded"
+  "type": "customer_cash_balance_transaction.created"
 }
 
-[2026-01-14 17:35:54.166627] [info] No UUID found in the webhook data
-[2026-01-14 17:35:54.453288] [info] Iniciando generación background para orden #41
-Notificacion data: {"uuid":"8df1bda1-c6eb-4bf9-8bba-43e250551a74","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1870,"accountCredit":0,"accountOutstanding":1870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1130,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1870,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+[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"}
 
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:35","Saldo Actual":"\ud83d\udcb21870 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:35 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21870 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:35 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:35\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:35:56.267023] [notice] Logging level set to:debug
-[2026-01-14 17:35:56.283375] [debug] Payload recibido: {"uuid":"4f0b3c29-01ee-424f-83d5-a76cd993ca1b","changeType":"insert","entity":"payment","entityId":"769","eventName":"payment.add","extraData":{"entity":{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 17:35:56.851980] [debug] Evento recibido: payment.add
-[2026-01-14 17:35:56.852154] [debug] Notification encodificado en JSON:{"uuid":"4f0b3c29-01ee-424f-83d5-a76cd993ca1b","changeType":"insert","entity":"payment","entityId":769,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1870,"accountCredit":0,"accountOutstanding":1870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 200
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 200,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "769", "146", "14/01/2026 11:35am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$200,00 MXN", "$1870 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"53f53cf995384cada6c557f091224748","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"4f0b3c29-01ee-424f-83d5-a76cd993ca1b","changeType":"insert","entity":"payment","entityId":769,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1870,"accountCredit":0,"accountOutstanding":1870,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:35","Saldo Actual":"\ud83d\udcb21870 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:35 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21870 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:35 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:35\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:35:58.964629] [notice] Logging level set to:debug
-[2026-01-14 17:35:58.964694] [debug] Payload recibido: {"uuid":"3d06866c-1a1e-4352-8208-7a8dad8d0a13","changeType":"edit","entity":"payment","entityId":"769","eventName":"payment.edit","extraData":{"entity":{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":769,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:35:53-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 17:35:59.061913] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768412155.jpeg
-[2026-01-14 17:35:59.068058] [info] Generación background finalizada para orden #41
-[2026-01-14 17:35:59.173434] [debug] Evento recibido: payment.edit
-[2026-01-14 17:38:56.266000] [notice] Logging level set to:debug
-[2026-01-14 17:38:56.266232] [debug] Payload recibido: {
-  "id": "evt_3SpXz2EFY1WEUtgR1Dg66LqX",
+[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": 1768412335,
+  "created": 1769809701,
   "data": {
     "object": {
-      "id": "pi_3SpXz2EFY1WEUtgR1uwthDmV",
+      "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": 20000,
+      "amount": 12000,
       "amount_capturable": 0,
       "amount_details": {
         "tip": {}
       },
-      "amount_received": 20000,
+      "amount_received": 12000,
       "application": null,
       "application_fee_amount": null,
       "automatic_payment_methods": null,
       "canceled_at": null,
       "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpXz2EFY1WEUtgR1uwthDmV_secret_EmjTv1oJ1eABhDI1CyDTXYHWS",
+      "capture_method": "automatic_async",
+      "client_secret": "pi_3SvOpsEFY1WEUtgR0wRR97B1_secret_R8cKS8zUYWznBQnEPEisYCRRw",
       "confirmation_method": "automatic",
-      "created": 1768412152,
+      "created": 1769806956,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "py_3SpXz2EFY1WEUtgR1EesxRLg",
+      "latest_charge": "py_3SvOpsEFY1WEUtgR0T5hpjql",
       "livemode": false,
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_method": "pm_1SpXz3EFY1WEUtgRRuyi9MpG",
+      "payment_method": "pm_1SvOpsEFY1WEUtgRs0LTTLBM",
       "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
+          "bank_transfer": {
+            "type": "mx_bank_transfer"
+          },
+          "funding_type": "bank_transfer"
         }
       },
       "payment_method_types": [
-        "customer_balance",
-        "card",
-        "oxxo"
+        "customer_balance"
       ],
       "processing": null,
       "receipt_email": null,
@@ -5711,31 +181,31 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_mGt6Znde7jrmHt",
+    "idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
   },
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-14 17:38:56.266345] [info] No UUID found in the webhook data
-[2026-01-14 17:38:56.266411] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:38:56.411700] [notice] Logging level set to:debug
-[2026-01-14 17:38:56.411757] [debug] Payload recibido: {
-  "id": "evt_3SpXz2EFY1WEUtgR1MWgYyoj",
+[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": 1768412335,
+  "created": 1769809702,
   "data": {
     "object": {
-      "id": "py_3SpXz2EFY1WEUtgR1EesxRLg",
+      "id": "py_3SvOpsEFY1WEUtgR0T5hpjql",
       "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
+      "amount": 12000,
+      "amount_captured": 12000,
       "amount_refunded": 0,
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SpXz2EFY1WEUtgR13iGslar",
+      "balance_transaction": null,
       "billing_details": {
         "address": {
           "city": null,
@@ -5745,16 +215,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": null,
+        "name": null,
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768412334,
+      "created": 1769809702,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -5768,10 +238,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "on_behalf_of": null,
       "order": null,
@@ -5786,18 +254,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SpXz2EFY1WEUtgR1uwthDmV",
-      "payment_method": "pm_1SpXz3EFY1WEUtgRRuyi9MpG",
+      "payment_intent": "pi_3SvOpsEFY1WEUtgR0wRR97B1",
+      "payment_method": "pm_1SvOpsEFY1WEUtgRs0LTTLBM",
       "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
+        "customer_balance": {},
+        "type": "customer_balance"
       },
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKK-pn8sGMgYf1QJx8Nc6LBZKvefIrcgxsPjIYGCv40-_nR5gTCHq410DOhlbGRS_cXif_QsecLZxREG0",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKKfO9MsGMgbJNZ5VkpE6LBaPMVt8KH1jqxchS6VvDWtxePlEdnP2-eLUJL_f2hAIEHE5whUBSJdamYrI",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -5813,406 +279,170 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 2,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_mGt6Znde7jrmHt",
+    "idempotency_key": "776e1823-86b5-47dd-935f-de2af66f8d97"
   },
   "type": "charge.succeeded"
 }
 
-[2026-01-14 17:38:56.411798] [info] No UUID found in the webhook data
-[2026-01-14 17:38:57.240932] [notice] Logging level set to:debug
-[2026-01-14 17:38:57.240999] [debug] Payload recibido: {"uuid":"5f682e4c-cbf7-4e9e-a0d6-774ef7d39292","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1330,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1670,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1130,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1870,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+[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-14 17:38:57.560935] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:38:57.561245] [debug] Edición de Factura
+[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":[]}}
 
-Notificacion data: {"uuid":"5f682e4c-cbf7-4e9e-a0d6-774ef7d39292","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1670,"accountCredit":0,"accountOutstanding":1670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1330,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1670,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+[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
 
-Dentro del proceso del patch: 
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Datos traidos con payment api: [{"id":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
+El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
+Procesando PDF con microservicio: http://172.16.5.134:8050/process
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:38","Saldo Actual":"\ud83d\udcb21670 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21670 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:38\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+[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
 
-[2026-01-14 17:38:59.887175] [notice] Logging level set to:debug
-[2026-01-14 17:38:59.887252] [debug] Payload recibido: {"uuid":"13404125-69d3-42f4-bf94-98e052fed15e","changeType":"insert","entity":"payment","entityId":"770","eventName":"payment.add","extraData":{"entity":{"id":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
+Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
 
-[2026-01-14 17:39:00.335844] [debug] Evento recibido: payment.add
-[2026-01-14 17:39:00.335983] [debug] Notification encodificado en JSON:{"uuid":"13404125-69d3-42f4-bf94-98e052fed15e","changeType":"insert","entity":"payment","entityId":770,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1670,"accountCredit":0,"accountOutstanding":1670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 200
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 200,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
+Proceso de obtención de imagen finalizado.
 
 La cadena CURL que se envia es: {
-    "to": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
-    "type": "text",
+    "type": "document",
     "content": {
-      "text": "John Doe"
+      "text": "S/M",
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769809706.jpg"
     },
-  "template_values": ["Delfino De los Mares venus", "770", "146", "14/01/2026 11:39am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$200,00 MXN", "$1670 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
+    "template_values": ["Juan Escutia", "$120", "$5325 a favor"],
+    "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"398629dc3023480ebff5a7b022cb5e06","status":"enqueued"}}
+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":"13404125-69d3-42f4-bf94-98e052fed15e","changeType":"insert","entity":"payment","entityId":770,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1670,"accountCredit":0,"accountOutstanding":1670,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
+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":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:39","Saldo Actual":"\ud83d\udcb21670 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21670 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:39\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-14 17:39:03.037508] [notice] Logging level set to:debug
-[2026-01-14 17:39:03.037699] [debug] Payload recibido: {"uuid":"4e2672ee-f50c-43c7-8400-bbdaf56abd8c","changeType":"edit","entity":"payment","entityId":"770","eventName":"payment.edit","extraData":{"entity":{"id":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":770,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:38:56-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5205 a favor'
 
-[2026-01-14 17:39:03.217214] [debug] Evento recibido: payment.edit
-[2026-01-14 17:40:15.261471] [notice] Logging level set to:debug
-[2026-01-14 17:40:15.261635] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "200"
-}
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5325 a favor'
 
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
-[2026-01-14 17:40:15.261684] [info] No UUID found in the webhook data
-[2026-01-14 17:40:15.261723] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:40:16.642847] [info] Iniciando generación background para orden #42
-[2026-01-14 17:40:20.839999] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768412417.jpeg
-[2026-01-14 17:40:20.842406] [info] Generación background finalizada para orden #42
-[2026-01-14 17:42:52.220181] [notice] Logging level set to:debug
-[2026-01-14 17:42:52.220350] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "100"
-}
+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-14 17:42:52.220396] [info] No UUID found in the webhook data
-[2026-01-14 17:42:52.220429] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 17:42:53.633105] [info] Iniciando generación background para orden #43
-[2026-01-14 17:42:57.749686] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768412574.jpeg
-[2026-01-14 17:42:57.752017] [info] Generación background finalizada para orden #43
-[2026-01-14 17:43:06.088527] [notice] Logging level set to:debug
-[2026-01-14 17:43:06.088628] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 43
-}
-
-
-[2026-01-14 17:43:06.088649] [info] No UUID found in the webhook data
-[2026-01-14 17:43:06.088663] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 17:43:06.093890] [debug] Estado recuperado para Orden #43: {"id":43,"client_id":146,"amount":"100.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbjhNbzNNWUh2NWR0WHdyT25jWmREcEd4cWFSWlk00100RnF6AQLy","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768412574.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768412574.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares venus","created_at":"2026-01-14T17:42:53.629Z","updated_at":"2026-01-14T17:42:57.733Z"}
-[2026-01-14 17:43:19.638012] [notice] Logging level set to:debug
-[2026-01-14 17:43:19.639029] [debug] Payload recibido: {
-  "id": "evt_3SpY3HEFY1WEUtgR0DaF6F7u",
+[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": 1768412598,
+  "created": 1769810259,
   "data": {
     "object": {
-      "id": "pi_3SpY3HEFY1WEUtgR0gkg49YU",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpY3HEFY1WEUtgR0gkg49YU_secret_PwOEC5lLe0WkI2fDp9kMDznIx",
-      "confirmation_method": "automatic",
-      "created": 1768412415,
+      "id": "ccsbtxn_1SvPh8EFY1WEUtgRepp7G2xR",
+      "object": "customer_cash_balance_transaction",
+      "created": 1769810258,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpY3HEFY1WEUtgR0mV3hQFg",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpY3HEFY1WEUtgRhLZXNN9L",
-      "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
+      "ending_balance": 10000,
+      "funded": {
+        "bank_transfer": {
+          "reference": "926689",
+          "type": "mx_bank_transfer"
         }
       },
-      "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,
+      "net_amount": 10000,
+      "type": "funded"
     }
   },
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_830KGTjhwAVGu1",
+    "idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
   },
-  "type": "payment_intent.succeeded"
+  "type": "customer_cash_balance_transaction.created"
 }
 
-[2026-01-14 17:43:19.639151] [info] No UUID found in the webhook data
-[2026-01-14 17:43:19.639198] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:43:19.809540] [notice] Logging level set to:debug
-[2026-01-14 17:43:19.809752] [debug] Payload recibido: {
-  "id": "evt_3SpY3HEFY1WEUtgR0AqKzbFV",
+[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": 1768412598,
+  "created": 1769810259,
   "data": {
     "object": {
-      "id": "py_3SpY3HEFY1WEUtgR0mV3hQFg",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SpY3HEFY1WEUtgR0KuIOZJD",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": null,
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
-        "phone": null,
-        "tax_id": null
+      "id": "ccsbtxn_1SvPh9EFY1WEUtgRfFftjxOx",
+      "object": "customer_cash_balance_transaction",
+      "applied_to_payment": {
+        "payment_intent": "pi_3SvOt0EFY1WEUtgR1Z4KqduM"
       },
-      "calculated_statement_descriptor": null,
-      "captured": true,
-      "created": 1768412597,
+      "created": 1769810259,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "description": null,
-      "destination": null,
-      "dispute": null,
-      "disputed": false,
-      "failure_balance_transaction": null,
-      "failure_code": null,
-      "failure_message": null,
-      "fraud_details": {},
-      "invoice": null,
+      "customer": "cus_QJk0PDx5ClqJ4w",
+      "customer_account": null,
+      "ending_balance": 0,
       "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "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_3SpY3HEFY1WEUtgR0gkg49YU",
-      "payment_method": "pm_1SpY3HEFY1WEUtgRhLZXNN9L",
-      "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLarn8sGMgbQp_l119g6LBaTWj79izJRlygM-zLM92i25iYcauTV7wh8G2pQVd_D2my3LmFmlQ8hEGVe",
-      "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
+      "net_amount": -10000,
+      "type": "applied_to_payment"
     }
   },
   "livemode": false,
-  "pending_webhooks": 2,
+  "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_830KGTjhwAVGu1",
+    "idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
   },
-  "type": "charge.succeeded"
+  "type": "customer_cash_balance_transaction.created"
 }
 
-[2026-01-14 17:43:19.809904] [info] No UUID found in the webhook data
-[2026-01-14 17:43:20.577398] [notice] Logging level set to:debug
-[2026-01-14 17:43:20.577461] [debug] Payload recibido: {"uuid":"5e7a1882-2b0f-4305-a656-a8df22e323ea","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1530,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1330,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1670,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+[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-14 17:43:20.767913] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:43:20.768052] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"5e7a1882-2b0f-4305-a656-a8df22e323ea","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1470,"accountCredit":0,"accountOutstanding":1470,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1530,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:43","Saldo Actual":"\ud83d\udcb21470 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21470 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:43\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:43:23.088972] [notice] Logging level set to:debug
-[2026-01-14 17:43:23.089046] [debug] Payload recibido: {"uuid":"bd723256-8a04-4450-a57f-841a5afb090c","changeType":"insert","entity":"payment","entityId":"771","eventName":"payment.add","extraData":{"entity":{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 17:43:23.349792] [debug] Evento recibido: payment.add
-[2026-01-14 17:43:23.349941] [debug] Notification encodificado en JSON:{"uuid":"bd723256-8a04-4450-a57f-841a5afb090c","changeType":"insert","entity":"payment","entityId":771,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1470,"accountCredit":0,"accountOutstanding":1470,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 200
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 200,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "771", "146", "14/01/2026 11:43am", "$200,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$200,00 MXN", "$1470 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"998d8fc9984d41cd99de2cf8f1ca3b99","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"bd723256-8a04-4450-a57f-841a5afb090c","changeType":"insert","entity":"payment","entityId":771,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1470,"accountCredit":0,"accountOutstanding":1470,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:43","Saldo Actual":"\ud83d\udcb21470 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21470 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:43\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:43:25.659315] [notice] Logging level set to:debug
-[2026-01-14 17:43:25.659501] [debug] Payload recibido: {"uuid":"c0ceee22-e6df-49ab-ab84-b32c7c1e8236","changeType":"edit","entity":"payment","entityId":"771","eventName":"payment.edit","extraData":{"entity":{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":771,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:43:20-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 17:43:25.835009] [debug] Evento recibido: payment.edit
-[2026-01-14 17:46:00.076289] [notice] Logging level set to:debug
-[2026-01-14 17:46:00.076492] [debug] Payload recibido: {
-  "id": "evt_3SpY5nEFY1WEUtgR10YhS9oi",
+[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": 1768412759,
+  "created": 1769810260,
   "data": {
     "object": {
-      "id": "py_3SpY5nEFY1WEUtgR1XpbnU7f",
+      "id": "py_3SvOt0EFY1WEUtgR1xBxeech",
       "object": "charge",
       "amount": 10000,
       "amount_captured": 10000,
@@ -6220,7 +450,7 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SpY5nEFY1WEUtgR1IVEV0Tw",
+      "balance_transaction": null,
       "billing_details": {
         "address": {
           "city": null,
@@ -6230,16 +460,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": null,
+        "name": null,
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768412758,
+      "created": 1769810259,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -6253,10 +483,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "on_behalf_of": null,
       "order": null,
@@ -6271,18 +499,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SpY5nEFY1WEUtgR1AB2MNF0",
-      "payment_method": "pm_1SpY5oEFY1WEUtgRwkDiHErL",
+      "payment_intent": "pi_3SvOt0EFY1WEUtgR1Z4KqduM",
+      "payment_method": "pm_1SvOt0EFY1WEUtgRxBoodeI2",
       "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
+        "customer_balance": {},
+        "type": "customer_balance"
       },
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNesn8sGMgaTt9CeN5A6LBYjf-XkO-RsdmcRXBYAHTmfDoK-RxrJ3nE17MkIqgyMRx53EqEgNTpCgrRi",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNTS9MsGMgZYATvNDjE6LBa13_CMls_WFdehNQV9PZsI2zihNI0F1XERbhNC-6T7AxdKkK5u-bV7ilRS",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -6298,22 +524,22 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 2,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_830KGTjhwAVGu1",
+    "idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
   },
   "type": "charge.succeeded"
 }
 
-[2026-01-14 17:46:00.076576] [info] No UUID found in the webhook data
-[2026-01-14 17:46:00.109147] [notice] Logging level set to:debug
-[2026-01-14 17:46:00.109217] [debug] Payload recibido: {
-  "id": "evt_3SpY5nEFY1WEUtgR1nUWtS4Q",
+[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": 1768412758,
+  "created": 1769810260,
   "data": {
     "object": {
-      "id": "pi_3SpY5nEFY1WEUtgR1AB2MNF0",
+      "id": "pi_3SvOt0EFY1WEUtgR1Z4KqduM",
       "object": "payment_intent",
       "amount": 10000,
       "amount_capturable": 0,
@@ -6326,49 +552,39 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "automatic_payment_methods": null,
       "canceled_at": null,
       "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpY5nEFY1WEUtgR1AB2MNF0_secret_vDrysJzCcDWqHYhbaDYIXLZHB",
+      "capture_method": "automatic_async",
+      "client_secret": "pi_3SvOt0EFY1WEUtgR1Z4KqduM_secret_1W9XtFKSclGy6uQ8lCRbMrLcQ",
       "confirmation_method": "automatic",
-      "created": 1768412571,
+      "created": 1769807150,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "py_3SpY5nEFY1WEUtgR1XpbnU7f",
+      "latest_charge": "py_3SvOt0EFY1WEUtgR1xBxeech",
       "livemode": false,
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_method": "pm_1SpY5oEFY1WEUtgRwkDiHErL",
+      "payment_method": "pm_1SvOt0EFY1WEUtgRxBoodeI2",
       "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
+          "bank_transfer": {
+            "type": "mx_bank_transfer"
+          },
+          "funding_type": "bank_transfer"
         }
       },
       "payment_method_types": [
-        "customer_balance",
-        "card",
-        "oxxo"
+        "customer_balance"
       ],
       "processing": null,
       "receipt_email": null,
@@ -6386,592 +602,179 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_830KGTjhwAVGu1",
+    "idempotency_key": "afaa80ae-9900-4601-bc20-9c1effefbb1a"
   },
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-14 17:46:00.109267] [info] No UUID found in the webhook data
-[2026-01-14 17:46:00.109278] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 17:46:00.815422] [notice] Logging level set to:debug
-[2026-01-14 17:46:00.815581] [debug] Payload recibido: {"uuid":"e8f9d6fc-6179-4416-bf46-d653eb3ef5ae","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1630,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"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":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1530,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1470,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"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":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+[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-14 17:46:01.099848] [debug] Evento recibido: invoice.edit
-[2026-01-14 17:46:01.100061] [debug] Edición de Factura
+[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":[]}}
 
-Notificacion data: {"uuid":"e8f9d6fc-6179-4416-bf46-d653eb3ef5ae","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1370,"accountCredit":0,"accountOutstanding":1370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1630,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"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":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+[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
 
-Dentro del proceso del patch: 
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Datos traidos con payment api: [{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:46","Saldo Actual":"\ud83d\udcb21370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21370 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:46\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:46:03.531325] [notice] Logging level set to:debug
-[2026-01-14 17:46:03.531383] [debug] Payload recibido: {"uuid":"8208375d-0816-4c55-9f62-7651ca469084","changeType":"insert","entity":"payment","entityId":"772","eventName":"payment.add","extraData":{"entity":{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 17:46:03.872246] [debug] Evento recibido: payment.add
-[2026-01-14 17:46:03.872540] [debug] Notification encodificado en JSON:{"uuid":"8208375d-0816-4c55-9f62-7651ca469084","changeType":"insert","entity":"payment","entityId":772,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1370,"accountCredit":0,"accountOutstanding":1370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-Datos traidos con payment api: [{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Datos client data credit amount: 0
-
-Verificar paymentCovers 
-
-payment covers[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}]
-
-Datos del payment covers:
-
-Invoice ID pagado: 2951 de esta cantidad: 100
-
-Todos los Invoice IDs: 2951
-
-Todas las cantidades: 100,00
-
-Numero de factura: 002897
-
-TOTAL de factura: 3000
-
-Se terminó de verificar payment covers
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "text",
-    "content": {
-      "text": "John Doe"
-    },
-  "template_values": ["Delfino De los Mares venus", "772", "146", "14/01/2026 11:46am", "$100,00 MXN", "Tarjeta de crédito Stripe 💳", "2951", "$3.000,00 MXN", "$100,00 MXN", "$1370 pendientes", "_________________________"],
-  "template_uuid": "c1396a6ad3cb4192916d4ac2bfb782a5",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"74bb48561b9442a58c069badecb6ef09","status":"enqueued"}}
-La notificación fue enviada correctamente con estado: enqueued
-
-Notificacion data: {"uuid":"8208375d-0816-4c55-9f62-7651ca469084","changeType":"insert","entity":"payment","entityId":772,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1370,"accountCredit":0,"accountOutstanding":1370,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 11:46","Saldo Actual":"\ud83d\udcb21370 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 11:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21370 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 11:46 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 11:46\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 17:46:05.697036] [notice] Logging level set to:debug
-[2026-01-14 17:46:05.697124] [debug] Payload recibido: {"uuid":"a21650a6-f926-4476-8d2b-f1345b3f3a4b","changeType":"edit","entity":"payment","entityId":"772","eventName":"payment.edit","extraData":{"entity":{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":772,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T11:46:00-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 17:46:05.906722] [debug] Evento recibido: payment.edit
-[2026-01-14 19:16:24.702327] [notice] Logging level set to:debug
-[2026-01-14 19:16:24.702408] [debug] Payload recibido: {"uuid":"3555029f-c310-41dc-8821-6e4243d2c437","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1810,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1190,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1630,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1370,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 19:16:24.923314] [debug] Evento recibido: invoice.edit
-[2026-01-14 19:16:24.923437] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"3555029f-c310-41dc-8821-6e4243d2c437","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1190,"accountCredit":0,"accountOutstanding":1190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1810,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1190,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 13:16","Saldo Actual":"\ud83d\udcb21190 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 13:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21190 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 13:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 13:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 19:16:27.263408] [notice] Logging level set to:debug
-[2026-01-14 19:16:27.263458] [debug] Payload recibido: {"uuid":"81d0d28e-373c-4a89-9678-87b828658d86","changeType":"insert","entity":"payment","entityId":"773","eventName":"payment.add","extraData":{"entity":{"id":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 19:16:27.542702] [debug] Evento recibido: payment.add
-[2026-01-14 19:16:27.542890] [debug] Notification encodificado en JSON:{"uuid":"81d0d28e-373c-4a89-9678-87b828658d86","changeType":"insert","entity":"payment","entityId":773,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1190,"accountCredit":0,"accountOutstanding":1190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-14 19:16:28.465903] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769810264.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$180", "$1190 pendientes"],
+    "template_values": ["Juan Escutia", "$100", "$5425 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"7bdb3583719f43479fec3c1dd2fcc194","status":"enqueued"}}
+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":"81d0d28e-373c-4a89-9678-87b828658d86","changeType":"insert","entity":"payment","entityId":773,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1190,"accountCredit":0,"accountOutstanding":1190,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]}}
+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":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 13:16","Saldo Actual":"\ud83d\udcb21190 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 180","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 13:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21190 pendientes\",\"Monto Ultimo Pago\": \"$ 180\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 13:16 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 13:16\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-14 19:16:30.015882] [notice] Logging level set to:debug
-[2026-01-14 19:16:30.015993] [debug] Payload recibido: {"uuid":"d84b9d98-c58e-495b-ac5a-e621431ee553","changeType":"edit","entity":"payment","entityId":"773","eventName":"payment.edit","extraData":{"entity":{"id":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":773,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:16:18-0600","amount":180,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180}],"creditAmount":0,"userId":1015,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲5325 a favor'
 
-[2026-01-14 19:16:30.211201] [debug] Evento recibido: payment.edit
-[2026-01-14 19:58:52.647805] [notice] Logging level set to:debug
-[2026-01-14 19:58:52.647906] [debug] Payload recibido: {"uuid":"b9bbcb9a-01cc-4fcb-9ccb-3f5b651ec9b6","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2030,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":970,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":1810,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1190,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲5425 a favor'
 
-[2026-01-14 19:58:53.011154] [debug] Evento recibido: invoice.edit
-[2026-01-14 19:58:53.011368] [debug] Edición de Factura
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
-Notificacion data: {"uuid":"b9bbcb9a-01cc-4fcb-9ccb-3f5b651ec9b6","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-970,"accountCredit":0,"accountOutstanding":970,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2030,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":970,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
-Dentro del proceso del patch: 
+EJECUTANDO PATCH - Se detectaron cambios
 
-Datos traidos con payment api: [{"id":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]}]
+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}}
 
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
+[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":[]}}}
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 13:58","Saldo Actual":"\ud83d\udcb2970 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 220","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2970 pendientes\",\"Monto Ultimo Pago\": \"$ 220\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 13:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 19:58:55.352686] [notice] Logging level set to:debug
-[2026-01-14 19:58:55.352818] [debug] Payload recibido: {"uuid":"36990c33-b594-4dd4-8aad-1145570e9fa9","changeType":"insert","entity":"payment","entityId":"774","eventName":"payment.add","extraData":{"entity":{"id":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 19:58:55.627825] [debug] Evento recibido: payment.add
-[2026-01-14 19:58:55.627989] [debug] Notification encodificado en JSON:{"uuid":"36990c33-b594-4dd4-8aad-1145570e9fa9","changeType":"insert","entity":"payment","entityId":774,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-970,"accountCredit":0,"accountOutstanding":970,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-14 19:58:56.495147] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$220", "$970 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"844980c552e7423c85f2d504cea4a454","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":"36990c33-b594-4dd4-8aad-1145570e9fa9","changeType":"insert","entity":"payment","entityId":774,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-970,"accountCredit":0,"accountOutstanding":970,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 13:58","Saldo Actual":"\ud83d\udcb2970 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 220","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2970 pendientes\",\"Monto Ultimo Pago\": \"$ 220\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 13:58 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 13:58\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 19:58:57.562038] [notice] Logging level set to:debug
-[2026-01-14 19:58:57.562172] [debug] Payload recibido: {"uuid":"17b9776d-fa8f-4fff-b849-35f2a7c4ab94","changeType":"edit","entity":"payment","entityId":"774","eventName":"payment.edit","extraData":{"entity":{"id":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":774,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T13:58:46-0600","amount":220,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220}],"creditAmount":0,"userId":1015,"attributes":[]}}}
-
-[2026-01-14 19:58:57.739908] [debug] Evento recibido: payment.edit
-[2026-01-14 20:09:04.730210] [notice] Logging level set to:debug
-[2026-01-14 20:09:04.730377] [debug] Payload recibido: {"uuid":"19649a40-2741-495c-8427-182e41c00401","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2080,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":920,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2030,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":970,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 20:09:04.985734] [debug] Evento recibido: invoice.edit
-[2026-01-14 20:09:04.985945] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"19649a40-2741-495c-8427-182e41c00401","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-920,"accountCredit":0,"accountOutstanding":920,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2080,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":920,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:09","Saldo Actual":"\ud83d\udcb2920 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2920 pendientes\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:09:07.271900] [notice] Logging level set to:debug
-[2026-01-14 20:09:07.272037] [debug] Payload recibido: {"uuid":"b9ba4fb5-0faf-4593-aac3-c6254fb3e15e","changeType":"insert","entity":"payment","entityId":"775","eventName":"payment.add","extraData":{"entity":{"id":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 20:09:07.581975] [debug] Evento recibido: payment.add
-[2026-01-14 20:09:07.582227] [debug] Notification encodificado en JSON:{"uuid":"b9ba4fb5-0faf-4593-aac3-c6254fb3e15e","changeType":"insert","entity":"payment","entityId":775,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-920,"accountCredit":0,"accountOutstanding":920,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-14 20:09:08.332267] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$50", "$920 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"bcd646af616b4553bf250aeed46eb344","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":"b9ba4fb5-0faf-4593-aac3-c6254fb3e15e","changeType":"insert","entity":"payment","entityId":775,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-920,"accountCredit":0,"accountOutstanding":920,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:09","Saldo Actual":"\ud83d\udcb2920 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2920 pendientes\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:08 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:09:09.849812] [notice] Logging level set to:debug
-[2026-01-14 20:09:09.849972] [debug] Payload recibido: {"uuid":"770db43e-3c86-43ec-9025-a7ee3a82e24c","changeType":"edit","entity":"payment","entityId":"775","eventName":"payment.edit","extraData":{"entity":{"id":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":775,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:08:59-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50}],"creditAmount":0,"userId":1015,"attributes":[]}}}
-
-[2026-01-14 20:09:10.022725] [debug] Evento recibido: payment.edit
-[2026-01-14 20:15:24.749902] [notice] Logging level set to:debug
-[2026-01-14 20:15:24.750061] [debug] Payload recibido: {"uuid":"087f6a68-1805-41df-99c9-4cc6266a1fd5","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2170,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":830,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2080,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":920,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 20:15:24.996031] [debug] Evento recibido: invoice.edit
-[2026-01-14 20:15:24.996285] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"087f6a68-1805-41df-99c9-4cc6266a1fd5","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-830,"accountCredit":0,"accountOutstanding":830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2170,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":830,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:15","Saldo Actual":"\ud83d\udcb2830 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 90","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2830 pendientes\",\"Monto Ultimo Pago\": \"$ 90\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:15\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:15:26.885982] [notice] Logging level set to:debug
-[2026-01-14 20:15:26.886094] [debug] Payload recibido: {"uuid":"e2447af9-6c02-49a7-86e1-ef9a33fdd7a0","changeType":"insert","entity":"payment","entityId":"776","eventName":"payment.add","extraData":{"entity":{"id":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 20:15:27.179763] [debug] Evento recibido: payment.add
-[2026-01-14 20:15:27.180035] [debug] Notification encodificado en JSON:{"uuid":"e2447af9-6c02-49a7-86e1-ef9a33fdd7a0","changeType":"insert","entity":"payment","entityId":776,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-830,"accountCredit":0,"accountOutstanding":830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-14 20:15:27.609008] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$90", "$830 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"ab6037c349c74535944f60a7aa002e0a","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":"e2447af9-6c02-49a7-86e1-ef9a33fdd7a0","changeType":"insert","entity":"payment","entityId":776,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-830,"accountCredit":0,"accountOutstanding":830,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:15","Saldo Actual":"\ud83d\udcb2830 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 90","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2830 pendientes\",\"Monto Ultimo Pago\": \"$ 90\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:15 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:15\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:15:28.659544] [notice] Logging level set to:debug
-[2026-01-14 20:15:28.659601] [debug] Payload recibido: {"uuid":"e4380a50-900e-4e7d-81ca-4377c910c03f","changeType":"edit","entity":"payment","entityId":"776","eventName":"payment.edit","extraData":{"entity":{"id":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":776,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:15:18-0600","amount":90,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90}],"creditAmount":0,"userId":1015,"attributes":[]}}}
-
-[2026-01-14 20:15:28.823139] [debug] Evento recibido: payment.edit
-[2026-01-14 20:19:51.072412] [notice] Logging level set to:debug
-[2026-01-14 20:19:51.072592] [debug] Payload recibido: {"uuid":"5fa80178-897b-4bea-bb60-1eb0ae79114c","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2230,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":770,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2170,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":830,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 20:19:51.327027] [debug] Evento recibido: invoice.edit
-[2026-01-14 20:19:51.327630] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"5fa80178-897b-4bea-bb60-1eb0ae79114c","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-770,"accountCredit":0,"accountOutstanding":770,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2230,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":770,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:19","Saldo Actual":"\ud83d\udcb2770 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 60","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2770 pendientes\",\"Monto Ultimo Pago\": \"$ 60\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:19:53.546742] [notice] Logging level set to:debug
-[2026-01-14 20:19:53.546808] [debug] Payload recibido: {"uuid":"6a2fe120-ed8f-4034-a873-8f078f63dd50","changeType":"insert","entity":"payment","entityId":"777","eventName":"payment.add","extraData":{"entity":{"id":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 20:19:53.936733] [debug] Evento recibido: payment.add
-[2026-01-14 20:19:53.937001] [debug] Notification encodificado en JSON:{"uuid":"6a2fe120-ed8f-4034-a873-8f078f63dd50","changeType":"insert","entity":"payment","entityId":777,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-770,"accountCredit":0,"accountOutstanding":770,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-14 20:19:54.486325] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768421994.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768421994.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768421994.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$60", "$770 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"fb242d85701043ddab5b5077a7ac9417","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":"6a2fe120-ed8f-4034-a873-8f078f63dd50","changeType":"insert","entity":"payment","entityId":777,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-770,"accountCredit":0,"accountOutstanding":770,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:19","Saldo Actual":"\ud83d\udcb2770 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 60","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2770 pendientes\",\"Monto Ultimo Pago\": \"$ 60\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:19 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:19\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:19:56.076010] [notice] Logging level set to:debug
-[2026-01-14 20:19:56.076184] [debug] Payload recibido: {"uuid":"ba07ce5b-cfe0-4070-94a2-a59b08a9386b","changeType":"edit","entity":"payment","entityId":"777","eventName":"payment.edit","extraData":{"entity":{"id":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":777,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:19:45-0600","amount":60,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60}],"creditAmount":0,"userId":1015,"attributes":[]}}}
-
-[2026-01-14 20:19:56.323467] [debug] Evento recibido: payment.edit
-[2026-01-14 20:34:19.510314] [notice] Logging level set to:debug
-[2026-01-14 20:34:19.510469] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "600"
-}
-
-
-
-[2026-01-14 20:34:19.510519] [info] No UUID found in the webhook data
-[2026-01-14 20:34:19.510556] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-14 20:34:21.068227] [info] Iniciando generación background para orden #44
-[2026-01-14 20:34:27.271994] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768422862.jpeg
-[2026-01-14 20:34:27.275697] [info] Generación background finalizada para orden #44
-[2026-01-14 20:34:32.531631] [notice] Logging level set to:debug
-[2026-01-14 20:34:32.531806] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 44
-}
-
-
-[2026-01-14 20:34:32.531877] [info] No UUID found in the webhook data
-[2026-01-14 20:34:32.531930] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-14 20:34:32.537806] [debug] Estado recuperado para Orden #44: {"id":44,"client_id":146,"amount":"600.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbkI4NHBseW5zMHpObUYxV2tXTHduZU9Cd2kyTHh20100X1gyJ5KR","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768422862.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768422862.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares venus","created_at":"2026-01-14T20:34:21.050Z","updated_at":"2026-01-14T20:34:27.259Z"}
-[2026-01-14 20:37:25.088085] [notice] Logging level set to:debug
-[2026-01-14 20:37:25.088191] [debug] Payload recibido: {
-  "id": "evt_3SpaljEFY1WEUtgR1xSvMI4q",
+[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": 1768423044,
+  "created": 1769811191,
   "data": {
     "object": {
-      "id": "pi_3SpaljEFY1WEUtgR11KvIsWE",
-      "object": "payment_intent",
-      "amount": 60000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 60000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SpaljEFY1WEUtgR11KvIsWE_secret_MF5bNfPk2fx3NnXd1szNRkq8A",
-      "confirmation_method": "automatic",
-      "created": 1768422859,
+      "id": "ccsbtxn_1SvPwBEFY1WEUtgRZDmP5H44",
+      "object": "customer_cash_balance_transaction",
+      "created": 1769811191,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SpaljEFY1WEUtgR10Om0Fkx",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SpaljEFY1WEUtgRZWXmlv2T",
-      "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
+      "ending_balance": 10000,
+      "funded": {
+        "bank_transfer": {
+          "reference": "388287",
+          "type": "mx_bank_transfer"
         }
       },
-      "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,
+      "net_amount": 10000,
+      "type": "funded"
     }
   },
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_lBHQnH0HMq4niO",
+    "idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
   },
-  "type": "payment_intent.succeeded"
+  "type": "customer_cash_balance_transaction.created"
 }
 
-[2026-01-14 20:37:25.088253] [info] No UUID found in the webhook data
-[2026-01-14 20:37:25.088267] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-14 20:37:26.345989] [notice] Logging level set to:debug
-[2026-01-14 20:37:26.346069] [debug] Payload recibido: {
-  "id": "evt_3SpaljEFY1WEUtgR1B5g6vE8",
+[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": 1768423044,
+  "created": 1769811192,
   "data": {
     "object": {
-      "id": "py_3SpaljEFY1WEUtgR10Om0Fkx",
+      "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": 60000,
-      "amount_captured": 60000,
+      "amount": 10000,
+      "amount_captured": 10000,
       "amount_refunded": 0,
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SpaljEFY1WEUtgR1gVaEBkM",
+      "balance_transaction": null,
       "billing_details": {
         "address": {
           "city": null,
@@ -6981,16 +784,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": null,
+        "name": null,
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768423043,
+      "created": 1769811192,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -7004,10 +807,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "on_behalf_of": null,
       "order": null,
@@ -7022,18 +823,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SpaljEFY1WEUtgR11KvIsWE",
-      "payment_method": "pm_1SpaljEFY1WEUtgRZWXmlv2T",
+      "payment_intent": "pi_3SvPhCEFY1WEUtgR0ErKwb2J",
+      "payment_method": "pm_1SvPhCEFY1WEUtgRCiIgfKD4",
       "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
+        "customer_balance": {},
+        "type": "customer_balance"
       },
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIT9n8sGMgaoobfFdC06LBZBh1cVllezizKVQ5viB8ZSytKi8pQCYiTnNfl5_20qTLqTBHASIz-FPJxx",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPnZ9MsGMgY-kV-GK6A6LBa5uIAHvhVCsr5Fe58w4s11viyVKFU8hbNAHWaFrXo-_Y7T1w-qKW7-4aa8",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -7049,250 +848,1218 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 2,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_lBHQnH0HMq4niO",
+    "idempotency_key": "96ac29f7-a566-4286-99f6-22da96a85111"
   },
   "type": "charge.succeeded"
 }
 
-[2026-01-14 20:37:26.346134] [info] No UUID found in the webhook data
-[2026-01-14 20:37:27.113465] [notice] Logging level set to:debug
-[2026-01-14 20:37:27.113526] [debug] Payload recibido: {"uuid":"b84c6b80-8078-44d4-85dd-ea8e4bedbf83","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2830,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":170,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2230,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":770,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-14 20:37:27.331011] [debug] Evento recibido: invoice.edit
-[2026-01-14 20:37:27.331264] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"b84c6b80-8078-44d4-85dd-ea8e4bedbf83","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-170,"accountCredit":0,"accountOutstanding":170,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2830,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":170,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:37","Saldo Actual":"\ud83d\udcb2170 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 600","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2170 pendientes\",\"Monto Ultimo Pago\": \"$ 600\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:37:28.734962] [notice] Logging level set to:debug
-[2026-01-14 20:37:28.735035] [debug] Payload recibido: {"uuid":"952a9d83-7de1-48ef-8d80-e3e3b76e6ddc","changeType":"insert","entity":"payment","entityId":"778","eventName":"payment.add","extraData":{"entity":{"id":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-14 20:37:29.071715] [debug] Evento recibido: payment.add
-[2026-01-14 20:37:29.072025] [debug] Notification encodificado en JSON:{"uuid":"952a9d83-7de1-48ef-8d80-e3e3b76e6ddc","changeType":"insert","entity":"payment","entityId":778,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-170,"accountCredit":0,"accountOutstanding":170,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-14 20:37:30.286111] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768423050.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768423050.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768423050.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$600", "$170 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"ba51cb67cda647dc8bcbe059ab607cb2","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":"952a9d83-7de1-48ef-8d80-e3e3b76e6ddc","changeType":"insert","entity":"payment","entityId":778,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-170,"accountCredit":0,"accountOutstanding":170,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 14:37","Saldo Actual":"\ud83d\udcb2170 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 600","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2170 pendientes\",\"Monto Ultimo Pago\": \"$ 600\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 14:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 14:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-14 20:37:31.554047] [notice] Logging level set to:debug
-[2026-01-14 20:37:31.554112] [debug] Payload recibido: {"uuid":"fdc17626-ebfc-484d-a38b-0ffa8faa5b6e","changeType":"edit","entity":"payment","entityId":"778","eventName":"payment.edit","extraData":{"entity":{"id":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":778,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T14:37:26-0600","amount":600,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-14 20:37:31.824197] [debug] Evento recibido: payment.edit
-[2026-01-15 1:44:02.674659] [notice] Logging level set to:debug
-[2026-01-15 1:44:02.674825] [debug] Payload recibido: {"uuid":"5d91d0ee-e997-4458-8a77-1c9e2ec9c9a8","changeType":"edit","entity":"invoice","entityId":"2951","eventName":"invoice.edit","extraData":{"entity":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":3000,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600},{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":2830,"totalUntaxed":3000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":170,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600},{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-15 1:44:02.872849] [debug] Evento recibido: invoice.edit
-[2026-01-15 1:44:02.873054] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"5d91d0ee-e997-4458-8a77-1c9e2ec9c9a8","changeType":"edit","entity":"invoice","entityId":2951,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2951,"clientId":146,"number":"002897","createdDate":"2026-01-14T10:03:48-0600","dueDate":"2026-01-28T10:03:48-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-14T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2967,"type":"other","label":"dsdsddsdsdsds","price":3000,"quantity":1,"total":3000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":3000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":3000,"amountPaid":3000,"totalUntaxed":3000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1053,"invoiceId":2951,"paymentId":765,"creditNoteId":null,"refundId":null,"amount":130},{"id":1054,"invoiceId":2951,"paymentId":766,"creditNoteId":null,"refundId":null,"amount":400},{"id":1055,"invoiceId":2951,"paymentId":767,"creditNoteId":null,"refundId":null,"amount":200},{"id":1056,"invoiceId":2951,"paymentId":768,"creditNoteId":null,"refundId":null,"amount":200},{"id":1057,"invoiceId":2951,"paymentId":769,"creditNoteId":null,"refundId":null,"amount":200},{"id":1058,"invoiceId":2951,"paymentId":770,"creditNoteId":null,"refundId":null,"amount":200},{"id":1059,"invoiceId":2951,"paymentId":771,"creditNoteId":null,"refundId":null,"amount":200},{"id":1060,"invoiceId":2951,"paymentId":772,"creditNoteId":null,"refundId":null,"amount":100},{"id":1061,"invoiceId":2951,"paymentId":773,"creditNoteId":null,"refundId":null,"amount":180},{"id":1062,"invoiceId":2951,"paymentId":774,"creditNoteId":null,"refundId":null,"amount":220},{"id":1063,"invoiceId":2951,"paymentId":775,"creditNoteId":null,"refundId":null,"amount":50},{"id":1064,"invoiceId":2951,"paymentId":776,"creditNoteId":null,"refundId":null,"amount":90},{"id":1065,"invoiceId":2951,"paymentId":777,"creditNoteId":null,"refundId":null,"amount":60},{"id":1066,"invoiceId":2951,"paymentId":778,"creditNoteId":null,"refundId":null,"amount":600},{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 19:44","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 170","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 19:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 19:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 19:44\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-15 1:44:05.263494] [notice] Logging level set to:debug
-[2026-01-15 1:44:05.263669] [debug] Payload recibido: {"uuid":"6e9480ea-9413-4ee7-bae4-042408100710","changeType":"insert","entity":"payment","entityId":"779","eventName":"payment.add","extraData":{"entity":{"id":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-15 1:44:05.475392] [debug] Evento recibido: payment.add
-[2026-01-15 1:44:05.475646] [debug] Notification encodificado en JSON:{"uuid":"6e9480ea-9413-4ee7-bae4-042408100710","changeType":"insert","entity":"payment","entityId":779,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-15 1:44:05.967434] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768441445.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768441445.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768441445.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$170", "$0 está al corriente"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"b9ce2b130d0d4a23940a8e5f7c21a939","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":"6e9480ea-9413-4ee7-bae4-042408100710","changeType":"insert","entity":"payment","entityId":779,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 19:44","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 170","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 19:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 170\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 19:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 19:44\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-15 1:44:07.508699] [notice] Logging level set to:debug
-[2026-01-15 1:44:07.508838] [debug] Payload recibido: {"uuid":"cbd81608-086c-4595-8735-552b40324b62","changeType":"edit","entity":"payment","entityId":"779","eventName":"payment.edit","extraData":{"entity":{"id":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":779,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T19:43:57-0600","amount":170,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1067,"invoiceId":2951,"paymentId":779,"creditNoteId":null,"refundId":null,"amount":170}],"creditAmount":0,"userId":1015,"attributes":[]}}}
-
-[2026-01-15 1:44:07.709295] [debug] Evento recibido: payment.edit
-[2026-01-15 4:23:08.676539] [notice] Logging level set to:debug
-[2026-01-15 4:23:08.676745] [debug] Payload recibido: {"uuid":"7385a3e7-30fb-4434-bda4-de1320593b9d","changeType":"insert","entity":"payment","entityId":"780","eventName":"payment.add","extraData":{"entity":{"id":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-15 4:23:08.935410] [debug] Evento recibido: payment.add
-[2026-01-15 4:23:08.935723] [debug] Notification encodificado en JSON:{"uuid":"7385a3e7-30fb-4434-bda4-de1320593b9d","changeType":"insert","entity":"payment","entityId":780,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":240,"accountCredit":240,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-15 4:23:09.559109] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768450989.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768450989.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768450989.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$240", "$240 a favor"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"f4cd742e14f2427fba7c6df1faea8aa7","status":"enqueued"}}
-Hay menos de 100 archivos en el directorio. No se eliminarán archivos.
-
-La notificación fue enviada correctamente con estado: enqueued
-
-[2026-01-15 4:23:18.826956] [notice] Logging level set to:debug
-[2026-01-15 4:23:18.827032] [debug] Payload recibido: {"uuid":"8fa8e3bb-5a62-48cb-923e-a304c0ae8a5e","changeType":"edit","entity":"payment","entityId":"780","eventName":"payment.edit","extraData":{"entity":{"id":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]},"entityBeforeEdit":{"id":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]}}}
-
-Notificacion data: {"uuid":"7385a3e7-30fb-4434-bda4-de1320593b9d","changeType":"insert","entity":"payment","entityId":780,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":240,"accountCredit":240,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-[2026-01-15 4:23:19.037044] [debug] Evento recibido: payment.edit
-Datos traidos con payment api: [{"id":780,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:22:45-0600","amount":240,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":240,"userId":1015,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 22:23","Saldo Actual":"\ud83d\udcb2240 a favor","Monto Ultimo Pago":"\ud83d\udcb2 240","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 22:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2240 a favor\",\"Monto Ultimo Pago\": \"$ 240\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 22:22 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 22:23\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-15 4:24:32.813075] [notice] Logging level set to:debug
-[2026-01-15 4:24:32.813301] [debug] Payload recibido: {
-"type": "oxxo.request",
-"client_id": 146,
-"amount": "340"
-}
-
-
-
-[2026-01-15 4:24:32.813361] [info] No UUID found in the webhook data
-[2026-01-15 4:24:32.813400] [info] Evento de solicitud de referencia de OXXO recibido (Async Flow)
-[2026-01-15 4:24:34.238176] [info] Iniciando generación background para orden #45
-[2026-01-15 4:24:44.290704] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/voucher_Delfino_De_los_Mares_venus_1768451075.jpeg
-[2026-01-15 4:24:44.294272] [info] Generación background finalizada para orden #45
-[2026-01-15 4:24:50.154012] [notice] Logging level set to:debug
-[2026-01-15 4:24:50.154123] [debug] Payload recibido: {
-  "type": "oxxo.retrieve",
-  "order_id": 45
-}
-
-
-[2026-01-15 4:24:50.154146] [info] No UUID found in the webhook data
-[2026-01-15 4:24:50.154160] [info] Evento de recuperación de orden OXXO recibido
-[2026-01-15 4:24:50.161206] [debug] Estado recuperado para Orden #45: {"id":45,"client_id":146,"amount":"340.00","stripe_url":"https:\/\/payments.stripe.com\/oxxo\/voucher\/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9UbklpbExFbVBydjNSNmJKWHNrWmZQWm1hc2d3U1Ru0100zvK913Ur","status":"completed","voucher_filename":"voucher_Delfino_De_los_Mares_venus_1768451075.jpeg","voucher_image_url":"https:\/\/aws-venus.siip.mx\/vouchers-oxxo\/voucher_Delfino_De_los_Mares_venus_1768451075.jpeg","oxxo_reference":"12345678901234657890123456789012","client_full_name":"Delfino De los Mares venus","created_at":"2026-01-15T04:24:34.231Z","updated_at":"2026-01-15T04:24:44.277Z"}
-[2026-01-15 4:27:37.807269] [notice] Logging level set to:debug
-[2026-01-15 4:27:37.807395] [debug] Payload recibido: {
-  "id": "evt_3Spi6mEFY1WEUtgR1kqxnyfj",
+[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": 1768451256,
+  "created": 1769811193,
   "data": {
     "object": {
-      "id": "pi_3Spi6mEFY1WEUtgR1vsEaQOM",
+      "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,
@@ -7305,49 +2072,39 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "automatic_payment_methods": null,
       "canceled_at": null,
       "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3Spi6mEFY1WEUtgR1vsEaQOM_secret_V6lkzEvMK7ZjcM2XFiEfsr3kR",
+      "capture_method": "automatic_async",
+      "client_secret": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC_secret_HeEum6kmh3YEVjdHUDli8lf1w",
       "confirmation_method": "automatic",
-      "created": 1768451072,
+      "created": 1769811356,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "py_3Spi6mEFY1WEUtgR13kOJTfT",
+      "latest_charge": "py_3SvPyqEFY1WEUtgR1DRUBaSE",
       "livemode": false,
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_method": "pm_1Spi6mEFY1WEUtgR4hIj8mK7",
+      "payment_method": "pm_1SvPyqEFY1WEUtgRWngm8HPI",
       "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
+          "bank_transfer": {
+            "type": "mx_bank_transfer"
+          },
+          "funding_type": "bank_transfer"
         }
       },
       "payment_method_types": [
-        "customer_balance",
-        "card",
-        "oxxo"
+        "customer_balance"
       ],
       "processing": null,
       "receipt_email": null,
@@ -7365,23 +2122,32 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_E6igTf6hwCun5u",
+    "idempotency_key": "evt_1SvPypEFY1WEUtgRTwRQglCT"
   },
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-15 4:27:37.807471] [info] No UUID found in the webhook data
-[2026-01-15 4:27:37.807518] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-15 4:27:37.968374] [notice] Logging level set to:debug
-[2026-01-15 4:27:37.968499] [debug] Payload recibido: {
-  "id": "evt_3Spi6mEFY1WEUtgR1tlE9hvU",
+[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": 1768451256,
+  "created": 1769811357,
   "data": {
     "object": {
-      "id": "py_3Spi6mEFY1WEUtgR13kOJTfT",
+      "id": "py_3SvPyqEFY1WEUtgR1DRUBaSE",
       "object": "charge",
       "amount": 34000,
       "amount_captured": 34000,
@@ -7389,7 +2155,7 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3Spi6mEFY1WEUtgR1xJMkHRs",
+      "balance_transaction": null,
       "billing_details": {
         "address": {
           "city": null,
@@ -7399,16 +2165,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": null,
+        "name": null,
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768451256,
+      "created": 1769811357,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -7422,10 +2188,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "OXXO"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "on_behalf_of": null,
       "order": null,
@@ -7440,18 +2204,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3Spi6mEFY1WEUtgR1vsEaQOM",
-      "payment_method": "pm_1Spi6mEFY1WEUtgR4hIj8mK7",
+      "payment_intent": "pi_3SvPyqEFY1WEUtgR1Ta8bhvC",
+      "payment_method": "pm_1SvPyqEFY1WEUtgRWngm8HPI",
       "payment_method_details": {
-        "oxxo": {
-          "number": "12345678901234657890123456789012"
-        },
-        "type": "oxxo"
+        "customer_balance": {},
+        "type": "customer_balance"
       },
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLjZocsGMgbhCSUAKBo6LBYU44pNsIuMedj7HZ8uqdOh3lOvbPydvHXzJIgwOciLsVH8D3lR_j5Y56l4",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJ7b9MsGMgaFe4lBg5k6LBZ-2Gv5mi286oSeKFySpDuk5bSdp0fmPp_oE6p7jwhnda91Gqw9TDXKMOtc",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -7467,2098 +2229,125 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 2,
   "request": {
-    "id": null,
-    "idempotency_key": null
+    "id": "req_E6igTf6hwCun5u",
+    "idempotency_key": "evt_1SvPypEFY1WEUtgRTwRQglCT"
   },
   "type": "charge.succeeded"
 }
 
-[2026-01-15 4:27:37.968580] [info] No UUID found in the webhook data
-[2026-01-15 4:27:38.580544] [notice] Logging level set to:debug
-[2026-01-15 4:27:38.580658] [debug] Payload recibido: {"uuid":"ade3954f-d9b8-4f7a-95fe-0c62557273e9","changeType":"insert","entity":"payment","entityId":"781","eventName":"payment.add","extraData":{"entity":{"id":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-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.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
 
-[2026-01-15 4:27:38.757231] [debug] Evento recibido: payment.add
-[2026-01-15 4:27:38.757488] [debug] Notification encodificado en JSON:{"uuid":"ade3954f-d9b8-4f7a-95fe-0c62557273e9","changeType":"insert","entity":"payment","entityId":781,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":580,"accountCredit":580,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-15 4:27:39.668977] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768451259.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768451259.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768451259.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769811360.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$340", "$580 a favor"],
+    "template_values": ["Juan Escutia", "$340", "$6585 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"30df17a89a474f0bba7ce7e181bd6141","status":"enqueued"}}
+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":"ade3954f-d9b8-4f7a-95fe-0c62557273e9","changeType":"insert","entity":"payment","entityId":781,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":580,"accountCredit":580,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}
+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":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 14\/01\/2026 22:27","Saldo Actual":"\ud83d\udcb2580 a favor","Monto Ultimo Pago":"\ud83d\udcb2 340","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 14\/01\/2026 22:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2580 a favor\",\"Monto Ultimo Pago\": \"$ 340\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 14\/01\/2026 22:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"14\/01\/2026 22:27\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-15 4:27:42.117098] [notice] Logging level set to:debug
-[2026-01-15 4:27:42.117269] [debug] Payload recibido: {"uuid":"cccb90cd-5769-4a8f-9f14-c89f5c69e2d5","changeType":"edit","entity":"payment","entityId":"781","eventName":"payment.edit","extraData":{"entity":{"id":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":781,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-14T22:27:38-0600","amount":340,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":340,"userId":null,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6245 a favor'
 
-[2026-01-15 4:27:42.364696] [debug] Evento recibido: payment.edit
-[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=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=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=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=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=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
-[2026-01-16 6:25:03.081073] [notice] Logging level set to:debug
-[2026-01-16 6:25:03.081875] [debug] Payload recibido: {"uuid":"aff9dfd5-09d6-4bd2-8330-b94bb36e1a07","changeType":"overdue","entity":"invoice","entityId":"2940","eventName":"invoice.overdue","extraData":{"entity":{"id":2940,"clientId":132,"number":"002886","createdDate":"2026-01-01T10:00:01-0600","dueDate":"2026-01-15T10:00:01-0600","emailSentDate":"2026-01-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-12-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2956,"type":"service","label":"plan300 01\/12\/2025 \u2013 31\/12\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲6585 a favor'
 
-[2026-01-16 6:25:03.301728] [debug] Evento recibido: invoice.overdue
-[2026-01-16 6:25:03.301842] [debug] Factura vencida
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
-[2026-01-16 6:25:03.301894] [debug] datos del notification para el invoice overdue:{"uuid":"aff9dfd5-09d6-4bd2-8330-b94bb36e1a07","changeType":"overdue","entity":"invoice","entityId":2940,"message":null,"clientId":132,"eventName":"invoice.overdue","clientData":{"id":132,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"20 Avenida Norte","street2":null,"city":"Guanajuato","countryId":173,"stateId":null,"zipCode":"37807","fullAddress":"Avenida Norte 20, Dolores, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Marto","lastName":"Vago Payaso","username":null,"contacts":[{"id":136,"clientId":132,"email":"vagopayaso@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[],"accountBalance":-5400,"accountCredit":0,"accountOutstanding":5400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1641484,"addressGpsLon":-100.9405409,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2940,"clientId":132,"number":"002886","createdDate":"2026-01-01T10:00:01-0600","dueDate":"2026-01-15T10:00:01-0600","emailSentDate":"2026-01-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2025-12-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2956,"type":"service","label":"plan300 01\/12\/2025 \u2013 31\/12\/2025","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":115,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Marto","clientLastName":"Vago Payaso","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"20 Avenida Norte","clientStreet2":null,"clientCity":"Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37807","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
-contac vacio
-[2026-01-16 21:38:18.898216] [notice] Logging level set to:debug
-[2026-01-16 21:38:18.899071] [debug] Payload recibido: {
-  "id": "evt_3SqKijEFY1WEUtgR1Dp2sK3b",
+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": 1768599498,
+  "created": 1769817471,
   "data": {
     "object": {
-      "id": "pi_3SqKijEFY1WEUtgR1ejZMHFy",
+      "id": "pi_3SvRWVEFY1WEUtgR1HuIjDbr",
       "object": "payment_intent",
-      "amount": 57000,
+      "amount": 36500,
       "amount_capturable": 0,
       "amount_details": {
         "tip": {}
       },
-      "amount_received": 57000,
+      "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_3SqKijEFY1WEUtgR1ejZMHFy_secret_ZYTIeSm2wUcKmD7lt6OgYMV3l",
+      "client_secret": "pi_3SvRWVEFY1WEUtgR1HuIjDbr_secret_a84fAdNgOnQ1TjE2zS2ZabrEw",
       "confirmation_method": "automatic",
-      "created": 1768599497,
+      "created": 1769817287,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "py_3SqKijEFY1WEUtgR1nb7rs7e",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "5472",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqKijEFY1WEUtgRiQfxFVGO",
-      "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_eMJRuEzCj7L2ql",
-    "idempotency_key": "9958b497-62a4-44fb-a015-a49020b93b6f"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-16 21:38:18.899115] [info] No UUID found in the webhook data
-[2026-01-16 21:38:18.899126] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-16 21:38:18.899005] [notice] Logging level set to:debug
-[2026-01-16 21:38:18.899216] [debug] Payload recibido: {
-  "id": "evt_1SqKikEFY1WEUtgRaijs24h7",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768599497,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqKijEFY1WEUtgRTTv064aZ",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqKijEFY1WEUtgR1ejZMHFy"
-      },
-      "created": 1768599497,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -57000,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_eMJRuEzCj7L2ql",
-    "idempotency_key": "9958b497-62a4-44fb-a015-a49020b93b6f"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-16 21:38:18.899250] [info] No UUID found in the webhook data
-[2026-01-16 21:38:18.899266] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqKikEFY1WEUtgRaijs24h7","object":"event","api_version":"2023-10-16","created":1768599497,"data":{"object":{"id":"ccsbtxn_1SqKijEFY1WEUtgRTTv064aZ","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqKijEFY1WEUtgR1ejZMHFy"},"created":1768599497,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-57000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_eMJRuEzCj7L2ql","idempotency_key":"9958b497-62a4-44fb-a015-a49020b93b6f"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-16 21:38:18.902494] [notice] Logging level set to:debug
-[2026-01-16 21:38:18.902606] [debug] Payload recibido: {
-  "id": "evt_3SqKijEFY1WEUtgR1WBKBcLI",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768599498,
-  "data": {
-    "object": {
-      "id": "py_3SqKijEFY1WEUtgR1nb7rs7e",
-      "object": "charge",
-      "amount": 57000,
-      "amount_captured": 57000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SqKijEFY1WEUtgR11yEdDbN",
-      "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": 1768599497,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "5472",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "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_3SqKijEFY1WEUtgR1ejZMHFy",
-      "payment_method": "pm_1SqKijEFY1WEUtgRiQfxFVGO",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMrfqssGMgbG7LYgpXA6LBZ9LBgOxrCe4ZtZmiSHv-nFuo1geo36BtN7tZRc7_mmeuvccJtqji5qc3wD",
-      "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_eMJRuEzCj7L2ql",
-    "idempotency_key": "9958b497-62a4-44fb-a015-a49020b93b6f"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-16 21:38:18.902688] [info] No UUID found in the webhook data
-[2026-01-16 21:38:20.031985] [notice] Logging level set to:debug
-[2026-01-16 21:38:20.032110] [debug] Payload recibido: {"uuid":"5753983c-86fa-4034-aeba-6dec8a8332a4","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8286,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1714,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":7716,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":2284,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-16 21:38:20.494083] [debug] Evento recibido: invoice.edit
-[2026-01-16 21:38:20.494232] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"5753983c-86fa-4034-aeba-6dec8a8332a4","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1714,"accountCredit":0,"accountOutstanding":1714,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8286,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1714,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 15:38","Saldo Actual":"\ud83d\udcb21714 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 570","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 15:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21714 pendientes\",\"Monto Ultimo Pago\": \"$ 570\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 15:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 15:38\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 21:38:22.375267] [notice] Logging level set to:debug
-[2026-01-16 21:38:22.375382] [debug] Payload recibido: {"uuid":"c8c8d0a6-f175-4158-85a9-f35009976afd","changeType":"insert","entity":"payment","entityId":"816","eventName":"payment.add","extraData":{"entity":{"id":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-16 21:38:22.554286] [debug] Evento recibido: payment.add
-[2026-01-16 21:38:22.554564] [debug] Notification encodificado en JSON:{"uuid":"c8c8d0a6-f175-4158-85a9-f35009976afd","changeType":"insert","entity":"payment","entityId":816,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1714,"accountCredit":0,"accountOutstanding":1714,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-16 21:38:23.436342] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768599503.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768599503.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768599503.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$570", "$1714 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"9f22fbd9dff642808eb929270e02ea85","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":"c8c8d0a6-f175-4158-85a9-f35009976afd","changeType":"insert","entity":"payment","entityId":816,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1714,"accountCredit":0,"accountOutstanding":1714,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 15:38","Saldo Actual":"\ud83d\udcb21714 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 570","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 15:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21714 pendientes\",\"Monto Ultimo Pago\": \"$ 570\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 15:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 15:38\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 21:38:24.872705] [notice] Logging level set to:debug
-[2026-01-16 21:38:24.872833] [debug] Payload recibido: {"uuid":"f677abd1-5b46-4ecc-95ea-b9b70c2c0e8f","changeType":"edit","entity":"payment","entityId":"816","eventName":"payment.edit","extraData":{"entity":{"id":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":816,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T15:38:19-0600","amount":570,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-16 21:38:25.037718] [debug] Evento recibido: payment.edit
-[2026-01-16 22:00:57.098855] [notice] Logging level set to:debug
-[2026-01-16 22:00:57.099030] [debug] Payload recibido: {
-  "id": "evt_1SqL4eEFY1WEUtgRR3zxMQbd",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768600856,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqL4eEFY1WEUtgRPA4KHDMq",
-      "object": "customer_cash_balance_transaction",
-      "created": 1768600856,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 20000,
-      "funded": {
-        "bank_transfer": {
-          "reference": "",
-          "type": "mx_bank_transfer"
-        }
-      },
-      "livemode": false,
-      "net_amount": 20000,
-      "type": "funded"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_9tAV8Chyd5ionD",
-    "idempotency_key": "f22c8912-8307-4a28-9a63-6369145f8728"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-16 22:00:57.099124] [info] No UUID found in the webhook data
-[2026-01-16 22:00:57.099173] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SqL4eEFY1WEUtgRR3zxMQbd","object":"event","api_version":"2023-10-16","created":1768600856,"data":{"object":{"id":"ccsbtxn_1SqL4eEFY1WEUtgRPA4KHDMq","object":"customer_cash_balance_transaction","created":1768600856,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":20000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":20000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_9tAV8Chyd5ionD","idempotency_key":"f22c8912-8307-4a28-9a63-6369145f8728"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-16 22:00:59.269382] [info] PaymentIntent creado: pi_3SqL4fEFY1WEUtgR0am3AoaB
-[2026-01-16 22:00:59.648747] [notice] Logging level set to:debug
-[2026-01-16 22:00:59.648825] [debug] Payload recibido: {
-  "id": "evt_3SqL4fEFY1WEUtgR02mxODAa",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768600859,
-  "data": {
-    "object": {
-      "id": "pi_3SqL4fEFY1WEUtgR0am3AoaB",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 20000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic_async",
-      "client_secret": "pi_3SqL4fEFY1WEUtgR0am3AoaB_secret_tSVHzcvKUPteXLRXPyMKPITsY",
-      "confirmation_method": "automatic",
-      "created": 1768600857,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqL4fEFY1WEUtgR0vIdWyyV",
+      "latest_charge": "py_3SvRWVEFY1WEUtgR13KlkyWa",
       "livemode": false,
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "clientId": "146",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqL4fEFY1WEUtgRiqXwgY44",
-      "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_Iir52CWSMwrMsQ",
-    "idempotency_key": "21431645-c572-410c-b577-b796fe31e981"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-16 22:00:59.648861] [info] No UUID found in the webhook data
-[2026-01-16 22:00:59.648873] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-16 22:00:59.763178] [notice] Logging level set to:debug
-[2026-01-16 22:00:59.763345] [debug] Payload recibido: {
-  "id": "evt_1SqL4hEFY1WEUtgRjyHVqfRe",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768600858,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqL4gEFY1WEUtgR4foJt1Lz",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqL4fEFY1WEUtgR0am3AoaB"
-      },
-      "created": 1768600858,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -20000,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_Iir52CWSMwrMsQ",
-    "idempotency_key": "21431645-c572-410c-b577-b796fe31e981"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-16 22:00:59.763417] [info] No UUID found in the webhook data
-[2026-01-16 22:00:59.763468] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqL4hEFY1WEUtgRjyHVqfRe","object":"event","api_version":"2023-10-16","created":1768600858,"data":{"object":{"id":"ccsbtxn_1SqL4gEFY1WEUtgR4foJt1Lz","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqL4fEFY1WEUtgR0am3AoaB"},"created":1768600858,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-20000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_Iir52CWSMwrMsQ","idempotency_key":"21431645-c572-410c-b577-b796fe31e981"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-16 22:00:59.783104] [notice] Logging level set to:debug
-[2026-01-16 22:00:59.783189] [debug] Payload recibido: {
-  "id": "evt_3SqL4fEFY1WEUtgR0WY8r4Vq",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768600859,
-  "data": {
-    "object": {
-      "id": "py_3SqL4fEFY1WEUtgR0vIdWyyV",
-      "object": "charge",
-      "amount": 20000,
-      "amount_captured": 20000,
-      "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": 1768600858,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "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_3SqL4fEFY1WEUtgR0am3AoaB",
-      "payment_method": "pm_1SqL4fEFY1WEUtgRiqXwgY44",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJvqqssGMgaeIhGLPQ46LBaDLxPg7vN4Ff_PjYQOP42mI44u_ehV09CtVRwDpI0k3Dgsm5j_S9hoYmu6",
-      "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_Iir52CWSMwrMsQ",
-    "idempotency_key": "21431645-c572-410c-b577-b796fe31e981"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-16 22:00:59.783232] [info] No UUID found in the webhook data
-[2026-01-16 22:01:00.873022] [notice] Logging level set to:debug
-[2026-01-16 22:01:00.873090] [debug] Payload recibido: {"uuid":"cf7a01aa-5347-45f6-bc76-6ec96bbc7988","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8486,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1514,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8286,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1714,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-16 22:01:01.258316] [debug] Evento recibido: invoice.edit
-[2026-01-16 22:01:01.258435] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"cf7a01aa-5347-45f6-bc76-6ec96bbc7988","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1514,"accountCredit":0,"accountOutstanding":1514,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8486,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1514,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 16:01","Saldo Actual":"\ud83d\udcb21514 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 16:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21514 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 16:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 16:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 22:01:03.411663] [notice] Logging level set to:debug
-[2026-01-16 22:01:03.411803] [debug] Payload recibido: {"uuid":"a4641604-8154-4e1a-970e-a016f0a3e488","changeType":"insert","entity":"payment","entityId":"817","eventName":"payment.add","extraData":{"entity":{"id":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-16 22:01:03.659919] [debug] Evento recibido: payment.add
-[2026-01-16 22:01:03.660177] [debug] Notification encodificado en JSON:{"uuid":"a4641604-8154-4e1a-970e-a016f0a3e488","changeType":"insert","entity":"payment","entityId":817,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1514,"accountCredit":0,"accountOutstanding":1514,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-16 22:01:03.660250] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 817
-[2026-01-16 22:01:03.843550] [debug] Payment 817 Method: Tarjeta de crédito Stripe
-[2026-01-16 22:01:03.843714] [info] PATCHING Payment 817: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-16 22:01:04.654973] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768600864.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768600864.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768600864.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$200", "$1514 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"c691d4b595d146cfa4cc7ebf446c06de","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":"a4641604-8154-4e1a-970e-a016f0a3e488","changeType":"insert","entity":"payment","entityId":817,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1514,"accountCredit":0,"accountOutstanding":1514,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[{"id":"9ef516a3-f7d3-414b-9340-294be6e69351","paymentId":817,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 16:01","Saldo Actual":"\ud83d\udcb21514 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 16:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21514 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 16:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 16:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 22:01:09.977562] [notice] Logging level set to:debug
-[2026-01-16 22:01:09.977696] [debug] Payload recibido: {"uuid":"ecc04bb6-c99e-4ec0-a12b-cb9e64a11625","changeType":"edit","entity":"payment","entityId":"817","eventName":"payment.edit","extraData":{"entity":{"id":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":817,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:01:00-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-16 22:01:10.207628] [debug] Evento recibido: payment.edit
-[2026-01-16 22:08:58.733588] [notice] Logging level set to:debug
-[2026-01-16 22:08:58.733776] [debug] Payload recibido: {
-  "id": "evt_1SqLCQEFY1WEUtgRbwirduJU",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768601337,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqLCPEFY1WEUtgRYNc20tqj",
-      "object": "customer_cash_balance_transaction",
-      "created": 1768601337,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 30000,
-      "funded": {
-        "bank_transfer": {
-          "reference": "",
-          "type": "mx_bank_transfer"
-        }
-      },
-      "livemode": false,
-      "net_amount": 30000,
-      "type": "funded"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_9hzQVs9V8c9AEo",
-    "idempotency_key": "7b98bb0a-b193-42e6-ae0b-4bc43002a33a"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-16 22:08:58.733863] [info] No UUID found in the webhook data
-[2026-01-16 22:08:58.733911] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SqLCQEFY1WEUtgRbwirduJU","object":"event","api_version":"2023-10-16","created":1768601337,"data":{"object":{"id":"ccsbtxn_1SqLCPEFY1WEUtgRYNc20tqj","object":"customer_cash_balance_transaction","created":1768601337,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":30000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":30000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_9hzQVs9V8c9AEo","idempotency_key":"7b98bb0a-b193-42e6-ae0b-4bc43002a33a"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-16 22:09:05.660393] [info] PaymentIntent creado: pi_3SqLCWEFY1WEUtgR0s2K7Xdo
-[2026-01-16 22:09:05.948609] [notice] Logging level set to:debug
-[2026-01-16 22:09:05.948734] [debug] Payload recibido: {
-  "id": "evt_1SqLCXEFY1WEUtgRq65OR6rU",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768601344,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqLCWEFY1WEUtgRFGQRgnkE",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqLCWEFY1WEUtgR0s2K7Xdo"
-      },
-      "created": 1768601344,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -30000,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_FhkDwYIeYDquvY",
-    "idempotency_key": "78489d85-1513-43e9-905a-290f80b028d7"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-16 22:09:05.948788] [info] No UUID found in the webhook data
-[2026-01-16 22:09:05.948834] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqLCXEFY1WEUtgRq65OR6rU","object":"event","api_version":"2023-10-16","created":1768601344,"data":{"object":{"id":"ccsbtxn_1SqLCWEFY1WEUtgRFGQRgnkE","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqLCWEFY1WEUtgR0s2K7Xdo"},"created":1768601344,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-30000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_FhkDwYIeYDquvY","idempotency_key":"78489d85-1513-43e9-905a-290f80b028d7"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-16 22:09:06.006400] [notice] Logging level set to:debug
-[2026-01-16 22:09:06.006537] [debug] Payload recibido: {
-  "id": "evt_3SqLCWEFY1WEUtgR08PVHvUl",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768601345,
-  "data": {
-    "object": {
-      "id": "pi_3SqLCWEFY1WEUtgR0s2K7Xdo",
-      "object": "payment_intent",
-      "amount": 30000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 30000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic_async",
-      "client_secret": "pi_3SqLCWEFY1WEUtgR0s2K7Xdo_secret_TYATeiso2wezncXKQEUKhdlYg",
-      "confirmation_method": "automatic",
-      "created": 1768601344,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqLCWEFY1WEUtgR0E5DVw7r",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqLCWEFY1WEUtgRwJpmUvT4",
-      "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_FhkDwYIeYDquvY",
-    "idempotency_key": "78489d85-1513-43e9-905a-290f80b028d7"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-16 22:09:06.006618] [info] No UUID found in the webhook data
-[2026-01-16 22:09:06.006656] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-16 22:09:06.102634] [notice] Logging level set to:debug
-[2026-01-16 22:09:06.102772] [debug] Payload recibido: {
-  "id": "evt_3SqLCWEFY1WEUtgR0M9Abbge",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768601345,
-  "data": {
-    "object": {
-      "id": "py_3SqLCWEFY1WEUtgR0E5DVw7r",
-      "object": "charge",
-      "amount": 30000,
-      "amount_captured": 30000,
-      "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": 1768601345,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "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_3SqLCWEFY1WEUtgR0s2K7Xdo",
-      "payment_method": "pm_1SqLCWEFY1WEUtgRwJpmUvT4",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIHuqssGMgabP-Ralx06LBYaMmpSEJz4nQ3Fyh3uIMpYjFqHY9iiLYZnko86WclvM5f7RhCAImx3ZkPq",
-      "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_FhkDwYIeYDquvY",
-    "idempotency_key": "78489d85-1513-43e9-905a-290f80b028d7"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-16 22:09:06.102858] [info] No UUID found in the webhook data
-[2026-01-16 22:09:07.030256] [notice] Logging level set to:debug
-[2026-01-16 22:09:07.030407] [debug] Payload recibido: {"uuid":"4f645b3e-4d98-487f-98b4-ab3d274d6e0a","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8786,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1214,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8486,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1514,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-16 22:09:07.306245] [debug] Evento recibido: invoice.edit
-[2026-01-16 22:09:07.306436] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"4f645b3e-4d98-487f-98b4-ab3d274d6e0a","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1214,"accountCredit":0,"accountOutstanding":1214,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8786,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1214,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 16:09","Saldo Actual":"\ud83d\udcb21214 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 16:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21214 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 16:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 16:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 22:09:12.684732] [notice] Logging level set to:debug
-[2026-01-16 22:09:12.684880] [debug] Payload recibido: {"uuid":"0664ccc0-63c0-444e-89f0-6e96480ecb6d","changeType":"insert","entity":"payment","entityId":"818","eventName":"payment.add","extraData":{"entity":{"id":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-16 22:09:12.886544] [debug] Evento recibido: payment.add
-[2026-01-16 22:09:12.886787] [debug] Notification encodificado en JSON:{"uuid":"0664ccc0-63c0-444e-89f0-6e96480ecb6d","changeType":"insert","entity":"payment","entityId":818,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1214,"accountCredit":0,"accountOutstanding":1214,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-16 22:09:12.886858] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 818
-[2026-01-16 22:09:13.058196] [debug] Payment 818 Method: Tarjeta de crédito Stripe
-[2026-01-16 22:09:13.058372] [info] PATCHING Payment 818: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-16 22:09:13.658584] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768601353.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768601353.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768601353.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$300", "$1214 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"808c745bda8342dba90b86bf91ea32d1","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":"0664ccc0-63c0-444e-89f0-6e96480ecb6d","changeType":"insert","entity":"payment","entityId":818,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1214,"accountCredit":0,"accountOutstanding":1214,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[{"id":"c549b15e-781c-41f6-aa3a-8fd03fcb1500","paymentId":818,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 16:09","Saldo Actual":"\ud83d\udcb21214 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 16:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21214 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 16:09 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 16:09\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-16 22:09:15.314940] [notice] Logging level set to:debug
-[2026-01-16 22:09:15.315002] [debug] Payload recibido: {"uuid":"99e5805a-025f-42d7-ab4e-1e5a5dcfc595","changeType":"edit","entity":"payment","entityId":"818","eventName":"payment.edit","extraData":{"entity":{"id":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":818,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T16:09:06-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-16 22:09:15.611108] [debug] Evento recibido: payment.edit
-[2026-01-17 1:47:36.502243] [notice] Logging level set to:debug
-[2026-01-17 1:47:36.502405] [debug] Payload recibido: {
-  "id": "evt_1SqOc0EFY1WEUtgRlyjtlGrW",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614455,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqObzEFY1WEUtgRIdXZMBsX",
-      "object": "customer_cash_balance_transaction",
-      "created": 1768614455,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 18500,
-      "funded": {
-        "bank_transfer": {
-          "reference": "",
-          "type": "mx_bank_transfer"
-        }
-      },
-      "livemode": false,
-      "net_amount": 18500,
-      "type": "funded"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_FXIrAWiblu2jeD",
-    "idempotency_key": "6589c8d2-26d6-4b01-a791-b878db3df97d"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 1:47:36.502465] [info] No UUID found in the webhook data
-[2026-01-17 1:47:36.502511] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SqOc0EFY1WEUtgRlyjtlGrW","object":"event","api_version":"2023-10-16","created":1768614455,"data":{"object":{"id":"ccsbtxn_1SqObzEFY1WEUtgRIdXZMBsX","object":"customer_cash_balance_transaction","created":1768614455,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":18500,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":18500,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_FXIrAWiblu2jeD","idempotency_key":"6589c8d2-26d6-4b01-a791-b878db3df97d"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 1:47:38.521272] [info] PaymentIntent creado: pi_3SqOc1EFY1WEUtgR0Cd57sUU
-[2026-01-17 1:47:39.572602] [notice] Logging level set to:debug
-[2026-01-17 1:47:39.572669] [debug] Payload recibido: {
-  "id": "evt_3SqOc1EFY1WEUtgR0EDRx4Vz",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614458,
-  "data": {
-    "object": {
-      "id": "pi_3SqOc1EFY1WEUtgR0Cd57sUU",
-      "object": "payment_intent",
-      "amount": 18500,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 18500,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic_async",
-      "client_secret": "pi_3SqOc1EFY1WEUtgR0Cd57sUU_secret_VK0deXxMGBI9q8YTGZ1yFGEpN",
-      "confirmation_method": "automatic",
-      "created": 1768614457,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqOc1EFY1WEUtgR0XEGBZX2",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqOc1EFY1WEUtgRmkdvAifv",
-      "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_udkVnxiPb0vTwc",
-    "idempotency_key": "11cfd0df-24b3-4b49-b3a7-a9d6acf1bf3c"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-17 1:47:39.572724] [info] No UUID found in the webhook data
-[2026-01-17 1:47:39.572735] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 1:47:39.787190] [notice] Logging level set to:debug
-[2026-01-17 1:47:39.787379] [debug] Payload recibido: {
-  "id": "evt_3SqOc1EFY1WEUtgR03Lkq4WJ",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614458,
-  "data": {
-    "object": {
-      "id": "py_3SqOc1EFY1WEUtgR0XEGBZX2",
-      "object": "charge",
-      "amount": 18500,
-      "amount_captured": 18500,
-      "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": 1768614457,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "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_3SqOc1EFY1WEUtgR0Cd57sUU",
-      "payment_method": "pm_1SqOc1EFY1WEUtgRmkdvAifv",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKLrUq8sGMgZnQNek0aQ6LBbFZYBOQwKeBvGoz1RwGhUOkT8llFab5ddUxurvWpAqxD2CwPXtZNAOHPck",
-      "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_udkVnxiPb0vTwc",
-    "idempotency_key": "11cfd0df-24b3-4b49-b3a7-a9d6acf1bf3c"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-17 1:47:39.787497] [info] No UUID found in the webhook data
-[2026-01-17 1:47:39.892405] [notice] Logging level set to:debug
-[2026-01-17 1:47:39.892496] [debug] Payload recibido: {
-  "id": "evt_1SqOc2EFY1WEUtgRrwZquOZS",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614457,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqOc1EFY1WEUtgR37noN82c",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqOc1EFY1WEUtgR0Cd57sUU"
-      },
-      "created": 1768614457,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -18500,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_udkVnxiPb0vTwc",
-    "idempotency_key": "11cfd0df-24b3-4b49-b3a7-a9d6acf1bf3c"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 1:47:39.892520] [info] No UUID found in the webhook data
-[2026-01-17 1:47:39.892538] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqOc2EFY1WEUtgRrwZquOZS","object":"event","api_version":"2023-10-16","created":1768614457,"data":{"object":{"id":"ccsbtxn_1SqOc1EFY1WEUtgR37noN82c","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqOc1EFY1WEUtgR0Cd57sUU"},"created":1768614457,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-18500,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_udkVnxiPb0vTwc","idempotency_key":"11cfd0df-24b3-4b49-b3a7-a9d6acf1bf3c"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 1:47:40.766288] [notice] Logging level set to:debug
-[2026-01-17 1:47:40.766349] [debug] Payload recibido: {"uuid":"8189fbca-3c5c-419e-924f-eaa027929ddc","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8971,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1029,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8786,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1214,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-17 1:47:40.984719] [debug] Evento recibido: invoice.edit
-[2026-01-17 1:47:40.984847] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"8189fbca-3c5c-419e-924f-eaa027929ddc","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1029,"accountCredit":0,"accountOutstanding":1029,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8971,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":1029,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 19:47","Saldo Actual":"\ud83d\udcb21029 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 185","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 19:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21029 pendientes\",\"Monto Ultimo Pago\": \"$ 185\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 19:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 19:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 1:47:42.591224] [notice] Logging level set to:debug
-[2026-01-17 1:47:42.591348] [debug] Payload recibido: {"uuid":"959e39bf-239f-49e5-ac04-9b3d6d9ddeeb","changeType":"insert","entity":"payment","entityId":"819","eventName":"payment.add","extraData":{"entity":{"id":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-17 1:47:42.785028] [debug] Evento recibido: payment.add
-[2026-01-17 1:47:42.785258] [debug] Notification encodificado en JSON:{"uuid":"959e39bf-239f-49e5-ac04-9b3d6d9ddeeb","changeType":"insert","entity":"payment","entityId":819,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1029,"accountCredit":0,"accountOutstanding":1029,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-17 1:47:42.785329] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 819
-[2026-01-17 1:47:42.828350] [warning] Microservice metadata fetch failed: Server error: `GET http://172.16.5.134:4100/stripe-metadata/819` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 1:47:42.932590] [info] Payment 819 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 1:47:42.947971] [error] Failed to patch User ID via microservice: Server error: `PATCH http://172.16.5.134:4100/payments/819/user` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 1:47:43.092881] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito'
-[2026-01-17 1:47:43.093009] [info] PATCHING Payment 819: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-17 1:47:43.732650] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614463.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614463.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614463.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$185", "$1029 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"38a481072b4b45538be7941c2c22cd27","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":"959e39bf-239f-49e5-ac04-9b3d6d9ddeeb","changeType":"insert","entity":"payment","entityId":819,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-1029,"accountCredit":0,"accountOutstanding":1029,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[{"id":"009dee1b-ae0e-4f1f-afec-4ba97dc53b2e","paymentId":819,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 19:47","Saldo Actual":"\ud83d\udcb21029 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 185","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 19:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb21029 pendientes\",\"Monto Ultimo Pago\": \"$ 185\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 19:47 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 19:47\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 1:47:45.501686] [notice] Logging level set to:debug
-[2026-01-17 1:47:45.501755] [debug] Payload recibido: {"uuid":"e7e5897a-f0f2-42fb-95fe-0188090722b6","changeType":"edit","entity":"payment","entityId":"819","eventName":"payment.edit","extraData":{"entity":{"id":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":819,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:47:40-0600","amount":185,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-17 1:47:45.691142] [debug] Evento recibido: payment.edit
-[2026-01-17 1:53:23.259371] [notice] Logging level set to:debug
-[2026-01-17 1:53:23.260459] [debug] Payload recibido: {
-  "id": "evt_1SqOhaEFY1WEUtgR9a010FH7",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614802,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqOhaEFY1WEUtgRNkE2PtW1",
-      "object": "customer_cash_balance_transaction",
-      "created": 1768614802,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 21000,
-      "funded": {
-        "bank_transfer": {
-          "reference": "",
-          "type": "mx_bank_transfer"
-        }
-      },
-      "livemode": false,
-      "net_amount": 21000,
-      "type": "funded"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_Uk9VxoRS873jYJ",
-    "idempotency_key": "37e1ace1-5584-455c-a157-c4c0940f38e5"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 1:53:23.260560] [info] No UUID found in the webhook data
-[2026-01-17 1:53:23.260612] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SqOhaEFY1WEUtgR9a010FH7","object":"event","api_version":"2023-10-16","created":1768614802,"data":{"object":{"id":"ccsbtxn_1SqOhaEFY1WEUtgRNkE2PtW1","object":"customer_cash_balance_transaction","created":1768614802,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":21000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":21000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_Uk9VxoRS873jYJ","idempotency_key":"37e1ace1-5584-455c-a157-c4c0940f38e5"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 1:53:25.338648] [info] PaymentIntent creado: pi_3SqOhbEFY1WEUtgR1am82DPi
-[2026-01-17 1:53:25.748008] [notice] Logging level set to:debug
-[2026-01-17 1:53:25.748073] [debug] Payload recibido: {
-  "id": "evt_1SqOhdEFY1WEUtgRrAYbxhOz",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614804,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqOhcEFY1WEUtgRxSPyiUBE",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqOhbEFY1WEUtgR1am82DPi"
-      },
-      "created": 1768614804,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -21000,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_aEEdGGqboDQNEd",
-    "idempotency_key": "3b808c9e-63fd-461b-afb9-37c0ae079c4a"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 1:53:25.748101] [info] No UUID found in the webhook data
-[2026-01-17 1:53:25.748120] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqOhdEFY1WEUtgRrAYbxhOz","object":"event","api_version":"2023-10-16","created":1768614804,"data":{"object":{"id":"ccsbtxn_1SqOhcEFY1WEUtgRxSPyiUBE","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqOhbEFY1WEUtgR1am82DPi"},"created":1768614804,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-21000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_aEEdGGqboDQNEd","idempotency_key":"3b808c9e-63fd-461b-afb9-37c0ae079c4a"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 1:53:25.922255] [notice] Logging level set to:debug
-[2026-01-17 1:53:25.922384] [debug] Payload recibido: {
-  "id": "evt_3SqOhbEFY1WEUtgR1kfwKM5P",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614805,
-  "data": {
-    "object": {
-      "id": "py_3SqOhbEFY1WEUtgR12XVp9f0",
-      "object": "charge",
-      "amount": 21000,
-      "amount_captured": 21000,
-      "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": 1768614804,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "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_3SqOhbEFY1WEUtgR1am82DPi",
-      "payment_method": "pm_1SqOhbEFY1WEUtgR3YLJQ8RW",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJXXq8sGMgYN8oOBtWk6LBYvqAtmU35eCnpayg7MSTxB2IFMKnDpfRRVQsgV5dajzRBMEgwt6bdt0gGQ",
-      "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_aEEdGGqboDQNEd",
-    "idempotency_key": "3b808c9e-63fd-461b-afb9-37c0ae079c4a"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-17 1:53:25.922472] [info] No UUID found in the webhook data
-[2026-01-17 1:53:25.983999] [notice] Logging level set to:debug
-[2026-01-17 1:53:25.984057] [debug] Payload recibido: {
-  "id": "evt_3SqOhbEFY1WEUtgR1AkEZO9T",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768614805,
-  "data": {
-    "object": {
-      "id": "pi_3SqOhbEFY1WEUtgR1am82DPi",
-      "object": "payment_intent",
-      "amount": 21000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 21000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic_async",
-      "client_secret": "pi_3SqOhbEFY1WEUtgR1am82DPi_secret_2hvjiNvhqUxXD9qFeZ1cEu0SX",
-      "confirmation_method": "automatic",
-      "created": 1768614803,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqOhbEFY1WEUtgR12XVp9f0",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqOhbEFY1WEUtgR3YLJQ8RW",
-      "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_aEEdGGqboDQNEd",
-    "idempotency_key": "3b808c9e-63fd-461b-afb9-37c0ae079c4a"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-17 1:53:25.984092] [info] No UUID found in the webhook data
-[2026-01-17 1:53:25.984106] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 1:53:26.865938] [notice] Logging level set to:debug
-[2026-01-17 1:53:26.866092] [debug] Payload recibido: {"uuid":"b9dac152-1ced-469f-9cf6-e06475347057","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9181,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":819,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":8971,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":1029,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-17 1:53:27.089952] [debug] Evento recibido: invoice.edit
-[2026-01-17 1:53:27.090174] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"b9dac152-1ced-469f-9cf6-e06475347057","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-819,"accountCredit":0,"accountOutstanding":819,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9181,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":819,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 19:53","Saldo Actual":"\ud83d\udcb2819 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 210","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 19:53 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2819 pendientes\",\"Monto Ultimo Pago\": \"$ 210\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 19:53 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 19:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 1:53:29.181662] [notice] Logging level set to:debug
-[2026-01-17 1:53:29.181862] [debug] Payload recibido: {"uuid":"1dcd8814-8492-4709-8e77-80093a61e5f8","changeType":"insert","entity":"payment","entityId":"820","eventName":"payment.add","extraData":{"entity":{"id":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-17 1:53:29.393708] [debug] Evento recibido: payment.add
-[2026-01-17 1:53:29.393858] [debug] Notification encodificado en JSON:{"uuid":"1dcd8814-8492-4709-8e77-80093a61e5f8","changeType":"insert","entity":"payment","entityId":820,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-819,"accountCredit":0,"accountOutstanding":819,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-17 1:53:29.393893] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 820
-[2026-01-17 1:53:29.405119] [warning] Microservice metadata fetch failed: Server error: `GET http://172.16.5.134:4100/stripe-metadata/820` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 1:53:29.501667] [info] Payment 820 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 1:53:29.512238] [error] Failed to patch User ID via microservice: Server error: `PATCH http://172.16.5.134:4100/payments/820/user` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 1:53:29.692912] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito'
-[2026-01-17 1:53:29.692955] [info] PATCHING Payment 820: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-17 1:53:30.317759] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614810.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614810.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768614810.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$210", "$819 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"65e9c041fa33484191df1d287d2c5193","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":"1dcd8814-8492-4709-8e77-80093a61e5f8","changeType":"insert","entity":"payment","entityId":820,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-819,"accountCredit":0,"accountOutstanding":819,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[{"id":"f0587d6c-5799-40c5-9c4e-10c1a325f992","paymentId":820,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 19:53","Saldo Actual":"\ud83d\udcb2819 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 210","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 19:53 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2819 pendientes\",\"Monto Ultimo Pago\": \"$ 210\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 19:53 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 19:53\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 1:53:32.160610] [notice] Logging level set to:debug
-[2026-01-17 1:53:32.160674] [debug] Payload recibido: {"uuid":"744c54b1-33be-4010-bf64-6a33ff8ec4fe","changeType":"edit","entity":"payment","entityId":"820","eventName":"payment.edit","extraData":{"entity":{"id":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":820,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T19:53:26-0600","amount":210,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-17 1:53:32.428323] [debug] Evento recibido: payment.edit
-[2026-01-17 2:07:01.012415] [notice] Logging level set to:debug
-[2026-01-17 2:07:01.012587] [debug] Payload recibido: {
-  "id": "evt_1SqOumEFY1WEUtgRDpHMbzah",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768615620,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqOulEFY1WEUtgRPyJp1EdC",
-      "object": "customer_cash_balance_transaction",
-      "created": 1768615619,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 41000,
-      "funded": {
-        "bank_transfer": {
-          "reference": "",
-          "type": "mx_bank_transfer"
-        }
-      },
-      "livemode": false,
-      "net_amount": 41000,
-      "type": "funded"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_E6vhhCJjN7Zp9W",
-    "idempotency_key": "9fac4eb7-9d7f-4db4-bd11-7424ccf954c8"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 2:07:01.012650] [info] No UUID found in the webhook data
-[2026-01-17 2:07:01.012701] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1SqOumEFY1WEUtgRDpHMbzah","object":"event","api_version":"2023-10-16","created":1768615620,"data":{"object":{"id":"ccsbtxn_1SqOulEFY1WEUtgRPyJp1EdC","object":"customer_cash_balance_transaction","created":1768615619,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":41000,"funded":{"bank_transfer":{"reference":"","type":"mx_bank_transfer"}},"livemode":false,"net_amount":41000,"type":"funded"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_E6vhhCJjN7Zp9W","idempotency_key":"9fac4eb7-9d7f-4db4-bd11-7424ccf954c8"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 2:07:03.102147] [info] PaymentIntent creado: pi_3SqOunEFY1WEUtgR0IomVd6E
-[2026-01-17 2:07:03.352274] [notice] Logging level set to:debug
-[2026-01-17 2:07:03.352353] [debug] Payload recibido: {
-  "id": "evt_1SqOupEFY1WEUtgR4cHOT4CD",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768615622,
-  "data": {
-    "object": {
-      "id": "ccsbtxn_1SqOuoEFY1WEUtgRJZyk9Kt6",
-      "object": "customer_cash_balance_transaction",
-      "applied_to_payment": {
-        "payment_intent": "pi_3SqOunEFY1WEUtgR0IomVd6E"
-      },
-      "created": 1768615622,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "ending_balance": 0,
-      "livemode": false,
-      "net_amount": -41000,
-      "type": "applied_to_payment"
-    }
-  },
-  "livemode": false,
-  "pending_webhooks": 3,
-  "request": {
-    "id": "req_jbrzMOudKU5fUU",
-    "idempotency_key": "733e2f6a-aa4f-419a-aa5a-4d486c7f609d"
-  },
-  "type": "customer_cash_balance_transaction.created"
-}
-
-[2026-01-17 2:07:03.352377] [info] No UUID found in the webhook data
-[2026-01-17 2:07:03.352395] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1SqOupEFY1WEUtgR4cHOT4CD","object":"event","api_version":"2023-10-16","created":1768615622,"data":{"object":{"id":"ccsbtxn_1SqOuoEFY1WEUtgRJZyk9Kt6","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3SqOunEFY1WEUtgR0IomVd6E"},"created":1768615622,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-41000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":3,"request":{"id":"req_jbrzMOudKU5fUU","idempotency_key":"733e2f6a-aa4f-419a-aa5a-4d486c7f609d"},"type":"customer_cash_balance_transaction.created"}
-
-[2026-01-17 2:07:03.468662] [notice] Logging level set to:debug
-[2026-01-17 2:07:03.468719] [debug] Payload recibido: {
-  "id": "evt_3SqOunEFY1WEUtgR0fkVFJcM",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768615622,
-  "data": {
-    "object": {
-      "id": "pi_3SqOunEFY1WEUtgR0IomVd6E",
-      "object": "payment_intent",
-      "amount": 41000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 41000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic_async",
-      "client_secret": "pi_3SqOunEFY1WEUtgR0IomVd6E_secret_ugKqPuKzcRcbw8AJpSgUvIIha",
-      "confirmation_method": "automatic",
-      "created": 1768615621,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqOunEFY1WEUtgR0vbNOU6d",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "tipoPago": "Transferencia Bancaria"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_method": "pm_1SqOunEFY1WEUtgRPS15lxWH",
-      "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_jbrzMOudKU5fUU",
-    "idempotency_key": "733e2f6a-aa4f-419a-aa5a-4d486c7f609d"
-  },
-  "type": "payment_intent.succeeded"
-}
-
-[2026-01-17 2:07:03.468755] [info] No UUID found in the webhook data
-[2026-01-17 2:07:03.468765] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 2:07:03.590444] [notice] Logging level set to:debug
-[2026-01-17 2:07:03.590589] [debug] Payload recibido: {
-  "id": "evt_3SqOunEFY1WEUtgR0aKkJHGR",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768615622,
-  "data": {
-    "object": {
-      "id": "py_3SqOunEFY1WEUtgR0vbNOU6d",
-      "object": "charge",
-      "amount": 41000,
-      "amount_captured": 41000,
-      "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": 1768615622,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "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": "146",
-        "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_3SqOunEFY1WEUtgR0IomVd6E",
-      "payment_method": "pm_1SqOunEFY1WEUtgRPS15lxWH",
-      "payment_method_details": {
-        "customer_balance": {},
-        "type": "customer_balance"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMfdq8sGMgZ2uMRASt86LBZLmaEKNgSvhSgdDqYGbje_eOY4wCZpfzk3EZVMab6WI-Hc7yixbK-9_eaU",
-      "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_jbrzMOudKU5fUU",
-    "idempotency_key": "733e2f6a-aa4f-419a-aa5a-4d486c7f609d"
-  },
-  "type": "charge.succeeded"
-}
-
-[2026-01-17 2:07:03.590687] [info] No UUID found in the webhook data
-[2026-01-17 2:07:04.475867] [notice] Logging level set to:debug
-[2026-01-17 2:07:04.476016] [debug] Payload recibido: {"uuid":"1554de7b-5a94-48f0-8bd3-84327b7b91a7","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9591,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":409,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9181,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":819,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
-
-[2026-01-17 2:07:04.686136] [debug] Evento recibido: invoice.edit
-[2026-01-17 2:07:04.686376] [debug] Edición de Factura
-
-Notificacion data: {"uuid":"1554de7b-5a94-48f0-8bd3-84327b7b91a7","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-409,"accountCredit":0,"accountOutstanding":409,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9591,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":409,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 20:07","Saldo Actual":"\ud83d\udcb2409 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 410","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 20:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2409 pendientes\",\"Monto Ultimo Pago\": \"$ 410\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 20:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 20:07\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 2:07:06.778829] [notice] Logging level set to:debug
-[2026-01-17 2:07:06.779057] [debug] Payload recibido: {"uuid":"bc7ddd6f-4d91-473b-a655-30cde43c3328","changeType":"insert","entity":"payment","entityId":"821","eventName":"payment.add","extraData":{"entity":{"id":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-17 2:07:06.954046] [debug] Evento recibido: payment.add
-[2026-01-17 2:07:06.954299] [debug] Notification encodificado en JSON:{"uuid":"bc7ddd6f-4d91-473b-a655-30cde43c3328","changeType":"insert","entity":"payment","entityId":821,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-409,"accountCredit":0,"accountOutstanding":409,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-17 2:07:06.954382] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 821
-[2026-01-17 2:07:06.959259] [warning] Microservice metadata fetch failed: Server error: `GET http://172.16.5.134:4100/stripe-metadata/821` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 2:07:07.152028] [info] Payment 821 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 2:07:07.158870] [error] Failed to patch User ID via microservice: Server error: `PATCH http://172.16.5.134:4100/payments/821/user` resulted in a `500 Internal Server Error` response:
-{"error":"Database error"}
-
-[2026-01-17 2:07:07.292555] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito'
-[2026-01-17 2:07:07.292603] [info] PATCHING Payment 821: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
-
-[2026-01-17 2:07:07.948662] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768615627.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768615627.jpg
-
-Archivos temporales (PDF/JPG) eliminados tras subida exitosa.
-
-Proceso de obtención de imagen finalizado.
-
-La cadena CURL que se envia es: {
-    "to": "5214181878106",
-    "from": "whatsapp",
-    "type": "document",
-    "content": {
-      "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768615627.jpg"
-    },
-    "template_values": ["Delfino De los Mares venus", "$410", "$409 pendientes"],
-    "template_uuid": "57ead79cebd14902921477922403093b",
-    "optin_contact": true
-  }
-Response del CallBell: {"message":{"uuid":"ea8a25815fd94de494ce662247179f86","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":"bc7ddd6f-4d91-473b-a655-30cde43c3328","changeType":"insert","entity":"payment","entityId":821,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-409,"accountCredit":0,"accountOutstanding":409,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[{"id":"4f4b5c15-d5e2-4728-86fb-8e5c2c0399ad","paymentId":821,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 16\/01\/2026 20:07","Saldo Actual":"\ud83d\udcb2409 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 410","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/01\/2026 20:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2409 pendientes\",\"Monto Ultimo Pago\": \"$ 410\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 16\/01\/2026 20:07 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"16\/01\/2026 20:07\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 2:07:09.424093] [notice] Logging level set to:debug
-[2026-01-17 2:07:09.424226] [debug] Payload recibido: {"uuid":"cc0d7d54-96fa-484c-9034-ea52e0088699","changeType":"edit","entity":"payment","entityId":"821","eventName":"payment.edit","extraData":{"entity":{"id":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":821,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-16T20:07:04-0600","amount":410,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410}],"creditAmount":0,"userId":null,"attributes":[]}}}
-
-[2026-01-17 2:07:09.596671] [debug] Evento recibido: payment.edit
-[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=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=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=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=voucher_Delfino_De_los_Mares_venus_1768634656.jpeg | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/voucher_Delfino_De_los_Mares_venus_1768634656.jpeg | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768634656.jpeg | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768634656.jpeg | Exists=YES
-[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768634656.jpeg. Size: 34417 bytes
-[2026-01-17 7:27:20.406016] [notice] Logging level set to:debug
-[2026-01-17 7:27:20.406177] [debug] Payload recibido: {
-  "id": "evt_3SqTrnEFY1WEUtgR1h0luqcF",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768634839,
-  "data": {
-    "object": {
-      "id": "pi_3SqTrnEFY1WEUtgR1QnZIDo6",
-      "object": "payment_intent",
-      "amount": 40900,
-      "amount_capturable": 0,
-      "amount_details": {
-        "tip": {}
-      },
-      "amount_received": 40900,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SqTrnEFY1WEUtgR1QnZIDo6_secret_3LV2ePcMFjpdMiiLTcdtWkX59",
-      "confirmation_method": "automatic",
-      "created": 1768634655,
-      "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "py_3SqTrnEFY1WEUtgR17vJKfOB",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1180",
-        "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
+        "ucrm_client_id": "135",
+        "clientId": "135",
         "paymentType": "card.one_time",
         "tipoPago": "OXXO"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_method": "pm_1SqTrnEFY1WEUtgR4hTY5jJW",
+      "payment_method": "pm_1SvRWWEFY1WEUtgR3MSFTSqO",
       "payment_method_configuration_details": null,
       "payment_method_options": {
         "card": {
@@ -9601,25 +2390,25 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-17 7:27:20.406255] [info] No UUID found in the webhook data
-[2026-01-17 7:27:20.406294] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 7:27:20.553347] [notice] Logging level set to:debug
-[2026-01-17 7:27:20.553415] [debug] Payload recibido: {
-  "id": "evt_3SqTrnEFY1WEUtgR1Z4fOFEt",
+[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": 1768634840,
+  "created": 1769817471,
   "data": {
     "object": {
-      "id": "py_3SqTrnEFY1WEUtgR17vJKfOB",
+      "id": "py_3SvRWVEFY1WEUtgR13KlkyWa",
       "object": "charge",
-      "amount": 40900,
-      "amount_captured": 40900,
+      "amount": 36500,
+      "amount_captured": 36500,
       "amount_refunded": 0,
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SqTrnEFY1WEUtgR1T6vWhoY",
+      "balance_transaction": "txn_3SvRWVEFY1WEUtgR16DK4ic8",
       "billing_details": {
         "address": {
           "city": null,
@@ -9629,16 +2418,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": "juanvaliente@gmail.com",
+        "name": "Juan Escutia",
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768634839,
+      "created": 1769817470,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -9652,8 +2441,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
+        "ucrm_client_id": "135",
+        "clientId": "135",
         "paymentType": "card.one_time",
         "tipoPago": "OXXO"
       },
@@ -9670,8 +2459,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SqTrnEFY1WEUtgR1QnZIDo6",
-      "payment_method": "pm_1SqTrnEFY1WEUtgR4hTY5jJW",
+      "payment_intent": "pi_3SvRWVEFY1WEUtgR1HuIjDbr",
+      "payment_method": "pm_1SvRWWEFY1WEUtgR3MSFTSqO",
       "payment_method_details": {
         "oxxo": {
           "number": "12345678901234657890123456789012"
@@ -9681,7 +2470,7 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKNjzrMsGMgYRjAEmqLA6LBZeafCx9b5auC7pQHdFb__3dF5rnfEKiNvg__4boyUkhFWcRQYd-Ko61YC9",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKP-K9csGMgahLmZOqgc6LBbLJOG2Rx9nNfpFxJ_4yw5_d6xx9epAhuQ4U_d6g7UtoSyHQxJHB_tsy4ph",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -9703,135 +2492,150 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "type": "charge.succeeded"
 }
 
-[2026-01-17 7:27:20.553455] [info] No UUID found in the webhook data
-[2026-01-17 7:27:21.298043] [notice] Logging level set to:debug
-[2026-01-17 7:27:21.298115] [debug] Payload recibido: {"uuid":"a2a2f3ea-a88b-4fef-9703-d764feaca612","changeType":"edit","entity":"invoice","entityId":"2952","eventName":"invoice.edit","extraData":{"entity":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":10000,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410},{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":9591,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":409,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410},{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+[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-17 7:27:21.541156] [debug] Evento recibido: invoice.edit
-[2026-01-17 7:27:21.541276] [debug] Edición de Factura
+[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":[]}}
 
-Notificacion data: {"uuid":"a2a2f3ea-a88b-4fef-9703-d764feaca612","changeType":"edit","entity":"invoice","entityId":2952,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2952,"clientId":146,"number":"002898","createdDate":"2026-01-15T13:36:40-0600","dueDate":"2026-01-29T13:36:40-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-15T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2968,"type":"other","label":"ssdfsdgfdssdssss","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":10000,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1068,"invoiceId":2952,"paymentId":780,"creditNoteId":null,"refundId":null,"amount":240},{"id":1069,"invoiceId":2952,"paymentId":781,"creditNoteId":null,"refundId":null,"amount":340},{"id":1070,"invoiceId":2952,"paymentId":782,"creditNoteId":null,"refundId":null,"amount":210},{"id":1071,"invoiceId":2952,"paymentId":783,"creditNoteId":null,"refundId":null,"amount":500},{"id":1072,"invoiceId":2952,"paymentId":784,"creditNoteId":null,"refundId":null,"amount":170},{"id":1073,"invoiceId":2952,"paymentId":785,"creditNoteId":null,"refundId":null,"amount":190},{"id":1074,"invoiceId":2952,"paymentId":786,"creditNoteId":null,"refundId":null,"amount":210},{"id":1075,"invoiceId":2952,"paymentId":787,"creditNoteId":null,"refundId":null,"amount":260},{"id":1076,"invoiceId":2952,"paymentId":788,"creditNoteId":null,"refundId":null,"amount":290},{"id":1077,"invoiceId":2952,"paymentId":789,"creditNoteId":null,"refundId":null,"amount":330},{"id":1078,"invoiceId":2952,"paymentId":790,"creditNoteId":null,"refundId":null,"amount":130},{"id":1079,"invoiceId":2952,"paymentId":791,"creditNoteId":null,"refundId":null,"amount":40},{"id":1080,"invoiceId":2952,"paymentId":792,"creditNoteId":null,"refundId":null,"amount":100},{"id":1081,"invoiceId":2952,"paymentId":793,"creditNoteId":null,"refundId":null,"amount":1},{"id":1082,"invoiceId":2952,"paymentId":794,"creditNoteId":null,"refundId":null,"amount":210},{"id":1083,"invoiceId":2952,"paymentId":795,"creditNoteId":null,"refundId":null,"amount":115},{"id":1084,"invoiceId":2952,"paymentId":796,"creditNoteId":null,"refundId":null,"amount":225},{"id":1085,"invoiceId":2952,"paymentId":797,"creditNoteId":null,"refundId":null,"amount":175},{"id":1086,"invoiceId":2952,"paymentId":798,"creditNoteId":null,"refundId":null,"amount":10},{"id":1087,"invoiceId":2952,"paymentId":799,"creditNoteId":null,"refundId":null,"amount":245},{"id":1088,"invoiceId":2952,"paymentId":800,"creditNoteId":null,"refundId":null,"amount":245},{"id":1089,"invoiceId":2952,"paymentId":801,"creditNoteId":null,"refundId":null,"amount":670},{"id":1090,"invoiceId":2952,"paymentId":802,"creditNoteId":null,"refundId":null,"amount":845},{"id":1091,"invoiceId":2952,"paymentId":803,"creditNoteId":null,"refundId":null,"amount":175},{"id":1092,"invoiceId":2952,"paymentId":804,"creditNoteId":null,"refundId":null,"amount":100},{"id":1093,"invoiceId":2952,"paymentId":805,"creditNoteId":null,"refundId":null,"amount":350},{"id":1094,"invoiceId":2952,"paymentId":806,"creditNoteId":null,"refundId":null,"amount":50},{"id":1095,"invoiceId":2952,"paymentId":807,"creditNoteId":null,"refundId":null,"amount":175},{"id":1096,"invoiceId":2952,"paymentId":808,"creditNoteId":null,"refundId":null,"amount":100},{"id":1097,"invoiceId":2952,"paymentId":809,"creditNoteId":null,"refundId":null,"amount":160},{"id":1098,"invoiceId":2952,"paymentId":810,"creditNoteId":null,"refundId":null,"amount":160},{"id":1099,"invoiceId":2952,"paymentId":811,"creditNoteId":null,"refundId":null,"amount":50},{"id":1100,"invoiceId":2952,"paymentId":812,"creditNoteId":null,"refundId":null,"amount":310},{"id":1101,"invoiceId":2952,"paymentId":813,"creditNoteId":null,"refundId":null,"amount":310},{"id":1102,"invoiceId":2952,"paymentId":814,"creditNoteId":null,"refundId":null,"amount":100},{"id":1103,"invoiceId":2952,"paymentId":815,"creditNoteId":null,"refundId":null,"amount":100},{"id":1104,"invoiceId":2952,"paymentId":816,"creditNoteId":null,"refundId":null,"amount":570},{"id":1105,"invoiceId":2952,"paymentId":817,"creditNoteId":null,"refundId":null,"amount":200},{"id":1106,"invoiceId":2952,"paymentId":818,"creditNoteId":null,"refundId":null,"amount":300},{"id":1107,"invoiceId":2952,"paymentId":819,"creditNoteId":null,"refundId":null,"amount":185},{"id":1108,"invoiceId":2952,"paymentId":820,"creditNoteId":null,"refundId":null,"amount":210},{"id":1109,"invoiceId":2952,"paymentId":821,"creditNoteId":null,"refundId":null,"amount":410},{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+[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
 
-Dentro del proceso del patch: 
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Datos traidos con payment api: [{"id":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 01:27","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 409","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 409\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 01:27\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 7:27:23.568617] [notice] Logging level set to:debug
-[2026-01-17 7:27:23.568748] [debug] Payload recibido: {"uuid":"541ca25b-db05-4a78-9458-e0680b0c207d","changeType":"insert","entity":"payment","entityId":"822","eventName":"payment.add","extraData":{"entity":{"id":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-17 7:27:23.781759] [debug] Evento recibido: payment.add
-[2026-01-17 7:27:23.782082] [debug] Notification encodificado en JSON:{"uuid":"541ca25b-db05-4a78-9458-e0680b0c207d","changeType":"insert","entity":"payment","entityId":822,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-17 7:27:23.782155] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 822
-[2026-01-17 7:27:23.804253] [info] Microservice found metadata: tipoPago = 'OXXO'
-[2026-01-17 7:27:23.897777] [info] Payment 822 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 7:27:23.987310] [info] PATCHING Payment 822: Setting tipoPagoStripe = 'OXXO'
-[2026-01-17 7:27:24.087744] [error] Error in ensureStripePaymentAttribute: Client error: `PATCH https://venus.siip.mx/crm/api/v1.0/payments/822` resulted in a `422 Unprocessable Content` response:
-{"code":422,"message":"Validation failed.","errors":{"value":["There is no choice 'OXXO' for the custom attribute."]}}
-
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-17 7:27:24.740940] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768634844.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768634844.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768634844.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817474.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$409", "$0 está al corriente"],
+    "template_values": ["Juan Escutia", "$365", "$6950 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"22079c4f00194dabaf596731d9ee663e","status":"enqueued"}}
+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":"541ca25b-db05-4a78-9458-e0680b0c207d","changeType":"insert","entity":"payment","entityId":822,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":0,"accountCredit":0,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]}}
+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":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":1180,"attributes":[]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 01:27","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 409","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 409\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:27 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 01:27\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-17 7:27:26.672003] [notice] Logging level set to:debug
-[2026-01-17 7:27:26.672068] [debug] Payload recibido: {"uuid":"cdbc8250-e637-41a4-a9c0-c3e48b7fc132","changeType":"edit","entity":"payment","entityId":"822","eventName":"payment.edit","extraData":{"entity":{"id":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":822,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:27:20-0600","amount":409,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1110,"invoiceId":2952,"paymentId":822,"creditNoteId":null,"refundId":null,"amount":409}],"creditAmount":0,"userId":null,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6585 a favor'
 
-[2026-01-17 7:27:26.904290] [debug] Evento recibido: payment.edit
-[PROPAGATED_DEBUG] Image Request: File=voucher_Delfino_De_los_Mares_venus_1768635238.jpeg | PathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/img/voucher_Delfino_De_los_Mares_venus_1768635238.jpeg | VoucherPathTry=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768635238.jpeg | FinalPath=/data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768635238.jpeg | Exists=YES
-[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/vouchers_oxxo/voucher_Delfino_De_los_Mares_venus_1768635238.jpeg. Size: 33553 bytes
-[2026-01-17 7:37:05.423808] [notice] Logging level set to:debug
-[2026-01-17 7:37:05.423953] [debug] Payload recibido: {
-  "id": "evt_3SqU1BEFY1WEUtgR0smyIqJJ",
+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": 1768635425,
+  "created": 1769817723,
   "data": {
     "object": {
-      "id": "pi_3SqU1BEFY1WEUtgR0sCrLUQF",
+      "id": "pi_3SvRaXEFY1WEUtgR1S8i2pss",
       "object": "payment_intent",
-      "amount": 10000,
+      "amount": 52500,
       "amount_capturable": 0,
       "amount_details": {
         "tip": {}
       },
-      "amount_received": 10000,
+      "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_3SqU1BEFY1WEUtgR0sCrLUQF_secret_vNCZJzCs8J7FyHDcQJmbwxA8w",
+      "client_secret": "pi_3SvRaXEFY1WEUtgR1S8i2pss_secret_gnWeBax97EHZY2iOuA4RgK7qI",
       "confirmation_method": "automatic",
-      "created": 1768635237,
+      "created": 1769817537,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "py_3SqU1BEFY1WEUtgR0bjK4wAF",
+      "latest_charge": "py_3SvRaXEFY1WEUtgR1YBMjbFx",
       "livemode": false,
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
+        "ucrm_client_id": "135",
+        "clientId": "135",
         "paymentType": "card.one_time",
         "tipoPago": "OXXO"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_method": "pm_1SqU1CEFY1WEUtgRYSYGiqtd",
+      "payment_method": "pm_1SvRaYEFY1WEUtgRpXiv8KwF",
       "payment_method_configuration_details": null,
       "payment_method_options": {
         "card": {
@@ -9874,25 +2678,25 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-17 7:37:05.424034] [info] No UUID found in the webhook data
-[2026-01-17 7:37:05.424077] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 7:37:05.702934] [notice] Logging level set to:debug
-[2026-01-17 7:37:05.703134] [debug] Payload recibido: {
-  "id": "evt_3SqU1BEFY1WEUtgR0xfLyf6f",
+[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": 1768635425,
+  "created": 1769817723,
   "data": {
     "object": {
-      "id": "py_3SqU1BEFY1WEUtgR0bjK4wAF",
+      "id": "py_3SvRaXEFY1WEUtgR1YBMjbFx",
       "object": "charge",
-      "amount": 10000,
-      "amount_captured": 10000,
+      "amount": 52500,
+      "amount_captured": 52500,
       "amount_refunded": 0,
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SqU1BEFY1WEUtgR0VdzXL7w",
+      "balance_transaction": "txn_3SvRaXEFY1WEUtgR1BJsblWd",
       "billing_details": {
         "address": {
           "city": null,
@@ -9902,16 +2706,16 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
           "postal_code": null,
           "state": null
         },
-        "email": "mariscoselsietemares@gmail.com",
-        "name": "Delfino De los Mares venus",
+        "email": "juanvaliente@gmail.com",
+        "name": "Juan Escutia",
         "phone": null,
         "tax_id": null
       },
       "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768635424,
+      "created": 1769817722,
       "currency": "mxn",
-      "customer": "cus_QZ7T1h3th3Dr7w",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -9925,8 +2729,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "metadata": {
         "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "ucrm_client_id": "146",
-        "clientId": "146",
+        "ucrm_client_id": "135",
+        "clientId": "135",
         "paymentType": "card.one_time",
         "tipoPago": "OXXO"
       },
@@ -9943,8 +2747,8 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SqU1BEFY1WEUtgR0sCrLUQF",
-      "payment_method": "pm_1SqU1CEFY1WEUtgRYSYGiqtd",
+      "payment_intent": "pi_3SvRaXEFY1WEUtgR1S8i2pss",
+      "payment_method": "pm_1SvRaYEFY1WEUtgRpXiv8KwF",
       "payment_method_details": {
         "oxxo": {
           "number": "12345678901234657890123456789012"
@@ -9954,7 +2758,7 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKKH4rMsGMgYHIiF9et46LBZr6yase7jFCCmNvYjj5IC17w9SMh73w4xzHUd_go6_AXZy5xqpmCymvI_y",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPuM9csGMgZBzf1pXZ06LBbcHmoJSFQ5kdjDeYWG_R8OL0P3cWHx5B9RnwWrKZCUlMkdqKJbu4AqbTP2",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -9976,292 +2780,174 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "type": "charge.succeeded"
 }
 
-[2026-01-17 7:37:05.703283] [info] No UUID found in the webhook data
-[2026-01-17 7:37:06.380630] [notice] Logging level set to:debug
-[2026-01-17 7:37:06.380702] [debug] Payload recibido: {"uuid":"1212d8f3-a44e-47a2-8037-04a18bfb24f0","changeType":"insert","entity":"payment","entityId":"823","eventName":"payment.add","extraData":{"entity":{"id":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-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-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-17 7:37:06.561387] [debug] Evento recibido: payment.add
-[2026-01-17 7:37:06.561537] [debug] Notification encodificado en JSON:{"uuid":"1212d8f3-a44e-47a2-8037-04a18bfb24f0","changeType":"insert","entity":"payment","entityId":823,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":100,"accountCredit":100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
+[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-17 7:37:06.561570] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 823
-[2026-01-17 7:37:06.592438] [info] Microservice found metadata: tipoPago = 'OXXO'
-[2026-01-17 7:37:06.702250] [info] Payment 823 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 7:37:06.823704] [info] PATCHING Payment 823: Setting tipoPagoStripe = 'OXXO Pay'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
+[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_Delfino_De_los_Mares_venus.pdf
+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_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-17 7:37:07.640027] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635427.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635427.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635427.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769817725.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$100", "$100 a favor"],
+    "template_values": ["Juan Escutia", "$525", "$7475 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"c0c8b1535e554f179447afe69ee3b080","status":"enqueued"}}
+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":"1212d8f3-a44e-47a2-8037-04a18bfb24f0","changeType":"insert","entity":"payment","entityId":823,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":100,"accountCredit":100,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
+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":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"290ac86c-26ef-4027-add2-5717e50a9c7f","paymentId":823,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 01:37","Saldo Actual":"\ud83d\udcb2100 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2100 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:37 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 01:37\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-17 7:37:10.470616] [notice] Logging level set to:debug
-[2026-01-17 7:37:10.470804] [debug] Payload recibido: {"uuid":"a3b10a41-00bf-4c8c-b859-44883c01f744","changeType":"edit","entity":"payment","entityId":"823","eventName":"payment.edit","extraData":{"entity":{"id":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"290ac86c-26ef-4027-add2-5717e50a9c7f","paymentId":823,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]},"entityBeforeEdit":{"id":823,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:37:06-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲6950 a favor'
 
-[2026-01-17 7:37:10.674052] [debug] Evento recibido: payment.edit
-[2026-01-17 7:38:19.513119] [notice] Logging level set to:debug
-[2026-01-17 7:38:19.513271] [debug] Payload recibido: {
-  "id": "evt_3SqU1fEFY1WEUtgR0hljp5XH",
+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": 1768635498,
+  "created": 1769845435,
   "data": {
     "object": {
-      "id": "pi_3SqU1fEFY1WEUtgR0DKc05Hq",
-      "object": "payment_intent",
-      "amount": 20000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "shipping": {
-          "amount": 0,
-          "from_postal_code": null,
-          "to_postal_code": null
-        },
-        "tax": {
-          "total_tax_amount": 0
-        },
-        "tip": {}
-      },
-      "amount_received": 0,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SqU1fEFY1WEUtgR0DKc05Hq_secret_4YDfwG2JrwY3nk1KIxYHh5Xfu",
-      "confirmation_method": "automatic",
-      "created": 1768635267,
+      "id": "ccsbtxn_1SvYqVEFY1WEUtgRLITcazXc",
+      "object": "customer_cash_balance_transaction",
+      "created": 1769845435,
       "currency": "mxn",
-      "customer": "cus_To6HAuZ9BqnemW",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": {
-        "charge": "ch_3SqU1fEFY1WEUtgR0AXWJYZe",
-        "code": "card_declined",
-        "decline_code": "test_mode_live_card",
-        "doc_url": "https://stripe.com/docs/error-codes/card-declined",
-        "message": "Your card was declined. Your request used a real card while testing. For a list of valid test cards, visit: https://stripe.com/docs/testing.",
-        "payment_method": {
-          "id": "pm_1SqU5MEFY1WEUtgR6kpJfMRj",
-          "object": "payment_method",
-          "allow_redisplay": "limited",
-          "billing_details": {
-            "address": {
-              "city": null,
-              "country": "MX",
-              "line1": null,
-              "line2": null,
-              "postal_code": null,
-              "state": null
-            },
-            "email": "dispos.cyber@gmail.com",
-            "name": "Daniel Humberto Soto Villegas",
-            "phone": null,
-            "tax_id": null
-          },
-          "card": {
-            "brand": "mastercard",
-            "checks": {
-              "address_line1_check": null,
-              "address_postal_code_check": null,
-              "cvc_check": "unchecked"
-            },
-            "country": "MX",
-            "display_brand": "mastercard",
-            "exp_month": 11,
-            "exp_year": 2030,
-            "fingerprint": "NCKwvrWmh9r9JLQY",
-            "funding": "credit",
-            "generated_from": null,
-            "last4": "7521",
-            "networks": {
-              "available": [
-                "mastercard"
-              ],
-              "preferred": null
-            },
-            "regulated_status": "unregulated",
-            "three_d_secure_usage": {
-              "supported": true
-            },
-            "wallet": null
-          },
-          "created": 1768635497,
-          "customer": null,
-          "customer_account": null,
-          "livemode": false,
-          "metadata": {},
-          "type": "card"
-        },
-        "type": "card_error"
-      },
-      "latest_charge": "ch_3SqU1fEFY1WEUtgR0AXWJYZe",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1015",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "paymentToken": "72dda38a-dfca-44db-acb0-a99224db0c4d"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_details": {
-        "customer_reference": null,
-        "order_reference": "prod_PbYv8JTpXetIfH"
-      },
-      "payment_method": null,
-      "payment_method_configuration_details": null,
-      "payment_method_options": {
-        "card": {
-          "installments": {
-            "available_plans": [],
-            "enabled": false,
-            "plan": null
-          },
-          "mandate_options": null,
-          "network": null,
-          "request_three_d_secure": "automatic"
+      "ending_balance": 24500,
+      "funded": {
+        "bank_transfer": {
+          "reference": "",
+          "type": "mx_bank_transfer"
         }
       },
-      "payment_method_types": [
-        "card"
-      ],
-      "processing": null,
-      "receipt_email": null,
-      "review": null,
-      "setup_future_usage": null,
-      "shipping": null,
-      "source": null,
-      "statement_descriptor": null,
-      "statement_descriptor_suffix": null,
-      "status": "requires_payment_method",
-      "transfer_data": null,
-      "transfer_group": null
+      "livemode": false,
+      "net_amount": 24500,
+      "type": "funded"
     }
   },
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": "2a25c993-3d91-4f18-9e90-1e3f681215ce"
+    "id": "req_4jESCWaQJm714w",
+    "idempotency_key": "456d4279-ef48-4b03-a519-57a1946b37f1"
   },
-  "type": "payment_intent.payment_failed"
+  "type": "customer_cash_balance_transaction.created"
 }
 
-[2026-01-17 7:38:19.513377] [info] No UUID found in the webhook data
-[2026-01-17 7:39:01.290426] [notice] Logging level set to:debug
-[2026-01-17 7:39:01.290591] [debug] Payload recibido: {
-  "id": "evt_3SqU1fEFY1WEUtgR0vP0AJnj",
+[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": 1768635540,
+  "created": 1769845439,
   "data": {
     "object": {
-      "id": "pi_3SqU1fEFY1WEUtgR0DKc05Hq",
+      "id": "pi_3SvYqXEFY1WEUtgR1UyoUKHT",
       "object": "payment_intent",
-      "amount": 20000,
+      "amount": 24500,
       "amount_capturable": 0,
       "amount_details": {
-        "shipping": {
-          "amount": 0,
-          "from_postal_code": null,
-          "to_postal_code": null
-        },
-        "tax": {
-          "total_tax_amount": 0
-        },
         "tip": {}
       },
-      "amount_received": 20000,
+      "amount_received": 24500,
       "application": null,
       "application_fee_amount": null,
       "automatic_payment_methods": null,
       "canceled_at": null,
       "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SqU1fEFY1WEUtgR0DKc05Hq_secret_4YDfwG2JrwY3nk1KIxYHh5Xfu",
+      "capture_method": "automatic_async",
+      "client_secret": "pi_3SvYqXEFY1WEUtgR1UyoUKHT_secret_avuz8zx2Y84HL3WAwdPPlKqMd",
       "confirmation_method": "automatic",
-      "created": 1768635267,
+      "created": 1769845437,
       "currency": "mxn",
-      "customer": "cus_To6HAuZ9BqnemW",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "customer_account": null,
       "description": null,
       "excluded_payment_method_types": null,
       "invoice": null,
       "last_payment_error": null,
-      "latest_charge": "ch_3SqU1fEFY1WEUtgR0jyd1adq",
+      "latest_charge": "py_3SvYqXEFY1WEUtgR1kLT5Lsz",
       "livemode": false,
       "metadata": {
-        "signedInAdminId": "1015",
+        "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "paymentToken": "72dda38a-dfca-44db-acb0-a99224db0c4d"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "next_action": null,
       "on_behalf_of": null,
-      "payment_details": {
-        "customer_reference": null,
-        "order_reference": "prod_PbYv8JTpXetIfH"
-      },
-      "payment_method": "pm_1SqU62EFY1WEUtgR9vJ4zZw9",
+      "payment_method": "pm_1SvYqXEFY1WEUtgRBXXJnZzE",
       "payment_method_configuration_details": null,
       "payment_method_options": {
-        "card": {
-          "installments": {
-            "available_plans": [],
-            "enabled": false,
-            "plan": null
+        "customer_balance": {
+          "bank_transfer": {
+            "type": "mx_bank_transfer"
           },
-          "mandate_options": null,
-          "network": null,
-          "request_three_d_secure": "automatic"
+          "funding_type": "bank_transfer"
         }
       },
       "payment_method_types": [
-        "card"
+        "customer_balance"
       ],
       "processing": null,
       "receipt_email": null,
@@ -10279,50 +2965,85 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 3,
   "request": {
-    "id": null,
-    "idempotency_key": "a9b11eeb-cba2-4398-8a37-3101a2274532"
+    "id": "req_5hx7XCDRaknaS2",
+    "idempotency_key": "evt_1SvYqWEFY1WEUtgRjATILUoh"
   },
   "type": "payment_intent.succeeded"
 }
 
-[2026-01-17 7:39:01.290682] [info] No UUID found in the webhook data
-[2026-01-17 7:39:01.290980] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 7:39:01.335275] [notice] Logging level set to:debug
-[2026-01-17 7:39:01.335525] [debug] Payload recibido: {
-  "id": "evt_3SqU1fEFY1WEUtgR0t8P39CS",
+[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": 1768635540,
+  "created": 1769845438,
   "data": {
     "object": {
-      "id": "ch_3SqU1fEFY1WEUtgR0jyd1adq",
+      "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": 20000,
-      "amount_captured": 20000,
+      "amount": 24500,
+      "amount_captured": 24500,
       "amount_refunded": 0,
       "application": null,
       "application_fee": null,
       "application_fee_amount": null,
-      "balance_transaction": "txn_3SqU1fEFY1WEUtgR0871H4CG",
+      "balance_transaction": null,
       "billing_details": {
         "address": {
           "city": null,
-          "country": "MX",
+          "country": null,
           "line1": null,
           "line2": null,
           "postal_code": null,
           "state": null
         },
-        "email": "dispos.cyber@gmail.com",
-        "name": "Daniel Humberto Soto Villegas",
+        "email": null,
+        "name": null,
         "phone": null,
         "tax_id": null
       },
-      "calculated_statement_descriptor": "SIIP INTERNET",
+      "calculated_statement_descriptor": null,
       "captured": true,
-      "created": 1768635539,
+      "created": 1769845438,
       "currency": "mxn",
-      "customer": "cus_To6HAuZ9BqnemW",
+      "customer": "cus_QJk0PDx5ClqJ4w",
       "description": null,
       "destination": null,
       "dispute": null,
@@ -10334,11 +3055,10 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
       "invoice": null,
       "livemode": false,
       "metadata": {
-        "signedInAdminId": "1015",
+        "signedInAdminId": "1180",
         "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "paymentToken": "72dda38a-dfca-44db-acb0-a99224db0c4d"
+        "clientId": "135",
+        "tipoPago": "Transferencia Bancaria"
       },
       "on_behalf_of": null,
       "order": null,
@@ -10348,60 +3068,21 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
         "network_decline_code": null,
         "network_status": "approved_by_network",
         "reason": null,
-        "risk_level": "normal",
-        "risk_score": 22,
+        "risk_level": "not_assessed",
         "seller_message": "Payment complete.",
         "type": "authorized"
       },
       "paid": true,
-      "payment_intent": "pi_3SqU1fEFY1WEUtgR0DKc05Hq",
-      "payment_method": "pm_1SqU62EFY1WEUtgR9vJ4zZw9",
+      "payment_intent": "pi_3SvYqXEFY1WEUtgR1UyoUKHT",
+      "payment_method": "pm_1SvYqXEFY1WEUtgRBXXJnZzE",
       "payment_method_details": {
-        "card": {
-          "amount_authorized": 20000,
-          "authorization_code": "390689",
-          "brand": "visa",
-          "checks": {
-            "address_line1_check": null,
-            "address_postal_code_check": null,
-            "cvc_check": "pass"
-          },
-          "country": "US",
-          "exp_month": 11,
-          "exp_year": 2030,
-          "extended_authorization": {
-            "status": "disabled"
-          },
-          "fingerprint": "WpS5c5H7kZDcpRtk",
-          "funding": "credit",
-          "incremental_authorization": {
-            "status": "unavailable"
-          },
-          "installments": null,
-          "last4": "4242",
-          "mandate": null,
-          "multicapture": {
-            "status": "unavailable"
-          },
-          "network": "visa",
-          "network_token": {
-            "used": false
-          },
-          "network_transaction_id": "871128353995372",
-          "overcapture": {
-            "maximum_amount_capturable": 20000,
-            "status": "unavailable"
-          },
-          "regulated_status": "unregulated",
-          "three_d_secure": null,
-          "wallet": null
-        },
-        "type": "card"
+        "customer_balance": {},
+        "type": "customer_balance"
       },
       "radar_options": {},
       "receipt_email": null,
       "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJT5rMsGMgb3ydUmZyQ6LBbyEhgdw8sWSSo4sN-np6GSh81WGWibFU_yUnPmM45DQM0VTZTHKQ7poG1D",
+      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKL_l9ssGMgZVix4sJeE6LBZSNj2sNcoshS968O_azN3WhMX56jCEYohVD4razey-yfLTmUkZRw0BKlcb",
       "refunded": false,
       "review": null,
       "shipping": null,
@@ -10417,150 +3098,74 @@ JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fi
   "livemode": false,
   "pending_webhooks": 2,
   "request": {
-    "id": null,
-    "idempotency_key": "a9b11eeb-cba2-4398-8a37-3101a2274532"
+    "id": "req_5hx7XCDRaknaS2",
+    "idempotency_key": "evt_1SvYqWEFY1WEUtgRjATILUoh"
   },
   "type": "charge.succeeded"
 }
 
-[2026-01-17 7:39:01.335591] [info] No UUID found in the webhook data
-[2026-01-17 7:39:02.261590] [notice] Logging level set to:debug
-[2026-01-17 7:39:02.261648] [debug] Payload recibido: {"uuid":"732fbe0a-094f-4c40-a9b6-4e8dced44d05","changeType":"insert","entity":"payment","entityId":"824","eventName":"payment.add","extraData":{"entity":{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
+[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-17 7:39:02.504795] [debug] Evento recibido: payment.add
-[2026-01-17 7:39:02.505053] [debug] Notification encodificado en JSON:{"uuid":"732fbe0a-094f-4c40-a9b6-4e8dced44d05","changeType":"insert","entity":"payment","entityId":824,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
+[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-17 7:39:02.505136] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 824
-[2026-01-17 7:39:02.614722] [info] Payment 824 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 7:39:02.758676] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito'
-[2026-01-17 7:39:02.758724] [info] PATCHING Payment 824: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
+[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_Delfino_De_los_Mares_venus.pdf
+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_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-17 7:39:03.477127] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635543.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635543.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768635543.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769845443.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$200", "$300 a favor"],
+    "template_values": ["Juan Escutia", "$245", "$7720 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"813cab6de3474d81886958bd9ac1dc79","status":"enqueued"}}
+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":"732fbe0a-094f-4c40-a9b6-4e8dced44d05","changeType":"insert","entity":"payment","entityId":824,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":300,"accountCredit":300,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}
+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":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"497c7e2b-1fe6-4dcc-8b42-090ce4ea7b6c","paymentId":824,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 01:39","Saldo Actual":"\ud83d\udcb2300 a favor","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb2300 a favor\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 01:39\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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\"}"}}
 
-[2026-01-17 7:39:06.307092] [notice] Logging level set to:debug
-[2026-01-17 7:39:06.307291] [debug] Payload recibido: {"uuid":"a14bd79a-6bb8-4449-8a07-8078c8827e85","changeType":"edit","entity":"payment","entityId":"824","eventName":"payment.edit","extraData":{"entity":{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":1180,"attributes":[{"id":"497c7e2b-1fe6-4dcc-8b42-090ce4ea7b6c","paymentId":824,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]},"entityBeforeEdit":{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":200,"userId":null,"attributes":[]}}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7475 a favor'
 
-[2026-01-17 7:39:06.507433] [debug] Evento recibido: payment.edit
-[2026-01-17 18:22:37.623111] [notice] Logging level set to:debug
-[2026-01-17 18:22:37.623199] [debug] Payload recibido: {"uuid":"8fe698b5-402c-4c58-b961-8a196ec1ecd5","changeType":"insert","entity":"invoice","entityId":"2953","eventName":"invoice.add","extraData":{"entity":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":300,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":9700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-17 18:22:37.839818] [debug] Evento recibido: invoice.add
-[2026-01-17 18:22:37.840017] [debug] Adición de Factura
-
-[2026-01-17 18:22:37.840109] [debug] datos del notification para el invoice add:{"uuid":"8fe698b5-402c-4c58-b961-8a196ec1ecd5","changeType":"insert","entity":"invoice","entityId":2953,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9700,"accountCredit":0,"accountOutstanding":9700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":300,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":9700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-17 18:22:37.840181] [debug] Account Balance: -9700
-
-Notificacion data: {"uuid":"8fe698b5-402c-4c58-b961-8a196ec1ecd5","changeType":"insert","entity":"invoice","entityId":2953,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9700,"accountCredit":0,"accountOutstanding":9700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":300,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":9700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1180,"attributes":[{"id":"497c7e2b-1fe6-4dcc-8b42-090ce4ea7b6c","paymentId":824,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:22","Saldo Actual":"\ud83d\udcb29700 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29700 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 18:54:19.584197] [notice] Logging level set to:debug
-[2026-01-17 18:54:19.584285] [debug] Payload recibido: {"uuid":"9040159a-32d6-4dbe-8ea7-11329c71fbb6","changeType":"insert","entity":"invoice","entityId":"2954","eventName":"invoice.add","extraData":{"entity":{"id":2954,"clientId":146,"number":"002900","createdDate":"2026-01-17T12:53:55-0600","dueDate":"2026-01-31T12:53:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2970,"type":"other","label":"pruebas","price":100,"quantity":1,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":0,"totalUntaxed":100,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-17 18:54:19.786993] [debug] Evento recibido: invoice.add
-[2026-01-17 18:54:19.787199] [debug] Adición de Factura
-
-[2026-01-17 18:54:19.787290] [debug] datos del notification para el invoice add:{"uuid":"9040159a-32d6-4dbe-8ea7-11329c71fbb6","changeType":"insert","entity":"invoice","entityId":2954,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2954,"clientId":146,"number":"002900","createdDate":"2026-01-17T12:53:55-0600","dueDate":"2026-01-31T12:53:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2970,"type":"other","label":"pruebas","price":100,"quantity":1,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":0,"totalUntaxed":100,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-17 18:54:19.787357] [debug] Account Balance: -9800
-
-[2026-01-17 18:54:19.787477] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181878106
-[2026-01-17 18:54:19.787626] [debug] onlyUpdate: Teléfono validado: 5214181878106
-[2026-01-17 18:54:20.644756] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","Saldo Actual":"\ud83d\udcb29700 pendientes","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 200","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29700 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:22\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:22"},"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-17 18:54:20.645082] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181878106
-Notificacion data: {"uuid":"9040159a-32d6-4dbe-8ea7-11329c71fbb6","changeType":"insert","entity":"invoice","entityId":2954,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9800,"accountCredit":0,"accountOutstanding":9800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2954,"clientId":146,"number":"002900","createdDate":"2026-01-17T12:53:55-0600","dueDate":"2026-01-31T12:53:55-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2970,"type":"other","label":"pruebas","price":100,"quantity":1,"total":100,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":100,"discount":null,"discountLabel":"Descuento","taxes":[],"total":100,"amountPaid":0,"totalUntaxed":100,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":100,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1180,"attributes":[{"id":"497c7e2b-1fe6-4dcc-8b42-090ce4ea7b6c","paymentId":824,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:54","Saldo Actual":"\ud83d\udcb29800 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:54\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-[2026-01-17 18:57:37.526946] [notice] Logging level set to:debug
-[2026-01-17 18:57:37.527091] [debug] Payload recibido: {"uuid":"50d24801-5784-4829-bac9-e29a9ced7d43","changeType":"insert","entity":"invoice","entityId":"2955","eventName":"invoice.add","extraData":{"entity":{"id":2955,"clientId":146,"number":"002901","createdDate":"2026-01-17T12:57:23-0600","dueDate":"2026-01-31T12:57:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2971,"type":"other","label":"pruebas 2","price":50,"quantity":1,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
-
-[2026-01-17 18:57:37.721100] [debug] Evento recibido: invoice.add
-[2026-01-17 18:57:37.721354] [debug] Adición de Factura
-
-[2026-01-17 18:57:37.721456] [debug] datos del notification para el invoice add:{"uuid":"50d24801-5784-4829-bac9-e29a9ced7d43","changeType":"insert","entity":"invoice","entityId":2955,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9850,"accountCredit":0,"accountOutstanding":9850,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2955,"clientId":146,"number":"002901","createdDate":"2026-01-17T12:57:23-0600","dueDate":"2026-01-31T12:57:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2971,"type":"other","label":"pruebas 2","price":50,"quantity":1,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-[2026-01-17 18:57:37.721534] [debug] Account Balance: -9850
-
-[2026-01-17 18:57:37.721674] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181878106
-[2026-01-17 18:57:37.725728] [debug] onlyUpdate: Teléfono validado: 5214181878106
-[2026-01-17 18:57:38.511634] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"\ud83d\udcb29800 pendientes","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 200","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29800 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:54\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:54"},"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-17 18:57:38.512124] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181878106
-Notificacion data: {"uuid":"50d24801-5784-4829-bac9-e29a9ced7d43","changeType":"insert","entity":"invoice","entityId":2955,"message":null,"clientId":146,"eventName":"invoice.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9850,"accountCredit":0,"accountOutstanding":9850,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2955,"clientId":146,"number":"002901","createdDate":"2026-01-17T12:57:23-0600","dueDate":"2026-01-31T12:57:23-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2971,"type":"other","label":"pruebas 2","price":50,"quantity":1,"total":50,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":50,"discount":null,"discountLabel":"Descuento","taxes":[],"total":50,"amountPaid":0,"totalUntaxed":50,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":50,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
-
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":824,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T01:39:01-0600","amount":200,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200}],"creditAmount":0,"userId":1180,"attributes":[{"id":"497c7e2b-1fe6-4dcc-8b42-090ce4ea7b6c","paymentId":824,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:57","Saldo Actual":"\ud83d\udcb29850 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 200","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29850 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9800 pendientes'
-
-DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9850 pendientes'
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
 
 DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
@@ -10568,334 +3173,67 @@ DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
 EJECUTANDO PATCH - Se detectaron cambios
 
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"🟢 Activo ","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"💲9850 pendientes","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 200","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"📆💸 17/01/2026 01:39 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲9850 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2026 01:39 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"17/01/2026 12:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2026 12:57"},"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}}
+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-17 19:01:08.151681] [notice] Logging level set to:debug
-[2026-01-17 19:01:08.151762] [debug] Payload recibido: {
-  "id": "evt_3SqejFEFY1WEUtgR03DJxsDH",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768676467,
-  "data": {
-    "object": {
-      "id": "pi_3SqejFEFY1WEUtgR0RZ0Cs5n",
-      "object": "payment_intent",
-      "amount": 50000,
-      "amount_capturable": 0,
-      "amount_details": {
-        "shipping": {
-          "amount": 0,
-          "from_postal_code": null,
-          "to_postal_code": null
-        },
-        "tax": {
-          "total_tax_amount": 0
-        },
-        "tip": {}
-      },
-      "amount_received": 50000,
-      "application": null,
-      "application_fee_amount": null,
-      "automatic_payment_methods": null,
-      "canceled_at": null,
-      "cancellation_reason": null,
-      "capture_method": "automatic",
-      "client_secret": "pi_3SqejFEFY1WEUtgR0RZ0Cs5n_secret_R3C2FDfTASRYBPHfvk35ychKo",
-      "confirmation_method": "automatic",
-      "created": 1768676409,
-      "currency": "mxn",
-      "customer": "cus_ToHInxnChdfjXz",
-      "customer_account": null,
-      "description": null,
-      "excluded_payment_method_types": null,
-      "invoice": null,
-      "last_payment_error": null,
-      "latest_charge": "ch_3SqejFEFY1WEUtgR0BvriyLi",
-      "livemode": false,
-      "metadata": {
-        "signedInAdminId": "1015",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "paymentToken": "88d8b308-5def-409b-8268-079a1338283b"
-      },
-      "next_action": null,
-      "on_behalf_of": null,
-      "payment_details": {
-        "customer_reference": null,
-        "order_reference": "prod_PbYv8JTpXetIfH"
-      },
-      "payment_method": "pm_1Sqek9EFY1WEUtgRYEnxQqIu",
-      "payment_method_configuration_details": null,
-      "payment_method_options": {
-        "card": {
-          "installments": {
-            "available_plans": [],
-            "enabled": false,
-            "plan": null
-          },
-          "mandate_options": null,
-          "network": null,
-          "request_three_d_secure": "automatic"
-        }
-      },
-      "payment_method_types": [
-        "card"
-      ],
-      "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": "49b9837b-a7ea-4719-ae7c-07d72c8869b8"
-  },
-  "type": "payment_intent.succeeded"
-}
+[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-17 19:01:08.151817] [info] No UUID found in the webhook data
-[2026-01-17 19:01:08.151829] [info] Evento de pago exitoso (Stripe PI) recibido.
-[2026-01-17 19:01:08.236574] [notice] Logging level set to:debug
-[2026-01-17 19:01:08.236643] [debug] Payload recibido: {
-  "id": "evt_3SqejFEFY1WEUtgR0EQjZ93F",
-  "object": "event",
-  "api_version": "2023-10-16",
-  "created": 1768676467,
-  "data": {
-    "object": {
-      "id": "ch_3SqejFEFY1WEUtgR0BvriyLi",
-      "object": "charge",
-      "amount": 50000,
-      "amount_captured": 50000,
-      "amount_refunded": 0,
-      "application": null,
-      "application_fee": null,
-      "application_fee_amount": null,
-      "balance_transaction": "txn_3SqejFEFY1WEUtgR0btBaA8i",
-      "billing_details": {
-        "address": {
-          "city": null,
-          "country": "MX",
-          "line1": null,
-          "line2": null,
-          "postal_code": null,
-          "state": null
-        },
-        "email": "dispos.cyber@gmail.com",
-        "name": "Delfino de los Mares",
-        "phone": null,
-        "tax_id": null
-      },
-      "calculated_statement_descriptor": "SIIP INTERNET",
-      "captured": true,
-      "created": 1768676466,
-      "currency": "mxn",
-      "customer": "cus_ToHInxnChdfjXz",
-      "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": "1015",
-        "createdBy": "UCRM",
-        "clientId": "146",
-        "paymentType": "card.one_time",
-        "paymentToken": "88d8b308-5def-409b-8268-079a1338283b"
-      },
-      "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": "normal",
-        "risk_score": 34,
-        "seller_message": "Payment complete.",
-        "type": "authorized"
-      },
-      "paid": true,
-      "payment_intent": "pi_3SqejFEFY1WEUtgR0RZ0Cs5n",
-      "payment_method": "pm_1Sqek9EFY1WEUtgRYEnxQqIu",
-      "payment_method_details": {
-        "card": {
-          "amount_authorized": 50000,
-          "authorization_code": "081592",
-          "brand": "visa",
-          "checks": {
-            "address_line1_check": null,
-            "address_postal_code_check": null,
-            "cvc_check": "pass"
-          },
-          "country": "US",
-          "exp_month": 10,
-          "exp_year": 2030,
-          "extended_authorization": {
-            "status": "disabled"
-          },
-          "fingerprint": "WpS5c5H7kZDcpRtk",
-          "funding": "credit",
-          "incremental_authorization": {
-            "status": "unavailable"
-          },
-          "installments": null,
-          "last4": "4242",
-          "mandate": null,
-          "multicapture": {
-            "status": "unavailable"
-          },
-          "network": "visa",
-          "network_token": {
-            "used": false
-          },
-          "network_transaction_id": "871128353995372",
-          "overcapture": {
-            "maximum_amount_capturable": 50000,
-            "status": "unavailable"
-          },
-          "regulated_status": "unregulated",
-          "three_d_secure": null,
-          "wallet": null
-        },
-        "type": "card"
-      },
-      "radar_options": {},
-      "receipt_email": null,
-      "receipt_number": null,
-      "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPO4r8sGMgaqzxNxlQg6LBbn1abGc6ZwIkKqmkokhKFOWbthj28nLtp6BJtZqug0DcCGWE7FcM0KWOAy",
-      "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": "49b9837b-a7ea-4719-ae7c-07d72c8869b8"
-  },
-  "type": "charge.succeeded"
-}
+[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-17 19:01:08.236704] [info] No UUID found in the webhook data
-[2026-01-17 19:01:09.052361] [notice] Logging level set to:debug
-[2026-01-17 19:01:09.052511] [debug] Payload recibido: {"uuid":"5b609ae5-d082-4d90-a325-8d5abcd09365","changeType":"edit","entity":"invoice","entityId":"2953","eventName":"invoice.edit","extraData":{"entity":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":800,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":9200,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200},{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":300,"totalUntaxed":10000,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":9700,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200},{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false}}}
+[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}]}}
 
-[2026-01-17 19:01:09.256711] [debug] Evento recibido: invoice.edit
-[2026-01-17 19:01:09.257949] [debug] Edición de Factura
+Eviando comprobante de pago al cliente: 135 con número: 524181878106
 
-[2026-01-17 19:01:09.258308] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181878106
-[2026-01-17 19:01:09.258595] [debug] onlyUpdate: Teléfono validado: 5214181878106
-[2026-01-17 19:01:10.071609] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"\ud83d\udfe2 Activo ","Cliente":"146","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"\ud83d\udcb29850 pendientes","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Monto Ultimo Pago":"\ud83d\udcb2 200","Nombre":"\ud83d\udc64 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29850 pendientes\",\"Monto Ultimo Pago\": \"$ 200\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 01:39 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 12:57\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 12:57"},"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-17 19:01:10.071926] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181878106
-Notificacion data: {"uuid":"5b609ae5-d082-4d90-a325-8d5abcd09365","changeType":"edit","entity":"invoice","entityId":2953,"message":null,"clientId":146,"eventName":"invoice.edit","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9350,"accountCredit":0,"accountOutstanding":9350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":2953,"clientId":146,"number":"002899","createdDate":"2026-01-17T12:22:17-0600","dueDate":"2026-01-31T12:22:17-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-01-17T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":2969,"type":"other","label":"diez mil","price":10000,"quantity":1,"total":10000,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":null,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":null,"discountQuantity":null,"discountTotal":null}],"subtotal":10000,"discount":null,"discountLabel":"Descuento","taxes":[],"total":10000,"amountPaid":800,"totalUntaxed":10000,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":9200,"currencyCode":"MXN","status":2,"paymentCovers":[{"id":1111,"invoiceId":2953,"paymentId":823,"creditNoteId":null,"refundId":null,"amount":100},{"id":1112,"invoiceId":2953,"paymentId":824,"creditNoteId":null,"refundId":null,"amount":200},{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Delfino","clientLastName":"De los Mares venus","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"36 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Dentro del proceso del patch: 
-
-Datos traidos con payment api: [{"id":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]}]
-
-Nombre del cliente que se va a actualizar: Delfino De los Mares venus
-
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
-
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:01","Saldo Actual":"\ud83d\udcb29350 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 13:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 13:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
-
-DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9850 pendientes'
-
-DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9350 pendientes'
-
-DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
-
-DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
-
-EJECUTANDO PATCH - Se detectaron cambios
-
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"🟢 Activo ","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"💲9350 pendientes","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 500","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"📆💸 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲9350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"17/01/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2026 13: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-17 19:01:11.363367] [notice] Logging level set to:debug
-[2026-01-17 19:01:11.363423] [debug] Payload recibido: {"uuid":"d357920d-2f46-40b7-936d-1f268b34a2ed","changeType":"insert","entity":"payment","entityId":"825","eventName":"payment.add","extraData":{"entity":{"id":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
-
-[2026-01-17 19:01:11.537558] [debug] Evento recibido: payment.add
-[2026-01-17 19:01:11.537692] [debug] Notification encodificado en JSON:{"uuid":"d357920d-2f46-40b7-936d-1f268b34a2ed","changeType":"insert","entity":"payment","entityId":825,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9350,"accountCredit":0,"accountOutstanding":9350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]}}
-
-[2026-01-17 19:01:11.537724] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 825
-[2026-01-17 19:01:11.654191] [info] Payment 825 has no User ID. Assigning Stripe User ID: 1180
-[2026-01-17 19:01:11.777515] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito'
-[2026-01-17 19:01:11.777559] [info] PATCHING Payment 825: Setting tipoPagoStripe = 'Tarjeta de Crédito'
-Eviando comprobante de pago al cliente: 146 con número: 5214181878106
-
-El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.pdf
-
-El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.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_Delfino_De_los_Mares_venus.jpg
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.jpg
 
-[2026-01-17 19:01:12.471637] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768676472.jpg
-Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768676472.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": "5214181878106",
+    "to": "524181878106",
     "from": "whatsapp",
     "type": "document",
     "content": {
       "text": "S/M",
-     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1768676472.jpg"
+     "url": "https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Juan_Escutia_1769874513.jpg"
     },
-    "template_values": ["Delfino De los Mares venus", "$500", "$9350 pendientes"],
+    "template_values": ["Juan Escutia", "$245", "$7720 a favor"],
     "template_uuid": "57ead79cebd14902921477922403093b",
     "optin_contact": true
   }
-Response del CallBell: {"message":{"uuid":"ed470d312e8f43b4bcf348af43a0f8fc","status":"enqueued"}}
+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":"d357920d-2f46-40b7-936d-1f268b34a2ed","changeType":"insert","entity":"payment","entityId":825,"message":null,"clientId":146,"eventName":"payment.add","clientData":{"id":146,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"En los mares soy feliz :) pura playa y solyeahhjgjhb","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-07-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Delfino","lastName":"De los Mares venus","username":null,"contacts":[{"id":150,"clientId":146,"email":"mariscoselsietemares@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":145,"clientId":146,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QZ7T1h3th3Dr7w","clientZoneVisible":true},{"id":146,"clientId":146,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180695453333629","clientZoneVisible":true},{"id":264,"clientId":146,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ETfEB8at@GAqUt#2","clientZoneVisible":false}],"accountBalance":-9350,"accountCredit":0,"accountOutstanding":9350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"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":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]}}
+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":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":1180,"attributes":[{"id":"024ee553-42a0-4bb8-b336-618e74a06f2e","paymentId":825,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","clientZoneVisible":true}]}]
+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: Delfino De los Mares venus
+Nombre del cliente que se va a actualizar: Juan Escutia
 
 UUID: 74cc2bb45eb8409f92cd5dba99200d26
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Cliente":146,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:01","Saldo Actual":"\ud83d\udcb29350 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 500","Clabe Interbancaria":null,"Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 17\/01\/2026 13:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/146\",\"Saldo Actual\": \"\ud83d\udcb29350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17\/01\/2026 13:01 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"17\/01\/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+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: '💲9350 pendientes'
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
 
-DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9350 pendientes'
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
 
 DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
@@ -10903,136 +3241,1061 @@ DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
 NO SE EJECUTA PATCH - No hay cambios que actualizar
 
-[2026-01-17 19:01:13.896409] [notice] Logging level set to:debug
-[2026-01-17 19:01:13.896545] [debug] Payload recibido: {"uuid":"0d98286b-8b93-49e4-b4ee-6d76e9909ac5","changeType":"edit","entity":"payment","entityId":"825","eventName":"payment.edit","extraData":{"entity":{"id":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":825,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-01-17T13:01:08-0600","amount":500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1113,"invoiceId":2953,"paymentId":825,"creditNoteId":null,"refundId":null,"amount":500}],"creditAmount":0,"userId":null,"attributes":[]}}}
+[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-17 19:01:14.080250] [debug] Evento recibido: payment.edit
-[2026-01-17 19:03:37.013555] [notice] Logging level set to:debug
-[2026-01-17 19:03:37.013655] [debug] Payload recibido: {"uuid":"f53b125f-518d-4afd-96e7-ca89679cf3c3","changeType":"suspend","entity":"service","entityId":"131","eventName":"service.suspend","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T13:03:36-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T13:03:36-0600","endDate":null}],"surcharges":[]}}}
+[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}]}}
 
-[2026-01-17 19:03:37.296945] [debug] Evento recibido: service.suspend
-[2026-01-17 19:03:37.297171] [debug] Se suspendió el servicio a un  cliente
+Eviando comprobante de pago al cliente: 135 con número: 524181878106
 
-Actualizando estado del servicio 
+El archivo PDF se ha descargado y guardado correctamente en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Juan_Escutia.pdf
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+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":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:03"}}
+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\"}"}}
 
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"🟠 Suspendido","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"💲9350 pendientes","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 500","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"📆💸 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲9350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"17/01/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2026 13:03"},"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}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
 
-[2026-01-17 19:03:38.736248] [notice] Logging level set to:debug
-[2026-01-17 19:03:38.736392] [debug] Payload recibido: {"uuid":"1b23aa18-fe02-43c5-a142-1103cbeba6cc","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T13:03:36-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T13:03:36-0600","endDate":null}],"surcharges":[]}}}
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
 
-[2026-01-17 19:03:38.969377] [debug] Evento recibido: service.edit
-[2026-01-17 19:03:38.969575] [debug] Se editó el servicio a un  cliente
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
-Actualizando estado del servicio 
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+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":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:03"}}
+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\"}"}}
 
-No hay cambios en el estado del servicio que actualizar 
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲7720 a favor'
 
-[2026-01-17 19:03:39.347147] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-17 19:04:11.857168] [notice] Logging level set to:debug
-[2026-01-17 19:04:11.857247] [debug] Payload recibido: {"uuid":"25157e35-4512-4116-920b-d6d38fc8a5cd","changeType":"unsuspend","entity":"service","entityId":"131","eventName":"service.suspend_cancel","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T13:04:11-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T13:04:11-0600"}],"surcharges":[]}}}
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲7720 a favor'
 
-[2026-01-17 19:04:12.095858] [debug] Evento recibido: service.suspend_cancel
-[2026-01-17 19:04:12.095980] [debug] Se reactivó el servicio a un  cliente
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
 
-Actualizando estado del servicio 
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+NO SE EJECUTA PATCH - No hay cambios que actualizar
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
+[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}}
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:04"}}
+[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
 
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"🟢 Activo","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"💲9350 pendientes","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 500","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"📆💸 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲9350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"17/01/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2026 13:04"},"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: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}
 
-[2026-01-17 19:04:13.477140] [notice] Logging level set to:debug
-[2026-01-17 19:04:13.477260] [debug] Payload recibido: {"uuid":"ade98692-a1fa-4b8f-b0c1-f60661920879","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T13:04:11-0600"}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T13:04:11-0600"}],"surcharges":[]}}}
+Dentro del proceso del patch: 
 
-[2026-01-17 19:04:13.666316] [debug] Evento recibido: service.edit
-[2026-01-17 19:04:13.666433] [debug] Se editó el servicio a un  cliente
+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":[]}]
 
-Actualizando estado del servicio 
+Nombre del cliente que se va a actualizar: EDUARDO VILLEGAZ
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+UUID: 92dd9fb15b8f4ff6860f8a32ea9bd7e4
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
+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":""}}
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe2 Activo","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:04"}}
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲17500 pendientes'
 
-No hay cambios en el estado del servicio que actualizar 
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲18200 pendientes'
 
-[2026-01-17 19:04:14.059151] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
-[2026-01-17 19:08:13.265126] [notice] Logging level set to:debug
-[2026-01-17 19:08:13.265285] [debug] Payload recibido: {"uuid":"b245a8f3-ebd7-4ac8-aef5-13f19dcd557c","changeType":"suspend","entity":"service","entityId":"131","eventName":"service.suspend","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T00:00:00-0600"},{"id":189,"startDate":"2026-01-17T13:08:12-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T00:00:00-0600"},{"id":189,"startDate":"2026-01-17T13:08:12-0600","endDate":null}],"surcharges":[]}}}
+DEBUG COMPARACIÓN - CallBell Estado: '🔴 Suspendido'
 
-[2026-01-17 19:08:13.522836] [debug] Evento recibido: service.suspend
-[2026-01-17 19:08:13.523045] [debug] Se suspendió el servicio a un  cliente
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
 
-Actualizando estado del servicio 
+EJECUTANDO PATCH - Se detectaron cambios
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+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}}
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
+[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}}
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:08"}}
+[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
 
-Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Delfino De los Mares venus","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-01-16T15:23:41Z","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","Estado":"🟠 Suspendido","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"124180650741646979","Saldo Actual":"💲9350 pendientes","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Monto Ultimo Pago":"💲 500","Nombre":"👤 Delfino De los Mares venus","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","Fecha Ultimo Pago":"📆💸 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"URL\": \"https://sistema.siip.mx/crm/client/146\",\"Saldo Actual\": \"💲9350 pendientes\",\"Monto Ultimo Pago\": \"$ 500\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 17/01/2026 13:01 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"17/01/2026 13:01\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","user name":"Daniel Humberto","Fecha Ultima Actualizacion":"📆🔄️ 17/01/2026 13:08"},"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: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-17 19:08:15.371879] [notice] Logging level set to:debug
-[2026-01-17 19:08:15.372028] [debug] Payload recibido: {"uuid":"679984bf-5a95-489a-a5bc-717ba7ab9cc2","changeType":"edit","entity":"service","entityId":"131","eventName":"service.edit","extraData":{"entity":{"id":131,"prepaid":false,"clientId":146,"status":3,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":1000,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T00:00:00-0600"},{"id":189,"startDate":"2026-01-17T13:08:12-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":131,"prepaid":false,"clientId":146,"status":1,"name":"Basico 300","fullAddress":"Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"36 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1561796,"addressGpsLon":-100.9371826,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-02-13T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-02-13T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-31T00:00:00-0600","unmsClientSiteId":"bc4103e6-5550-462c-84df-f279b498f6ff","attributes":[{"id":"4608cebe-fea9-4d3f-87ce-60e6fcbcb9f7","serviceId":131,"customAttributeId":18,"name":"Extensor Wifi","key":"extensorWifi","value":"0","clientZoneVisible":true}],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":135,"startDate":"2025-03-04T00:00:00-0600","endDate":"2025-03-10T00:00:00-0600"},{"id":140,"startDate":"2025-03-14T00:00:00-0600","endDate":"2026-01-08T00:00:00-0600"},{"id":188,"startDate":"2026-01-17T00:00:00-0600","endDate":"2026-01-17T00:00:00-0600"},{"id":189,"startDate":"2026-01-17T13:08:12-0600","endDate":null}],"surcharges":[]}}}
+[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-17 19:08:15.631995] [debug] Evento recibido: service.edit
-[2026-01-17 19:08:15.632117] [debug] Se editó el servicio a un  cliente
+[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}}
 
-Actualizando estado del servicio 
+[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
 
-Nombre del cliente al que se va a actualizar el estado del servicio: Delfino De los Mares venus
+[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}}
 
-UUID: 74cc2bb45eb8409f92cd5dba99200d26
+[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
 
-JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Estado":"\ud83d\udfe0 Suspendido","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 17\/01\/2026 13:08"}}
+[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}}
 
-No hay cambios en el estado del servicio que actualizar 
+[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
 
-[2026-01-17 19:08:16.389183] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 146
 [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=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=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=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=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=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.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
-[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
-[DEBUG_IMG] Serving /data/ucrm/data/plugins/siip-whatsapp-notifications/img/whatsapp-logo.png. Size: 85794 bytes
-[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=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=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=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
+
diff --git a/manifest.json b/manifest.json
index 6f9771ae..18d0e3bb 100755
--- a/manifest.json
+++ b/manifest.json
@@ -189,6 +189,20 @@
       "required": 0,
       "type": "checkbox"
     },
+    {
+      "key": "oxxoPayPaymentMethodId",
+      "label": "Envío de Comprobante por pago de OXXO Pay",
+      "description": "Habilita el envío de comprobantes  en formato de imagen por WhatsApp cuando el método de pago es OXXO Pay",
+      "required": 0,
+      "type": "checkbox"
+    },
+    {
+      "key": "creditDebitCardPaymentMethodId",
+      "label": "Envío de Comprobante por pago de Tarjeta de Crédito/Débito (Genérico)",
+      "description": "Habilita el envío de comprobantes en formato de imagen por WhatsApp cuando el método de pago es Tarjeta de Crédito/Débito (Genérico)",
+      "required": 0,
+      "type": "checkbox"
+    },
     {
       "key": "notificationTypeText",
       "label": "Envío de Comprobante por medio de plantilla de texto",
diff --git a/src/Facade/AbstractStripeOperationsFacade.php b/src/Facade/AbstractStripeOperationsFacade.php
index 893449bb..905c648a 100755
--- a/src/Facade/AbstractStripeOperationsFacade.php
+++ b/src/Facade/AbstractStripeOperationsFacade.php
@@ -21,27 +21,29 @@ abstract class AbstractStripeOperationsFacade
     protected $ucrmApi;
     private $systemAttributesCache = null;
 
-    public function __construct(Logger $logger, MessageTextFactory $messageTextFactory, SmsNumberProvider $clientPhoneNumber) {
+    public function __construct(Logger $logger, MessageTextFactory $messageTextFactory, SmsNumberProvider $clientPhoneNumber)
+    {
         $this->logger = $logger;
         $this->messageTextFactory = $messageTextFactory;
         $this->clientPhoneNumber = $clientPhoneNumber;
-        
+
         $config = PluginConfigManager::create()->loadConfig();
         $ipServer = $config['ipserver'] ?? 'localhost';
         $apiUrl = "https://$ipServer/crm/api/v1.0/";
-        
+
         $client = new Client([
             'base_uri' => $apiUrl,
             'verify' => false,
         ]);
-        
+
         $this->ucrmApi = new UcrmApi($client, $config['apitoken'] ?? '');
     }
 
-    public function createPaymentIntent(array $eventJson): void {
+    public function createPaymentIntent(array $eventJson): void
+    {
         $config = PluginConfigManager::create()->loadConfig();
         $stripe = new StripeClient($config['tokenstripe']);
-        
+
         $customer = $eventJson['data']['object']['customer'] ?? null;
         $amount = $eventJson['data']['object']['net_amount'] ?? 0;
 
@@ -54,6 +56,39 @@ abstract class AbstractStripeOperationsFacade
             $stripeCustomer = $stripe->customers->retrieve($customer);
             $ucrmClientId = $stripeCustomer->metadata->ucrm_client_id ?? null;
 
+            // [NEW] Check for existing PENDING PaymentIntent to avoid duplicates
+            // Especially useful if webhook is retried or if one was already created.
+            $existingPIs = $stripe->paymentIntents->search([
+                'query' => "customer:'$customer' AND status:'requires_payment_method' AND amount>=" . ((int)$amount - 100) . " AND amount<=" . ((int)$amount + 100) . " AND metadata['tipoPago']:'Transferencia Bancaria'",
+                'limit' => 1
+            ]);
+            // Note: Range check just in case, or exact check. Using exact check is safer if amount is precise.
+            // Let's use exact check for now, but sometimes small variations happen? No, Bank Transfer is exact.
+            // Actually, 'requires_payment_method' or 'requires_action' or 'processing'?
+            // If it's bank transfer funded, it might be in 'requires_confirmation' if not auto-confirmed.
+            // But if we are CREATING it, we want to know if we already created one that is waiting.
+            // If we created it with confirm=true, it should transition to succeeded immediately if funds are available (which they are, cause this event says so).
+            // However, IF the previous attempt failed or timed out but created the PI...
+
+            // BETTER: Check if we have processed this Event ID before?
+            // The method doesn't receive Event ID in the args easily (it's in $eventJson['id']).
+            // But we don't store Event IDs in DB.
+
+            // Let's stick to checking if there is a PI created recently (last 5 mins?) with same amount?
+            // Stripe Search API is powerful.
+            // query: "customer:'$customer' AND amount=$amount AND created>" . (time() - 300)
+
+            $fiveMinsAgo = time() - 300;
+            $existingPIs = $stripe->paymentIntents->search([
+                'query' => "customer:'$customer' AND amount=" . (int)$amount . " AND created>$fiveMinsAgo AND metadata['createdBy']:'UCRM'",
+                'limit' => 1
+            ]);
+
+            if (count($existingPIs->data) > 0) {
+                $this->logger->info("PaymentIntent duplicado evitado. Ya existe uno reciente tras el evento de fondos. ID: " . $existingPIs->data[0]->id);
+                return;
+            }
+
             $pi = $stripe->paymentIntents->create([
                 'amount' => (int)$amount,
                 'currency' => 'mxn',
@@ -73,18 +108,19 @@ abstract class AbstractStripeOperationsFacade
                     'signedInAdminId' => $config['idPaymentAdminCRM'],
                     'tipoPago' => 'Transferencia Bancaria'
                 ],
-            ]);
+            ], ['idempotency_key' => $eventJson['id'] ?? null]);
             $this->logger->info("PaymentIntent creado: " . $pi->id);
         } catch (\Exception $e) {
             $this->logger->error("Error creando PaymentIntent: " . $e->getMessage());
         }
     }
 
-    public function registerPaymentFromWebhook(array $eventJson): void {
+    public function registerPaymentFromWebhook(array $eventJson): void
+    {
         $config = PluginConfigManager::create()->loadConfig();
         $stripe = new StripeClient($config['tokenstripe']);
         $data = $eventJson['data']['object'];
-        
+
         $piId = $data['applied_to_payment']['payment_intent'] ?? null;
         if (!$piId) return;
 
@@ -110,18 +146,19 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    public function registerPaymentFromIntent(array $data): void {
+    public function registerPaymentFromIntent(array $data): void
+    {
         $piId = $data['id'] ?? null;
         if (!$piId) return;
 
         if (($data['status'] ?? '') !== 'succeeded') {
-            $this->logger->warning("PaymentIntent $piId no está succeeded (status: " . ($data['status']??'unknown') . ")");
+            $this->logger->warning("PaymentIntent $piId no está succeeded (status: " . ($data['status'] ?? 'unknown') . ")");
             return;
         }
 
         // Buscar clientId en metadata (prioridad: clientId > ucrm_client_id)
         $clientId = $data['metadata']['clientId'] ?? $data['metadata']['ucrm_client_id'] ?? null;
-        
+
         // Fallback: Buscar por Stripe Customer ID si no hay metadata
         if (!$clientId && !empty($data['customer'])) {
             $clientId = $this->findClientIdByStripeCustomer($data['customer']);
@@ -135,15 +172,40 @@ abstract class AbstractStripeOperationsFacade
             return;
         }
 
+        // [NEW] Check for duplicate payment (same PI ID)
+        try {
+            $existingPayments = $this->ucrmApi->get('payments', [
+                'clientId' => $clientId,
+                'limit' => 20,
+                'order' => 'createdDate',
+                'direction' => 'DESC'
+            ]);
+
+            foreach ($existingPayments as $p) {
+                // Check note for PI ID
+                if (isset($p['note']) && strpos($p['note'], $piId) !== false) {
+                    $this->logger->info("Pago duplicado detectado para PI $piId (ID existente: {$p['id']}). Omitiendo creación.");
+                    return;
+                }
+                // Also check duplicate by transaction ID if applicable
+                if (isset($p['transactionId']) && $p['transactionId'] === $piId) {
+                    $this->logger->info("Pago duplicado detectado (Transaction ID) para PI $piId (ID existente: {$p['id']}). Omitiendo creación.");
+                    return;
+                }
+            }
+        } catch (\Exception $e) {
+            $this->logger->warning("Falló la verificación de duplicados para PI $piId: " . $e->getMessage());
+        }
+
         try {
             // Intentar detectar Payment Method name basado en tipo
             $type = $data['payment_method_types'][0] ?? 'card';
             $methodSearchName = ($type === 'oxxo') ? 'OXXO' : 'Stripe';
-            
+
             // Buscar ID de metodo en UCRM
             $methodId = $this->findPaymentMethodId($methodSearchName);
             if (!$methodId && $methodSearchName === 'OXXO') {
-                 $methodId = $this->findPaymentMethodId('Stripe'); // Fallback
+                $methodId = $this->findPaymentMethodId('Stripe'); // Fallback
             }
 
             if ($methodId) {
@@ -156,7 +218,7 @@ abstract class AbstractStripeOperationsFacade
                     'note' => "Stripe ($methodSearchName) - PI: $piId",
                     'createdDate' => date('c'),
                 ]);
-                
+
                 $this->logger->info("Pago registrado en UCRM vía PI Succeeded: $piId, Cliente: $clientId, Monto: $checkAmount");
             } else {
                 $this->logger->warning("No se encontró método de pago para '$methodSearchName' en UCRM.");
@@ -166,7 +228,8 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    private function findClientIdByStripeCustomer(string $stripeCustomerId): ?int {
+    private function findClientIdByStripeCustomer(string $stripeCustomerId): ?int
+    {
         try {
             // Nota: Esto puede ser lento si hay muchos clientes, pero es un fallback.
             // Idealmente usaríamos $this->ucrmApi->get('clients', ['customAttributeKey' => 'stripeCustomerId', ...]) si existiera ese filtro.
@@ -177,7 +240,7 @@ abstract class AbstractStripeOperationsFacade
             // Dado que no queremos matar el server, limitaremos la búsqueda o asumiremos que el FIX de metadata es el principal.
             // Sin embargo, para este caso específico, vamos a intentar buscar en los clientes recientes o usar una búsqueda básica.
             // UCRM API v1.0 GET /clients soporta ?customAttributeId&customAttributeValue
-            
+
             $attrId = $this->resolveAttributeId('stripeCustomerId');
             if (!$attrId) return null;
 
@@ -195,19 +258,22 @@ abstract class AbstractStripeOperationsFacade
         return null;
     }
 
-    private function findPaymentMethodId(string $name): ?int {
+    private function findPaymentMethodId(string $name): ?int
+    {
         try {
             $methods = $this->ucrmApi->get('payment-methods');
             foreach ($methods as $m) {
-                if (stripos($m['name'], $name) !== false) { 
-                    return $m['id']; 
+                if (stripos($m['name'], $name) !== false) {
+                    return $m['id'];
                 }
             }
-        } catch(\Exception $e) {}
+        } catch (\Exception $e) {
+        }
         return null;
     }
 
-    public function createStripeClient(NotificationData $notificationData, string $tagName, bool $generateSpei = true): void {
+    public function createStripeClient(NotificationData $notificationData, string $tagName, bool $generateSpei = true): void
+    {
         $clientId = $notificationData->clientId;
         if (!$clientId) return;
 
@@ -216,7 +282,7 @@ abstract class AbstractStripeOperationsFacade
 
         try {
             $clientCRM = $this->ucrmApi->get("clients/$clientId", []);
-            
+
             // Si intenta crear CLABE pero NO tiene stripeCustomerId, cancelamos
             if ($tagName === 'CREAR CLABE STRIPE') {
                 $hasStripeId = false;
@@ -234,7 +300,7 @@ abstract class AbstractStripeOperationsFacade
             }
 
             $customer = $this->createCustomerStripe($stripe, $clientCRM, $generateSpei);
-            
+
             if ($customer) {
                 $this->logger->info("Cliente Stripe procesado para ID: $clientId (Tag: $tagName, SPEI: " . ($generateSpei ? 'SI' : 'NO') . ")");
             }
@@ -246,9 +312,10 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    protected function createCustomerStripe(StripeClient $stripe, array $clientCRM, bool $generateSpei): ?\Stripe\Customer {
+    protected function createCustomerStripe(StripeClient $stripe, array $clientCRM, bool $generateSpei): ?\Stripe\Customer
+    {
         $clientId = $clientCRM['id'];
-        
+
         // Extraer email de contactos (prioridad) o username
         $email = $clientCRM['username'] ?? null;
         foreach ($clientCRM['contacts'] ?? [] as $contact) {
@@ -266,7 +333,7 @@ abstract class AbstractStripeOperationsFacade
         // Obtener IDs de atributos dinámicamente desde el sistema
         $cidAttrId = $this->resolveAttributeId('stripeCustomerId');
         $clabeAttrId = $this->resolveAttributeId('clabeInterbancaria');
-        
+
         $this->logger->debug("IDs de atributos resueltos: Stripe=$cidAttrId, CLABE=$clabeAttrId");
 
         // Buscar cliente existente por metadata
@@ -288,7 +355,7 @@ abstract class AbstractStripeOperationsFacade
                 'name' => $name,
                 'metadata' => ['ucrm_client_id' => $clientId]
             ];
-            
+
             $customer = $stripe->customers->create($params);
             $this->logger->info("Nuevo Cliente Stripe creado para ID: $clientId. CID: {$customer->id}");
             // Guardar CID en UCRM
@@ -309,7 +376,7 @@ abstract class AbstractStripeOperationsFacade
                 );
 
                 $clabe = $fundingInstructions['bank_transfer']['financial_addresses'][0]['spei']['clabe'] ?? null;
-                
+
                 if ($clabe) {
                     $this->logger->info("CLABE obtenida via Funding Instructions para cliente $clientId: $clabe");
                     $this->patchClientCustomAttribute($clientId, (int)$clabeAttrId, $clabe);
@@ -324,10 +391,11 @@ abstract class AbstractStripeOperationsFacade
         return $customer;
     }
 
-    protected function getVaultCredentialsByClientId($clientId): string {
+    protected function getVaultCredentialsByClientId($clientId): string
+    {
         $config = PluginConfigManager::create()->loadConfig();
         $ipServer = $config['ipserver'] ?? '';
-        
+
         try {
             // OPT: Lazy Check - Si ya tiene pass válido en CRM, no hace falta procesar nada
             $clientData = $this->ucrmApi->get("clients/$clientId");
@@ -348,7 +416,7 @@ abstract class AbstractStripeOperationsFacade
 
             // 1. Obtener los servicios del cliente
             $svcs = $this->ucrmApi->get('clients/services', ['clientId' => $clientId]);
-            
+
             if (empty($svcs)) {
                 $msg = '⚠️ Cliente sin servicios/antenas';
                 $this->syncPasswordWithCrm((int)$clientId, $msg);
@@ -415,7 +483,9 @@ abstract class AbstractStripeOperationsFacade
                                             $passVault = $vault['credentials'][0]['password'];
                                             break;
                                         }
-                                    } catch (\Exception $e) { continue; }
+                                    } catch (\Exception $e) {
+                                        continue;
+                                    }
                                 }
 
                                 if ($passVault) {
@@ -429,7 +499,9 @@ abstract class AbstractStripeOperationsFacade
                                             'json' => [['username' => 'ubnt', 'password' => $newPass, 'readOnly' => true]]
                                         ]);
                                         $passwordValue = $newPass;
-                                    } catch (\Exception $e) { $passwordValue = $newPass; }
+                                    } catch (\Exception $e) {
+                                        $passwordValue = $newPass;
+                                    }
                                 } else {
                                     $passwordValue = "⚠️ Sin antena";
                                 }
@@ -443,28 +515,28 @@ abstract class AbstractStripeOperationsFacade
             }
 
             $finalValue = implode(' ', $allServicePasswords);
-            
+
             // Evitar sincronización redundante si el valor es idéntico al actual (anti-bucle)
             if ($finalValue === $passCRM) {
-                 return $finalValue;
+                return $finalValue;
             }
 
             $this->syncPasswordWithCrm((int)$clientId, $finalValue);
             return $finalValue;
-
         } catch (\Exception $e) {
             $this->logger->error("Excepción en getVaultCredentialsByClientId (Cliente: $clientId): " . $e->getMessage());
             return 'Error: ' . $e->getMessage();
         }
     }
 
-    private function syncPasswordWithCrm(int $clientId, string $passVault): void {
+    private function syncPasswordWithCrm(int $clientId, string $passVault): void
+    {
         try {
             $clientData = $this->ucrmApi->get("clients/$clientId");
-            
+
             $passCRM = '';
             $attributeId = 17; // ID real para 'passwordAntenaCliente'
-            
+
             if (isset($clientData['attributes'])) {
                 foreach ($clientData['attributes'] as $attr) {
                     if ($attr['key'] === 'passwordAntenaCliente') {
@@ -484,7 +556,8 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    protected function generateStrongPassword(int $length = 16): string {
+    protected function generateStrongPassword(int $length = 16): string
+    {
         $lower = 'abcdefghijkmnopqrstuvwxyz'; // Eliminamos 'l'
         $upper = 'ABCDEFGHJKLMNPQRSTUVWXYZ'; // Eliminamos 'I', 'O'
         $digits = '23456789'; // Eliminamos '1', '0'
@@ -492,7 +565,7 @@ abstract class AbstractStripeOperationsFacade
 
         $all = $lower . $upper . $digits . $symbols;
         $pwChars = [];
-        
+
         // Asegurar que tenga al menos uno de cada tipo si es posible
         $pwChars[] = $lower[random_int(0, strlen($lower) - 1)];
         $pwChars[] = $upper[random_int(0, strlen($upper) - 1)];
@@ -515,7 +588,8 @@ abstract class AbstractStripeOperationsFacade
         return implode('', $pwChars);
     }
 
-    protected function patchClientCustomAttribute(int $clientId, int $attributeId, string $value): bool {
+    protected function patchClientCustomAttribute(int $clientId, int $attributeId, string $value): bool
+    {
         if ($attributeId <= 0) {
             $this->logger->error("Intento de patchAttribute con ID inválido ($attributeId) para cliente $clientId");
             return false;
@@ -537,7 +611,8 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    private function resolveAttributeId(string $key): int {
+    private function resolveAttributeId(string $key): int
+    {
         if ($this->systemAttributesCache === null) {
             try {
                 $this->systemAttributesCache = $this->ucrmApi->get('custom-attributes', ['attributeType' => 'client']);
@@ -556,13 +631,15 @@ abstract class AbstractStripeOperationsFacade
         return 0;
     }
 
-    protected function comparePasswords(?string $crm, ?string $vault): string {
+    protected function comparePasswords(?string $crm, ?string $vault): string
+    {
         if ($crm && strpos($crm, 'Error') !== 0) return $crm;
         if ($vault && strpos($vault, 'Error') !== 0) return $vault;
         return '⚠️ Probar pass conocida.';
     }
 
-    public function syncStripeCustomerData(int $clientId, string $name, ?string $email): void {
+    public function syncStripeCustomerData(int $clientId, string $name, ?string $email): void
+    {
         $config = PluginConfigManager::create()->loadConfig();
         $stripe = new StripeClient($config['tokenstripe']);
         try {
@@ -583,7 +660,8 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    protected function removeTagFromClient(int $clientId, string $tagName): void {
+    protected function removeTagFromClient(int $clientId, string $tagName): void
+    {
         try {
             $client = $this->ucrmApi->get("clients/$clientId");
             $targetTagId = null;
@@ -593,7 +671,7 @@ abstract class AbstractStripeOperationsFacade
                     break;
                 }
             }
-            
+
             if ($targetTagId) {
                 $this->ucrmApi->patch("clients/$clientId/remove-tag/$targetTagId", []);
                 $this->logger->info("Etiqueta '$tagName' (ID: $targetTagId) removida del cliente $clientId via endpoint especializado.");
@@ -605,7 +683,8 @@ abstract class AbstractStripeOperationsFacade
         }
     }
 
-    protected function validarNumeroTelefono($n): string {
+    protected function validarNumeroTelefono($n): string
+    {
         if (!$n) return '';
         $n = preg_replace('/\D/', '', (string)$n);
         return (strlen($n) === 10) ? '52' . $n : $n;
@@ -615,7 +694,7 @@ abstract class AbstractStripeOperationsFacade
     {
         // 1. Get Payment ID
         $paymentId = is_object($notificationObject) ? ($notificationObject->entityId ?? null) : ($notificationObject['entityId'] ?? null);
-        
+
         if (!$paymentId) {
             $this->logger->warning("ensureStripePaymentAttribute: No entityId found in notification.");
             return;
@@ -649,29 +728,74 @@ abstract class AbstractStripeOperationsFacade
             // 3. Update User ID if missing (Direct DB Patch via Microservice)
             // UCRM API doesn't support PATCH userId, so we use microservice
             if ($stripeUserId) {
-                 try {
-                     $payment = $this->ucrmApi->get('payments/' . $paymentId);
-                     if (empty($payment['userId'])) {
-                         $this->logger->info("Payment $paymentId has no User ID. Assigning Stripe User ID: $stripeUserId");
-                         $httpClient->patch("$microserviceBaseUrl/payments/$paymentId/user", [
-                             'json' => ['userId' => $stripeUserId],
-                             'timeout' => 5
-                         ]);
-                     } else {
-                         $this->logger->debug("Payment $paymentId already has User ID: " . $payment['userId']);
-                     }
-                 } catch (\Throwable $e) {
-                     $this->logger->error("Failed to patch User ID via microservice: " . $e->getMessage());
-                 }
+                try {
+                    $payment = $this->ucrmApi->get('payments/' . $paymentId);
+                    if (empty($payment['userId'])) {
+                        $this->logger->info("Payment $paymentId has no User ID. Assigning Stripe User ID: $stripeUserId");
+                        $httpClient->patch("$microserviceBaseUrl/payments/$paymentId/user", [
+                            'json' => ['userId' => $stripeUserId],
+                            'timeout' => 5
+                        ]);
+                    } else {
+                        $this->logger->debug("Payment $paymentId already has User ID: " . $payment['userId']);
+                    }
+                } catch (\Throwable $e) {
+                    $this->logger->error("Failed to patch User ID via microservice: " . $e->getMessage());
+                }
+            }
+
+
+            // [NEW] 3.5. Patch Payment Method ID via Microservice
+            $targetMethodId = null;
+
+            if ($metadataTipoPago === 'OXXO') {
+                $targetMethodId = 'b01c0b35-b42c-48d9-9ad9-ea6591adfbbb'; // OXXO Pay
+            } elseif ($metadataTipoPago === 'Transferencia Bancaria') {
+                $targetMethodId = '4145b5f5-3bbc-45e3-8fc5-9cda970c62fb'; // Transferencia Bancaria
+            } else {
+                // [NEW] Default to "Credit/Debit Card" if no specific metadata type found
+                $targetMethodId = '93814765-66a1-4c7d-a777-05c18fd6aab3'; // Tarjeta de crédito/débito
+            }
+
+            if ($targetMethodId) {
+                // [NEW] Update Notification Object in Memory so the calling code knows the change
+                if (is_object($notificationObject) && isset($notificationObject->paymentData)) {
+                    // Fix for "Indirect modification of overloaded property" error
+                    // We must read the array, modify it, and write it back.
+                    $pData = $notificationObject->paymentData;
+                    if (is_array($pData)) {
+                        $pData['methodId'] = $targetMethodId;
+                        $notificationObject->paymentData = $pData;
+                    }
+                }
+
+                try {
+                    // Check current methodId (reuse 'payment' if available, otherwise fetch)
+                    // Note: We fetched 'payment' in Step 3 ONLY if stripeUserId was valid. 
+                    // Safe to fetch again or reuse specific check.
+                    $paymentCheck = $this->ucrmApi->get('payments/' . $paymentId);
+
+                    if ($paymentCheck['methodId'] !== $targetMethodId) {
+                        $this->logger->info("Payment $paymentId has wrong Method ID ({$paymentCheck['methodId']}). Patching to $targetMethodId via Microservice.");
+
+                        $httpClient->patch("$microserviceBaseUrl/payments/$paymentId/method", [
+                            'json' => ['methodId' => $targetMethodId],
+                            'timeout' => 5
+                        ]);
+                        $this->logger->info("Payment Method ID patched successfully.");
+                    }
+                } catch (\Throwable $e) {
+                    $this->logger->error("Failed to patch Payment Method ID via microservice: " . $e->getMessage());
+                }
             }
 
             // 4. Determine Target Attribute Value
             // Truth Source Priority: 1. Metadata (DB), 2. Existing Attribute, 3. Method Name (Guess)
-            
+
             // A. Check Existing Attribute (Don't overwrite valid values unless Metadata says otherwise?)
             // Actually, Metadata keys are stronger than manual edits if the flow is automatic. 
             // But let's respect existing valid attributes if metadata is missing.
-            
+
             $payment = $this->ucrmApi->get('payments/' . $paymentId); // Re-fetch in case changed? Or Use previous result.
             $currentValue = null;
             $hasAttribute = false;
@@ -694,23 +818,23 @@ abstract class AbstractStripeOperationsFacade
                 }
             } else {
                 // Fallback to Method Name Guessing if Metadata missing
-                 if ($hasAttribute && in_array($currentValue, ['OXXO Pay', 'Transferencia Bancaria', 'Tarjeta de Crédito'])) {
-                     $this->logger->debug("Payment $paymentId ya tiene atributo '$currentValue' y no hay metadata. Respetando.");
-                     return;
-                 }
-                 
-                 $methodId = $payment['methodId'];
-                 $method = $this->ucrmApi->get('payment-methods/' . $methodId);
-                 $methodName = $method['name'] ?? '';
-                 
-                 if (stripos($methodName, 'OXXO') !== false) {
-                      $targetValue = 'OXXO Pay';
-                 } elseif (stripos($methodName, 'Transferencia') !== false) {
-                      $targetValue = 'Transferencia Bancaria';
-                 } elseif (stripos($methodName, 'Tarjeta') !== false && stripos($methodName, 'Stripe') !== false) {
-                      $targetValue = 'Tarjeta de Crédito';
-                 }
-                 $this->logger->debug("Fallback Method Guessing '$methodName' -> '$targetValue'");
+                if ($hasAttribute && in_array($currentValue, ['OXXO Pay', 'Transferencia Bancaria', 'Tarjeta de Crédito'])) {
+                    $this->logger->debug("Payment $paymentId ya tiene atributo '$currentValue' y no hay metadata. Respetando.");
+                    return;
+                }
+
+                $methodId = $payment['methodId'];
+                $method = $this->ucrmApi->get('payment-methods/' . $methodId);
+                $methodName = $method['name'] ?? '';
+
+                if (stripos($methodName, 'OXXO') !== false) {
+                    $targetValue = 'OXXO Pay';
+                } elseif (stripos($methodName, 'Transferencia') !== false) {
+                    $targetValue = 'Transferencia Bancaria';
+                } elseif (stripos($methodName, 'Tarjeta') !== false && stripos($methodName, 'Stripe') !== false) {
+                    $targetValue = 'Tarjeta de Crédito';
+                }
+                $this->logger->debug("Fallback Method Guessing '$methodName' -> '$targetValue'");
             }
 
             // 5. Apply Update
@@ -731,9 +855,8 @@ abstract class AbstractStripeOperationsFacade
                     ]
                 ]);
             } else {
-                 $this->logger->debug("No se pudo determinar el tipoPagoStripe.");
+                $this->logger->debug("No se pudo determinar el tipoPagoStripe.");
             }
-
         } catch (\Throwable $e) {
             $this->logger->error("Error in ensureStripePaymentAttribute: " . $e->getMessage());
         }
diff --git a/src/Facade/ClientCallBellAPI.php b/src/Facade/ClientCallBellAPI.php
index e4e43689..6e068218 100755
--- a/src/Facade/ClientCallBellAPI.php
+++ b/src/Facade/ClientCallBellAPI.php
@@ -1,4 +1,5 @@
 CallBellAPIToken = $CallBellAPIToken;
     }
 
-    public function updateContact($client_uuid)
-    {
-    }
+    public function updateContact($client_uuid) {}
 
     public function printPrueba($clientWhatsAppNumber, $notificationData)
     {
@@ -156,7 +155,7 @@ class ClientCallBellAPI
 
         if ($reprogramming && !$changeInstaller) {
             //{{1}}, se ha reprogramado su visita técnica con el folio  {{2}}
-            
+
             $campo3 = '🗓️➡️ ' . sprintf('%s', $jobNotificationData['date']);
             $campo1_combinado = "Estimado cliente $campo1 se ha reprogramado su visita técnica con folio $campo2";
 
@@ -245,7 +244,7 @@ class ClientCallBellAPI
             'Content-Type: application/json',
         ]);
 
-        
+
         if (!$reprogramming && $changeInstaller) {
             $campo1 = $jobInstallerNotificationData['installerName'];
             $campo2 = $jobInstallerNotificationData['subjectOfChange'];
@@ -273,7 +272,7 @@ class ClientCallBellAPI
             $campo1_combinado = "$installerName se reprogramó una tarea con el folio $jobId para el cliente $clientFullName, la nueva fecha será el $date";
             $campo2 = $jobInstallerNotificationData['clientWhatsApp'];
             $campo3 = $jobInstallerNotificationData['gmapsLocation'];
-            $campo4 = $jobInstallerNotificationData['passwordAntenaCliente']; 
+            $campo4 = $jobInstallerNotificationData['passwordAntenaCliente'];
 
             //Enviar notificación de reprogramación
             $log->appendLog("Enviando notificación de reprogramación al instalador, valor de reprogramming $reprogramming y valor de changeInstaller $changeInstaller " . PHP_EOL);
@@ -312,7 +311,7 @@ class ClientCallBellAPI
         curl_close($ch);
 
 
-        
+
 
         // Validar la respuesta de Callbell
         $jsonResponse = json_decode($response, true);
@@ -357,17 +356,43 @@ class ClientCallBellAPI
         $config = PluginConfigManager::create()->loadConfig();
         $gClient = new Client(['base_uri' => "https://{$this->IPServer}/crm/api/v1.0/", 'verify' => false]);
         $this->ucrmApi = new UcrmApi($gClient, $this->UCRMAPIToken ?? '');
-        $payments = $this->ucrmApi->get(
-            'payments/',
-            [
-                'clientId' => $notificationData->clientData['id'],
-                'limit' => 1,
-                'direction' => 'DESC',
+        $payment_id = $notificationData->paymentData['id'];
+        $payment_amount = '$' . $notificationData->paymentData['amount'];
 
-            ]
-        );
+        // We already have the payment data in $notificationData, no need to fetch 'payments/' again to get the ID.
+        // However, if we need the 'note' field for the overlay which might not be in notificationData (depending on richness),
+        // we should try to use what we have or fetch SPECIFICALLY this payment.
+
+        // Let's verify if 'note' is in paymentData. Usually UCRM webhook payload has it.
+        // But to be safe and consistent with previous logic, if we need 'note', we can fetch THIS payment.
+
+        // $payments = $this->ucrmApi->get('payments/'.$payment_id); // This would be better if we need details.
+
+        // The previous code did:
+        // $payments = $this->ucrmApi->get('payments/', ['clientId' => ..., 'limit' => 1 ...]);
+        // $payment_id = $payments[0]['id']; <-- THIS WAS THE BUG. Always getting latest.
+
+        // Fix: Use the ID passed in notificationData.
+
+        // If we need the NOTE for the Overlay (OXXO/Transfer check later in code), we should ensure we have it.
+        // $notificationData->paymentData usually contains 'note'.
+        $note = $notificationData->paymentData['note'] ?? '';
+
+        // Let's keep $payments array structure if downstream code expects it, OR refactor downstream.
+        // Downstream uses $payments[0]['note'].
+
+        // Let's just mock $payments[0] with our data OR fetch the correct single payment.
+        // Fetching single payment is safer to ensure we have the Note.
+        try {
+            $fetchedPayment = $this->ucrmApi->get('payments/' . $payment_id);
+            $payments = [$fetchedPayment];
+        } catch (\Exception $e) {
+            // Fallback if fetch fails (unlikely if ID is valid)
+            $payments = [$notificationData->paymentData];
+        }
+
+        // $payment_id is already set above.
 
-        $payment_id = $payments[0]['id'];
         $payment_amount = '$' . $payments[0]['amount'];
         //$saldo = '$' . $notificationData->clientData['accountBalance'];
         $nombre_cliente = sprintf("%s %s", $notificationData->clientData['firstName'], $notificationData->clientData['lastName']);
@@ -440,23 +465,23 @@ class ClientCallBellAPI
             // 1. Instanciar Logger y MinioService
             $loggerService = new Logger(); // Servicio de Logging propio del namespace
             $minioService = new MinioStorageService($loggerService);
-            
+
             // 2. Configurar Microservicio
             $ipMicroservice = $config['ipPuppeteer'] ?? 'localhost'; // Reutilizamos IP de Puppeteer
             $portMicroservice = '8050'; // Puerto definido en docker-compose
             $microserviceUrl = "http://{$ipMicroservice}:{$portMicroservice}/process";
-            
+
             $log->appendLog("Procesando PDF con microservicio: $microserviceUrl" . PHP_EOL);
 
             // 2. DETECTAR METODO DE PAGO (Overlay)
             $overlayText = '';
             $note = $payments[0]['note'] ?? '';
-            
+
             // Si la nota dice OXXO o Transferencia, preparamos el reemplazo
             if (stripos($note, 'OXXO') !== false) {
                 $overlayText = 'OXXO Pay';
             } elseif (stripos($note, 'Transferencia') !== false) {
-                 $overlayText = 'Transferencia Bancaria';
+                $overlayText = 'Transferencia Bancaria';
             }
 
             // Coordenadas APROXIMADAS para el template default de UCRM (Ajustar si es necesario)
@@ -477,7 +502,7 @@ class ClientCallBellAPI
                 ],
                 [
                     'name'     => 'mode',
-                    'contents' => 'full' 
+                    'contents' => 'full'
                 ]
             ];
 
@@ -497,19 +522,19 @@ class ClientCallBellAPI
 
             $httpClient = new Client();
             $responseMs = $httpClient->post($microserviceUrl, $guzzleParams);
-            
+
             if ($responseMs->getStatusCode() === 200) {
                 $jpgContent = $responseMs->getBody()->getContents();
                 if (file_put_contents($rutaImagen, $jpgContent) !== false) {
                     $log->appendLog("Imagen generada por microservicio guardada en: $rutaImagen" . PHP_EOL);
-                    
+
                     // 4. Subir a MinIO
                     $fileNameComprobanteImage = str_replace('.jpg', '_' . time() . '.jpg', basename($rutaImagen));
                     $url_file = $minioService->uploadFile($rutaImagen, $fileNameComprobanteImage);
-                    
+
                     if ($url_file) {
                         $log->appendLog("Imagen subida a MinIO: $url_file" . PHP_EOL);
-                        
+
                         // 5. LIMPIEZA AUTOMÁTICA (Consistencia con req. de usuario)
                         if (file_exists($rutaArchivo)) {
                             unlink($rutaArchivo);
@@ -520,7 +545,6 @@ class ClientCallBellAPI
                             //$log->appendLog("Archivo JPG temporal eliminado." . PHP_EOL);
                         }
                         $log->appendLog("Archivos temporales (PDF/JPG) eliminados tras subida exitosa." . PHP_EOL);
-
                     } else {
                         $log->appendLog("Error: Falló la subida a MinIO." . PHP_EOL);
                         return false;
@@ -533,7 +557,6 @@ class ClientCallBellAPI
                 $log->appendLog("Error microservicio PDF: HTTP " . $responseMs->getStatusCode() . PHP_EOL);
                 return false;
             }
-
         } catch (\Exception $e) {
             $log->appendLog("Excepción en flujo Microservicio/MinIO: " . $e->getMessage() . PHP_EOL);
             return false;
@@ -1173,7 +1196,6 @@ class ClientCallBellAPI
             $response = curl_exec($ch);
             $log->appendLog("Response Patch CallBell: " . $response . PHP_EOL);
             curl_close($ch);
-
         } else {
             $log->appendLog("NO SE EJECUTA PATCH - No hay cambios que actualizar" . PHP_EOL);
             curl_close($ch);
diff --git a/src/Plugin.php b/src/Plugin.php
index 4d2b5cee..6d592a52 100755
--- a/src/Plugin.php
+++ b/src/Plugin.php
@@ -1,6 +1,6 @@
 logger->info('Evento de transferencia de un cliente recibido: ' . json_encode($jsonData) . PHP_EOL);
                             $this->pluginNotifierFacade->createPaymentIntent($jsonData);
-
                         }
-                        
+
                         if ($jsonData['data']['object']['type'] === 'applied_to_payment') {
                             $this->logger->info('Se aplicó el saldo en Stripe de un pago: ' . json_encode($jsonData) . PHP_EOL);
                             $this->pluginNotifierFacade->registerPaymentFromWebhook($jsonData);
-                        }elseif ($jsonData['data']['object']['type'] === 'unapplied_from_payment'){
+                        } elseif ($jsonData['data']['object']['type'] === 'unapplied_from_payment') {
                             //ejemplo de json para transferencia de dinero cancelada: {"id":"evt_1RlEGgEFY1WEUtgR6Bp2DzDP","object":"event","api_version":"2023-10-16","created":1752606717,"data":{"object":{"id":"ccsbtxn_1RlEGfEFY1WEUtgRv8jAUGmE","object":"customer_cash_balance_transaction","created":1752606717,"currency":"mxn","customer":"cus_PetN1dhr4rx0kX","ending_balance":18000,"livemode":false,"net_amount":18000,"type":"unapplied_from_payment","unapplied_from_payment":{"payment_intent":"pi_3RlDPdEFY1WEUtgR1JBgNhTQ"}}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_954mskVBfAI0jn","idempotency_key":"749518f6-baa0-4ae9-99e4-8029a35719aa"},"type":"customer_cash_balance_transaction.created"}
                             $paymentIntentId = $jsonData['data']['object']['unapplied_from_payment']['payment_intent'];
                             //Se canceló una transferencia de dinero, imprimir que se canceló y además el monto neto
                             $this->logger->warning('Evento de transferencia cancelada para el pago: ' . $paymentIntentId . PHP_EOL);
                             $this->logger->warning('Monto neto de la transferencia cancelada: ' . $jsonData['data']['object']['net_amount'] . PHP_EOL);
-
                         }
                         break;
                     case 'payout.failed':
@@ -165,7 +163,7 @@ class Plugin
                     case 'payment_intent.succeeded':
                         $this->logger->info('Evento de pago exitoso (Stripe PI) recibido.');
                         if (isset($jsonData['data']['object'])) {
-                           $this->pluginNotifierFacade->registerPaymentFromIntent($jsonData['data']['object']);
+                            $this->pluginNotifierFacade->registerPaymentFromIntent($jsonData['data']['object']);
                         }
                         break;
                     case 'oxxo.retrieve':
@@ -175,7 +173,7 @@ class Plugin
                         if ($orderId) {
                             $status = $this->pluginOxxoNotifierFacade->getOxxoOrderStatus($orderId);
                             $this->logger->debug("Estado recuperado para Orden #$orderId: " . json_encode($status));
-                            
+
                             header('Content-Type: application/json');
                             echo json_encode($status);
                         } else {
@@ -195,7 +193,7 @@ class Plugin
                             header('Content-Type: application/json');
                             echo json_encode([
                                 'oxxo_reference' => '',
-                                'url' => '', 
+                                'url' => '',
                                 'error' => $stripeResult['data']['error'] ?? 'stripe_error',
                                 'status' => 'failed'
                             ]);
@@ -203,13 +201,13 @@ class Plugin
                         }
 
                         $oxxoData = $stripeResult['data'];
-                        
+
                         // 2. Crear Orden (Sync) para obtener ID
                         // Ahora pasamos $oxxoData que SI tiene clientID, clientFullName, etc.
                         $responseOxxo = $this->pluginOxxoNotifierFacade->createOxxoOrder($oxxoData);
-                        
+
                         $orderId = $responseOxxo['order_id'] ?? null;
-                        
+
                         // 3. Preparar respuesta inmediata (Pending)
                         $responseArray = [
                             'oxxo_reference' => $responseOxxo['oxxo_reference'] ?? '',
@@ -229,13 +227,13 @@ class Plugin
                         while (ob_get_level() > 0) {
                             ob_end_clean();
                         }
-                        
+
                         header('Content-Type: application/json');
                         header('Connection: close');
                         ignore_user_abort(true); // Permitir que el script siga corriendo
-                        
+
                         echo json_encode($responseArray);
-                        
+
                         // Forzar envío al cliente
                         if (function_exists('fastcgi_finish_request')) {
                             fastcgi_finish_request();
@@ -250,18 +248,17 @@ class Plugin
                             $this->logger->info("Iniciando generación background para orden #$orderId");
                             set_time_limit(180); // 3 minutos para Puppeteer
                             sleep(1); // Pequeña pausa para asegurar liberación del socket
-                            
+
                             $this->pluginOxxoNotifierFacade->generateOxxoVoucher($responseOxxo, true);
-                            
+
                             $this->logger->info("Generación background finalizada para orden #$orderId");
                         } else {
                             $this->logger->error("No se pudo iniciar background job: Falta order_id");
                         }
-                        
-                        // Terminar proceso hijo
-                        exit; 
-                        break;
 
+                        // Terminar proceso hijo
+                        exit;
+                        break;
                 }
             }
             return;
@@ -299,8 +296,8 @@ class Plugin
                 $result = json_encode($notification);
                 $this->logger->debug('Notification encodificado en JSON:' . $result . PHP_EOL);
 
-                // [NEW] Attempt to patch the payment with correct Stripe attribute if applicable
-                $this->pluginNotifierFacade->ensureStripePaymentAttribute($notification);
+                // [MOVED] Attempt to patch method ID only if it comes as "Stripe Credit Card" (catch-all)
+                //$this->pluginNotifierFacade->ensureStripePaymentAttribute($notification); (Removed from top)
 
                 $payment_method_id = $notification->paymentData['methodId'];
                 $payment_method = '';
@@ -337,9 +334,30 @@ class Plugin
                         }
                         break;
                     case '1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae':
-                        $payment_method = 'Tarjeta de crédito Stripe';
-                        if ($config['creditCardStripePaymentMethodId'] ?? false) {
-                            $this->notifierFacade->verifyPaymentActionToDo($notification);
+                        // [NEW] Logic to patch method ID based on metadata
+                        $this->pluginNotifierFacade->ensureStripePaymentAttribute($notification);
+
+                        // Check if Method ID was updated in memory to OXXO or Transfer
+                        $patchedMethodId = $notification->paymentData['methodId'];
+
+                        if ($patchedMethodId === 'b01c0b35-b42c-48d9-9ad9-ea6591adfbbb') {
+                            // It is OXXO Pay
+                            $payment_method = 'OXXO Pay';
+                            if ($config['oxxoPayPaymentMethodId'] ?? false) {
+                                $this->notifierFacade->verifyPaymentActionToDo($notification);
+                            }
+                        } elseif ($patchedMethodId === '4145b5f5-3bbc-45e3-8fc5-9cda970c62fb') {
+                            // It is Bank Transfer
+                            $payment_method = 'Transferencia bancaria';
+                            if ($config['bankTransferPaymentMethodId'] ?? false) {
+                                $this->notifierFacade->verifyPaymentActionToDo($notification);
+                            }
+                        } else {
+                            // Default: Credit Card Stripe
+                            $payment_method = 'Tarjeta de crédito Stripe';
+                            if ($config['creditCardStripePaymentMethodId'] ?? false) {
+                                $this->notifierFacade->verifyPaymentActionToDo($notification);
+                            }
                         }
                         break;
                     case 'b9e1e9d1-5c7b-41d2-b6b2-3e568d700290':
@@ -372,11 +390,28 @@ class Plugin
                             $this->notifierFacade->verifyPaymentActionToDo($notification);
                         }
                         break;
+                    case 'b01c0b35-b42c-48d9-9ad9-ea6591adfbbb':
+                        $payment_method = 'OXXO Pay';
+                        if ($config['oxxoPayPaymentMethodId'] ?? false) {
+                            $this->notifierFacade->verifyPaymentActionToDo($notification);
+                        }
+                        break;
+                    case '4145b5f5-3bbc-45e3-8fc5-9cda970c62fb':
+                        $payment_method = 'Transferencia bancaria';
+                        if ($config['bankTransferPaymentMethodId'] ?? false) {
+                            $this->notifierFacade->verifyPaymentActionToDo($notification);
+                        }
+                        break;
+                    case '93814765-66a1-4c7d-a777-05c18fd6aab3':
+                        $payment_method = 'Tarjeta de crédito/débito';
+                        if ($config['creditDebitCardPaymentMethodId'] ?? false) {
+                            $this->notifierFacade->verifyPaymentActionToDo($notification);
+                        }
+                        break;
                     default:
                         $payment_method = 'Desconocido';
                         break;
                 }
-
             } else if ($notification->eventName === 'client.edit') {
                 $this->logger->info('Procesando evento client.edit para entityId: ' . ($jsonData['entityId'] ?? 'unknown'));
                 $this->logger->debug('Payload completo client.edit: ' . json_encode($jsonData));
@@ -388,7 +423,7 @@ class Plugin
                     } else {
                         $this->logger->info('Llamando a updatePasswordAntenaIfNeeded para cliente: ' . $clientID);
                         $this->pluginNotifierFacade->updatePasswordAntenaIfNeeded((int)$clientID, $jsonData);
-                        $this->logger->info('Llamada finalizada exitosamente.');
+                        // $this->lcdf4d7cf10e2ogger->info('Llamada finalizada exitosamente.');
                     }
                 } catch (\Throwable $e) {
                     $this->logger->error('ERROR FATAL procesando client.edit: ' . $e->getMessage());
@@ -444,10 +479,10 @@ class Plugin
                     // Automatización: Sincronizar cambios de Nombre o Email con Stripe
                     $nameBefore = trim(($entityBeforeEdit['firstName'] ?? '') . ' ' . ($entityBeforeEdit['lastName'] ?? ''));
                     if (empty($nameBefore)) $nameBefore = $entityBeforeEdit['companyName'] ?? '';
-                    
+
                     $nameAfter = trim(($entity['firstName'] ?? '') . ' ' . ($entity['lastName'] ?? ''));
                     if (empty($nameAfter)) $nameAfter = $entity['companyName'] ?? '';
-                    
+
                     $emailBefore = null;
                     foreach ($entityBeforeEdit['contacts'] ?? [] as $contact) {
                         if ($contact['isBilling'] || $contact['isContact']) {
@@ -473,18 +508,15 @@ class Plugin
                 }
 
                 $this->notifierFacade->verifyClientActionToDo($notification);
-
             } else if ($notification->eventName === 'client.add') {
                 $this->logger->debug('Se agregó un nuevo cliente');
                 $this->logger->debug('Valor de json_data: ' . json_encode($jsonData));
-
             } else if ($notification->eventName === 'service.edit') {
                 $this->logger->debug('Se editó el servicio a un  cliente' . PHP_EOL);
                 $this->notifierFacade->verifyServiceActionToDo($notification);
                 //ejemplo de json_data: {"uuid":"06d281ca-d78e-4f0a-a282-3a6b77d25da0","changeType":"edit","entity":"service","entityId":"155","eventName":"service.edit","extraData":{"entity":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]},"entityBeforeEdit":{"id":155,"prepaid":false,"clientId":171,"status":1,"name":"Basico 300","fullAddress":"Campeche 56, Dolores Hidalgo, 37800","street1":"Campeche 56","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1572461,"addressGpsLon":-100.9377137,"servicePlanId":6,"servicePlanPeriodId":26,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2025-05-21T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2025-05-21T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":1,"nextInvoicingDayAdjustment":10,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"Basico 300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":8,"uploadSpeed":8,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":null,"unmsClientSiteId":"359cb58d-e64f-453a-890e-23d5abb4f116","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[],"surcharges":[]}}}
                 $clientID = $jsonData['extraData']['entity']['clientId'];
                 $this->pluginNotifierFacade->updatePasswordAntenaIfNeeded($clientID, $jsonData);
-
             } else if ($notification->eventName === 'service.suspend') {
                 $this->logger->debug('Se suspendió el servicio a un  cliente' . PHP_EOL);
                 $this->notifierFacade->verifyServiceActionToDo($notification);
@@ -532,7 +564,6 @@ class Plugin
                     'title' => $title,
                 ]);
                 $this->logger->debug('Respuesta de la API al agregar el trabajo: ' . json_encode($responsePatch));
-
             } else if ($notification->eventName === 'job.edit') {
                 $this->logger->debug('Se actualiza un trabajo' . PHP_EOL);
                 // $this->logger->debug('Valor de json_data: ' . json_encode($jsonData));
@@ -589,14 +620,12 @@ class Plugin
                                 $this->logger->debug('Edición de trabajo "En curso" sin cambios de fecha o técnico relevantes para notificación');
                             }
                         }
-
                     } else {
                         $this->logger->warning('El campo assignedUserId no existe en entityBeforeEdit o entity');
                     }
                 } else {
                     $this->logger->warning('Los datos entityBeforeEdit o entity no están presentes en extraData');
                 }
-
             }
 
             //$this->notifierFacade->update($notification);
diff --git a/test_microservice_patch.php b/test_microservice_patch.php
new file mode 100644
index 00000000..57f27554
--- /dev/null
+++ b/test_microservice_patch.php
@@ -0,0 +1,32 @@
+loadConfig();
+
+$ip = $config['ipPuppeteer'] ?? '127.0.0.1'; // Fallback
+$port = $config['portPuppeteer'] ?? '4100'; // Fallback, docker-compose says 4100 host -> 4000 container
+$paymentId = 907;
+$oxxoMethodId = 'b01c0b35-b42c-48d9-9ad9-ea6591adfbbb';
+
+echo "Testing Microservice Patch on Payment $paymentId to OXXO Pay ($oxxoMethodId)...\n";
+
+$client = new Client();
+try {
+    $url = "http://$ip:$port/payments/$paymentId/method";
+    echo "URL: $url\n";
+
+    $response = $client->patch($url, [
+        'json' => ['methodId' => $oxxoMethodId]
+    ]);
+
+    echo "Response Code: " . $response->getStatusCode() . "\n";
+    echo "Body: " . $response->getBody()->getContents() . "\n";
+} catch (\Exception $e) {
+    echo "Error: " . $e->getMessage() . "\n";
+    if (method_exists($e, 'getResponse') && $e->getResponse()) {
+        echo "Response Error: " . $e->getResponse()->getBody()->getContents() . "\n";
+    }
+}