diff --git a/.gitignore b/.gitignore index 288b49c6..af528155 100755 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ *.jpeg .vscode/ *.zip +*.csv *.apib *.jrxml *.jasper diff --git a/CHANGELOG.md b/CHANGELOG.md index f56d3027..3c68ce0d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG - SIIP WhatsApp Notifications Plugin +## VERSIÓN 4.6.0 - 11-04-2026 + +### 🚀 Nuevas Características (Features) +1️⃣ **Auditoría de Pagos Incompletos**: Agregados nuevos scripts (`scripts-uisp/audit_incomplete_pi.php` y `clean_incomplete_pi.php`) para auditar y limpiar intenciones de pago en el limbo que ocurrieron debido a falsas duplicidades de Stripe, protegiendo las referencias OXXO vigentes. +2️⃣ **Mejora del Historial SPEI**: Ajuste de vistas (`views/stripe.php` y `public.php`) para desplegar correctamente un "Historial de Intenciones de Pago por transferencia". + +### 🐛 Correcciones (Bug Fixes) +1️⃣ **Fix Duplicidad Intenciones de Pago**: Removida la lógica basada en metadatos y fechas debido al retraso del Webhook de Stripe. Se implementó una verificación instantánea a nivel cliente (`customer_cash_balance_transaction.created`) de su saldo (`CashBalance`) en Stripe, evitando intenciones de pago duplicadas tras la financiación mediante transferencia SPEI. +2️⃣ **Fix Fichas OXXO y Microservicio**: Restaurado el microservicio Docker (`puppeteer-server`) mediante actualización de dependencias (`p-limit`). +3️⃣ **Fix Diseño de Ficha OXXO**: Evita que el panel izquierdo de llenado se estire junto a la imagen generada de la ficha, reubicando funcionalmente los accesos "Ver en CRM". + ## VERSIÓN 4.5.0 - 13-03-2026 ### ⚠️ Requisito Técnico (Update) diff --git a/README.md b/README.md index da0be7df..416f8b7f 100755 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ # SIIP - WhatsApp Notifications & Integrated Payment Portal - +    Este plugin es una solución integral que transforma tu UCRM en un **Portal Administrativo de Última Generación**. No solo automatiza la comunicación por WhatsApp, sino que integra un Dashboard completo para la gestión de pagos online (Stripe/OXXO), visualización de comprobantes y coordinación de equipos técnicos. +## ✨ Novedades v4.6.0 (Stripe & OXXO Stability) + +- **🛡️ Estabilidad en Pagos (Stripe CashBalance)**: Nuevo sistema para comprobar fondos y validación contra intención de pagos para evitar las intenciones huérfanas o duplicadas tras recibir transferencias SPEI. +- **🧹 Limpieza y Auditoría Local**: Integración local de scripts `audit_incomplete_pi` y `clean_incomplete_pi` para mantenimiento seguro de intenciones de pago incompletas sin afectar comprobantes de OXXO vigentes. +- **🖼️ Interfaz OXXO Optimizada**: Rediseño interno y de contenedores CSS + validación del microservicio `puppeteer-server` para devolver fichas OXXO perfectamente legibles. + ## ✨ Novedades v4.4.0 (Resend Job Notifications) - **📋 Tabla de Tareas Activas por Instalador**: Nuevo módulo dentro de "Gestión de Instaladores" que muestra los jobs "En curso" de cada técnico con datos de cliente, fecha y descripción. diff --git a/data/plugin.log b/data/plugin.log index b54cb5d0..0deb7461 100755 --- a/data/plugin.log +++ b/data/plugin.log @@ -4429,3 +4429,6542 @@ Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26"," [2026-04-07 19:31:36.163057] [info] No UUID found in the webhook data [2026-04-07 19:31:36.163124] [info] No UUID found in the webhook data +[2026-04-08 6:25:03.809871] [notice] Logging level set to:debug +[2026-04-08 6:25:03.809950] [debug] Payload recibido: {"uuid":"7ff41c91-535f-44c8-b92f-f12b02129c2d","changeType":"overdue","entity":"invoice","entityId":"3259","eventName":"invoice.overdue","extraData":{"entity":{"id":3259,"clientId":126,"number":"003205","createdDate":"2026-03-24T10:00:02-0600","dueDate":"2026-04-07T10:00:02-0600","emailSentDate":"2026-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3277,"type":"service","label":"PREMIUM 24\/02\/2026 \u2013 23\/03\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2026-04-08 6:25:04.221641] [debug] Evento recibido: invoice.overdue +[2026-04-08 6:25:04.221793] [debug] Factura vencida + +[2026-04-08 6:25:04.221851] [debug] datos del notification para el invoice overdue:{"uuid":"7ff41c91-535f-44c8-b92f-f12b02129c2d","changeType":"overdue","entity":"invoice","entityId":3259,"message":null,"clientId":126,"eventName":"invoice.overdue","clientData":{"id":126,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-05-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL INNU","lastName":"RATA","username":"dhsv.141089@gmail.com","contacts":[{"id":130,"clientId":126,"email":"dhsv.141089@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":127,"clientId":126,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_QASKG6Z0Hree1h","clientZoneVisible":true},{"id":128,"clientId":126,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180704572078989","clientZoneVisible":true},{"id":229,"clientId":126,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-11200,"accountCredit":0,"accountOutstanding":11200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":"2024-06-07T00:00:00-0600","avatarColor":"#00695c","addressGpsLat":21.156773,"addressGpsLon":-100.9391642,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3259,"clientId":126,"number":"003205","createdDate":"2026-03-24T10:00:02-0600","dueDate":"2026-04-07T10:00:02-0600","emailSentDate":"2026-04-08T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-22T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3277,"type":"service","label":"PREMIUM 24\/02\/2026 \u2013 23\/03\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} + +contac vacio +[2026-04-08 17:36:28.340783] [notice] Logging level set to:debug +[2026-04-08 17:36:28.340903] [debug] Payload recibido: { + "id": "evt_3TK01fEFY1WEUtgR0AqWjTjh", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669787, + "data": { + "object": { + "id": "pi_3TK01fEFY1WEUtgR0wvpsEZ2", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK01fEFY1WEUtgR0wvpsEZ2_secret_TzRsnAE48FrB6l1sScZjRVURd", + "confirmation_method": "automatic", + "created": 1775669787, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 12000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "account_holder_name": "SIIP INTERNET", + "bank_address": { + "city": "Naucalpan", + "country": "MX", + "line1": "Blvd. Manuel Avila Camacho 1902", + "line2": "Planta Baja, Cd. Satelite", + "postal_code": "C.P. 53100", + "state": "Estado de Mexico" + }, + "bank_code": "124", + "bank_name": "CITI MEXICO", + "clabe": "124180127512533812" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSWJFSmhEcGVyNUNZb09jMjlleVI3TTU2cHZEN05C01004dGmAyAT", + "reference": "860354", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1TK01fEFY1WEUtgRaHQOPZwA", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_Zt9RMCPwytxTRL", + "idempotency_key": "3f68f813-bf3a-42ce-864e-93c71e41b059" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-08 17:36:28.340993] [info] No UUID found in the webhook data +[2026-04-08 17:36:28.516108] [notice] Logging level set to:debug +[2026-04-08 17:36:28.516169] [debug] Payload recibido: { + "id": "evt_3TK01fEFY1WEUtgR06VuA5Pj", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669787, + "data": { + "object": { + "id": "pi_3TK01fEFY1WEUtgR0wvpsEZ2", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK01fEFY1WEUtgR0wvpsEZ2_secret_TzRsnAE48FrB6l1sScZjRVURd", + "confirmation_method": "automatic", + "created": 1775669787, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_Zt9RMCPwytxTRL", + "idempotency_key": "3f68f813-bf3a-42ce-864e-93c71e41b059" + }, + "type": "payment_intent.created" +} + +[2026-04-08 17:36:28.516215] [info] No UUID found in the webhook data +[2026-04-08 17:38:36.502087] [notice] Logging level set to:debug +[2026-04-08 17:38:36.502264] [debug] Payload recibido: { + "id": "evt_1TK03kEFY1WEUtgR3RxWm6UO", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669915, + "data": { + "object": { + "id": "ccsbtxn_1TK03jEFY1WEUtgRM7yzpp09", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3TJfLXEFY1WEUtgR005wGWek" + }, + "created": 1775669915, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -5000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_zEyOAIroaD87z0", + "idempotency_key": "66a03f26-5ce3-489f-b799-af903de6ae05" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 17:38:36.502337] [info] No UUID found in the webhook data +[2026-04-08 17:38:36.502388] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1TK03kEFY1WEUtgR3RxWm6UO","object":"event","api_version":"2023-10-16","created":1775669915,"data":{"object":{"id":"ccsbtxn_1TK03jEFY1WEUtgRM7yzpp09","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3TJfLXEFY1WEUtgR005wGWek"},"created":1775669915,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_zEyOAIroaD87z0","idempotency_key":"66a03f26-5ce3-489f-b799-af903de6ae05"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 17:38:36.641340] [notice] Logging level set to:debug +[2026-04-08 17:38:36.641432] [debug] Payload recibido: { + "id": "evt_1TK03kEFY1WEUtgRT0qkwQ6a", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669914, + "data": { + "object": { + "id": "ccsbtxn_1TK03iEFY1WEUtgRfhQZx3UD", + "object": "customer_cash_balance_transaction", + "created": 1775669914, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 5000, + "funded": { + "bank_transfer": { + "reference": "067784", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 5000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_zEyOAIroaD87z0", + "idempotency_key": "66a03f26-5ce3-489f-b799-af903de6ae05" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 17:38:36.641469] [info] No UUID found in the webhook data +[2026-04-08 17:38:36.641488] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1TK03kEFY1WEUtgRT0qkwQ6a","object":"event","api_version":"2023-10-16","created":1775669914,"data":{"object":{"id":"ccsbtxn_1TK03iEFY1WEUtgRfhQZx3UD","object":"customer_cash_balance_transaction","created":1775669914,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":5000,"funded":{"bank_transfer":{"reference":"067784","type":"mx_bank_transfer"}},"livemode":false,"net_amount":5000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_zEyOAIroaD87z0","idempotency_key":"66a03f26-5ce3-489f-b799-af903de6ae05"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 17:38:36.714430] [notice] Logging level set to:debug +[2026-04-08 17:38:36.714515] [debug] Payload recibido: { + "id": "evt_3TJfLXEFY1WEUtgR0Jb3wIxW", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669915, + "data": { + "object": { + "id": "pi_3TJfLXEFY1WEUtgR005wGWek", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 5000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TJfLXEFY1WEUtgR005wGWek_secret_XWMo8rZuJdx19TF2zCoRUplAU", + "confirmation_method": "automatic", + "created": 1775590295, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TJfLXEFY1WEUtgR0AYSQCUO", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1TJfLXEFY1WEUtgR6sMEth8F", + "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": 2, + "request": { + "id": "req_zEyOAIroaD87z0", + "idempotency_key": "66a03f26-5ce3-489f-b799-af903de6ae05" + }, + "type": "payment_intent.succeeded" +} + +[2026-04-08 17:38:36.714550] [info] No UUID found in the webhook data +[2026-04-08 17:38:36.723980] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-08 17:38:36.951339] [notice] Logging level set to:debug +[2026-04-08 17:38:36.951420] [debug] Payload recibido: { + "id": "evt_3TJfLXEFY1WEUtgR0CBoFmQW", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669915, + "data": { + "object": { + "id": "py_3TJfLXEFY1WEUtgR0AYSQCUO", + "object": "charge", + "amount": 5000, + "amount_captured": 5000, + "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": 1775669915, + "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", + "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_3TJfLXEFY1WEUtgR005wGWek", + "payment_method": "pm_1TJfLXEFY1WEUtgR6sMEth8F", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJyl2s4GMgaxmwHoeWk6LBZcBeLn9WK1dAZ1b6-uxp2HgidXGHwsXf06i5BkPxUIbgzEd81HG2ogV_Ow", + "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_zEyOAIroaD87z0", + "idempotency_key": "66a03f26-5ce3-489f-b799-af903de6ae05" + }, + "type": "charge.succeeded" +} + +[2026-04-08 17:38:36.951477] [info] No UUID found in the webhook data +[2026-04-08 17:38:38.113802] [notice] Logging level set to:debug +[2026-04-08 17:38:38.113868] [debug] Payload recibido: {"uuid":"19031ac6-66c2-488a-8042-2c8e010e0ba7","changeType":"insert","entity":"payment","entityId":"1010","eventName":"payment.add","extraData":{"entity":{"id":1010,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-08 17:38:38.425272] [info] PaymentIntent creado: pi_3TK03lEFY1WEUtgR1tRhzfNN +[2026-04-08 17:38:38.468874] [debug] Evento recibido: payment.add +[2026-04-08 17:38:38.471170] [debug] Notification encodificado en JSON:{"uuid":"19031ac6-66c2-488a-8042-2c8e010e0ba7","changeType":"insert","entity":"payment","entityId":1010,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2170,"accountCredit":2170,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1010,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} + +[2026-04-08 17:38:38.471247] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1010 +[2026-04-08 17:38:38.484837] [warning] Microservice metadata fetch failed: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/stripe-metadata/1010 +[2026-04-08 17:38:38.582407] [info] Payment 1010 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-08 17:38:38.584408] [error] Failed to patch User ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1010/user +[2026-04-08 17:38:38.665481] [info] Payment 1010 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice. +[2026-04-08 17:38:38.668024] [error] Failed to patch Payment Method ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1010/method +[2026-04-08 17:38:38.733393] [notice] Logging level set to:debug +[2026-04-08 17:38:38.735987] [debug] Payload recibido: { + "id": "evt_3TK03lEFY1WEUtgR1srfnmnS", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669918, + "data": { + "object": { + "id": "pi_3TK03lEFY1WEUtgR1tRhzfNN", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK03lEFY1WEUtgR1tRhzfNN_secret_mzrRcx80YTE3ftNc0o7bPKzaz", + "confirmation_method": "automatic", + "created": 1775669917, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 5000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "account_holder_name": "SIIP INTERNET", + "bank_address": { + "city": "Naucalpan", + "country": "MX", + "line1": "Blvd. Manuel Avila Camacho 1902", + "line2": "Planta Baja, Cd. Satelite", + "postal_code": "C.P. 53100", + "state": "Estado de Mexico" + }, + "bank_code": "124", + "bank_name": "CITI MEXICO", + "clabe": "124180127512533812" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSWJHdEV5U0dvWGlHZ01yVk9KckZ2b3BUcENzT01C0100yadJQ6SU", + "reference": "706624", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1TK03lEFY1WEUtgRbgQfgcju", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_xDSxv9R6EgE8qU", + "idempotency_key": "evt_1TK03kEFY1WEUtgRT0qkwQ6a" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-08 17:38:38.738197] [info] No UUID found in the webhook data +[2026-04-08 17:38:38.795609] [notice] Logging level set to:debug +[2026-04-08 17:38:38.795747] [debug] Payload recibido: { + "id": "evt_3TK03lEFY1WEUtgR1uVc1yAO", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669917, + "data": { + "object": { + "id": "pi_3TK03lEFY1WEUtgR1tRhzfNN", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK03lEFY1WEUtgR1tRhzfNN_secret_mzrRcx80YTE3ftNc0o7bPKzaz", + "confirmation_method": "automatic", + "created": 1775669917, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_xDSxv9R6EgE8qU", + "idempotency_key": "evt_1TK03kEFY1WEUtgRT0qkwQ6a" + }, + "type": "payment_intent.created" +} + +[2026-04-08 17:38:38.795825] [info] No UUID found in the webhook data +[2026-04-08 17:38:38.845467] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito' +[2026-04-08 17:38:38.845511] [info] PATCHING Payment 1010: 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://pdf-cropper-service:8000/process + +[2026-04-08 17:38:40.197810] [notice] Logging level set to:debug +[2026-04-08 17:38:40.197886] [debug] Payload recibido: { + "id": "evt_3TJfLXEFY1WEUtgR0Il768li", + "object": "event", + "api_version": "2023-10-16", + "created": 1775669919, + "data": { + "object": { + "id": "py_3TJfLXEFY1WEUtgR0AYSQCUO", + "object": "charge", + "amount": 5000, + "amount_captured": 5000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TJfLXEFY1WEUtgR030lfwCk", + "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": 1775669915, + "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", + "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_3TJfLXEFY1WEUtgR005wGWek", + "payment_method": "pm_1TJfLXEFY1WEUtgR6sMEth8F", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJ-l2s4GMgY5cBLfzuA6LBac-5a1JfIeA3HaWgKpB1WVrkp5vJ10Wy1nt1GusDCjStnk5ToWAQWB6YlP", + "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 + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKJ-l2s4GMga7tX5yqdU6LBbZP7veWOeVg79Z2wa1DkPWpgzdAN13K-8npFQcsKMDetKUZwFhPyP7osKq" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-04-08 17:38:40.197947] [info] No UUID found in the webhook data +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.jpg + +[2026-04-08 17:38:40.626276] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775669920.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775669920.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_1775669920.jpg" + }, + "template_values": ["Delfino De los Mares venus", "$50", "$2170 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"c1d1c60b5a774ba88ec635fe72d85d6a","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":"19031ac6-66c2-488a-8042-2c8e010e0ba7","changeType":"insert","entity":"payment","entityId":1010,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2170,"accountCredit":2170,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1010,"clientId":146,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":1010,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[{"id":"dec5fbc4-3c42-45e6-b425-54f98f6d0ab7","paymentId":1010,"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\udfe0 Suspendido","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 08\/04\/2026 11:38","Saldo Actual":"\ud83d\udcb22170 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 08\/04\/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\",\"Saldo Actual\": \"\ud83d\udcb22170 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08\/04\/2026 11:38 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"08\/04\/2026 11:38\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2120 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2170 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: '' + +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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 50","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"📆💸 08/04/2026 11:38 con Tarjeta de crédito Stripe 💳","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 08/04/2026 11:38","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2170 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2170 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/04/2026 11:38 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/04/2026 11:38\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-04-08 17:38:43.117510] [notice] Logging level set to:debug +[2026-04-08 17:38:43.117578] [debug] Payload recibido: {"uuid":"2f834ded-7e04-4190-a1b3-05f3dbd9cfb2","changeType":"edit","entity":"payment","entityId":"1010","eventName":"payment.edit","extraData":{"entity":{"id":1010,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":1010,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T11:38:37-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}} + +[2026-04-08 17:38:43.337115] [debug] Evento recibido: payment.edit +[2026-04-08 18:23:03.601577] [notice] Logging level set to:debug +[2026-04-08 18:23:03.601676] [debug] Payload recibido: { + "id": "evt_1TK0klEFY1WEUtgRA9hwt8aH", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672581, + "data": { + "object": { + "id": "ccsbtxn_1TK0kiEFY1WEUtgRzVlEaSr1", + "object": "customer_cash_balance_transaction", + "created": 1775672580, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 5000, + "funded": { + "bank_transfer": { + "reference": "706624", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 5000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_ufYCcrOYDgqEyR", + "idempotency_key": "3daa4432-44a8-4a7b-933f-f5464fdd9f0f" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:23:03.601701] [info] No UUID found in the webhook data +[2026-04-08 18:23:03.601718] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1TK0klEFY1WEUtgRA9hwt8aH","object":"event","api_version":"2023-10-16","created":1775672581,"data":{"object":{"id":"ccsbtxn_1TK0kiEFY1WEUtgRzVlEaSr1","object":"customer_cash_balance_transaction","created":1775672580,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":5000,"funded":{"bank_transfer":{"reference":"706624","type":"mx_bank_transfer"}},"livemode":false,"net_amount":5000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_ufYCcrOYDgqEyR","idempotency_key":"3daa4432-44a8-4a7b-933f-f5464fdd9f0f"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:23:03.664582] [notice] Logging level set to:debug +[2026-04-08 18:23:03.665673] [debug] Payload recibido: { + "id": "evt_1TK0klEFY1WEUtgRsyhIpx4s", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672581, + "data": { + "object": { + "id": "ccsbtxn_1TK0kjEFY1WEUtgR7F44gX7D", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3TK03lEFY1WEUtgR1tRhzfNN" + }, + "created": 1775672581, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -5000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_ufYCcrOYDgqEyR", + "idempotency_key": "3daa4432-44a8-4a7b-933f-f5464fdd9f0f" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:23:03.665987] [info] No UUID found in the webhook data +[2026-04-08 18:23:03.666068] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1TK0klEFY1WEUtgRsyhIpx4s","object":"event","api_version":"2023-10-16","created":1775672581,"data":{"object":{"id":"ccsbtxn_1TK0kjEFY1WEUtgR7F44gX7D","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3TK03lEFY1WEUtgR1tRhzfNN"},"created":1775672581,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-5000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_ufYCcrOYDgqEyR","idempotency_key":"3daa4432-44a8-4a7b-933f-f5464fdd9f0f"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:23:03.793782] [notice] Logging level set to:debug +[2026-04-08 18:23:03.794075] [debug] Payload recibido: { + "id": "evt_3TK03lEFY1WEUtgR1N4INjND", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672582, + "data": { + "object": { + "id": "pi_3TK03lEFY1WEUtgR1tRhzfNN", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 5000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK03lEFY1WEUtgR1tRhzfNN_secret_mzrRcx80YTE3ftNc0o7bPKzaz", + "confirmation_method": "automatic", + "created": 1775669917, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TK03lEFY1WEUtgR1xhdpIYJ", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1TK03lEFY1WEUtgRbgQfgcju", + "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": 2, + "request": { + "id": "req_ufYCcrOYDgqEyR", + "idempotency_key": "3daa4432-44a8-4a7b-933f-f5464fdd9f0f" + }, + "type": "payment_intent.succeeded" +} + +[2026-04-08 18:23:03.794218] [info] No UUID found in the webhook data +[2026-04-08 18:23:03.794277] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-08 18:23:03.982119] [notice] Logging level set to:debug +[2026-04-08 18:23:03.982300] [debug] Payload recibido: { + "id": "evt_3TK03lEFY1WEUtgR1BqL4cpF", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672582, + "data": { + "object": { + "id": "py_3TK03lEFY1WEUtgR1xhdpIYJ", + "object": "charge", + "amount": 5000, + "amount_captured": 5000, + "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": 1775672582, + "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_3TK03lEFY1WEUtgR1tRhzfNN", + "payment_method": "pm_1TK03lEFY1WEUtgRbgQfgcju", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIe62s4GMgbzsluO6B06LBZ8z2WdSPp4jpHBDFUqc8rhcW7BuxcwAs-Grq7Wl7dCmD8KDfZYQrsAsWop", + "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_ufYCcrOYDgqEyR", + "idempotency_key": "3daa4432-44a8-4a7b-933f-f5464fdd9f0f" + }, + "type": "charge.succeeded" +} + +[2026-04-08 18:23:03.982386] [info] No UUID found in the webhook data +[2026-04-08 18:23:05.488228] [notice] Logging level set to:debug +[2026-04-08 18:23:05.488604] [debug] Payload recibido: {"uuid":"53405be7-c77c-4172-99ac-8809d75624a6","changeType":"insert","entity":"payment","entityId":"1011","eventName":"payment.add","extraData":{"entity":{"id":1011,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-08 18:23:05.812079] [debug] Evento recibido: payment.add +[2026-04-08 18:23:05.812376] [debug] Notification encodificado en JSON:{"uuid":"53405be7-c77c-4172-99ac-8809d75624a6","changeType":"insert","entity":"payment","entityId":1011,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2220,"accountCredit":2220,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1011,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} + +[2026-04-08 18:23:05.812465] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1011 +[2026-04-08 18:23:05.813431] [warning] Microservice metadata fetch failed: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/stripe-metadata/1011 +[2026-04-08 18:23:05.900438] [info] Payment 1011 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-08 18:23:05.901437] [error] Failed to patch User ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1011/user +[2026-04-08 18:23:05.986799] [info] Payment 1011 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice. +[2026-04-08 18:23:05.987432] [error] Failed to patch Payment Method ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1011/method +[2026-04-08 18:23:06.160322] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito' +[2026-04-08 18:23:06.160461] [info] PATCHING Payment 1011: 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://pdf-cropper-service:8000/process + +[2026-04-08 18:23:06.568830] [info] PaymentIntent creado: pi_3TK0knEFY1WEUtgR0kLThUZ1 +[2026-04-08 18:23:06.754590] [notice] Logging level set to:debug +[2026-04-08 18:23:06.754657] [debug] Payload recibido: { + "id": "evt_3TK0knEFY1WEUtgR0N9AfKmY", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672586, + "data": { + "object": { + "id": "pi_3TK0knEFY1WEUtgR0kLThUZ1", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK0knEFY1WEUtgR0kLThUZ1_secret_dmQYcbs84sZNl6n5y3xQSkAVm", + "confirmation_method": "automatic", + "created": 1775672585, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 5000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "account_holder_name": "SIIP INTERNET", + "bank_address": { + "city": "Naucalpan", + "country": "MX", + "line1": "Blvd. Manuel Avila Camacho 1902", + "line2": "Planta Baja, Cd. Satelite", + "postal_code": "C.P. 53100", + "state": "Estado de Mexico" + }, + "bank_code": "124", + "bank_name": "CITI MEXICO", + "clabe": "124180127512533812" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSWJ5aHdBekhFWXZpbXhVcHRvaU5UdWNvd1ZIcTda01004bnl1Q3L", + "reference": "587163", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1TK0knEFY1WEUtgRa2UE9dvb", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_LzXgfF2B72aVyX", + "idempotency_key": "evt_1TK0klEFY1WEUtgRA9hwt8aH" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-08 18:23:06.754715] [info] No UUID found in the webhook data +[2026-04-08 18:23:06.792591] [notice] Logging level set to:debug +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.jpg + +[2026-04-08 18:23:06.796083] [debug] Payload recibido: { + "id": "evt_3TK03lEFY1WEUtgR1RIK9LG3", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672586, + "data": { + "object": { + "id": "py_3TK03lEFY1WEUtgR1xhdpIYJ", + "object": "charge", + "amount": 5000, + "amount_captured": 5000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TK03lEFY1WEUtgR1OscOhHt", + "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": 1775672582, + "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_3TK03lEFY1WEUtgR1tRhzfNN", + "payment_method": "pm_1TK03lEFY1WEUtgRbgQfgcju", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIq62s4GMgbikMaxfLo6LBZNjkVvJfhESWOyZNsrViEV5brjuugbYulxwPO99zrwPPBc5At8jfclMz5c", + "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 + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKIq62s4GMgZrqnh16xM6LBY6eGVjU9b_bgeTUpGzvUR-TAIFyGP7Dbayffpr0XRv9XOmi1ych7IUqtbJ" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-04-08 18:23:06.796228] [info] No UUID found in the webhook data +[2026-04-08 18:23:06.820097] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775672586.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775672586.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_1775672586.jpg" + }, + "template_values": ["Delfino De los Mares venus", "$50", "$2220 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +[2026-04-08 18:23:06.846698] [notice] Logging level set to:debug +[2026-04-08 18:23:06.846757] [debug] Payload recibido: { + "id": "evt_3TK0knEFY1WEUtgR0b3faONQ", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672585, + "data": { + "object": { + "id": "pi_3TK0knEFY1WEUtgR0kLThUZ1", + "object": "payment_intent", + "amount": 5000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK0knEFY1WEUtgR0kLThUZ1_secret_dmQYcbs84sZNl6n5y3xQSkAVm", + "confirmation_method": "automatic", + "created": 1775672585, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_LzXgfF2B72aVyX", + "idempotency_key": "evt_1TK0klEFY1WEUtgRA9hwt8aH" + }, + "type": "payment_intent.created" +} + +[2026-04-08 18:23:06.846791] [info] No UUID found in the webhook data +Response del CallBell: {"message":{"uuid":"c0daedb6b030477196ab3865a69201ad","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":"53405be7-c77c-4172-99ac-8809d75624a6","changeType":"insert","entity":"payment","entityId":1011,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2220,"accountCredit":2220,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1011,"clientId":146,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":1011,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[{"id":"2b1f03b1-7425-4af1-8446-6ebf0d8ea69f","paymentId":1011,"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\udfe0 Suspendido","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 08\/04\/2026 12:23","Saldo Actual":"\ud83d\udcb22220 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 08\/04\/2026 12:23 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\",\"Saldo Actual\": \"\ud83d\udcb22220 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08\/04\/2026 12:23 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"08\/04\/2026 12:23\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2170 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2220 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: '' + +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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 50","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"📆💸 08/04/2026 12:23 con Tarjeta de crédito Stripe 💳","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 08/04/2026 12:23","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2220 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2220 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/04/2026 12:23 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/04/2026 12:23\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-04-08 18:23:09.979553] [notice] Logging level set to:debug +[2026-04-08 18:23:09.979708] [debug] Payload recibido: {"uuid":"8afea1a4-211d-4f46-b5ee-b43f35cf899a","changeType":"edit","entity":"payment","entityId":"1011","eventName":"payment.edit","extraData":{"entity":{"id":1011,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":1011,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:23:04-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}} + +[2026-04-08 18:23:10.199506] [debug] Evento recibido: payment.edit +[2026-04-08 18:26:10.367944] [notice] Logging level set to:debug +[2026-04-08 18:26:10.368149] [debug] Payload recibido: { + "id": "evt_1TK0nmEFY1WEUtgRNSxaDjvx", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672768, + "data": { + "object": { + "id": "ccsbtxn_1TK0njEFY1WEUtgRLI6RBN9i", + "object": "customer_cash_balance_transaction", + "created": 1775672767, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 12000, + "funded": { + "bank_transfer": { + "reference": "860354", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 12000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_p3jfcme1xsaWPu", + "idempotency_key": "3fb438db-e98c-4df3-adf8-6ee8944eeeea" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:26:10.368221] [info] No UUID found in the webhook data +[2026-04-08 18:26:10.368273] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1TK0nmEFY1WEUtgRNSxaDjvx","object":"event","api_version":"2023-10-16","created":1775672768,"data":{"object":{"id":"ccsbtxn_1TK0njEFY1WEUtgRLI6RBN9i","object":"customer_cash_balance_transaction","created":1775672767,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":12000,"funded":{"bank_transfer":{"reference":"860354","type":"mx_bank_transfer"}},"livemode":false,"net_amount":12000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_p3jfcme1xsaWPu","idempotency_key":"3fb438db-e98c-4df3-adf8-6ee8944eeeea"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:26:10.438787] [notice] Logging level set to:debug +[2026-04-08 18:26:10.438872] [debug] Payload recibido: { + "id": "evt_1TK0nmEFY1WEUtgRrXOskUxO", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672768, + "data": { + "object": { + "id": "ccsbtxn_1TK0nkEFY1WEUtgRdJTxCj4S", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3TK01fEFY1WEUtgR0wvpsEZ2" + }, + "created": 1775672768, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -12000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_p3jfcme1xsaWPu", + "idempotency_key": "3fb438db-e98c-4df3-adf8-6ee8944eeeea" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:26:10.438894] [info] No UUID found in the webhook data +[2026-04-08 18:26:10.438914] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1TK0nmEFY1WEUtgRrXOskUxO","object":"event","api_version":"2023-10-16","created":1775672768,"data":{"object":{"id":"ccsbtxn_1TK0nkEFY1WEUtgRdJTxCj4S","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3TK01fEFY1WEUtgR0wvpsEZ2"},"created":1775672768,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-12000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_p3jfcme1xsaWPu","idempotency_key":"3fb438db-e98c-4df3-adf8-6ee8944eeeea"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:26:10.605849] [notice] Logging level set to:debug +[2026-04-08 18:26:10.605990] [debug] Payload recibido: { + "id": "evt_3TK01fEFY1WEUtgR0bLWdqy8", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672769, + "data": { + "object": { + "id": "pi_3TK01fEFY1WEUtgR0wvpsEZ2", + "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_3TK01fEFY1WEUtgR0wvpsEZ2_secret_TzRsnAE48FrB6l1sScZjRVURd", + "confirmation_method": "automatic", + "created": 1775669787, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TK01fEFY1WEUtgR0CiMXEpy", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1TK01fEFY1WEUtgRaHQOPZwA", + "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": 2, + "request": { + "id": "req_p3jfcme1xsaWPu", + "idempotency_key": "3fb438db-e98c-4df3-adf8-6ee8944eeeea" + }, + "type": "payment_intent.succeeded" +} + +[2026-04-08 18:26:10.606080] [info] No UUID found in the webhook data +[2026-04-08 18:26:10.606101] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-08 18:26:10.690818] [notice] Logging level set to:debug +[2026-04-08 18:26:10.691013] [debug] Payload recibido: { + "id": "evt_3TK01fEFY1WEUtgR0mmGx3xl", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672769, + "data": { + "object": { + "id": "py_3TK01fEFY1WEUtgR0CiMXEpy", + "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": 1775672769, + "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", + "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_3TK01fEFY1WEUtgR0wvpsEZ2", + "payment_method": "pm_1TK01fEFY1WEUtgRaHQOPZwA", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMK72s4GMgYP9zRP2TE6LBYSVV2HfYDpCSKZH0mZsjo31OMeJMqQ2yFVPk2GikgiYonNz_sGVnJzLxRT", + "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_p3jfcme1xsaWPu", + "idempotency_key": "3fb438db-e98c-4df3-adf8-6ee8944eeeea" + }, + "type": "charge.succeeded" +} + +[2026-04-08 18:26:10.691108] [info] No UUID found in the webhook data +[2026-04-08 18:26:12.075122] [notice] Logging level set to:debug +[2026-04-08 18:26:12.075192] [debug] Payload recibido: {"uuid":"b1e0b9e7-5f5b-4cb7-9e4b-ee45fa3bc060","changeType":"insert","entity":"payment","entityId":"1012","eventName":"payment.add","extraData":{"entity":{"id":1012,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:26:11-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-08 18:26:12.273205] [debug] Evento recibido: payment.add +[2026-04-08 18:26:12.273354] [debug] Notification encodificado en JSON:{"uuid":"b1e0b9e7-5f5b-4cb7-9e4b-ee45fa3bc060","changeType":"insert","entity":"payment","entityId":1012,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2340,"accountCredit":2340,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1012,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:26:11-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}} + +[2026-04-08 18:26:12.273376] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1012 +[2026-04-08 18:26:12.276489] [warning] Microservice metadata fetch failed: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/stripe-metadata/1012 +[2026-04-08 18:26:12.373218] [info] Payment 1012 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-08 18:26:12.375025] [error] Failed to patch User ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1012/user +[2026-04-08 18:26:12.473576] [info] Payment 1012 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice. +[2026-04-08 18:26:12.474086] [error] Failed to patch Payment Method ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1012/method +[2026-04-08 18:26:12.626853] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito' +[2026-04-08 18:26:12.626902] [info] PATCHING Payment 1012: 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://pdf-cropper-service:8000/process + +[2026-04-08 18:26:13.214576] [info] PaymentIntent creado: pi_3TK0noEFY1WEUtgR1ZMblRYf +Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Delfino_De_los_Mares_venus.jpg + +[2026-04-08 18:26:13.306919] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775672773.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775672773.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_1775672773.jpg" + }, + "template_values": ["Delfino De los Mares venus", "$120", "$2340 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +[2026-04-08 18:26:13.417475] [notice] Logging level set to:debug +[2026-04-08 18:26:13.417800] [debug] Payload recibido: { + "id": "evt_3TK0noEFY1WEUtgR1rj5RHiN", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672772, + "data": { + "object": { + "id": "pi_3TK0noEFY1WEUtgR1ZMblRYf", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK0noEFY1WEUtgR1ZMblRYf_secret_uloeHZoa5ngsGml5a840JJKYl", + "confirmation_method": "automatic", + "created": 1775672772, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 12000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "account_holder_name": "SIIP INTERNET", + "bank_address": { + "city": "Naucalpan", + "country": "MX", + "line1": "Blvd. Manuel Avila Camacho 1902", + "line2": "Planta Baja, Cd. Satelite", + "postal_code": "C.P. 53100", + "state": "Estado de Mexico" + }, + "bank_code": "124", + "bank_name": "CITI MEXICO", + "clabe": "124180127512533812" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSWMxeWlYeEx4WGdEMVhQcnhmTU93Nmpub09Eb0hn0100dCNSvsKl", + "reference": "952453", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1TK0noEFY1WEUtgRaCDQ0kNK", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_gBpwmdlPUfgi57", + "idempotency_key": "evt_1TK0nmEFY1WEUtgRNSxaDjvx" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-08 18:26:13.417917] [info] No UUID found in the webhook data +[2026-04-08 18:26:13.427824] [notice] Logging level set to:debug +[2026-04-08 18:26:13.427906] [debug] Payload recibido: { + "id": "evt_3TK01fEFY1WEUtgR0OoDUNRV", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672773, + "data": { + "object": { + "id": "py_3TK01fEFY1WEUtgR0CiMXEpy", + "object": "charge", + "amount": 12000, + "amount_captured": 12000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TK01fEFY1WEUtgR0tYhv6hP", + "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": 1775672769, + "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", + "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_3TK01fEFY1WEUtgR0wvpsEZ2", + "payment_method": "pm_1TK01fEFY1WEUtgRaHQOPZwA", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMW72s4GMgYumWYZvKQ6LBYfOWkEFeFvkCTbq5obOruC8ilm-2c-JfwLza4G-IArug8gd5dfvNmFQMAp", + "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 + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMW72s4GMgbCyj2Dl546LBYNdecI4EEyQmjtDhfMkfj4Fp8j1yr0VVt-b0eGtB_mklYG_yJnhjmzIfi1" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-04-08 18:26:13.428088] [info] No UUID found in the webhook data +[2026-04-08 18:26:13.509239] [notice] Logging level set to:debug +[2026-04-08 18:26:13.510993] [debug] Payload recibido: { + "id": "evt_3TK0noEFY1WEUtgR1EdlDgCw", + "object": "event", + "api_version": "2023-10-16", + "created": 1775672772, + "data": { + "object": { + "id": "pi_3TK0noEFY1WEUtgR1ZMblRYf", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK0noEFY1WEUtgR1ZMblRYf_secret_uloeHZoa5ngsGml5a840JJKYl", + "confirmation_method": "automatic", + "created": 1775672772, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_gBpwmdlPUfgi57", + "idempotency_key": "evt_1TK0nmEFY1WEUtgRNSxaDjvx" + }, + "type": "payment_intent.created" +} + +[2026-04-08 18:26:13.511147] [info] No UUID found in the webhook data +Response del CallBell: {"message":{"uuid":"e912ee6e59cd4f1085eea653dbb1d094","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":"b1e0b9e7-5f5b-4cb7-9e4b-ee45fa3bc060","changeType":"insert","entity":"payment","entityId":1012,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2340,"accountCredit":2340,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1012,"clientId":146,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-04-08T12:26:11-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":1012,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:26:11-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[{"id":"d8437373-d52c-4432-99d1-ea00a0f0a8ab","paymentId":1012,"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\udfe0 Suspendido","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 08\/04\/2026 12:26","Saldo Actual":"\ud83d\udcb22340 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 08\/04\/2026 12: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\",\"Saldo Actual\": \"\ud83d\udcb22340 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08\/04\/2026 12:26 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"08\/04\/2026 12:26\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2220 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2340 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: '' + +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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 120","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"📆💸 08/04/2026 12:26 con Tarjeta de crédito Stripe 💳","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 08/04/2026 12:26","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2340 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2340 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/04/2026 12:26 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/04/2026 12:26\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-04-08 18:26:16.121216] [notice] Logging level set to:debug +[2026-04-08 18:26:16.121280] [debug] Payload recibido: {"uuid":"95806f98-1916-46d3-8f75-32c2fa349dc5","changeType":"edit","entity":"payment","entityId":"1012","eventName":"payment.edit","extraData":{"entity":{"id":1012,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:26:11-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":1012,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:26:11-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}} + +[2026-04-08 18:26:16.313715] [debug] Evento recibido: payment.edit +[2026-04-08 18:43:12.050441] [notice] Logging level set to:debug +[2026-04-08 18:43:12.050549] [debug] Payload recibido: { + "id": "evt_1TK14FEFY1WEUtgRGhkjkNu0", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673790, + "data": { + "object": { + "id": "ccsbtxn_1TK14DEFY1WEUtgRIIQsVBlk", + "object": "customer_cash_balance_transaction", + "created": 1775673789, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 12000, + "funded": { + "bank_transfer": { + "reference": "952453", + "type": "mx_bank_transfer" + } + }, + "livemode": false, + "net_amount": 12000, + "type": "funded" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_gPaJgbK9hLvVY6", + "idempotency_key": "e960ad14-a40b-439b-a056-0691e034429e" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:43:12.050590] [info] No UUID found in the webhook data +[2026-04-08 18:43:12.050609] [info] Evento de transferencia de un cliente recibido: {"id":"evt_1TK14FEFY1WEUtgRGhkjkNu0","object":"event","api_version":"2023-10-16","created":1775673790,"data":{"object":{"id":"ccsbtxn_1TK14DEFY1WEUtgRIIQsVBlk","object":"customer_cash_balance_transaction","created":1775673789,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":12000,"funded":{"bank_transfer":{"reference":"952453","type":"mx_bank_transfer"}},"livemode":false,"net_amount":12000,"type":"funded"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_gPaJgbK9hLvVY6","idempotency_key":"e960ad14-a40b-439b-a056-0691e034429e"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:43:12.122574] [notice] Logging level set to:debug +[2026-04-08 18:43:12.122976] [debug] Payload recibido: { + "id": "evt_1TK14FEFY1WEUtgRfPW9dgML", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673790, + "data": { + "object": { + "id": "ccsbtxn_1TK14EEFY1WEUtgRQWNv7AYW", + "object": "customer_cash_balance_transaction", + "applied_to_payment": { + "payment_intent": "pi_3TK0noEFY1WEUtgR1ZMblRYf" + }, + "created": 1775673790, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "ending_balance": 0, + "livemode": false, + "net_amount": -12000, + "type": "applied_to_payment" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_gPaJgbK9hLvVY6", + "idempotency_key": "e960ad14-a40b-439b-a056-0691e034429e" + }, + "type": "customer_cash_balance_transaction.created" +} + +[2026-04-08 18:43:12.124317] [info] No UUID found in the webhook data +[2026-04-08 18:43:12.124424] [info] Se aplicó el saldo en Stripe de un pago: {"id":"evt_1TK14FEFY1WEUtgRfPW9dgML","object":"event","api_version":"2023-10-16","created":1775673790,"data":{"object":{"id":"ccsbtxn_1TK14EEFY1WEUtgRQWNv7AYW","object":"customer_cash_balance_transaction","applied_to_payment":{"payment_intent":"pi_3TK0noEFY1WEUtgR1ZMblRYf"},"created":1775673790,"currency":"mxn","customer":"cus_QZ7T1h3th3Dr7w","customer_account":null,"ending_balance":0,"livemode":false,"net_amount":-12000,"type":"applied_to_payment"}},"livemode":false,"pending_webhooks":2,"request":{"id":"req_gPaJgbK9hLvVY6","idempotency_key":"e960ad14-a40b-439b-a056-0691e034429e"},"type":"customer_cash_balance_transaction.created"} + +[2026-04-08 18:43:12.236835] [notice] Logging level set to:debug +[2026-04-08 18:43:12.236927] [debug] Payload recibido: { + "id": "evt_3TK0noEFY1WEUtgR1lB2Em2e", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673791, + "data": { + "object": { + "id": "pi_3TK0noEFY1WEUtgR1ZMblRYf", + "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_3TK0noEFY1WEUtgR1ZMblRYf_secret_uloeHZoa5ngsGml5a840JJKYl", + "confirmation_method": "automatic", + "created": 1775672772, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TK0noEFY1WEUtgR159qmZLa", + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": "pm_1TK0noEFY1WEUtgRaCDQ0kNK", + "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": 2, + "request": { + "id": "req_gPaJgbK9hLvVY6", + "idempotency_key": "e960ad14-a40b-439b-a056-0691e034429e" + }, + "type": "payment_intent.succeeded" +} + +[2026-04-08 18:43:12.241039] [info] No UUID found in the webhook data +[2026-04-08 18:43:12.241102] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-08 18:43:12.372497] [notice] Logging level set to:debug +[2026-04-08 18:43:12.372587] [debug] Payload recibido: { + "id": "evt_3TK0noEFY1WEUtgR19Pi4wd9", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673791, + "data": { + "object": { + "id": "py_3TK0noEFY1WEUtgR159qmZLa", + "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": 1775673791, + "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_3TK0noEFY1WEUtgR1ZMblRYf", + "payment_method": "pm_1TK0noEFY1WEUtgRaCDQ0kNK", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMDD2s4GMgaQen483SY6LBZo6Mi9M6-7-cEISjmbT23sYwL_5-DEIh35hhzIWCZ8Ytsk-z-rtlD60yrz", + "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_gPaJgbK9hLvVY6", + "idempotency_key": "e960ad14-a40b-439b-a056-0691e034429e" + }, + "type": "charge.succeeded" +} + +[2026-04-08 18:43:12.372643] [info] No UUID found in the webhook data +[2026-04-08 18:43:13.500266] [notice] Logging level set to:debug +[2026-04-08 18:43:13.500339] [debug] Payload recibido: {"uuid":"85d0823c-1696-412b-a202-79e6f90bdb1d","changeType":"insert","entity":"payment","entityId":"1013","eventName":"payment.add","extraData":{"entity":{"id":1013,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:43:12-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-08 18:43:13.883486] [info] PaymentIntent creado: pi_3TK14HEFY1WEUtgR1OXOMHzt +[2026-04-08 18:43:14.017002] [debug] Evento recibido: payment.add +[2026-04-08 18:43:14.017168] [debug] Notification encodificado en JSON:{"uuid":"85d0823c-1696-412b-a202-79e6f90bdb1d","changeType":"insert","entity":"payment","entityId":1013,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2460,"accountCredit":2460,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1013,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:43:12-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}} + +[2026-04-08 18:43:14.017211] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1013 +[2026-04-08 18:43:14.018596] [warning] Microservice metadata fetch failed: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/stripe-metadata/1013 +[2026-04-08 18:43:14.113378] [info] Payment 1013 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-08 18:43:14.115143] [error] Failed to patch User ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1013/user +[2026-04-08 18:43:14.205806] [notice] Logging level set to:debug +[2026-04-08 18:43:14.209165] [debug] Payload recibido: { + "id": "evt_3TK14HEFY1WEUtgR161pUR2l", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673793, + "data": { + "object": { + "id": "pi_3TK14HEFY1WEUtgR1OXOMHzt", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK14HEFY1WEUtgR1OXOMHzt_secret_0qNKFao29UHNbh2foPnQIP8nL", + "confirmation_method": "automatic", + "created": 1775673793, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": { + "display_bank_transfer_instructions": { + "amount_remaining": 12000, + "currency": "mxn", + "financial_addresses": [ + { + "spei": { + "account_holder_address": { + "city": "Ciudad de México", + "country": "MX", + "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez", + "line2": null, + "postal_code": "06600", + "state": "Ciudad de México" + }, + "account_holder_name": "SIIP INTERNET", + "bank_address": { + "city": "Naucalpan", + "country": "MX", + "line1": "Blvd. Manuel Avila Camacho 1902", + "line2": "Planta Baja, Cd. Satelite", + "postal_code": "C.P. 53100", + "state": "Estado de Mexico" + }, + "bank_code": "124", + "bank_name": "CITI MEXICO", + "clabe": "124180127512533812" + }, + "supported_networks": [ + "spei" + ], + "type": "spei" + } + ], + "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSWNJWVh6RTdDcmtmN1FzUkVqN3d5ZTlCTkRvZUZD0100SRwJKWNk", + "reference": "389318", + "type": "mx_bank_transfer" + }, + "type": "display_bank_transfer_instructions" + }, + "on_behalf_of": null, + "payment_method": "pm_1TK14HEFY1WEUtgRpnS98KhI", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_4hqVneWgjmi7Nx", + "idempotency_key": "evt_1TK14FEFY1WEUtgRGhkjkNu0" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-08 18:43:14.213032] [info] No UUID found in the webhook data +[2026-04-08 18:43:14.298907] [notice] Logging level set to:debug +[2026-04-08 18:43:14.302082] [info] Payment 1013 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice. +[2026-04-08 18:43:14.302606] [error] Failed to patch Payment Method ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1013/method +[2026-04-08 18:43:14.304311] [debug] Payload recibido: { + "id": "evt_3TK14HEFY1WEUtgR1jI7n9xW", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673793, + "data": { + "object": { + "id": "pi_3TK14HEFY1WEUtgR1OXOMHzt", + "object": "payment_intent", + "amount": 12000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 0, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic_async", + "client_secret": "pi_3TK14HEFY1WEUtgR1OXOMHzt_secret_0qNKFao29UHNbh2foPnQIP8nL", + "confirmation_method": "automatic", + "created": 1775673793, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "clientId": "146", + "tipoPago": "Transferencia Bancaria" + }, + "next_action": null, + "on_behalf_of": null, + "payment_method": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_4hqVneWgjmi7Nx", + "idempotency_key": "evt_1TK14FEFY1WEUtgRGhkjkNu0" + }, + "type": "payment_intent.created" +} + +[2026-04-08 18:43:14.304474] [info] No UUID found in the webhook data +[2026-04-08 18:43:14.564815] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito' +[2026-04-08 18:43:14.564876] [info] PATCHING Payment 1013: 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://pdf-cropper-service:8000/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-04-08 18:43:15.144248] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775673795.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775673795.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_1775673795.jpg" + }, + "template_values": ["Delfino De los Mares venus", "$120", "$2460 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"b88977ebc5824ff1a178fa47ca3ccbc5","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-04-08 18:43:16.354269] [notice] Logging level set to:debug +[2026-04-08 18:43:16.354469] [debug] Payload recibido: { + "id": "evt_3TK0noEFY1WEUtgR1mYhlS1G", + "object": "event", + "api_version": "2023-10-16", + "created": 1775673796, + "data": { + "object": { + "id": "py_3TK0noEFY1WEUtgR159qmZLa", + "object": "charge", + "amount": 12000, + "amount_captured": 12000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TK0noEFY1WEUtgR1aT2i9g2", + "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": 1775673791, + "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_3TK0noEFY1WEUtgR1ZMblRYf", + "payment_method": "pm_1TK0noEFY1WEUtgRaCDQ0kNK", + "payment_method_details": { + "customer_balance": {}, + "type": "customer_balance" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMPD2s4GMgYirB2_QK06LBavL-RM06ED_WYLAo2noqTq17XXla6m9Vajuy1uU5jX2sBneZACbCV78Ejv", + "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 + }, + "previous_attributes": { + "balance_transaction": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMPD2s4GMgb8BHMQouo6LBai5-OPJi006lTpiLVDqSOpKmEm5N2QKSjuxrgKBNB0qxgipeBQfqr_tm1L" + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "charge.updated" +} + +[2026-04-08 18:43:16.354578] [info] No UUID found in the webhook data +Notificacion data: {"uuid":"85d0823c-1696-412b-a202-79e6f90bdb1d","changeType":"insert","entity":"payment","entityId":1013,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2460,"accountCredit":2460,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1013,"clientId":146,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-04-08T12:43:12-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":1013,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:43:12-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[{"id":"c2040216-d9e4-4fc0-a773-3a82150c564c","paymentId":1013,"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\udfe0 Suspendido","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 08\/04\/2026 12:43","Saldo Actual":"\ud83d\udcb22460 a favor","Monto Ultimo Pago":"\ud83d\udcb2 120","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 08\/04\/2026 12: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\",\"Saldo Actual\": \"\ud83d\udcb22460 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08\/04\/2026 12:43 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"08\/04\/2026 12:43\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2340 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2460 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: '' + +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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 120","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"📆💸 08/04/2026 12:43 con Tarjeta de crédito Stripe 💳","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 08/04/2026 12:43","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2460 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2460 a favor\",\"Monto Ultimo Pago\": \"$ 120\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 08/04/2026 12:43 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"08/04/2026 12:43\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-04-08 18:43:18.797472] [notice] Logging level set to:debug +[2026-04-08 18:43:18.797539] [debug] Payload recibido: {"uuid":"9c0a56e9-2108-49b7-8cd7-fd9f0b5abd70","changeType":"edit","entity":"payment","entityId":"1013","eventName":"payment.edit","extraData":{"entity":{"id":1013,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:43:12-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":1013,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-08T12:43:12-0600","amount":120,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":120,"userId":null,"attributes":[]}}} + +[2026-04-08 18:43:18.994699] [debug] Evento recibido: payment.edit +[2026-04-09 0:22:00.573890] [notice] Logging level set to:debug +[2026-04-09 0:22:00.574424] [debug] Payload recibido: { + "id": "evt_1TK6M8EFY1WEUtgRCQHWSXBd", + "object": "event", + "api_version": "2023-10-16", + "created": 1775694120, + "data": { + "object": { + "object": "balance", + "available": [ + { + "amount": 132586, + "currency": "mxn", + "source_types": { + "card": 132586 + } + } + ], + "connect_reserved": [ + { + "amount": 0, + "currency": "mxn" + } + ], + "livemode": false, + "pending": [ + { + "amount": 30752, + "currency": "mxn", + "source_types": { + "card": 30752 + } + } + ], + "refund_and_dispute_prefunding": { + "available": [ + { + "amount": 0, + "currency": "mxn" + } + ], + "pending": [ + { + "amount": 0, + "currency": "mxn" + } + ] + } + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "balance.available" +} + +[2026-04-09 0:22:00.574460] [info] No UUID found in the webhook data +[2026-04-09 6:25:03.931282] [notice] Logging level set to:debug +[2026-04-09 6:25:03.931365] [debug] Payload recibido: {"uuid":"100c612d-5e3a-4959-9a98-290491bf2229","changeType":"overdue","entity":"invoice","entityId":"3260","eventName":"invoice.overdue","extraData":{"entity":{"id":3260,"clientId":1,"number":"003206","createdDate":"2026-03-25T10:00:01-0600","dueDate":"2026-04-08T10:00:01-0600","emailSentDate":"2026-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3278,"type":"service","label":"PREMIUM 25\/03\/2026 \u2013 24\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2026-04-09 6:25:04.156986] [debug] Evento recibido: invoice.overdue +[2026-04-09 6:25:04.157125] [debug] Factura vencida + +[2026-04-09 6:25:04.157187] [debug] datos del notification para el invoice overdue:{"uuid":"100c612d-5e3a-4959-9a98-290491bf2229","changeType":"overdue","entity":"invoice","entityId":3260,"message":null,"clientId":1,"eventName":"invoice.overdue","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"El jefe","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3260,"clientId":1,"number":"003206","createdDate":"2026-03-25T10:00:01-0600","dueDate":"2026-04-08T10:00:01-0600","emailSentDate":"2026-04-09T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3278,"type":"service","label":"PREMIUM 25\/03\/2026 \u2013 24\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null} + +[2026-04-09 16:00:04.989228] [notice] Logging level set to:debug +[2026-04-09 16:00:04.989309] [debug] Payload recibido: {"uuid":"1f90a11f-0950-4f98-a864-f2ec8b898f47","changeType":"draft_approved","entity":"invoice","entityId":"3359","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3359,"clientId":118,"number":"003305","createdDate":"2026-04-09T10:00:01-0600","dueDate":"2026-04-23T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-08T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3377,"type":"service","label":"plan300 09\/03\/2026 \u2013 08\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}} + +[2026-04-09 16:00:05.242163] [debug] Evento recibido: invoice.draft_approved +[2026-04-09 16:00:05.242284] [debug] Aprobación de Factura + +[2026-04-10 21:09:29.887507] [notice] Logging level set to:debug +[2026-04-10 21:09:29.887622] [debug] Payload recibido: { + "id": "evt_3TKmIvEFY1WEUtgR0YsxwKeD", + "object": "event", + "api_version": "2023-10-16", + "created": 1775855369, + "data": { + "object": { + "id": "pi_3TKmIvEFY1WEUtgR0Q4eZn1N", + "object": "payment_intent", + "amount": 8000, + "amount_capturable": 0, + "amount_details": { + "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_3TKmIvEFY1WEUtgR0Q4eZn1N_secret_nCe4OWox22bzJcBbgmpKMYnab", + "confirmation_method": "automatic", + "created": 1775855369, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "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": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_IQgjZQOFr20obr", + "idempotency_key": "01908a87-7ee1-4794-b313-d2b3175a0bbc" + }, + "type": "payment_intent.created" +} + +[2026-04-10 21:09:29.887693] [info] No UUID found in the webhook data +[2026-04-10 21:09:31.020673] [error] Error creando orden OXXO: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/orders +[2026-04-10 21:09:31.382071] [notice] Logging level set to:debug +[2026-04-10 21:09:31.382230] [debug] Payload recibido: { + "id": "evt_3TKmIvEFY1WEUtgR07gJmFgS", + "object": "event", + "api_version": "2023-10-16", + "created": 1775855370, + "data": { + "object": { + "id": "pi_3TKmIvEFY1WEUtgR0Q4eZn1N", + "object": "payment_intent", + "amount": 8000, + "amount_capturable": 0, + "amount_details": { + "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_3TKmIvEFY1WEUtgR0Q4eZn1N_secret_nCe4OWox22bzJcBbgmpKMYnab", + "confirmation_method": "automatic", + "created": 1775855369, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "146", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "next_action": { + "oxxo_display_details": { + "expires_after": 1776146399, + "hosted_voucher_url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSlA3RndSZWFGR3lGVkpIVXNkakR3Q3o0aE1vYWZz0100jrc1iczS", + "number": "12345678901234657890123456789012" + }, + "type": "oxxo_display_details" + }, + "on_behalf_of": null, + "payment_method": "pm_1TKmIvEFY1WEUtgRBkAoq6LR", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_EE0wLXKtQmeb4j", + "idempotency_key": "ce037ea4-d3ae-4752-880c-77a1557a76d0" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-10 21:09:31.382308] [info] No UUID found in the webhook data +[2026-04-10 21:12:36.053076] [notice] Logging level set to:debug +[2026-04-10 21:12:36.053266] [debug] Payload recibido: { + "id": "evt_3TKmIvEFY1WEUtgR0wRebEa9", + "object": "event", + "api_version": "2023-10-16", + "created": 1775855555, + "data": { + "object": { + "id": "pi_3TKmIvEFY1WEUtgR0Q4eZn1N", + "object": "payment_intent", + "amount": 8000, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 8000, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic", + "client_secret": "pi_3TKmIvEFY1WEUtgR0Q4eZn1N_secret_nCe4OWox22bzJcBbgmpKMYnab", + "confirmation_method": "automatic", + "created": 1775855369, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TKmIvEFY1WEUtgR0TuIht9u", + "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_1TKmIvEFY1WEUtgRBkAoq6LR", + "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": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "payment_intent.succeeded" +} + +[2026-04-10 21:12:36.053356] [info] No UUID found in the webhook data +[2026-04-10 21:12:36.053399] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-10 21:12:36.196943] [notice] Logging level set to:debug +[2026-04-10 21:12:36.197096] [debug] Payload recibido: { + "id": "evt_3TKmIvEFY1WEUtgR0GPskVoc", + "object": "event", + "api_version": "2023-10-16", + "created": 1775855555, + "data": { + "object": { + "id": "py_3TKmIvEFY1WEUtgR0TuIht9u", + "object": "charge", + "amount": 8000, + "amount_captured": 8000, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TKmIvEFY1WEUtgR0PfAynxp", + "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": 1775855554, + "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_3TKmIvEFY1WEUtgR0Q4eZn1N", + "payment_method": "pm_1TKmIvEFY1WEUtgRBkAoq6LR", + "payment_method_details": { + "oxxo": { + "number": "12345678901234657890123456789012" + }, + "type": "oxxo" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKMPP5c4GMga3Wfh__m06LBY2nXyXzVpMf3ofFz3ElVMPWIh4dOTTLUwPAn6InJXU2YgFnedVI5p2nxAo", + "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-04-10 21:12:36.197181] [info] No UUID found in the webhook data +[2026-04-10 21:12:37.838913] [notice] Logging level set to:debug +[2026-04-10 21:12:37.839076] [debug] Payload recibido: {"uuid":"dc5090e4-f1a7-4931-ac85-e0f68d3b0107","changeType":"insert","entity":"payment","entityId":"1014","eventName":"payment.add","extraData":{"entity":{"id":1014,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-10 21:12:38.089159] [debug] Evento recibido: payment.add +[2026-04-10 21:12:38.089322] [debug] Notification encodificado en JSON:{"uuid":"dc5090e4-f1a7-4931-ac85-e0f68d3b0107","changeType":"insert","entity":"payment","entityId":1014,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2540,"accountCredit":2540,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1014,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[]}} + +[2026-04-10 21:12:38.089353] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1014 +[2026-04-10 21:12:38.096649] [warning] Microservice metadata fetch failed: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/stripe-metadata/1014 +[2026-04-10 21:12:38.244760] [info] Payment 1014 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-10 21:12:38.899988] [error] Failed to patch User ID via microservice: cURL error 56: Recv failure: Connection reset by peer (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1014/user +[2026-04-10 21:12:39.109947] [info] Payment 1014 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to 93814765-66a1-4c7d-a777-05c18fd6aab3 via Microservice. +[2026-04-10 21:12:39.111773] [error] Failed to patch Payment Method ID via microservice: cURL error 7: Failed to connect to 172.16.5.134 port 4100 after 0 ms: Could not connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://172.16.5.134:4100/payments/1014/method +[2026-04-10 21:12:39.305506] [debug] Fallback Method Guessing 'Tarjeta de crédito Stripe' -> 'Tarjeta de Crédito' +[2026-04-10 21:12:39.305553] [info] PATCHING Payment 1014: 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://pdf-cropper-service:8000/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-04-10 21:12:40.184298] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775855560.jpg +Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775855560.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_1775855560.jpg" + }, + "template_values": ["Delfino De los Mares venus", "$80", "$2540 a favor"], + "template_uuid": "57ead79cebd14902921477922403093b", + "optin_contact": true + } +Response del CallBell: {"message":{"uuid":"66c9931a8432467da2a2df7f769c73a4","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":"dc5090e4-f1a7-4931-ac85-e0f68d3b0107","changeType":"insert","entity":"payment","entityId":1014,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2540,"accountCredit":2540,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1014,"clientId":146,"methodId":"93814765-66a1-4c7d-a777-05c18fd6aab3","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[]}} + +Dentro del proceso del patch: + +Datos traidos con payment api: [{"id":1014,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[{"id":"cc5893b1-aa78-46f6-a96e-090b6077cbe2","paymentId":1014,"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\udfe0 Suspendido","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 10\/04\/2026 15:12","Saldo Actual":"\ud83d\udcb22540 a favor","Monto Ultimo Pago":"\ud83d\udcb2 80","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 15:12 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\",\"Saldo Actual\": \"\ud83d\udcb22540 a favor\",\"Monto Ultimo Pago\": \"$ 80\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 15:12 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/04\/2026 15:12\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}} + +DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2460 a favor' + +DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2540 a favor' + +DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido' + +DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: '' + +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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 80","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2026 15:12","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2540 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2540 a favor\",\"Monto Ultimo Pago\": \"$ 80\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10/04/2026 15:12 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/04/2026 15:12\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","Fecha Ultimo Pago":"📆💸 10/04/2026 15:12 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}} + +[2026-04-10 21:12:42.618252] [notice] Logging level set to:debug +[2026-04-10 21:12:42.618319] [debug] Payload recibido: {"uuid":"0a7e344c-7298-4d07-8fc5-5433be99923d","changeType":"edit","entity":"payment","entityId":"1014","eventName":"payment.edit","extraData":{"entity":{"id":1014,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[]},"entityBeforeEdit":{"id":1014,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:12:37-0600","amount":80,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":80,"userId":null,"attributes":[]}}} + +[2026-04-10 21:12:42.917696] [debug] Evento recibido: payment.edit +[2026-04-10 21:25:15.983047] [notice] Logging level set to:debug +[2026-04-10 21:25:15.983351] [debug] Payload recibido: { + "id": "evt_3TKmYBEFY1WEUtgR08rmc4X5", + "object": "event", + "api_version": "2023-10-16", + "created": 1775856315, + "data": { + "object": { + "id": "pi_3TKmYBEFY1WEUtgR0aa8HrcN", + "object": "payment_intent", + "amount": 13500, + "amount_capturable": 0, + "amount_details": { + "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_3TKmYBEFY1WEUtgR0aa8HrcN_secret_bBRo2XwVDdN0BZYIk693EqsKD", + "confirmation_method": "automatic", + "created": 1775856315, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "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": null, + "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": "requires_payment_method", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_MVeXmf0eiV6dHq", + "idempotency_key": "46ff3621-7875-4523-b219-077f4f2872f6" + }, + "type": "payment_intent.created" +} + +[2026-04-10 21:25:15.983494] [info] No UUID found in the webhook data +[2026-04-10 21:25:16.977067] [notice] Logging level set to:debug +[2026-04-10 21:25:16.977134] [debug] Payload recibido: { + "id": "evt_3TKmYBEFY1WEUtgR0g5ljqAj", + "object": "event", + "api_version": "2023-10-16", + "created": 1775856316, + "data": { + "object": { + "id": "pi_3TKmYBEFY1WEUtgR0aa8HrcN", + "object": "payment_intent", + "amount": 13500, + "amount_capturable": 0, + "amount_details": { + "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_3TKmYBEFY1WEUtgR0aa8HrcN_secret_bBRo2XwVDdN0BZYIk693EqsKD", + "confirmation_method": "automatic", + "created": 1775856315, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": null, + "livemode": false, + "metadata": { + "signedInAdminId": "1180", + "createdBy": "UCRM", + "ucrm_client_id": "146", + "clientId": "146", + "paymentType": "card.one_time", + "tipoPago": "OXXO" + }, + "next_action": { + "oxxo_display_details": { + "expires_after": 1776146399, + "hosted_voucher_url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSlBNNThucnpEMzgwSW5YV3BTVUxwZUlqUXdiVDBP0100SRYTZ913", + "number": "12345678901234657890123456789012" + }, + "type": "oxxo_display_details" + }, + "on_behalf_of": null, + "payment_method": "pm_1TKmYBEFY1WEUtgR7kusRL1X", + "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": "requires_action", + "transfer_data": null, + "transfer_group": null + } + }, + "livemode": false, + "pending_webhooks": 2, + "request": { + "id": "req_dYyvyNgEtKcu5X", + "idempotency_key": "7f80d31a-c714-4e86-b931-cfe34b5afccb" + }, + "type": "payment_intent.requires_action" +} + +[2026-04-10 21:25:16.977194] [info] No UUID found in the webhook data +[2026-04-10 21:28:21.062872] [notice] Logging level set to:debug +[2026-04-10 21:28:21.063071] [debug] Payload recibido: { + "id": "evt_3TKmYBEFY1WEUtgR0E3Rbkzo", + "object": "event", + "api_version": "2023-10-16", + "created": 1775856500, + "data": { + "object": { + "id": "pi_3TKmYBEFY1WEUtgR0aa8HrcN", + "object": "payment_intent", + "amount": 13500, + "amount_capturable": 0, + "amount_details": { + "tip": {} + }, + "amount_received": 13500, + "application": null, + "application_fee_amount": null, + "automatic_payment_methods": null, + "canceled_at": null, + "cancellation_reason": null, + "capture_method": "automatic", + "client_secret": "pi_3TKmYBEFY1WEUtgR0aa8HrcN_secret_bBRo2XwVDdN0BZYIk693EqsKD", + "confirmation_method": "automatic", + "created": 1775856315, + "currency": "mxn", + "customer": "cus_QZ7T1h3th3Dr7w", + "customer_account": null, + "description": null, + "excluded_payment_method_types": null, + "invoice": null, + "last_payment_error": null, + "latest_charge": "py_3TKmYBEFY1WEUtgR00vlRLtE", + "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_1TKmYBEFY1WEUtgR7kusRL1X", + "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": 2, + "request": { + "id": null, + "idempotency_key": null + }, + "type": "payment_intent.succeeded" +} + +[2026-04-10 21:28:21.063149] [info] No UUID found in the webhook data +[2026-04-10 21:28:21.063191] [info] Evento de pago exitoso (Stripe PI) recibido. +[2026-04-10 21:28:21.228530] [notice] Logging level set to:debug +[2026-04-10 21:28:21.228615] [debug] Payload recibido: { + "id": "evt_3TKmYBEFY1WEUtgR0LhegzKt", + "object": "event", + "api_version": "2023-10-16", + "created": 1775856500, + "data": { + "object": { + "id": "py_3TKmYBEFY1WEUtgR00vlRLtE", + "object": "charge", + "amount": 13500, + "amount_captured": 13500, + "amount_refunded": 0, + "application": null, + "application_fee": null, + "application_fee_amount": null, + "balance_transaction": "txn_3TKmYBEFY1WEUtgR0c4aITUx", + "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": 1775856499, + "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_3TKmYBEFY1WEUtgR0aa8HrcN", + "payment_method": "pm_1TKmYBEFY1WEUtgR7kusRL1X", + "payment_method_details": { + "oxxo": { + "number": "12345678901234657890123456789012" + }, + "type": "oxxo" + }, + "radar_options": {}, + "receipt_email": null, + "receipt_number": null, + "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPTW5c4GMgauk0ODqwU6LBaf5P5tEyLoQc6nN9Q9CYBUdApVymhBk4QYnr9nAzeqj2rxDnOBKCWv7E9X", + "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-04-10 21:28:21.228667] [info] No UUID found in the webhook data +[2026-04-10 21:28:22.237797] [notice] Logging level set to:debug +[2026-04-10 21:28:22.239114] [debug] Payload recibido: {"uuid":"18d86902-f4f6-4efe-a1ba-f4bcb20f526e","changeType":"insert","entity":"payment","entityId":"1015","eventName":"payment.add","extraData":{"entity":{"id":1015,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":null,"attributes":[]},"entityBeforeEdit":null}} + +[2026-04-10 21:28:22.479178] [debug] Evento recibido: payment.add +[2026-04-10 21:28:22.479324] [debug] Notification encodificado en JSON:{"uuid":"18d86902-f4f6-4efe-a1ba-f4bcb20f526e","changeType":"insert","entity":"payment","entityId":1015,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2675,"accountCredit":2675,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1015,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":null,"attributes":[]}} + +[2026-04-10 21:28:22.479368] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1015 +[2026-04-10 21:28:22.530340] [info] Microservice found metadata: tipoPago = 'OXXO' +[2026-04-10 21:28:22.632366] [info] Payment 1015 has no User ID. Assigning Stripe User ID: 1180 +[2026-04-10 21:28:22.742150] [info] Payment 1015 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice. +[2026-04-10 21:28:22.749124] [error] Failed to patch Payment Method ID via microservice: Client error: `PATCH http://172.16.5.134:4100/payments/1015/method` resulted in a `404 Not Found` response: + + +
+ +Cannot PATCH /pa (truncated...)
+
+[2026-04-10 21:28:22.843008] [info] PATCHING Payment 1015: Setting tipoPagoStripe = 'OXXO Pay'
+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://pdf-cropper-service:8000/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-04-10 21:28:23.530307] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775856503.jpg
+Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775856503.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_1775856503.jpg"
+ },
+ "template_values": ["Delfino De los Mares venus", "$135", "$2675 a favor"],
+ "template_uuid": "57ead79cebd14902921477922403093b",
+ "optin_contact": true
+ }
+Response del CallBell: {"message":{"uuid":"bdfcd1c9e6954e91835973fe174c3dcc","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":"18d86902-f4f6-4efe-a1ba-f4bcb20f526e","changeType":"insert","entity":"payment","entityId":1015,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2675,"accountCredit":2675,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1015,"clientId":146,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":null,"attributes":[]}}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":1015,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":1180,"attributes":[{"id":"4f5b59ed-a488-44c5-8cf7-75fbb6d430c3","paymentId":1015,"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
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","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 10\/04\/2026 15:28","Saldo Actual":"\ud83d\udcb22675 a favor","Monto Ultimo Pago":"\ud83d\udcb2 135","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 15: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\",\"Saldo Actual\": \"\ud83d\udcb22675 a favor\",\"Monto Ultimo Pago\": \"$ 135\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 15:28 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/04\/2026 15:28\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2540 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2675 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: ''
+
+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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"146","Monto Ultimo Pago":"💲 135","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/146","Clabe Interbancaria":"002180695453333629","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2026 15:28","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto","Site":"0LOCS","Saldo Actual":"💲2675 a favor","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2675 a favor\",\"Monto Ultimo Pago\": \"$ 135\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10/04/2026 15:28 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/04/2026 15:28\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","Fecha Ultimo Pago":"📆💸 10/04/2026 15:28 con Tarjeta de crédito Stripe 💳"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-10 21:28:25.767812] [notice] Logging level set to:debug
+[2026-04-10 21:28:25.767973] [debug] Payload recibido: {"uuid":"4f92fa4c-e74f-4510-9323-2bc719c2b0fc","changeType":"edit","entity":"payment","entityId":"1015","eventName":"payment.edit","extraData":{"entity":{"id":1015,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":1015,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T15:28:21-0600","amount":135,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":135,"userId":null,"attributes":[]}}}
+
+[2026-04-10 21:28:26.013143] [debug] Evento recibido: payment.edit
+[2026-04-10 23:48:12.530710] [notice] Logging level set to:debug
+[2026-04-10 23:48:12.530806] [debug] Payload recibido: {
+ "id": "evt_3TKomVEFY1WEUtgR0mYdwnah",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775864891,
+ "data": {
+ "object": {
+ "id": "pi_3TKomVEFY1WEUtgR0Wwnf6Fw",
+ "object": "payment_intent",
+ "amount": 10000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "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_3TKomVEFY1WEUtgR0Wwnf6Fw_secret_Nz58enBW9W8FvKLMFXlQa2S3O",
+ "confirmation_method": "automatic",
+ "created": 1775864891,
+ "currency": "mxn",
+ "customer": "cus_PetN1dhr4rx0kX",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "livemode": false,
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "ucrm_client_id": "2",
+ "clientId": "2",
+ "paymentType": "card.one_time",
+ "tipoPago": "OXXO"
+ },
+ "next_action": null,
+ "on_behalf_of": null,
+ "payment_method": null,
+ "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": "requires_payment_method",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_9lMm5SZuskNBXL",
+ "idempotency_key": "c6164b5f-ad93-4008-babc-debe85f682bb"
+ },
+ "type": "payment_intent.created"
+}
+
+[2026-04-10 23:48:12.530844] [info] No UUID found in the webhook data
+[2026-04-10 23:48:13.304877] [notice] Logging level set to:debug
+[2026-04-10 23:48:13.305059] [debug] Payload recibido: {
+ "id": "evt_3TKomVEFY1WEUtgR0B2eIeFZ",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775864892,
+ "data": {
+ "object": {
+ "id": "pi_3TKomVEFY1WEUtgR0Wwnf6Fw",
+ "object": "payment_intent",
+ "amount": 10000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "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_3TKomVEFY1WEUtgR0Wwnf6Fw_secret_Nz58enBW9W8FvKLMFXlQa2S3O",
+ "confirmation_method": "automatic",
+ "created": 1775864891,
+ "currency": "mxn",
+ "customer": "cus_PetN1dhr4rx0kX",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "livemode": false,
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "ucrm_client_id": "2",
+ "clientId": "2",
+ "paymentType": "card.one_time",
+ "tipoPago": "OXXO"
+ },
+ "next_action": {
+ "oxxo_display_details": {
+ "expires_after": 1776146399,
+ "hosted_voucher_url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSlJmaWhPUDFsYlptQ0NYd0xpM2xZT1dSdGkyV2h50100SOPLUs2r",
+ "number": "12345678901234657890123456789012"
+ },
+ "type": "oxxo_display_details"
+ },
+ "on_behalf_of": null,
+ "payment_method": "pm_1TKomWEFY1WEUtgRTrdPwe0Y",
+ "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": "requires_action",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_3uX2CSQvGdFNmR",
+ "idempotency_key": "8bc29bb8-1ede-47aa-8539-0f7098f22eff"
+ },
+ "type": "payment_intent.requires_action"
+}
+
+[2026-04-10 23:48:13.305200] [info] No UUID found in the webhook data
+[2026-04-10 23:51:14.442528] [notice] Logging level set to:debug
+[2026-04-10 23:51:14.442811] [debug] Payload recibido: {
+ "id": "evt_3TKomVEFY1WEUtgR004uICdK",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865074,
+ "data": {
+ "object": {
+ "id": "py_3TKomVEFY1WEUtgR0RQFQ3W5",
+ "object": "charge",
+ "amount": 10000,
+ "amount_captured": 10000,
+ "amount_refunded": 0,
+ "application": null,
+ "application_fee": null,
+ "application_fee_amount": null,
+ "balance_transaction": "txn_3TKomVEFY1WEUtgR0ivuQCAq",
+ "billing_details": {
+ "address": {
+ "city": null,
+ "country": null,
+ "line1": null,
+ "line2": null,
+ "postal_code": null,
+ "state": null
+ },
+ "email": "ciber.dhsv@gmail.com",
+ "name": "Daniel Humberto Soto Villegas",
+ "phone": null,
+ "tax_id": null
+ },
+ "calculated_statement_descriptor": null,
+ "captured": true,
+ "created": 1775865073,
+ "currency": "mxn",
+ "customer": "cus_PetN1dhr4rx0kX",
+ "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": "2",
+ "clientId": "2",
+ "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_3TKomVEFY1WEUtgR0Wwnf6Fw",
+ "payment_method": "pm_1TKomWEFY1WEUtgRTrdPwe0Y",
+ "payment_method_details": {
+ "oxxo": {
+ "number": "12345678901234657890123456789012"
+ },
+ "type": "oxxo"
+ },
+ "radar_options": {},
+ "receipt_email": null,
+ "receipt_number": null,
+ "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKPKZ5s4GMgaH9XE2bNI6LBbIe4qe55JXQfiJZo5GGUcoT0yUCkr8kZVH6lGciuckqT8T1fy_fxWKT_U8",
+ "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-04-10 23:51:14.443001] [info] No UUID found in the webhook data
+[2026-04-10 23:51:15.318357] [notice] Logging level set to:debug
+[2026-04-10 23:51:15.322344] [debug] Payload recibido: {
+ "id": "evt_3TKomVEFY1WEUtgR0MGDN6H3",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865073,
+ "data": {
+ "object": {
+ "id": "pi_3TKomVEFY1WEUtgR0Wwnf6Fw",
+ "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",
+ "client_secret": "pi_3TKomVEFY1WEUtgR0Wwnf6Fw_secret_Nz58enBW9W8FvKLMFXlQa2S3O",
+ "confirmation_method": "automatic",
+ "created": 1775864891,
+ "currency": "mxn",
+ "customer": "cus_PetN1dhr4rx0kX",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": "py_3TKomVEFY1WEUtgR0RQFQ3W5",
+ "livemode": false,
+ "managed_payments": {
+ "enabled": false
+ },
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "ucrm_client_id": "2",
+ "clientId": "2",
+ "paymentType": "card.one_time",
+ "tipoPago": "OXXO"
+ },
+ "next_action": null,
+ "on_behalf_of": null,
+ "payment_method": "pm_1TKomWEFY1WEUtgRTrdPwe0Y",
+ "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": 2,
+ "request": {
+ "id": null,
+ "idempotency_key": null
+ },
+ "type": "payment_intent.succeeded"
+}
+
+[2026-04-10 23:51:15.322432] [info] No UUID found in the webhook data
+[2026-04-10 23:51:15.322570] [info] Evento de pago exitoso (Stripe PI) recibido.
+[2026-04-10 23:51:15.658027] [notice] Logging level set to:debug
+[2026-04-10 23:51:15.658097] [debug] Payload recibido: {"uuid":"0849f0bf-7258-4fbe-aa0e-d2d2e846e460","changeType":"insert","entity":"payment","entityId":"1016","eventName":"payment.add","extraData":{"entity":{"id":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
+
+[2026-04-10 23:51:15.857976] [debug] Evento recibido: payment.add
+[2026-04-10 23:51:15.858125] [debug] Notification encodificado en JSON:{"uuid":"0849f0bf-7258-4fbe-aa0e-d2d2e846e460","changeType":"insert","entity":"payment","entityId":1016,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":1010,"accountCredit":1010,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}
+
+[2026-04-10 23:51:15.858153] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1016
+[2026-04-10 23:51:15.888513] [info] Microservice found metadata: tipoPago = 'OXXO'
+[2026-04-10 23:51:15.994350] [info] Payment 1016 has no User ID. Assigning Stripe User ID: 1180
+[2026-04-10 23:51:16.160429] [info] Payment 1016 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
+[2026-04-10 23:51:16.164870] [error] Failed to patch Payment Method ID via microservice: Client error: `PATCH http://172.16.5.134:4100/payments/1016/method` resulted in a `404 Not Found` response:
+
+
+
+
+Error
+
+
+Cannot PATCH /pa (truncated...)
+
+[2026-04-10 23:51:16.242773] [info] PATCHING Payment 1016: Setting tipoPagoStripe = 'OXXO Pay'
+Eviando comprobante de pago al cliente: 2 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_Daniel_Humberto_Soto_Villegas.pdf
+
+El archivo PDF es válido y tiene contenido: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.pdf
+
+Procesando PDF con microservicio: http://pdf-cropper-service:8000/process
+
+Imagen generada por microservicio guardada en: /data/ucrm/data/plugins/siip-whatsapp-notifications/src/Facade/../../comprobantes/Comprobante_Daniel_Humberto_Soto_Villegas.jpg
+
+[2026-04-10 23:51:16.989983] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1775865076.jpg
+Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Daniel_Humberto_Soto_Villegas_1775865076.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_Daniel_Humberto_Soto_Villegas_1775865076.jpg"
+ },
+ "template_values": ["Daniel Humberto Soto Villegas", "$100", "$1010 a favor"],
+ "template_uuid": "57ead79cebd14902921477922403093b",
+ "optin_contact": true
+ }
+Response del CallBell: {"message":{"uuid":"86f60a2b93cb485692e6d2a7a9bb40b9","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":"0849f0bf-7258-4fbe-aa0e-d2d2e846e460","changeType":"insert","entity":"payment","entityId":1016,"message":null,"clientId":2,"eventName":"payment.add","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":1010,"accountCredit":1010,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1016,"clientId":2,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-04-10T17:51:14-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":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"ca154820-c6b6-48da-9517-e718e96e45ad","paymentId":1016,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
+
+Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Site":"VENUS","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","Cliente":2,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 10\/04\/2026 17:51","Saldo Actual":"\ud83d\udcb21010 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"Saldo Actual\": \"\ud83d\udcb21010 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/04\/2026 17:51\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2675 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲1010 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Delfino De los Mares venus', UCRM: 'Daniel Humberto Soto Villegas'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 100","Nombre":"👤 Daniel Humberto Soto Villegas","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Clabe Interbancaria":"0021804341999569810","user name":"Daniel Humberto","Site":"VENUS","Estado":"🟢 Activo ","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"Saldo Actual\": \"💲1010 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2026 17:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/04/2026 17:51\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","Fecha Ultimo Pago":"📆💸 10/04/2026 17:51 con Tarjeta de crédito Stripe 💳","Cliente":"2","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲1010 a favor","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2026 17:51","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-10 23:51:19.932970] [notice] Logging level set to:debug
+[2026-04-10 23:51:19.933034] [debug] Payload recibido: {"uuid":"df02173f-d940-4ffa-afcd-25fa171d6125","changeType":"edit","entity":"payment","entityId":"1016","eventName":"payment.edit","extraData":{"entity":{"id":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[]}}}
+
+[2026-04-10 23:51:20.135071] [debug] Evento recibido: payment.edit
+[2026-04-10 23:52:15.508136] [notice] Logging level set to:debug
+[2026-04-10 23:52:15.508297] [debug] Payload recibido: {
+ "id": "evt_3TKoqREFY1WEUtgR0KYHpA7f",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865135,
+ "data": {
+ "object": {
+ "id": "pi_3TKoqREFY1WEUtgR0rr4tMa1",
+ "object": "payment_intent",
+ "amount": 5000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "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_3TKoqREFY1WEUtgR0rr4tMa1_secret_C3Hx43h6jUsrfYXxvkHjKo1rn",
+ "confirmation_method": "automatic",
+ "created": 1775865135,
+ "currency": "mxn",
+ "customer": "cus_QZ7T1h3th3Dr7w",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "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": null,
+ "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": "requires_payment_method",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_5DpHa15EMWgN11",
+ "idempotency_key": "c24e3a1c-92fa-4cf5-a3dd-2eb9d99f6233"
+ },
+ "type": "payment_intent.created"
+}
+
+[2026-04-10 23:52:15.508387] [info] No UUID found in the webhook data
+[2026-04-10 23:52:16.477072] [notice] Logging level set to:debug
+[2026-04-10 23:52:16.477219] [debug] Payload recibido: {
+ "id": "evt_3TKoqREFY1WEUtgR03X4AiNt",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865136,
+ "data": {
+ "object": {
+ "id": "pi_3TKoqREFY1WEUtgR0rr4tMa1",
+ "object": "payment_intent",
+ "amount": 5000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "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_3TKoqREFY1WEUtgR0rr4tMa1_secret_C3Hx43h6jUsrfYXxvkHjKo1rn",
+ "confirmation_method": "automatic",
+ "created": 1775865135,
+ "currency": "mxn",
+ "customer": "cus_QZ7T1h3th3Dr7w",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "livemode": false,
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "ucrm_client_id": "146",
+ "clientId": "146",
+ "paymentType": "card.one_time",
+ "tipoPago": "OXXO"
+ },
+ "next_action": {
+ "oxxo_display_details": {
+ "expires_after": 1776146399,
+ "hosted_voucher_url": "https://payments.stripe.com/oxxo/voucher/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VSlJqV1hRamh2d2NveTNlT3dndG9VcEVVN1RiODFX0100QH0tfMvS",
+ "number": "12345678901234657890123456789012"
+ },
+ "type": "oxxo_display_details"
+ },
+ "on_behalf_of": null,
+ "payment_method": "pm_1TKoqREFY1WEUtgR5rJe0gJz",
+ "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": "requires_action",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_N9Wk1gOwWPTTuR",
+ "idempotency_key": "803fc604-7f1c-458b-9cc2-519d94e32319"
+ },
+ "type": "payment_intent.requires_action"
+}
+
+[2026-04-10 23:52:16.477319] [info] No UUID found in the webhook data
+[2026-04-10 23:55:22.695550] [notice] Logging level set to:debug
+[2026-04-10 23:55:22.695730] [debug] Payload recibido: {
+ "id": "evt_3TKoqREFY1WEUtgR09iNEsUb",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865322,
+ "data": {
+ "object": {
+ "id": "pi_3TKoqREFY1WEUtgR0rr4tMa1",
+ "object": "payment_intent",
+ "amount": 5000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "tip": {}
+ },
+ "amount_received": 5000,
+ "application": null,
+ "application_fee_amount": null,
+ "automatic_payment_methods": null,
+ "canceled_at": null,
+ "cancellation_reason": null,
+ "capture_method": "automatic",
+ "client_secret": "pi_3TKoqREFY1WEUtgR0rr4tMa1_secret_C3Hx43h6jUsrfYXxvkHjKo1rn",
+ "confirmation_method": "automatic",
+ "created": 1775865135,
+ "currency": "mxn",
+ "customer": "cus_QZ7T1h3th3Dr7w",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": "py_3TKoqREFY1WEUtgR0zyOUecW",
+ "livemode": false,
+ "managed_payments": {
+ "enabled": 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_1TKoqREFY1WEUtgR5rJe0gJz",
+ "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": 2,
+ "request": {
+ "id": null,
+ "idempotency_key": null
+ },
+ "type": "payment_intent.succeeded"
+}
+
+[2026-04-10 23:55:22.695812] [info] No UUID found in the webhook data
+[2026-04-10 23:55:22.695892] [info] Evento de pago exitoso (Stripe PI) recibido.
+[2026-04-10 23:55:22.877733] [notice] Logging level set to:debug
+[2026-04-10 23:55:22.877815] [debug] Payload recibido: {
+ "id": "evt_3TKoqREFY1WEUtgR0DYW6b2q",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1775865322,
+ "data": {
+ "object": {
+ "id": "py_3TKoqREFY1WEUtgR0zyOUecW",
+ "object": "charge",
+ "amount": 5000,
+ "amount_captured": 5000,
+ "amount_refunded": 0,
+ "application": null,
+ "application_fee": null,
+ "application_fee_amount": null,
+ "balance_transaction": "txn_3TKoqREFY1WEUtgR08KxsZl7",
+ "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": 1775865321,
+ "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_3TKoqREFY1WEUtgR0rr4tMa1",
+ "payment_method": "pm_1TKoqREFY1WEUtgR5rJe0gJz",
+ "payment_method_details": {
+ "oxxo": {
+ "number": "12345678901234657890123456789012"
+ },
+ "type": "oxxo"
+ },
+ "radar_options": {},
+ "receipt_email": null,
+ "receipt_number": null,
+ "receipt_url": "https://pay.stripe.com/receipts/payment/CAcaFwoVYWNjdF8xT2tHMFJFRlkxV0VVdGdSKOqb5s4GMgZDLXCwRvI6LBbDazHSVin41Y3Puu2klhmOL5XOHShJ57OMY_vIeDvYATlKDDM3tuplB6YD",
+ "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-04-10 23:55:22.878161] [info] No UUID found in the webhook data
+[2026-04-10 23:55:24.342000] [notice] Logging level set to:debug
+[2026-04-10 23:55:24.342144] [debug] Payload recibido: {"uuid":"18656b17-bddd-4fef-b6e0-8b369296a536","changeType":"insert","entity":"payment","entityId":"1017","eventName":"payment.add","extraData":{"entity":{"id":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]},"entityBeforeEdit":null}}
+
+[2026-04-10 23:55:24.537611] [debug] Evento recibido: payment.add
+[2026-04-10 23:55:24.537825] [debug] Notification encodificado en JSON:{"uuid":"18656b17-bddd-4fef-b6e0-8b369296a536","changeType":"insert","entity":"payment","entityId":1017,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2725,"accountCredit":2725,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}
+
+[2026-04-10 23:55:24.537894] [info] Verificando existencia de atributo 'tipoPagoStripe' para Payment ID: 1017
+[2026-04-10 23:55:24.572844] [info] Microservice found metadata: tipoPago = 'OXXO'
+[2026-04-10 23:55:24.663088] [info] Payment 1017 has no User ID. Assigning Stripe User ID: 1180
+[2026-04-10 23:55:24.825408] [info] Payment 1017 has wrong Method ID (1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae). Patching to b01c0b35-b42c-48d9-9ad9-ea6591adfbbb via Microservice.
+[2026-04-10 23:55:24.827682] [error] Failed to patch Payment Method ID via microservice: Client error: `PATCH http://172.16.5.134:4100/payments/1017/method` resulted in a `404 Not Found` response:
+
+
+
+
+Error
+
+
+Cannot PATCH /pa (truncated...)
+
+[2026-04-10 23:55:24.913373] [info] PATCHING Payment 1017: Setting tipoPagoStripe = 'OXXO Pay'
+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://pdf-cropper-service:8000/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-04-10 23:55:25.560303] [info] Archivo subido exitosamente a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775865325.jpg
+Imagen subida a MinIO: https://aws-venus.siip.mx/vouchers-oxxo/Comprobante_Delfino_De_los_Mares_venus_1775865325.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_1775865325.jpg"
+ },
+ "template_values": ["Delfino De los Mares venus", "$50", "$2725 a favor"],
+ "template_uuid": "57ead79cebd14902921477922403093b",
+ "optin_contact": true
+ }
+Response del CallBell: {"message":{"uuid":"2860068886ee4ac99bb39c5a768cc627","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":"18656b17-bddd-4fef-b6e0-8b369296a536","changeType":"insert","entity":"payment","entityId":1017,"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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2725,"accountCredit":2725,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":null,"paymentData":{"id":1017,"clientId":146,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":1180,"attributes":[{"id":"62cdfa59-a878-44c5-af55-d9e93aab4f8d","paymentId":1017,"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
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","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 10\/04\/2026 17:55","Saldo Actual":"\ud83d\udcb22725 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:55 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\",\"Saldo Actual\": \"\ud83d\udcb22725 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"10\/04\/2026 17:55\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲1010 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2725 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Daniel Humberto Soto Villegas', UCRM: 'Delfino De los Mares venus'
+
+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-04-06T17:40:03Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","ePA","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 50","Nombre":"👤 Delfino De los Mares venus","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Clabe Interbancaria":"002180695453333629","user name":"Daniel Humberto","Site":"VENUS","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2725 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10/04/2026 17:55 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"10/04/2026 17:55\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","Fecha Ultimo Pago":"📆💸 10/04/2026 17:55 con Tarjeta de crédito Stripe 💳","Cliente":"146","URL":"🌐 https://sistema.siip.mx/crm/client/146","Saldo Actual":"💲2725 a favor","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 10/04/2026 17:55","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-10 23:55:28.091273] [notice] Logging level set to:debug
+[2026-04-10 23:55:28.091419] [debug] Payload recibido: {"uuid":"b0c09c14-4426-4b7d-ae91-985c882305c1","changeType":"edit","entity":"payment","entityId":"1017","eventName":"payment.edit","extraData":{"entity":{"id":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":1180,"attributes":[]},"entityBeforeEdit":{"id":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":null,"attributes":[]}}}
+
+[2026-04-10 23:55:28.289107] [debug] Evento recibido: payment.edit
+[2026-04-11 6:25:04.154418] [notice] Logging level set to:debug
+[2026-04-11 6:25:04.154496] [debug] Payload recibido: {"uuid":"a61f0911-2d19-45d5-a3e8-2a288aeb5405","changeType":"overdue","entity":"invoice","entityId":"3261","eventName":"invoice.overdue","extraData":{"entity":{"id":3261,"clientId":1,"number":"003207","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":"2026-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3279,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-11 6:25:04.389914] [debug] Evento recibido: invoice.overdue
+[2026-04-11 6:25:04.390049] [debug] Factura vencida
+
+[2026-04-11 6:25:04.390108] [debug] datos del notification para el invoice overdue:{"uuid":"a61f0911-2d19-45d5-a3e8-2a288aeb5405","changeType":"overdue","entity":"invoice","entityId":3261,"message":null,"clientId":1,"eventName":"invoice.overdue","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"El jefe","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-8500,"accountCredit":0,"accountOutstanding":8500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3261,"clientId":1,"number":"003207","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":"2026-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3279,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+[2026-04-11 6:25:04.611726] [notice] Logging level set to:debug
+[2026-04-11 6:25:04.611779] [debug] Payload recibido: {"uuid":"4df38814-588e-497d-b7d8-d3b3133946f5","changeType":"overdue","entity":"invoice","entityId":"3262","eventName":"invoice.overdue","extraData":{"entity":{"id":3262,"clientId":3,"number":"003208","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3280,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":3,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Lupita","clientLastName":"Morales","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Oaxaca","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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-04-11 6:25:04.842485] [debug] Evento recibido: invoice.overdue
+[2026-04-11 6:25:04.842592] [debug] Factura vencida
+
+[2026-04-11 6:25:04.842641] [debug] datos del notification para el invoice overdue:{"uuid":"4df38814-588e-497d-b7d8-d3b3133946f5","changeType":"overdue","entity":"invoice","entityId":3262,"message":null,"clientId":3,"eventName":"invoice.overdue","clientData":{"id":3,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Oaxaca","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Oaxaca 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"cliente empleada del siip","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-27T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Lupita","lastName":"Morales","username":"lmorales03","contacts":[{"id":3,"clientId":3,"email":null,"phone":null,"name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":170,"clientId":3,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RfpyPlzb4OBIDe","clientZoneVisible":true},{"id":171,"clientId":3,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180299186033579","clientZoneVisible":true},{"id":244,"clientId":3,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":306,"clientId":3,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"RUTA 1","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.16004,"addressGpsLon":-100.9368203,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3262,"clientId":3,"number":"003208","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3280,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":3,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Lupita","clientLastName":"Morales","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Oaxaca","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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}
+
+contac vacio
+[2026-04-11 6:25:05.068968] [notice] Logging level set to:debug
+[2026-04-11 6:25:05.069020] [debug] Payload recibido: {"uuid":"f7529f70-3fb1-4e6f-84b3-e01fa4bf536c","changeType":"overdue","entity":"invoice","entityId":"3263","eventName":"invoice.overdue","extraData":{"entity":{"id":3263,"clientId":4,"number":"003209","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":"2026-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3281,"type":"service","label":"plan300 27\/02\/2026 \u2013 26\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 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-04-11 6:25:05.295420] [debug] Evento recibido: invoice.overdue
+[2026-04-11 6:25:05.295747] [debug] Factura vencida
+
+[2026-04-11 6:25:05.295802] [debug] datos del notification para el invoice overdue:{"uuid":"f7529f70-3fb1-4e6f-84b3-e01fa4bf536c","changeType":"overdue","entity":"invoice","entityId":3263,"message":null,"clientId":4,"eventName":"invoice.overdue","clientData":{"id":4,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-27T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Griselda","lastName":"Avalos","username":"gavalos04","contacts":[{"id":4,"clientId":4,"email":"chicarosa@gmail.com","phone":"4181156999","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":316,"clientId":4,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Ydny7w8DP-V3ANg3RvPR","clientZoneVisible":false}],"accountBalance":-1200,"accountCredit":0,"accountOutstanding":1200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1542759,"addressGpsLon":-100.9379462,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3263,"clientId":4,"number":"003209","createdDate":"2026-03-27T10:00:02-0600","dueDate":"2026-04-10T10:00:02-0600","emailSentDate":"2026-04-11T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3281,"type":"service","label":"plan300 27\/02\/2026 \u2013 26\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 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-04-13 0:16:33.694317] [notice] Logging level set to:debug
+[2026-04-13 0:16:33.694425] [debug] Payload recibido: {
+ "id": "evt_1TLYB3EFY1WEUtgRaDPVMVu1",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1776039393,
+ "data": {
+ "object": {
+ "object": "balance",
+ "available": [
+ {
+ "amount": 30752,
+ "currency": "mxn",
+ "source_types": {
+ "card": 30752
+ }
+ }
+ ],
+ "connect_reserved": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ],
+ "livemode": false,
+ "pending": [
+ {
+ "amount": 33583,
+ "currency": "mxn",
+ "source_types": {
+ "card": 33583
+ }
+ }
+ ],
+ "refund_and_dispute_prefunding": {
+ "available": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ],
+ "pending": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ]
+ }
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": null,
+ "idempotency_key": null
+ },
+ "type": "balance.available"
+}
+
+[2026-04-13 0:16:33.694480] [info] No UUID found in the webhook data
+[2026-04-13 20:23:03.445575] [notice] Logging level set to:debug
+[2026-04-13 20:23:03.445878] [debug] Payload recibido: {"uuid":"7e5d2182-ec1a-4f1f-aa05-7b3adb79f7eb","changeType":"edit","entity":"client","entityId":"65","eventName":"client.edit","extraData":{"entity":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":266,"clientId":65,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"B8@ccEsUxGPC2NSV","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":266,"clientId":65,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"B8@ccEsUxGPC2NSV","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":17,"name":"PAGO VERO","colorBackground":"#f29400","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
+
+[2026-04-13 20:23:03.589590] [debug] Evento recibido: client.edit
+[2026-04-13 20:23:03.589734] [info] Procesando evento client.edit para entityId: 65
+[2026-04-13 20:23:03.590251] [debug] Payload completo client.edit: {"uuid":"7e5d2182-ec1a-4f1f-aa05-7b3adb79f7eb","changeType":"edit","entity":"client","entityId":"65","eventName":"client.edit","extraData":{"entity":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":266,"clientId":65,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"B8@ccEsUxGPC2NSV","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"entityBeforeEdit":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":266,"clientId":65,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"B8@ccEsUxGPC2NSV","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":17,"name":"PAGO VERO","colorBackground":"#f29400","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false}}}
+[2026-04-13 20:23:03.590301] [info] Llamando a updatePasswordAntenaIfNeeded para cliente: 65
+[2026-04-13 20:23:03.590313] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 65
+[2026-04-15 0:17:42.428884] [notice] Logging level set to:debug
+[2026-04-15 0:17:42.429007] [debug] Payload recibido: {
+ "id": "evt_1TMH9GEFY1WEUtgRRZFUdJGt",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1776212262,
+ "data": {
+ "object": {
+ "object": "balance",
+ "available": [
+ {
+ "amount": 33583,
+ "currency": "mxn",
+ "source_types": {
+ "card": 33583
+ }
+ }
+ ],
+ "connect_reserved": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ],
+ "livemode": false,
+ "pending": [
+ {
+ "amount": 0,
+ "currency": "mxn",
+ "source_types": {
+ "card": 0
+ }
+ }
+ ],
+ "refund_and_dispute_prefunding": {
+ "available": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ],
+ "pending": [
+ {
+ "amount": 0,
+ "currency": "mxn"
+ }
+ ]
+ }
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": null,
+ "idempotency_key": null
+ },
+ "type": "balance.available"
+}
+
+[2026-04-15 0:17:42.429038] [info] No UUID found in the webhook data
+[2026-04-15 6:25:04.272610] [notice] Logging level set to:debug
+[2026-04-15 6:25:04.272687] [debug] Payload recibido: {"uuid":"1c687225-28ac-444d-af7c-f6c6f873051f","changeType":"overdue","entity":"invoice","entityId":"3300","eventName":"invoice.overdue","extraData":{"entity":{"id":3300,"clientId":12,"number":"003246","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3318,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:04.696021] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:04.696142] [debug] Factura vencida
+
+[2026-04-15 6:25:04.696190] [debug] datos del notification para el invoice overdue:{"uuid":"1c687225-28ac-444d-af7c-f6c6f873051f","changeType":"overdue","entity":"invoice","entityId":3300,"message":null,"clientId":12,"eventName":"invoice.overdue","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":247,"clientId":12,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-15333.33,"accountCredit":0,"accountOutstanding":15333.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3300,"clientId":12,"number":"003246","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3318,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":12,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+[2026-04-15 6:25:05.141688] [notice] Logging level set to:debug
+[2026-04-15 6:25:05.141743] [debug] Payload recibido: {"uuid":"f491bd44-e8d7-4c56-a279-9647541a3c4e","changeType":"overdue","entity":"invoice","entityId":"3310","eventName":"invoice.overdue","extraData":{"entity":{"id":3310,"clientId":9,"number":"003256","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3328,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:05.486797] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:05.486902] [debug] Factura vencida
+
+[2026-04-15 6:25:05.486944] [debug] datos del notification para el invoice overdue:{"uuid":"f491bd44-e8d7-4c56-a279-9647541a3c4e","changeType":"overdue","entity":"invoice","entityId":3310,"message":null,"clientId":9,"eventName":"invoice.overdue","clientData":{"id":9,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GALLINERO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GALLINERO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JHOVANY","lastName":"LOPEZ","username":"jlopez09","contacts":[{"id":10,"clientId":9,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":319,"clientId":9,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"EY7CcHQkzp#PK5Xb","clientZoneVisible":false}],"accountBalance":-10500,"accountCredit":0,"accountOutstanding":10500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.179169675936,"addressGpsLon":-100.95965623856,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3310,"clientId":9,"number":"003256","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3328,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:05.734963] [notice] Logging level set to:debug
+[2026-04-15 6:25:05.735016] [debug] Payload recibido: {"uuid":"746b85cb-2c91-4beb-91a8-8e113f40f19b","changeType":"overdue","entity":"invoice","entityId":"3314","eventName":"invoice.overdue","extraData":{"entity":{"id":3314,"clientId":8,"number":"003260","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3332,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:06.169841] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:06.169971] [debug] Factura vencida
+
+[2026-04-15 6:25:06.170018] [debug] datos del notification para el invoice overdue:{"uuid":"746b85cb-2c91-4beb-91a8-8e113f40f19b","changeType":"overdue","entity":"invoice","entityId":3314,"message":null,"clientId":8,"eventName":"invoice.overdue","clientData":{"id":8,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALFREDO","lastName":"GUTIERREZ","username":"agutierrez08","contacts":[{"id":9,"clientId":8,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":245,"clientId":8,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-2500,"accountCredit":0,"accountOutstanding":2500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.21484,"addressGpsLon":-100.8478122,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3314,"clientId":8,"number":"003260","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3332,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+contac vacio
+[2026-04-15 6:25:06.384439] [notice] Logging level set to:debug
+[2026-04-15 6:25:06.384489] [debug] Payload recibido: {"uuid":"a8f8aa8b-a1e0-4a34-83a0-9054ef98f786","changeType":"overdue","entity":"invoice","entityId":"3330","eventName":"invoice.overdue","extraData":{"entity":{"id":3330,"clientId":11,"number":"003276","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3348,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:06.600111] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:06.600217] [debug] Factura vencida
+
+[2026-04-15 6:25:06.600259] [debug] datos del notification para el invoice overdue:{"uuid":"a8f8aa8b-a1e0-4a34-83a0-9054ef98f786","changeType":"overdue","entity":"invoice","entityId":3330,"message":null,"clientId":11,"eventName":"invoice.overdue","clientData":{"id":11,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"KARIME","lastName":"QUINTERO HERNANDEZ","username":"kquintero11","contacts":[{"id":12,"clientId":11,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":320,"clientId":11,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"H7hCu2@mXJz@kwwh","clientZoneVisible":false}],"accountBalance":-6600,"accountCredit":0,"accountOutstanding":6600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.2271959,"addressGpsLon":-101.0269744,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3330,"clientId":11,"number":"003276","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3348,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":11,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"KARIME","clientLastName":"QUINTERO HERNANDEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"TRANCAS","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+[2026-04-15 6:25:06.832571] [notice] Logging level set to:debug
+[2026-04-15 6:25:06.832624] [debug] Payload recibido: {"uuid":"a873a681-990d-45dd-b6fd-83074b7e98e5","changeType":"overdue","entity":"invoice","entityId":"3345","eventName":"invoice.overdue","extraData":{"entity":{"id":3345,"clientId":7,"number":"003291","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3363,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:07.127202] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:07.127320] [debug] Factura vencida
+
+[2026-04-15 6:25:07.127363] [debug] datos del notification para el invoice overdue:{"uuid":"a873a681-990d-45dd-b6fd-83074b7e98e5","changeType":"overdue","entity":"invoice","entityId":3345,"message":null,"clientId":7,"eventName":"invoice.overdue","clientData":{"id":7,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JESUS","lastName":"GONZALEZ","username":"jgonzalez07","contacts":[{"id":8,"clientId":7,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":318,"clientId":7,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"7X69S@Aar@ZYGLZu","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.1191939,"addressGpsLon":-100.8698211,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3345,"clientId":7,"number":"003291","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3363,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:07.352102] [notice] Logging level set to:debug
+[2026-04-15 6:25:07.352159] [debug] Payload recibido: {"uuid":"d230d465-d16b-44eb-ab1b-fc88eb166cd8","changeType":"overdue","entity":"invoice","entityId":"3346","eventName":"invoice.overdue","extraData":{"entity":{"id":3346,"clientId":47,"number":"003292","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3364,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:07.574448] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:07.574559] [debug] Factura vencida
+
+[2026-04-15 6:25:07.574601] [debug] datos del notification para el invoice overdue:{"uuid":"d230d465-d16b-44eb-ab1b-fc88eb166cd8","changeType":"overdue","entity":"invoice","entityId":3346,"message":null,"clientId":47,"eventName":"invoice.overdue","clientData":{"id":47,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ASRAEL","lastName":"PONCE","username":"aponce47","contacts":[{"id":48,"clientId":47,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":347,"clientId":47,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"PJU5cZ282w#Hi4nM","clientZoneVisible":false}],"accountBalance":-7780,"accountCredit":0,"accountOutstanding":7780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef5350","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3346,"clientId":47,"number":"003292","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3364,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:07.778320] [notice] Logging level set to:debug
+[2026-04-15 6:25:07.778588] [debug] Payload recibido: {"uuid":"38c09a12-5b19-4594-a8fa-323bdbf2bb6f","changeType":"overdue","entity":"invoice","entityId":"3347","eventName":"invoice.overdue","extraData":{"entity":{"id":3347,"clientId":14,"number":"003293","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3365,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:07.999098] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:07.999202] [debug] Factura vencida
+
+[2026-04-15 6:25:07.999245] [debug] datos del notification para el invoice overdue:{"uuid":"38c09a12-5b19-4594-a8fa-323bdbf2bb6f","changeType":"overdue","entity":"invoice","entityId":3347,"message":null,"clientId":14,"eventName":"invoice.overdue","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":[{"id":322,"clientId":14,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"2De7edLTJLic85#Z","clientZoneVisible":false}],"accountBalance":-6600,"accountCredit":0,"accountOutstanding":6600,"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":3347,"clientId":14,"number":"003293","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3365,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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}
+
+[2026-04-15 6:25:08.223871] [notice] Logging level set to:debug
+[2026-04-15 6:25:08.223927] [debug] Payload recibido: {"uuid":"d1ed7a3b-ae79-4dda-aaf4-6857efa65cb4","changeType":"overdue","entity":"invoice","entityId":"3354","eventName":"invoice.overdue","extraData":{"entity":{"id":3354,"clientId":19,"number":"003300","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3372,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:08.453165] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:08.453286] [debug] Factura vencida
+
+[2026-04-15 6:25:08.453330] [debug] datos del notification para el invoice overdue:{"uuid":"d1ed7a3b-ae79-4dda-aaf4-6857efa65cb4","changeType":"overdue","entity":"invoice","entityId":3354,"message":null,"clientId":19,"eventName":"invoice.overdue","clientData":{"id":19,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MARIA","lastName":"RODRIGUEZ","username":"mrodriguez19","contacts":[{"id":20,"clientId":19,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":227,"clientId":19,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-14933.33,"accountCredit":0,"accountOutstanding":14933.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff5722","addressGpsLat":21.151597,"addressGpsLon":-100.9367183,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3354,"clientId":19,"number":"003300","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3372,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+contac vacio
+[2026-04-15 6:25:08.653393] [notice] Logging level set to:debug
+[2026-04-15 6:25:08.653439] [debug] Payload recibido: {"uuid":"935fff79-4b37-4363-a331-e727c4c803ad","changeType":"overdue","entity":"invoice","entityId":"3265","eventName":"invoice.overdue","extraData":{"entity":{"id":3265,"clientId":43,"number":"003211","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3283,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:08.865883] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:08.866586] [debug] Factura vencida
+
+[2026-04-15 6:25:08.866657] [debug] datos del notification para el invoice overdue:{"uuid":"935fff79-4b37-4363-a331-e727c4c803ad","changeType":"overdue","entity":"invoice","entityId":3265,"message":null,"clientId":43,"eventName":"invoice.overdue","clientData":{"id":43,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS FLORES","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS FLORES, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"VICTORIO","lastName":"DIAS","username":"vdias43","contacts":[{"id":44,"clientId":43,"email":null,"phone":"4181818706","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":345,"clientId":43,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Nyf2uWazpKkhv@od","clientZoneVisible":false}],"accountBalance":-18223.33,"accountCredit":0,"accountOutstanding":18223.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1511969,"addressGpsLon":-100.9132525,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3265,"clientId":43,"number":"003211","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3283,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:09.086416] [notice] Logging level set to:debug
+[2026-04-15 6:25:09.086473] [debug] Payload recibido: {"uuid":"8d3c094b-0237-41c7-a581-aee5e356be1c","changeType":"overdue","entity":"invoice","entityId":"3266","eventName":"invoice.overdue","extraData":{"entity":{"id":3266,"clientId":79,"number":"003212","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3284,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":78,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"ESPONIZA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LAS YERBAS","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:09.317311] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:09.317420] [debug] Factura vencida
+
+[2026-04-15 6:25:09.317461] [debug] datos del notification para el invoice overdue:{"uuid":"8d3c094b-0237-41c7-a581-aee5e356be1c","changeType":"overdue","entity":"invoice","entityId":3266,"message":null,"clientId":79,"eventName":"invoice.overdue","clientData":{"id":79,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LAS YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LAS YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"ESPONIZA","username":"sesponiza79","contacts":[{"id":80,"clientId":79,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":375,"clientId":79,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Bg9v[%Xe$qCs8LfV","clientZoneVisible":false}],"accountBalance":-9300,"accountCredit":0,"accountOutstanding":9300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#558b2f","addressGpsLat":21.2384788,"addressGpsLon":-100.8430302,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3274,"clientId":99,"number":"003220","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3292,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:13.500509] [notice] Logging level set to:debug
+[2026-04-15 6:25:13.500560] [debug] Payload recibido: {"uuid":"3f53ba0f-ca61-4cbe-a37e-a4d1f537250c","changeType":"overdue","entity":"invoice","entityId":"3275","eventName":"invoice.overdue","extraData":{"entity":{"id":3275,"clientId":65,"number":"003221","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3293,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":64,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"SEBASTIAN","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"LOS MONCADA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:13.748409] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:13.748550] [debug] Factura vencida
+
+[2026-04-15 6:25:13.748594] [debug] datos del notification para el invoice overdue:{"uuid":"3f53ba0f-ca61-4cbe-a37e-a4d1f537250c","changeType":"overdue","entity":"invoice","entityId":3275,"message":null,"clientId":65,"eventName":"invoice.overdue","clientData":{"id":65,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SEBASTIAN","lastName":"MESA","username":"smesa65","contacts":[{"id":66,"clientId":65,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":266,"clientId":65,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"B8@ccEsUxGPC2NSV","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3949ab","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3275,"clientId":65,"number":"003221","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3293,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:13.987205] [notice] Logging level set to:debug
+[2026-04-15 6:25:13.987265] [debug] Payload recibido: {"uuid":"820e22db-6965-48d8-87c4-3660f9cbf927","changeType":"overdue","entity":"invoice","entityId":"3276","eventName":"invoice.overdue","extraData":{"entity":{"id":3276,"clientId":61,"number":"003222","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3294,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:14.317876] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:14.317996] [debug] Factura vencida
+
+[2026-04-15 6:25:14.318042] [debug] datos del notification para el invoice overdue:{"uuid":"820e22db-6965-48d8-87c4-3660f9cbf927","changeType":"overdue","entity":"invoice","entityId":3276,"message":null,"clientId":61,"eventName":"invoice.overdue","clientData":{"id":61,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LOS AGUILAR","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LOS AGUILAR, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LUIS","lastName":"AGULAR","username":"lagular61","contacts":[{"id":62,"clientId":61,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":360,"clientId":61,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Gv>@#f7e@[=Xg+SFJHh5","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00acc1","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3276,"clientId":61,"number":"003222","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3294,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:14.544440] [notice] Logging level set to:debug
+[2026-04-15 6:25:14.544490] [debug] Payload recibido: {"uuid":"e7759aa1-bb84-4cf0-be52-f638867518af","changeType":"overdue","entity":"invoice","entityId":"3277","eventName":"invoice.overdue","extraData":{"entity":{"id":3277,"clientId":72,"number":"003223","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3295,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:14.778107] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:14.778219] [debug] Factura vencida
+
+[2026-04-15 6:25:14.778263] [debug] datos del notification para el invoice overdue:{"uuid":"e7759aa1-bb84-4cf0-be52-f638867518af","changeType":"overdue","entity":"invoice","entityId":3277,"message":null,"clientId":72,"eventName":"invoice.overdue","clientData":{"id":72,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MONTELONGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MONTELONGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"BRANDOM","lastName":"EZQUIVEL","username":"bezquivel72","contacts":[{"id":73,"clientId":72,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":370,"clientId":72,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"62R?mkLgA+5>tp(yG;n9","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.2384788,"addressGpsLon":-100.8430302,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3277,"clientId":72,"number":"003223","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3295,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:15.003418] [notice] Logging level set to:debug
+[2026-04-15 6:25:15.003479] [debug] Payload recibido: {"uuid":"1a65141d-6f6c-431f-af6e-c0fb41686bc8","changeType":"overdue","entity":"invoice","entityId":"3278","eventName":"invoice.overdue","extraData":{"entity":{"id":3278,"clientId":27,"number":"003224","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3296,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:15.286185] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:15.286303] [debug] Factura vencida
+
+[2026-04-15 6:25:15.286359] [debug] datos del notification para el invoice overdue:{"uuid":"1a65141d-6f6c-431f-af6e-c0fb41686bc8","changeType":"overdue","entity":"invoice","entityId":3278,"message":null,"clientId":27,"eventName":"invoice.overdue","clientData":{"id":27,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA RITA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA RITA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXIS","lastName":"DIAZ","username":"adiaz27","contacts":[{"id":28,"clientId":27,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":332,"clientId":27,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"MdSP@vfqaXKFQ7##","clientZoneVisible":false}],"accountBalance":-7810,"accountCredit":0,"accountOutstanding":7810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ad1457","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3278,"clientId":27,"number":"003224","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3296,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:15.493525] [notice] Logging level set to:debug
+[2026-04-15 6:25:15.493572] [debug] Payload recibido: {"uuid":"1672bda6-51df-4add-ae39-0591538ea806","changeType":"overdue","entity":"invoice","entityId":"3279","eventName":"invoice.overdue","extraData":{"entity":{"id":3279,"clientId":54,"number":"003225","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3297,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:15.742925] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:15.744725] [debug] Factura vencida
+
+[2026-04-15 6:25:15.744786] [debug] datos del notification para el invoice overdue:{"uuid":"1672bda6-51df-4add-ae39-0591538ea806","changeType":"overdue","entity":"invoice","entityId":3279,"message":null,"clientId":54,"eventName":"invoice.overdue","clientData":{"id":54,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"COLORADO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"COLORADO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORETO","lastName":"HERRERA","username":"lherrera54","contacts":[{"id":55,"clientId":54,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":353,"clientId":54,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"jQx;fJoeN4JA,3YR4GpN","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1608267,"addressGpsLon":-100.7982422,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3279,"clientId":54,"number":"003225","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3297,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:15.980698] [notice] Logging level set to:debug
+[2026-04-15 6:25:15.980762] [debug] Payload recibido: {"uuid":"fa2b8c1e-5336-44dc-a89e-fa7f2fd9caf2","changeType":"overdue","entity":"invoice","entityId":"3280","eventName":"invoice.overdue","extraData":{"entity":{"id":3280,"clientId":40,"number":"003226","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3298,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:16.257678] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:16.257812] [debug] Factura vencida
+
+[2026-04-15 6:25:16.257858] [debug] datos del notification para el invoice overdue:{"uuid":"fa2b8c1e-5336-44dc-a89e-fa7f2fd9caf2","changeType":"overdue","entity":"invoice","entityId":3280,"message":null,"clientId":40,"eventName":"invoice.overdue","clientData":{"id":40,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"RANCHO GUADALUPE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"RANCHO GUADALUPE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"PADRON","username":"opadron40","contacts":[{"id":41,"clientId":40,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":228,"clientId":40,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-7810,"accountCredit":0,"accountOutstanding":7810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fdd835","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3280,"clientId":40,"number":"003226","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3298,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+contac vacio
+[2026-04-15 6:25:16.470375] [notice] Logging level set to:debug
+[2026-04-15 6:25:16.470421] [debug] Payload recibido: {"uuid":"67bad077-cbca-4007-a595-71fefca8bc3c","changeType":"overdue","entity":"invoice","entityId":"3281","eventName":"invoice.overdue","extraData":{"entity":{"id":3281,"clientId":91,"number":"003227","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3299,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:16.678173] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:16.678373] [debug] Factura vencida
+
+[2026-04-15 6:25:16.678467] [debug] datos del notification para el invoice overdue:{"uuid":"67bad077-cbca-4007-a595-71fefca8bc3c","changeType":"overdue","entity":"invoice","entityId":3281,"message":null,"clientId":91,"eventName":"invoice.overdue","clientData":{"id":91,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CAROLINA","lastName":"PE\u00d1A","username":"cpe\u00d1a91","contacts":[{"id":92,"clientId":91,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":385,"clientId":91,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"W:vu9X]f2[HKjcJ&Rvg4","clientZoneVisible":false}],"accountBalance":-11000,"accountCredit":0,"accountOutstanding":11000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.2935854,"addressGpsLon":-100.8211626,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3281,"clientId":91,"number":"003227","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3299,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:16.896537] [notice] Logging level set to:debug
+[2026-04-15 6:25:16.896589] [debug] Payload recibido: {"uuid":"d44ee158-aaba-4529-9c67-a72813ccc98e","changeType":"overdue","entity":"invoice","entityId":"3282","eventName":"invoice.overdue","extraData":{"entity":{"id":3282,"clientId":24,"number":"003228","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3300,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:17.110615] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:17.110754] [debug] Factura vencida
+
+[2026-04-15 6:25:17.110816] [debug] datos del notification para el invoice overdue:{"uuid":"d44ee158-aaba-4529-9c67-a72813ccc98e","changeType":"overdue","entity":"invoice","entityId":3282,"message":null,"clientId":24,"eventName":"invoice.overdue","clientData":{"id":24,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTO NI\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTO NI\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JACIEL","lastName":"CERVANTES","username":"jcervantes24","contacts":[{"id":25,"clientId":24,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":329,"clientId":24,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"XX#aj3KqkxDaQ8wx","clientZoneVisible":false}],"accountBalance":-8080,"accountCredit":0,"accountOutstanding":8080,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3282,"clientId":24,"number":"003228","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3300,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:17.325617] [notice] Logging level set to:debug
+[2026-04-15 6:25:17.325666] [debug] Payload recibido: {"uuid":"8296cf60-6072-4d36-9529-df7c99a9dbb2","changeType":"overdue","entity":"invoice","entityId":"3283","eventName":"invoice.overdue","extraData":{"entity":{"id":3283,"clientId":58,"number":"003229","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3301,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:17.547022] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:17.547138] [debug] Factura vencida
+
+[2026-04-15 6:25:17.547185] [debug] datos del notification para el invoice overdue:{"uuid":"8296cf60-6072-4d36-9529-df7c99a9dbb2","changeType":"overdue","entity":"invoice","entityId":3283,"message":null,"clientId":58,"eventName":"invoice.overdue","clientData":{"id":58,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL MOLINO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL MOLINO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDGAR","lastName":"DOMINGUEZ","username":"edominguez58","contacts":[{"id":59,"clientId":58,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":357,"clientId":58,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"_>43asT(#Sv=[&E){h{T","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1326682,"addressGpsLon":-101.0194414,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3283,"clientId":58,"number":"003229","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3301,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:17.751446] [notice] Logging level set to:debug
+[2026-04-15 6:25:17.751490] [debug] Payload recibido: {"uuid":"18cbe5b0-fae4-47e1-93a9-fe3554c45493","changeType":"overdue","entity":"invoice","entityId":"3284","eventName":"invoice.overdue","extraData":{"entity":{"id":3284,"clientId":52,"number":"003230","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3302,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:17.957760] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:17.957869] [debug] Factura vencida
+
+[2026-04-15 6:25:17.957912] [debug] datos del notification para el invoice overdue:{"uuid":"18cbe5b0-fae4-47e1-93a9-fe3554c45493","changeType":"overdue","entity":"invoice","entityId":3284,"message":null,"clientId":52,"eventName":"invoice.overdue","clientData":{"id":52,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL CARMEN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":null,"fullAddress":"EL CARMEN, Dolores Hidalgo Cuna de la Independencia Nacional","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"RODRIGO","lastName":"PE\u00d1A","username":"rpe\u00d1a52","contacts":[{"id":53,"clientId":52,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":351,"clientId":52,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"K8VR#tJkCmJhAgX7","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.1534937,"addressGpsLon":-100.9123301,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3284,"clientId":52,"number":"003230","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3302,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:18.170545] [notice] Logging level set to:debug
+[2026-04-15 6:25:18.170610] [debug] Payload recibido: {"uuid":"1e577b49-263b-4b62-8406-208388b43a40","changeType":"overdue","entity":"invoice","entityId":"3285","eventName":"invoice.overdue","extraData":{"entity":{"id":3285,"clientId":10,"number":"003231","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3303,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:18.407213] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:18.407371] [debug] Factura vencida
+
+[2026-04-15 6:25:18.407445] [debug] datos del notification para el invoice overdue:{"uuid":"1e577b49-263b-4b62-8406-208388b43a40","changeType":"overdue","entity":"invoice","entityId":3285,"message":null,"clientId":10,"eventName":"invoice.overdue","clientData":{"id":10,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CARLOS","lastName":"MESA","username":"cmesa10","contacts":[{"id":11,"clientId":10,"email":null,"phone":"4425476911","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1001,"name":"WhatsApptmp"}]}],"attributes":[{"id":243,"clientId":10,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"contrase\u00f1a obtenida 2","clientZoneVisible":false},{"id":414,"clientId":10,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":415,"clientId":10,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#00695c","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3285,"clientId":10,"number":"003231","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3303,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":10,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"CARLOS","clientLastName":"MESA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"SANTA BARBARA","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+[2026-04-15 6:25:18.627909] [notice] Logging level set to:debug
+[2026-04-15 6:25:18.627970] [debug] Payload recibido: {"uuid":"f2662f93-e647-47b7-a185-aff2739cb84a","changeType":"overdue","entity":"invoice","entityId":"3286","eventName":"invoice.overdue","extraData":{"entity":{"id":3286,"clientId":32,"number":"003232","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3304,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:18.836971] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:18.837078] [debug] Factura vencida
+
+[2026-04-15 6:25:18.837120] [debug] datos del notification para el invoice overdue:{"uuid":"f2662f93-e647-47b7-a185-aff2739cb84a","changeType":"overdue","entity":"invoice","entityId":3286,"message":null,"clientId":32,"eventName":"invoice.overdue","clientData":{"id":32,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ANTON DE LAS MINAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ANTON DE LAS MINAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EMILIO","lastName":"PEREZ","username":"eperez32","contacts":[{"id":33,"clientId":32,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":337,"clientId":32,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"J6TAzL26UDjmwr#V","clientZoneVisible":false}],"accountBalance":-9040,"accountCredit":0,"accountOutstanding":9040,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0705003,"addressGpsLon":-101.0487257,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3286,"clientId":32,"number":"003232","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3304,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:19.047606] [notice] Logging level set to:debug
+[2026-04-15 6:25:19.047657] [debug] Payload recibido: {"uuid":"2c7092d8-0df8-42d9-a961-8a45c66a19a5","changeType":"overdue","entity":"invoice","entityId":"3287","eventName":"invoice.overdue","extraData":{"entity":{"id":3287,"clientId":83,"number":"003233","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3305,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:19.301075] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:19.301187] [debug] Factura vencida
+
+[2026-04-15 6:25:19.301229] [debug] datos del notification para el invoice overdue:{"uuid":"2c7092d8-0df8-42d9-a961-8a45c66a19a5","changeType":"overdue","entity":"invoice","entityId":3287,"message":null,"clientId":83,"eventName":"invoice.overdue","clientData":{"id":83,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL VERGEL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL VERGEL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"EDUARDO","lastName":"SOLIS","username":"esolis83","contacts":[{"id":84,"clientId":83,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":379,"clientId":83,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"m6]T)gv_t,g39Eu&-WYV","clientZoneVisible":false}],"accountBalance":-17600,"accountCredit":0,"accountOutstanding":17600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fdd835","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3287,"clientId":83,"number":"003233","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3305,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:19.610351] [notice] Logging level set to:debug
+[2026-04-15 6:25:19.610409] [debug] Payload recibido: {"uuid":"ca0db7c2-9111-491a-b644-d17a1016693f","changeType":"overdue","entity":"invoice","entityId":"3288","eventName":"invoice.overdue","extraData":{"entity":{"id":3288,"clientId":64,"number":"003234","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3306,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:19.868792] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:19.868901] [debug] Factura vencida
+
+[2026-04-15 6:25:19.868942] [debug] datos del notification para el invoice overdue:{"uuid":"ca0db7c2-9111-491a-b644-d17a1016693f","changeType":"overdue","entity":"invoice","entityId":3288,"message":null,"clientId":64,"eventName":"invoice.overdue","clientData":{"id":64,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OMAR","lastName":"LANDEROS","username":"olanderos64","contacts":[{"id":65,"clientId":64,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":363,"clientId":64,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"G)gaHtX$iL)rX)w%3YN?","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1565c0","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3288,"clientId":64,"number":"003234","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3306,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:20.154699] [notice] Logging level set to:debug
+[2026-04-15 6:25:20.154764] [debug] Payload recibido: {"uuid":"d5801fe7-6da0-4bf3-b20e-e8900b499458","changeType":"overdue","entity":"invoice","entityId":"3289","eventName":"invoice.overdue","extraData":{"entity":{"id":3289,"clientId":18,"number":"003235","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3307,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:20.401662] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:20.401762] [debug] Factura vencida
+
+[2026-04-15 6:25:20.401806] [debug] datos del notification para el invoice overdue:{"uuid":"d5801fe7-6da0-4bf3-b20e-e8900b499458","changeType":"overdue","entity":"invoice","entityId":3289,"message":null,"clientId":18,"eventName":"invoice.overdue","clientData":{"id":18,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"INGRID","lastName":"CORONADO","username":"icoronado18","contacts":[{"id":19,"clientId":18,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":412,"clientId":18,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"xGzmNQi@@ccSHMC2","clientZoneVisible":false}],"accountBalance":-700,"accountCredit":0,"accountOutstanding":700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#039be5","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3289,"clientId":18,"number":"003235","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3307,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:20.609139] [notice] Logging level set to:debug
+[2026-04-15 6:25:20.609190] [debug] Payload recibido: {"uuid":"82d9eb8f-a629-4104-bd2b-79b4a1b13553","changeType":"overdue","entity":"invoice","entityId":"3290","eventName":"invoice.overdue","extraData":{"entity":{"id":3290,"clientId":88,"number":"003236","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3308,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:20.828213] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:20.828315] [debug] Factura vencida
+
+[2026-04-15 6:25:20.828356] [debug] datos del notification para el invoice overdue:{"uuid":"82d9eb8f-a629-4104-bd2b-79b4a1b13553","changeType":"overdue","entity":"invoice","entityId":3290,"message":null,"clientId":88,"eventName":"invoice.overdue","clientData":{"id":88,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CALIFORNIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CALIFORNIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"CECILIA","lastName":"GRANDE","username":"cgrande88","contacts":[{"id":89,"clientId":88,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":383,"clientId":88,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ot9vp3NmVy(oht>&d2XF","clientZoneVisible":false}],"accountBalance":-18700,"accountCredit":0,"accountOutstanding":18700,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":21.2895071,"addressGpsLon":-100.825418,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3290,"clientId":88,"number":"003236","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3308,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:21.042939] [notice] Logging level set to:debug
+[2026-04-15 6:25:21.042999] [debug] Payload recibido: {"uuid":"72ac6407-43f4-4cc8-8c66-60c5127c1cc3","changeType":"overdue","entity":"invoice","entityId":"3291","eventName":"invoice.overdue","extraData":{"entity":{"id":3291,"clientId":38,"number":"003237","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3309,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:21.259562] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:21.259670] [debug] Factura vencida
+
+[2026-04-15 6:25:21.259713] [debug] datos del notification para el invoice overdue:{"uuid":"72ac6407-43f4-4cc8-8c66-60c5127c1cc3","changeType":"overdue","entity":"invoice","entityId":3291,"message":null,"clientId":38,"eventName":"invoice.overdue","clientData":{"id":38,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGELICA","lastName":"ROMAN","username":"aroman38","contacts":[{"id":39,"clientId":38,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":251,"clientId":38,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":17,"name":"PAGO VERO","colorBackground":"#f29400","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#607d8b","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3291,"clientId":38,"number":"003237","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3309,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:21.467910] [notice] Logging level set to:debug
+[2026-04-15 6:25:21.467982] [debug] Payload recibido: {"uuid":"b5b83d51-446a-49b5-b3f0-c6a3bec8f1d7","changeType":"overdue","entity":"invoice","entityId":"3292","eventName":"invoice.overdue","extraData":{"entity":{"id":3292,"clientId":71,"number":"003238","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3310,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:21.691217] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:21.691361] [debug] Factura vencida
+
+[2026-04-15 6:25:21.691418] [debug] datos del notification para el invoice overdue:{"uuid":"b5b83d51-446a-49b5-b3f0-c6a3bec8f1d7","changeType":"overdue","entity":"invoice","entityId":3292,"message":null,"clientId":71,"eventName":"invoice.overdue","clientData":{"id":71,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MNARIA","lastName":"ALVAREZ","username":"malvarez71","contacts":[{"id":72,"clientId":71,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":369,"clientId":71,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"svLtCB6rrtv7N,Zf5[:<","clientZoneVisible":false}],"accountBalance":-3900,"accountCredit":0,"accountOutstanding":3900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3292,"clientId":71,"number":"003238","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3310,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:21.908756] [notice] Logging level set to:debug
+[2026-04-15 6:25:21.908804] [debug] Payload recibido: {"uuid":"bf37d384-0a17-4d8e-bd57-89e11fac5e19","changeType":"overdue","entity":"invoice","entityId":"3293","eventName":"invoice.overdue","extraData":{"entity":{"id":3293,"clientId":57,"number":"003239","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3311,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:22.149211] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:22.149327] [debug] Factura vencida
+
+[2026-04-15 6:25:22.149380] [debug] datos del notification para el invoice overdue:{"uuid":"bf37d384-0a17-4d8e-bd57-89e11fac5e19","changeType":"overdue","entity":"invoice","entityId":3293,"message":null,"clientId":57,"eventName":"invoice.overdue","clientData":{"id":57,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SANDRO","lastName":"MARQUEZ","username":"smarquez57","contacts":[{"id":58,"clientId":57,"email":null,"phone":"181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":356,"clientId":57,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"yCFh&8wG+6{bGgy}h-Ud","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3293,"clientId":57,"number":"003239","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3311,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:22.367537] [notice] Logging level set to:debug
+[2026-04-15 6:25:22.367589] [debug] Payload recibido: {"uuid":"fec53039-6024-4df3-8e8e-39ffc1be9654","changeType":"overdue","entity":"invoice","entityId":"3294","eventName":"invoice.overdue","extraData":{"entity":{"id":3294,"clientId":94,"number":"003240","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3312,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:22.600604] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:22.600728] [debug] Factura vencida
+
+[2026-04-15 6:25:22.600781] [debug] datos del notification para el invoice overdue:{"uuid":"fec53039-6024-4df3-8e8e-39ffc1be9654","changeType":"overdue","entity":"invoice","entityId":3294,"message":null,"clientId":94,"eventName":"invoice.overdue","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":[{"id":388,"clientId":94,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"AQ8:+YrMXWn>EUcVvz9<","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"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":3294,"clientId":94,"number":"003240","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3312,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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}
+
+[2026-04-15 6:25:22.810142] [notice] Logging level set to:debug
+[2026-04-15 6:25:22.810189] [debug] Payload recibido: {"uuid":"ad61619e-92df-467a-a8b4-94d8b1873b04","changeType":"overdue","entity":"invoice","entityId":"3295","eventName":"invoice.overdue","extraData":{"entity":{"id":3295,"clientId":85,"number":"003241","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3313,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:23.027568] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:23.027673] [debug] Factura vencida
+
+[2026-04-15 6:25:23.027717] [debug] datos del notification para el invoice overdue:{"uuid":"ad61619e-92df-467a-a8b4-94d8b1873b04","changeType":"overdue","entity":"invoice","entityId":3295,"message":null,"clientId":85,"eventName":"invoice.overdue","clientData":{"id":85,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GARABATILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GARABATILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GISELLE","lastName":"ARREDONDO","username":"garredondo85","contacts":[{"id":86,"clientId":85,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":287,"clientId":85,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"RUTA 1","clientZoneVisible":true},{"id":291,"clientId":85,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"6Quo8Mmqc#mgNf#9","clientZoneVisible":false}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3295,"clientId":85,"number":"003241","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3313,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:23.249774] [notice] Logging level set to:debug
+[2026-04-15 6:25:23.249830] [debug] Payload recibido: {"uuid":"bbf50775-d36a-4291-8cc7-9e85c990ba46","changeType":"overdue","entity":"invoice","entityId":"3296","eventName":"invoice.overdue","extraData":{"entity":{"id":3296,"clientId":102,"number":"003242","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3314,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:23.484491] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:23.484673] [debug] Factura vencida
+
+[2026-04-15 6:25:23.484760] [debug] datos del notification para el invoice overdue:{"uuid":"bbf50775-d36a-4291-8cc7-9e85c990ba46","changeType":"overdue","entity":"invoice","entityId":3296,"message":null,"clientId":102,"eventName":"invoice.overdue","clientData":{"id":102,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"YERBAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"YERBAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"XX","lastName":"XX","username":"xxx02","contacts":[{"id":103,"clientId":102,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":394,"clientId":102,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"=AW*A)SM%r7_)xWoW5DC","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#2e7d32","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3296,"clientId":102,"number":"003242","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3314,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:23.703834] [notice] Logging level set to:debug
+[2026-04-15 6:25:23.703885] [debug] Payload recibido: {"uuid":"0edf7498-473d-41ef-b4d0-9024e7841e44","changeType":"overdue","entity":"invoice","entityId":"3297","eventName":"invoice.overdue","extraData":{"entity":{"id":3297,"clientId":5,"number":"003243","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-31T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3315,"type":"service","label":"INTERMEDIO 31\/03\/2026 \u2013 29\/04\/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-04-15 6:25:23.908835] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:23.908942] [debug] Factura vencida
+
+[2026-04-15 6:25:23.909003] [debug] datos del notification para el invoice overdue:{"uuid":"0edf7498-473d-41ef-b4d0-9024e7841e44","changeType":"overdue","entity":"invoice","entityId":3297,"message":null,"clientId":5,"eventName":"invoice.overdue","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":-3000,"accountCredit":0,"accountOutstanding":3000,"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":3297,"clientId":5,"number":"003243","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-31T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3315,"type":"service","label":"INTERMEDIO 31\/03\/2026 \u2013 29\/04\/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}
+
+[2026-04-15 6:25:24.119549] [notice] Logging level set to:debug
+[2026-04-15 6:25:24.119602] [debug] Payload recibido: {"uuid":"102923c2-4841-40cf-9250-1f9af04a9263","changeType":"overdue","entity":"invoice","entityId":"3298","eventName":"invoice.overdue","extraData":{"entity":{"id":3298,"clientId":51,"number":"003244","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3316,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:24.333717] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:24.333822] [debug] Factura vencida
+
+[2026-04-15 6:25:24.333865] [debug] datos del notification para el invoice overdue:{"uuid":"102923c2-4841-40cf-9250-1f9af04a9263","changeType":"overdue","entity":"invoice","entityId":3298,"message":null,"clientId":51,"eventName":"invoice.overdue","clientData":{"id":51,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"PADRE HIDALGO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"PADRE HIDALGO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"MORENO","username":"dmoreno51","contacts":[{"id":52,"clientId":51,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":350,"clientId":51,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ynFpH4ipzp@BoSDG","clientZoneVisible":false}],"accountBalance":-11350,"accountCredit":0,"accountOutstanding":11350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1663422,"addressGpsLon":-100.9347882,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3298,"clientId":51,"number":"003244","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3316,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:24.544367] [notice] Logging level set to:debug
+[2026-04-15 6:25:24.544436] [debug] Payload recibido: {"uuid":"2feb7aa7-8a86-4718-b33b-12c2918866c3","changeType":"overdue","entity":"invoice","entityId":"3299","eventName":"invoice.overdue","extraData":{"entity":{"id":3299,"clientId":60,"number":"003245","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3317,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:24.772531] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:24.772640] [debug] Factura vencida
+
+[2026-04-15 6:25:24.772682] [debug] datos del notification para el invoice overdue:{"uuid":"2feb7aa7-8a86-4718-b33b-12c2918866c3","changeType":"overdue","entity":"invoice","entityId":3299,"message":null,"clientId":60,"eventName":"invoice.overdue","clientData":{"id":60,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MANUEL","lastName":"CORENEO","username":"mcoreneo60","contacts":[{"id":61,"clientId":60,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":359,"clientId":60,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"sB*V+PBm6cWgNxYwh{??","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#6a1b9a","addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3299,"clientId":60,"number":"003245","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3317,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:24.979486] [notice] Logging level set to:debug
+[2026-04-15 6:25:24.979548] [debug] Payload recibido: {"uuid":"41c08db5-b7ec-4e8d-a656-3c23e31d8914","changeType":"overdue","entity":"invoice","entityId":"3301","eventName":"invoice.overdue","extraData":{"entity":{"id":3301,"clientId":26,"number":"003247","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3319,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:25.246300] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:25.246421] [debug] Factura vencida
+
+[2026-04-15 6:25:25.246464] [debug] datos del notification para el invoice overdue:{"uuid":"41c08db5-b7ec-4e8d-a656-3c23e31d8914","changeType":"overdue","entity":"invoice","entityId":3301,"message":null,"clientId":26,"eventName":"invoice.overdue","clientData":{"id":26,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"GUSANO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"GUSANO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SAMANTA","lastName":"FUENTES","username":"sfuentes26","contacts":[{"id":27,"clientId":26,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":331,"clientId":26,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"osApTh2@Jv485i2o","clientZoneVisible":false}],"accountBalance":-8680,"accountCredit":0,"accountOutstanding":8680,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4caf50","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3301,"clientId":26,"number":"003247","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3319,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:25.459742] [notice] Logging level set to:debug
+[2026-04-15 6:25:25.459785] [debug] Payload recibido: {"uuid":"76f215db-e7a2-4c31-978a-f7516ba37603","changeType":"overdue","entity":"invoice","entityId":"3302","eventName":"invoice.overdue","extraData":{"entity":{"id":3302,"clientId":33,"number":"003248","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3320,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:25.662406] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:25.662512] [debug] Factura vencida
+
+[2026-04-15 6:25:25.662554] [debug] datos del notification para el invoice overdue:{"uuid":"76f215db-e7a2-4c31-978a-f7516ba37603","changeType":"overdue","entity":"invoice","entityId":3302,"message":null,"clientId":33,"eventName":"invoice.overdue","clientData":{"id":33,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA CECILIA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA CECILIA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AURELIA","lastName":"BARAJAS","username":"abarajas33","contacts":[{"id":34,"clientId":33,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":338,"clientId":33,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"rgXFo#WZVuXq4FNj","clientZoneVisible":false}],"accountBalance":-8350,"accountCredit":0,"accountOutstanding":8350,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#8bc34a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3302,"clientId":33,"number":"003248","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3320,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:25.867187] [notice] Logging level set to:debug
+[2026-04-15 6:25:25.867244] [debug] Payload recibido: {"uuid":"f3cfe33c-5a16-4586-b7e9-f3660e0460cf","changeType":"overdue","entity":"invoice","entityId":"3303","eventName":"invoice.overdue","extraData":{"entity":{"id":3303,"clientId":101,"number":"003249","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3321,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:26.076277] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:26.076387] [debug] Factura vencida
+
+[2026-04-15 6:25:26.076430] [debug] datos del notification para el invoice overdue:{"uuid":"f3cfe33c-5a16-4586-b7e9-f3660e0460cf","changeType":"overdue","entity":"invoice","entityId":3303,"message":null,"clientId":101,"eventName":"invoice.overdue","clientData":{"id":101,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ESTA\u00d1O","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ESTA\u00d1O, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"OCTAVIO","lastName":"VIDAL","username":"ovidal01","contacts":[{"id":102,"clientId":101,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":393,"clientId":101,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"K2MM5A}Zip3%>s!JB8]L","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f4511e","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3303,"clientId":101,"number":"003249","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3321,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:26.306365] [notice] Logging level set to:debug
+[2026-04-15 6:25:26.306420] [debug] Payload recibido: {"uuid":"8040e5fa-b0e3-47bf-a297-45137bf3fd9b","changeType":"overdue","entity":"invoice","entityId":"3304","eventName":"invoice.overdue","extraData":{"entity":{"id":3304,"clientId":81,"number":"003250","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3322,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:26.559662] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:26.559761] [debug] Factura vencida
+
+[2026-04-15 6:25:26.559803] [debug] datos del notification para el invoice overdue:{"uuid":"8040e5fa-b0e3-47bf-a297-45137bf3fd9b","changeType":"overdue","entity":"invoice","entityId":3304,"message":null,"clientId":81,"eventName":"invoice.overdue","clientData":{"id":81,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"FERNANDO","lastName":"ALCAZAR","username":"falcazar81","contacts":[{"id":82,"clientId":81,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":377,"clientId":81,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"7HuVed;ymQvX$48x=G:X","clientZoneVisible":false}],"accountBalance":-4200,"accountCredit":0,"accountOutstanding":4200,"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":3323,"clientId":96,"number":"003269","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3341,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:36.859184] [notice] Logging level set to:debug
+[2026-04-15 6:25:36.859230] [debug] Payload recibido: {"uuid":"7de2d789-8c36-47bd-b3c8-8f768771005f","changeType":"overdue","entity":"invoice","entityId":"3324","eventName":"invoice.overdue","extraData":{"entity":{"id":3324,"clientId":21,"number":"003270","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3342,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":20,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"NATALIA","clientLastName":"JUAREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"MEZQUITAL","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-15 6:25:37.092138] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:37.092251] [debug] Factura vencida
+
+[2026-04-15 6:25:37.092294] [debug] datos del notification para el invoice overdue:{"uuid":"7de2d789-8c36-47bd-b3c8-8f768771005f","changeType":"overdue","entity":"invoice","entityId":3324,"message":null,"clientId":21,"eventName":"invoice.overdue","clientData":{"id":21,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"MEZQUITAL","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"MEZQUITAL, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NATALIA","lastName":"JUAREZ","username":"njuarez21","contacts":[{"id":22,"clientId":21,"email":null,"phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":326,"clientId":21,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"hc9RTMYn9iJ@3MEP","clientZoneVisible":false}],"accountBalance":-8400,"accountCredit":0,"accountOutstanding":8400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3324,"clientId":21,"number":"003270","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3342,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+contac vacio
+[2026-04-15 6:25:37.306791] [notice] Logging level set to:debug
+[2026-04-15 6:25:37.306852] [debug] Payload recibido: {"uuid":"0de97f5c-572e-4606-89cf-fc6e0a40b49b","changeType":"overdue","entity":"invoice","entityId":"3325","eventName":"invoice.overdue","extraData":{"entity":{"id":3325,"clientId":73,"number":"003271","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3343,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:37.535702] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:37.535830] [debug] Factura vencida
+
+[2026-04-15 6:25:37.535877] [debug] datos del notification para el invoice overdue:{"uuid":"0de97f5c-572e-4606-89cf-fc6e0a40b49b","changeType":"overdue","entity":"invoice","entityId":3325,"message":null,"clientId":73,"eventName":"invoice.overdue","clientData":{"id":73,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTA BARBARA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTA BARBARA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ERICK","lastName":"VAZQUEZ","username":"evazquez73","contacts":[{"id":74,"clientId":73,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":371,"clientId":73,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"@27N)#_%%!2j-:Q?}ZWh","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.0502031,"addressGpsLon":-101.0096832,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3325,"clientId":73,"number":"003271","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3343,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:37.742588] [notice] Logging level set to:debug
+[2026-04-15 6:25:37.742636] [debug] Payload recibido: {"uuid":"f3fa5f42-ed2d-4af1-be14-90941e8c2928","changeType":"overdue","entity":"invoice","entityId":"3326","eventName":"invoice.overdue","extraData":{"entity":{"id":3326,"clientId":42,"number":"003272","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3344,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:37.961750] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:37.961894] [debug] Factura vencida
+
+[2026-04-15 6:25:37.962986] [debug] datos del notification para el invoice overdue:{"uuid":"f3fa5f42-ed2d-4af1-be14-90941e8c2928","changeType":"overdue","entity":"invoice","entityId":3326,"message":null,"clientId":42,"eventName":"invoice.overdue","clientData":{"id":42,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LORENA","lastName":"MARTINEZ","username":"lmartinez42","contacts":[{"id":43,"clientId":42,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":344,"clientId":42,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"6fzFGiW@Hn@KqY9#","clientZoneVisible":false}],"accountBalance":-8110,"accountCredit":0,"accountOutstanding":8110,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3326,"clientId":42,"number":"003272","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3344,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:38.179812] [notice] Logging level set to:debug
+[2026-04-15 6:25:38.179861] [debug] Payload recibido: {"uuid":"bc01ad9e-cfd9-49b1-920e-ed2c99969f7f","changeType":"overdue","entity":"invoice","entityId":"3327","eventName":"invoice.overdue","extraData":{"entity":{"id":3327,"clientId":78,"number":"003273","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3345,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:38.389493] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:38.389678] [debug] Factura vencida
+
+[2026-04-15 6:25:38.389729] [debug] datos del notification para el invoice overdue:{"uuid":"bc01ad9e-cfd9-49b1-920e-ed2c99969f7f","changeType":"overdue","entity":"invoice","entityId":3327,"message":null,"clientId":78,"eventName":"invoice.overdue","clientData":{"id":78,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL BOBO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL BOBO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ALEXANDER","lastName":"ROSTRO","username":"arostro78","contacts":[{"id":79,"clientId":78,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":374,"clientId":78,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":":fgje!7K[26Ha%;NCzV@","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3327,"clientId":78,"number":"003273","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3345,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:38.598705] [notice] Logging level set to:debug
+[2026-04-15 6:25:38.598752] [debug] Payload recibido: {"uuid":"2c105947-943d-46c4-9c60-58ce25ccf6ab","changeType":"overdue","entity":"invoice","entityId":"3328","eventName":"invoice.overdue","extraData":{"entity":{"id":3328,"clientId":34,"number":"003274","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3346,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:38.806454] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:38.806565] [debug] Factura vencida
+
+[2026-04-15 6:25:38.806607] [debug] datos del notification para el invoice overdue:{"uuid":"2c105947-943d-46c4-9c60-58ce25ccf6ab","changeType":"overdue","entity":"invoice","entityId":3328,"message":null,"clientId":34,"eventName":"invoice.overdue","clientData":{"id":34,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"EL ROSALITO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"EL ROSALITO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"NORMA","lastName":"ALMAGUER","username":"nalmaguer34","contacts":[{"id":35,"clientId":34,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":339,"clientId":34,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"NoeABb#w@g5Lt4CF","clientZoneVisible":false}],"accountBalance":-8410,"accountCredit":0,"accountOutstanding":8410,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.2514711,"addressGpsLon":-100.738323,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3328,"clientId":34,"number":"003274","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3346,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:39.011641] [notice] Logging level set to:debug
+[2026-04-15 6:25:39.011688] [debug] Payload recibido: {"uuid":"77d4484c-8c26-449e-9014-869d3aaff1c1","changeType":"overdue","entity":"invoice","entityId":"3329","eventName":"invoice.overdue","extraData":{"entity":{"id":3329,"clientId":95,"number":"003275","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3347,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:39.261636] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:39.261738] [debug] Factura vencida
+
+[2026-04-15 6:25:39.261789] [debug] datos del notification para el invoice overdue:{"uuid":"77d4484c-8c26-449e-9014-869d3aaff1c1","changeType":"overdue","entity":"invoice","entityId":3329,"message":null,"clientId":95,"eventName":"invoice.overdue","clientData":{"id":95,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"SOFIA","lastName":"VALENCIA","username":"svalencia95","contacts":[{"id":96,"clientId":95,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":293,"clientId":95,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"z5YcTQ3pF5b@fz#t","clientZoneVisible":false},{"id":289,"clientId":95,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-1500,"accountCredit":0,"accountOutstanding":1500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3329,"clientId":95,"number":"003275","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3347,"type":"service","label":"INTERMEDIO 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:39.481007] [notice] Logging level set to:debug
+[2026-04-15 6:25:39.481062] [debug] Payload recibido: {"uuid":"baddf902-733d-4b55-a817-fe64058663a3","changeType":"overdue","entity":"invoice","entityId":"3331","eventName":"invoice.overdue","extraData":{"entity":{"id":3331,"clientId":30,"number":"003277","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3349,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:39.695419] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:39.695524] [debug] Factura vencida
+
+[2026-04-15 6:25:39.695565] [debug] datos del notification para el invoice overdue:{"uuid":"baddf902-733d-4b55-a817-fe64058663a3","changeType":"overdue","entity":"invoice","entityId":3331,"message":null,"clientId":30,"eventName":"invoice.overdue","clientData":{"id":30,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"FRACCIONAMIENTO GUANAJUATO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUANA","lastName":"MONTES DE OCA","username":"jmontes30","contacts":[{"id":31,"clientId":30,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":335,"clientId":30,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"J6gkFp#Jq@4Q8UUw","clientZoneVisible":false}],"accountBalance":-19600,"accountCredit":0,"accountOutstanding":19600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3331,"clientId":30,"number":"003277","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3349,"type":"service","label":"PREMIUM 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:39.905848] [notice] Logging level set to:debug
+[2026-04-15 6:25:39.905895] [debug] Payload recibido: {"uuid":"9950489a-554d-4f94-b3a9-a2bb1445c2e2","changeType":"overdue","entity":"invoice","entityId":"3332","eventName":"invoice.overdue","extraData":{"entity":{"id":3332,"clientId":82,"number":"003278","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3350,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:40.116738] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:40.116866] [debug] Factura vencida
+
+[2026-04-15 6:25:40.116920] [debug] datos del notification para el invoice overdue:{"uuid":"9950489a-554d-4f94-b3a9-a2bb1445c2e2","changeType":"overdue","entity":"invoice","entityId":3332,"message":null,"clientId":82,"eventName":"invoice.overdue","clientData":{"id":82,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"AGUSTINA","lastName":"PERICLES","username":"apericles82","contacts":[{"id":83,"clientId":82,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":378,"clientId":82,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"zyPjmL_&G@]Q43$7YXu3+*Xm]]$f7=","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f9a825","addressGpsLat":21.2023922,"addressGpsLon":-100.9220375,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3342,"clientId":89,"number":"003288","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3360,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:44.201447] [notice] Logging level set to:debug
+[2026-04-15 6:25:44.201503] [debug] Payload recibido: {"uuid":"2c739c32-0c75-46f9-a823-2e78387a4a82","changeType":"overdue","entity":"invoice","entityId":"3343","eventName":"invoice.overdue","extraData":{"entity":{"id":3343,"clientId":41,"number":"003289","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3361,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:44.452855] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:44.452980] [debug] Factura vencida
+
+[2026-04-15 6:25:44.453025] [debug] datos del notification para el invoice overdue:{"uuid":"2c739c32-0c75-46f9-a823-2e78387a4a82","changeType":"overdue","entity":"invoice","entityId":3343,"message":null,"clientId":41,"eventName":"invoice.overdue","clientData":{"id":41,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN SEBASTIAN","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN SEBASTIAN, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JUDITH","lastName":"CUELLAR","username":"jcuellar41","contacts":[{"id":42,"clientId":41,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":343,"clientId":41,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ZZjfiGbL2#JNAaco","clientZoneVisible":false}],"accountBalance":-7810,"accountCredit":0,"accountOutstanding":7810,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3343,"clientId":41,"number":"003289","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3361,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:44.657677] [notice] Logging level set to:debug
+[2026-04-15 6:25:44.657726] [debug] Payload recibido: {"uuid":"316f6bcf-46c9-42cf-999b-b9f38a887f51","changeType":"overdue","entity":"invoice","entityId":"3344","eventName":"invoice.overdue","extraData":{"entity":{"id":3344,"clientId":67,"number":"003290","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3362,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:44.868768] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:44.868902] [debug] Factura vencida
+
+[2026-04-15 6:25:44.868978] [debug] datos del notification para el invoice overdue:{"uuid":"316f6bcf-46c9-42cf-999b-b9f38a887f51","changeType":"overdue","entity":"invoice","entityId":3344,"message":null,"clientId":67,"eventName":"invoice.overdue","clientData":{"id":67,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"TOMAS","lastName":"SUASTE","username":"tsuaste67","contacts":[{"id":68,"clientId":67,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":365,"clientId":67,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"tx499D=@hFYP].eq6oe4","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#03a9f4","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3344,"clientId":67,"number":"003290","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3362,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:45.076400] [notice] Logging level set to:debug
+[2026-04-15 6:25:45.076447] [debug] Payload recibido: {"uuid":"d74cde15-e23b-43b4-b019-c5a84ff415d4","changeType":"overdue","entity":"invoice","entityId":"3348","eventName":"invoice.overdue","extraData":{"entity":{"id":3348,"clientId":48,"number":"003294","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3366,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:45.302428] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:45.302555] [debug] Factura vencida
+
+[2026-04-15 6:25:45.302603] [debug] datos del notification para el invoice overdue:{"uuid":"d74cde15-e23b-43b4-b019-c5a84ff415d4","changeType":"overdue","entity":"invoice","entityId":3348,"message":null,"clientId":48,"eventName":"invoice.overdue","clientData":{"id":48,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SANTIAGUILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SANTIAGUILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ISELA","lastName":"AZPEITIA","username":"iazpeitia48","contacts":[{"id":49,"clientId":48,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":348,"clientId":48,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"GfxxjW2xB2D6UWz@","clientZoneVisible":false}],"accountBalance":-10800,"accountCredit":0,"accountOutstanding":10800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#558b2f","addressGpsLat":21.0165209,"addressGpsLon":-100.9831731,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3348,"clientId":48,"number":"003294","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3366,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:45.513076] [notice] Logging level set to:debug
+[2026-04-15 6:25:45.513125] [debug] Payload recibido: {"uuid":"d5c22769-3b4d-449f-8b61-c95cf0c9db02","changeType":"overdue","entity":"invoice","entityId":"3349","eventName":"invoice.overdue","extraData":{"entity":{"id":3349,"clientId":62,"number":"003295","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3367,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:45.798311] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:45.798423] [debug] Factura vencida
+
+[2026-04-15 6:25:45.798465] [debug] datos del notification para el invoice overdue:{"uuid":"d5c22769-3b4d-449f-8b61-c95cf0c9db02","changeType":"overdue","entity":"invoice","entityId":3349,"message":null,"clientId":62,"eventName":"invoice.overdue","clientData":{"id":62,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"TRANCAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"TRANCAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"DANIEL","lastName":"BERNAL","username":"dbernal62","contacts":[{"id":63,"clientId":62,"email":null,"phone":"4181811375","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":361,"clientId":62,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"o>v7H&+f@p)-Sepa5x{?","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff5722","addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3349,"clientId":62,"number":"003295","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3367,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:46.003380] [notice] Logging level set to:debug
+[2026-04-15 6:25:46.003439] [debug] Payload recibido: {"uuid":"623a9c3a-9de4-45f7-962c-20defb253803","changeType":"overdue","entity":"invoice","entityId":"3350","eventName":"invoice.overdue","extraData":{"entity":{"id":3350,"clientId":63,"number":"003296","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3368,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:46.214102] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:46.214207] [debug] Factura vencida
+
+[2026-04-15 6:25:46.214251] [debug] datos del notification para el invoice overdue:{"uuid":"623a9c3a-9de4-45f7-962c-20defb253803","changeType":"overdue","entity":"invoice","entityId":3350,"message":null,"clientId":63,"eventName":"invoice.overdue","clientData":{"id":63,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN ELIAS","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN ELIAS, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANTONELA","lastName":"ROBLES","username":"arobles63","contacts":[{"id":64,"clientId":63,"email":null,"phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":362,"clientId":63,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"%:pKRkEa5=+UFph<&HR}","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.2516667,"addressGpsLon":-101.0924998,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3350,"clientId":63,"number":"003296","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3368,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:46.425020] [notice] Logging level set to:debug
+[2026-04-15 6:25:46.425066] [debug] Payload recibido: {"uuid":"99623757-7b89-4080-bd1b-cd779f698e23","changeType":"overdue","entity":"invoice","entityId":"3351","eventName":"invoice.overdue","extraData":{"entity":{"id":3351,"clientId":44,"number":"003297","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3369,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:46.653450] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:46.653588] [debug] Factura vencida
+
+[2026-04-15 6:25:46.653650] [debug] datos del notification para el invoice overdue:{"uuid":"99623757-7b89-4080-bd1b-cd779f698e23","changeType":"overdue","entity":"invoice","entityId":3351,"message":null,"clientId":44,"eventName":"invoice.overdue","clientData":{"id":44,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"JAVIER","lastName":"BRIONES","username":"jbriones44","contacts":[{"id":45,"clientId":44,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":267,"clientId":44,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"JqSJ4VoV8iPr@dyx","clientZoneVisible":false}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":15,"name":"PAGO SONIA","colorBackground":"#42a3df","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#c0ca33","addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3351,"clientId":44,"number":"003297","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3369,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:46.877163] [notice] Logging level set to:debug
+[2026-04-15 6:25:46.877207] [debug] Payload recibido: {"uuid":"ab97cc7d-5494-4c33-8827-2ded305aed30","changeType":"overdue","entity":"invoice","entityId":"3352","eventName":"invoice.overdue","extraData":{"entity":{"id":3352,"clientId":66,"number":"003298","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3370,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:47.100301] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:47.100406] [debug] Factura vencida
+
+[2026-04-15 6:25:47.100449] [debug] datos del notification para el invoice overdue:{"uuid":"ab97cc7d-5494-4c33-8827-2ded305aed30","changeType":"overdue","entity":"invoice","entityId":3352,"message":null,"clientId":66,"eventName":"invoice.overdue","clientData":{"id":66,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-31T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"LAURA","lastName":"CRUCES","username":"lcruces66","contacts":[{"id":67,"clientId":66,"email":null,"phone":"4181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":364,"clientId":66,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"_&d45Dc[8fcrY(,!C,[!","clientZoneVisible":false}],"accountBalance":-7800,"accountCredit":0,"accountOutstanding":7800,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ffb300","addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3352,"clientId":66,"number":"003298","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3370,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:47.312922] [notice] Logging level set to:debug
+[2026-04-15 6:25:47.312984] [debug] Payload recibido: {"uuid":"e800c07f-8df4-427e-8125-58b05cea2bfa","changeType":"overdue","entity":"invoice","entityId":"3353","eventName":"invoice.overdue","extraData":{"entity":{"id":3353,"clientId":35,"number":"003299","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3371,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:47.526633] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:47.526742] [debug] Factura vencida
+
+[2026-04-15 6:25:47.526784] [debug] datos del notification para el invoice overdue:{"uuid":"e800c07f-8df4-427e-8125-58b05cea2bfa","changeType":"overdue","entity":"invoice","entityId":3353,"message":null,"clientId":35,"eventName":"invoice.overdue","clientData":{"id":35,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"LA CANTERA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"LA CANTERA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"GABRIELA","lastName":"SUASTE","username":"gsuaste35","contacts":[{"id":36,"clientId":35,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":340,"clientId":35,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"#YF88DygtGsVeQqq","clientZoneVisible":false}],"accountBalance":-8100,"accountCredit":0,"accountOutstanding":8100,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#e91e63","addressGpsLat":21.1461112,"addressGpsLon":-101.0019444,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3353,"clientId":35,"number":"003299","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3371,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 6:25:47.721826] [notice] Logging level set to:debug
+[2026-04-15 6:25:47.721874] [debug] Payload recibido: {"uuid":"f6c1d5ef-6241-48ec-8903-c1b54e2d510d","changeType":"overdue","entity":"invoice","entityId":"3355","eventName":"invoice.overdue","extraData":{"entity":{"id":3355,"clientId":20,"number":"003301","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3373,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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-04-15 6:25:47.931447] [debug] Evento recibido: invoice.overdue
+[2026-04-15 6:25:47.931552] [debug] Factura vencida
+
+[2026-04-15 6:25:47.931596] [debug] datos del notification para el invoice overdue:{"uuid":"f6c1d5ef-6241-48ec-8903-c1b54e2d510d","changeType":"overdue","entity":"invoice","entityId":3355,"message":null,"clientId":20,"eventName":"invoice.overdue","clientData":{"id":20,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"SAN PABLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"SAN PABLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ESTEFANIA","lastName":"BUENROSTRO","username":"ebuenrostro20","contacts":[{"id":21,"clientId":20,"email":null,"phone":"4181091933","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":411,"clientId":20,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"vdRh7s34uyf#tQ9R","clientZoneVisible":false}],"accountBalance":-7780,"accountCredit":0,"accountOutstanding":7780,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#0277bd","addressGpsLat":21.1575375,"addressGpsLon":-100.9440518,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3355,"clientId":20,"number":"003301","createdDate":"2026-03-31T10:00:01-0600","dueDate":"2026-04-14T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-03-29T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3373,"type":"service","label":"plan300 28\/02\/2026 \u2013 30\/03\/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},"paymentData":null}
+
+[2026-04-15 18:30:05.239248] [notice] Logging level set to:debug
+[2026-04-15 18:30:05.239358] [debug] Payload recibido: {"uuid":"783cf80c-9b50-40df-9057-46287cffb7ed","changeType":"suspend","entity":"service","entityId":"64","eventName":"service.suspend","extraData":{"entity":{"id":64,"prepaid":false,"clientId":65,"status":3,"name":"plan300","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"1699964a-1a7a-41a1-8ce0-89f9cf13f391","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":89,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":219,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":64,"prepaid":false,"clientId":65,"status":1,"name":"plan300","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"1699964a-1a7a-41a1-8ce0-89f9cf13f391","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":89,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":219,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:05.960082] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:05.960881] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:06.200370] [notice] Logging level set to:debug
+[2026-04-15 18:30:06.200546] [debug] Payload recibido: {"uuid":"de03113f-0f29-4ec1-95b3-d765076a283a","changeType":"edit","entity":"service","entityId":"64","eventName":"service.edit","extraData":{"entity":{"id":64,"prepaid":false,"clientId":65,"status":3,"name":"plan300","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"1699964a-1a7a-41a1-8ce0-89f9cf13f391","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":89,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":219,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":64,"prepaid":false,"clientId":65,"status":1,"name":"plan300","fullAddress":"LOS MONCADA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LOS MONCADA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1583917,"addressGpsLon":-100.9326698,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"1699964a-1a7a-41a1-8ce0-89f9cf13f391","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":89,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":219,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:06.488092] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:06.488223] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:06.488291] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 65
+[2026-04-15 18:30:06.824743] [notice] Logging level set to:debug
+[2026-04-15 18:30:06.824903] [debug] Payload recibido: {"uuid":"3c26562c-2083-435d-a67c-7e7a44473e0a","changeType":"suspend","entity":"service","entityId":"17","eventName":"service.suspend","extraData":{"entity":{"id":17,"prepaid":false,"clientId":18,"status":3,"name":"PREMIUM","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"4dc7fb39-9b58-4411-8425-b63e04428b40","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":23,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":220,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":17,"prepaid":false,"clientId":18,"status":1,"name":"PREMIUM","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"4dc7fb39-9b58-4411-8425-b63e04428b40","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":23,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":220,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:07.102184] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:07.102381] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:07.311002] [notice] Logging level set to:debug
+[2026-04-15 18:30:07.311145] [debug] Payload recibido: {"uuid":"d5333b3f-31ce-4a9d-9980-1499d28623ea","changeType":"edit","entity":"service","entityId":"17","eventName":"service.edit","extraData":{"entity":{"id":17,"prepaid":false,"clientId":18,"status":3,"name":"PREMIUM","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"4dc7fb39-9b58-4411-8425-b63e04428b40","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":23,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":220,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":17,"prepaid":false,"clientId":18,"status":1,"name":"PREMIUM","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":4,"servicePlanPeriodId":19,"price":700,"hasIndividualPrice":false,"totalPrice":700,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-01T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"PREMIUM","servicePlanPrice":700,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":20,"uploadSpeed":20,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"4dc7fb39-9b58-4411-8425-b63e04428b40","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":23,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":220,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:07.618942] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:07.619179] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:07.619323] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 18
+[2026-04-15 18:30:08.008105] [notice] Logging level set to:debug
+[2026-04-15 18:30:08.008249] [debug] Payload recibido: {"uuid":"23aa3111-9916-4c52-8122-facf6655b2d0","changeType":"suspend","entity":"service","entityId":"37","eventName":"service.suspend","extraData":{"entity":{"id":37,"prepaid":false,"clientId":38,"status":3,"name":"plan300","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"b6fdc5e6-2fd2-4d5e-a756-ead09302f951","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":28,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":187,"startDate":"2026-01-15T00:00:00-0600","endDate":"2026-01-22T00:00:00-0600"},{"id":221,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":37,"prepaid":false,"clientId":38,"status":1,"name":"plan300","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"b6fdc5e6-2fd2-4d5e-a756-ead09302f951","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":28,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":187,"startDate":"2026-01-15T00:00:00-0600","endDate":"2026-01-22T00:00:00-0600"},{"id":221,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:08.275943] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:08.276820] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:08.494569] [notice] Logging level set to:debug
+[2026-04-15 18:30:08.494635] [debug] Payload recibido: {"uuid":"e91c0f7e-2368-45b7-b67a-64ae52b77b3e","changeType":"edit","entity":"service","entityId":"37","eventName":"service.edit","extraData":{"entity":{"id":37,"prepaid":false,"clientId":38,"status":3,"name":"plan300","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"b6fdc5e6-2fd2-4d5e-a756-ead09302f951","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":28,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":187,"startDate":"2026-01-15T00:00:00-0600","endDate":"2026-01-22T00:00:00-0600"},{"id":221,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":37,"prepaid":false,"clientId":38,"status":1,"name":"plan300","fullAddress":"TECOLOTE, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"TECOLOTE","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.22987,"addressGpsLon":-101.0648115,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"b6fdc5e6-2fd2-4d5e-a756-ead09302f951","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":28,"startDate":"2024-02-15T00:00:00-0600","endDate":"2025-12-23T00:00:00-0600"},{"id":187,"startDate":"2026-01-15T00:00:00-0600","endDate":"2026-01-22T00:00:00-0600"},{"id":221,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:08.775856] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:08.776593] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:08.776684] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 38
+[2026-04-15 18:30:09.114640] [notice] Logging level set to:debug
+[2026-04-15 18:30:09.114828] [debug] Payload recibido: {"uuid":"19b6e9a0-833d-4020-9fed-e1f50f031621","changeType":"suspend","entity":"service","entityId":"76","eventName":"service.suspend","extraData":{"entity":{"id":76,"prepaid":false,"clientId":77,"status":3,"name":"plan300","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"a948d081-63ba-4197-b695-242182d2b5a0","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":84,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":222,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":76,"prepaid":false,"clientId":77,"status":1,"name":"plan300","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"a948d081-63ba-4197-b695-242182d2b5a0","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":84,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":222,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:09.402074] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:09.402364] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:09.608653] [notice] Logging level set to:debug
+[2026-04-15 18:30:09.608720] [debug] Payload recibido: {"uuid":"7ec6a6e4-a713-4c99-a7f7-7e11699cecc7","changeType":"edit","entity":"service","entityId":"76","eventName":"service.edit","extraData":{"entity":{"id":76,"prepaid":false,"clientId":77,"status":3,"name":"plan300","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"a948d081-63ba-4197-b695-242182d2b5a0","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":84,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":222,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":76,"prepaid":false,"clientId":77,"status":1,"name":"plan300","fullAddress":"LA VENTILLA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"LA VENTILLA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.1145736,"addressGpsLon":-100.933729,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"a948d081-63ba-4197-b695-242182d2b5a0","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":84,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":222,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:09.897890] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:09.898688] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:09.898828] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 77
+[2026-04-15 18:30:10.209845] [notice] Logging level set to:debug
+[2026-04-15 18:30:10.210105] [debug] Payload recibido: {"uuid":"6d89c65b-f67b-44e0-856c-d11c0f93a801","changeType":"suspend","entity":"service","entityId":"99","eventName":"service.suspend","extraData":{"entity":{"id":99,"prepaid":false,"clientId":100,"status":3,"name":"plan300","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"be966de7-6488-4d07-a7fe-d9c1592f638a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":78,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-20T00:00:00-0600"},{"id":223,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":99,"prepaid":false,"clientId":100,"status":1,"name":"plan300","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"be966de7-6488-4d07-a7fe-d9c1592f638a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":78,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-20T00:00:00-0600"},{"id":223,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:10.486733] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:10.487077] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:10.713634] [notice] Logging level set to:debug
+[2026-04-15 18:30:10.713779] [debug] Payload recibido: {"uuid":"e80b8003-eae0-426c-84d7-f0fa8e0adbfa","changeType":"edit","entity":"service","entityId":"99","eventName":"service.edit","extraData":{"entity":{"id":99,"prepaid":false,"clientId":100,"status":3,"name":"plan300","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"be966de7-6488-4d07-a7fe-d9c1592f638a","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":78,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-20T00:00:00-0600"},{"id":223,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":99,"prepaid":false,"clientId":100,"status":1,"name":"plan300","fullAddress":"SAUCILLO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"SAUCILLO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.0170884,"addressGpsLon":-100.9460876,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-31T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-31T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"be966de7-6488-4d07-a7fe-d9c1592f638a","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":78,"startDate":"2024-03-15T00:00:00-0600","endDate":"2026-01-20T00:00:00-0600"},{"id":223,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:10.985347] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:10.985471] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:10.985631] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 100
+[2026-04-15 18:30:11.301368] [notice] Logging level set to:debug
+[2026-04-15 18:30:11.301445] [debug] Payload recibido: {"uuid":"93e13d4e-201d-41c9-9974-2db287ab6b67","changeType":"suspend","entity":"service","entityId":"43","eventName":"service.suspend","extraData":{"entity":{"id":43,"prepaid":false,"clientId":44,"status":3,"name":"plan300","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"594aea4c-9a88-4ccd-b101-f8498076b68b","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":36,"startDate":"2024-02-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":224,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":43,"prepaid":false,"clientId":44,"status":1,"name":"plan300","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"594aea4c-9a88-4ccd-b101-f8498076b68b","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":36,"startDate":"2024-02-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":224,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:11.584196] [debug] Evento recibido: service.suspend
+[2026-04-15 18:30:11.585541] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-15 18:30:11.794239] [notice] Logging level set to:debug
+[2026-04-15 18:30:11.794392] [debug] Payload recibido: {"uuid":"54ce4693-588a-40ca-a5ab-95cd8101837e","changeType":"edit","entity":"service","entityId":"43","eventName":"service.edit","extraData":{"entity":{"id":43,"prepaid":false,"clientId":44,"status":3,"name":"plan300","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"594aea4c-9a88-4ccd-b101-f8498076b68b","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":36,"startDate":"2024-02-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":224,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":43,"prepaid":false,"clientId":44,"status":1,"name":"plan300","fullAddress":"ESTANCIA DE ZAMARRIPA, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","street1":"ESTANCIA DE ZAMARRIPA","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","note":null,"addressGpsLat":21.2370877,"addressGpsLon":-101.116799,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-01-30T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-01-30T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":31,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-03-30T00:00:00-0600","unmsClientSiteId":"594aea4c-9a88-4ccd-b101-f8498076b68b","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":36,"startDate":"2024-02-15T00:00:00-0600","endDate":"2026-01-19T00:00:00-0600"},{"id":224,"startDate":"2026-04-15T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-15 18:30:12.056114] [debug] Evento recibido: service.edit
+[2026-04-15 18:30:12.056250] [debug] Se editó el servicio a un cliente
+
+[2026-04-15 18:30:12.056324] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 44
+[2026-04-16 6:25:03.978266] [notice] Logging level set to:debug
+[2026-04-16 6:25:03.978348] [debug] Payload recibido: {"uuid":"8eef6237-2b06-40cc-89a0-06d5f276a24d","changeType":"overdue","entity":"invoice","entityId":"3356","eventName":"invoice.overdue","extraData":{"entity":{"id":3356,"clientId":132,"number":"003302","createdDate":"2026-04-01T10:00:01-0600","dueDate":"2026-04-15T10:00:01-0600","emailSentDate":"2026-04-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3374,"type":"service","label":"plan300 01\/03\/2026 \u2013 31\/03\/2026","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}}
+
+[2026-04-16 6:25:04.234778] [debug] Evento recibido: invoice.overdue
+[2026-04-16 6:25:04.234898] [debug] Factura vencida
+
+[2026-04-16 6:25:04.234946] [debug] datos del notification para el invoice overdue:{"uuid":"8eef6237-2b06-40cc-89a0-06d5f276a24d","changeType":"overdue","entity":"invoice","entityId":3356,"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":[{"id":402,"clientId":132,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":",wD*$JLJD>kzfwdv5Vpo","clientZoneVisible":false}],"accountBalance":-6300,"accountCredit":0,"accountOutstanding":6300,"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":3356,"clientId":132,"number":"003302","createdDate":"2026-04-01T10:00:01-0600","dueDate":"2026-04-15T10:00:01-0600","emailSentDate":"2026-04-16T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-03-30T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3374,"type":"service","label":"plan300 01\/03\/2026 \u2013 31\/03\/2026","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}
+
+contac vacio
+[2026-04-20 16:00:05.971482] [notice] Logging level set to:debug
+[2026-04-20 16:00:05.971591] [debug] Payload recibido: {"uuid":"e18f2bfc-9803-4d91-ad72-93ee60724b1a","changeType":"draft_approved","entity":"invoice","entityId":"3360","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3360,"clientId":121,"number":"003306","createdDate":"2026-04-20T10:00:02-0600","dueDate":"2026-05-04T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3378,"type":"service","label":"INTERMEDIO 20\/03\/2026 \u2013 19\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":106,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"flor","clientLastName":"marquez gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"plutarco elias calles 8,lindavista","clientStreet2":"enfrente del parque","clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-20 16:00:06.328208] [debug] Evento recibido: invoice.draft_approved
+[2026-04-20 16:00:06.329988] [debug] Aprobación de Factura
+
+[2026-04-20 16:00:07.305941] [notice] Logging level set to:debug
+[2026-04-20 16:00:07.306030] [debug] Payload recibido: {"uuid":"b37f6122-1842-4f3e-ab2d-47c8f1628058","changeType":"draft_approved","entity":"invoice","entityId":"3361","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3361,"clientId":122,"number":"003307","createdDate":"2026-04-20T10:00:02-0600","dueDate":"2026-05-04T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-19T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3379,"type":"service","label":"plan300 20\/03\/2026 \u2013 19\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":107,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"JUDITH","clientLastName":"MARQUEZ GONZALEZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"PLUTARCO ELIAS CALLES 8,LINDAVISTA","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-20 16:00:07.572809] [debug] Evento recibido: invoice.draft_approved
+[2026-04-20 16:00:07.572922] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:05.093225] [notice] Logging level set to:debug
+[2026-04-21 16:00:05.093306] [debug] Payload recibido: {"uuid":"99fa4c1b-a750-48f5-81b9-19ec9c1a966b","changeType":"draft_approved","entity":"invoice","entityId":"3362","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3362,"clientId":2,"number":"003308","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3380,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0},{"id":3381,"type":"service","label":"INTERMEDIO 01\/05\/2026 \u2013 31\/05\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":800,"discount":null,"discountLabel":"Descuento","taxes":[],"total":800,"amountPaid":800,"totalUntaxed":800,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1575,"invoiceId":3362,"paymentId":983,"creditNoteId":null,"refundId":null,"amount":100},{"id":1576,"invoiceId":3362,"paymentId":986,"creditNoteId":null,"refundId":null,"amount":200},{"id":1577,"invoiceId":3362,"paymentId":988,"creditNoteId":null,"refundId":null,"amount":150},{"id":1578,"invoiceId":3362,"paymentId":989,"creditNoteId":null,"refundId":null,"amount":180},{"id":1579,"invoiceId":3362,"paymentId":990,"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":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas 31","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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-04-21 16:00:05.439163] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:05.439285] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:05.440812] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181878106
+[2026-04-21 16:00:05.444148] [debug] onlyUpdate: Teléfono validado: 5214181878106
+[2026-04-21 16:00:06.213610] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"MAY HUMBERTO SOTO VILLEGAS","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"\ud83d\udfe2 Activo ","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 06:46","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","Monto Ultimo Pago":"\ud83d\udcb2 20","Nombre":"\ud83d\udc64 MAY HUMBERTO SOTO VILLEGAS","Domicilio":"\ud83d\udccd CALLE CHIAPAS #31, ZONA CENTRO, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Clabe Interbancaria":"124180650741646979","Site":"0LOCS","Resumen":"{\"Cliente\": \"3201\",\"Nombre\": \"MAY HUMBERTO SOTO VILLEGAS\",\"Saldo Actual\": \"\ud83d\udcb220 a favor\",\"Monto Ultimo Pago\": \"$ 20\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/03\/2026 15:35 con Tarjeta de cr\u00e9dito PayPal \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 06:46\",\"Clabe Interbancaria\": \"124180650741646979\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/03\/2026 15:35 con Tarjeta de cr\u00e9dito PayPal \ud83d\udcb3","Cliente":"3201","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/3201","Saldo Actual":"\ud83d\udcb220 a favor","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:06.213680] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181878106
+Notificacion data: {"uuid":"99fa4c1b-a750-48f5-81b9-19ec9c1a966b","changeType":"draft_approved","entity":"invoice","entityId":3362,"message":null,"clientId":2,"eventName":"invoice.draft_approved","clientData":{"id":2,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Chiapas 31","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"Cliente especial, el m\u00e1s chido del siip internet 2026 yeah xD","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Daniel Humberto","lastName":"Soto Villegas","username":"danydhsv","contacts":[{"id":2,"clientId":2,"email":"ciber.dhsv@gmail.com","phone":"5214181878106","name":null,"isBilling":false,"isContact":true,"types":[{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]},{"id":170,"clientId":2,"email":null,"phone":"5214181148783","name":null,"isBilling":false,"isContact":false,"types":[]}],"attributes":[{"id":113,"clientId":2,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"0021804341999569810","clientZoneVisible":true},{"id":200,"clientId":2,"customAttributeId":14,"name":"Chat de CallBell","key":"chatDeCallbell","value":"https","clientZoneVisible":false},{"id":112,"clientId":2,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PetN1dhr4rx0kX","clientZoneVisible":true},{"id":178,"clientId":2,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":179,"clientId":2,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":309,"clientId":2,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true},{"id":428,"clientId":2,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: n#Cx89qC#r64LPR# Servicio 2: b@2zMYxSQR2BdkG9","clientZoneVisible":false}],"accountBalance":210,"accountCredit":210,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#f1df43","addressGpsLat":21.1564414,"addressGpsLon":-100.9383654,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":true,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3362,"clientId":2,"number":"003308","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3380,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":152,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0},{"id":3381,"type":"service","label":"INTERMEDIO 01\/05\/2026 \u2013 31\/05\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":157,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":800,"discount":null,"discountLabel":"Descuento","taxes":[],"total":800,"amountPaid":800,"totalUntaxed":800,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1575,"invoiceId":3362,"paymentId":983,"creditNoteId":null,"refundId":null,"amount":100},{"id":1576,"invoiceId":3362,"paymentId":986,"creditNoteId":null,"refundId":null,"amount":200},{"id":1577,"invoiceId":3362,"paymentId":988,"creditNoteId":null,"refundId":null,"amount":150},{"id":1578,"invoiceId":3362,"paymentId":989,"creditNoteId":null,"refundId":null,"amount":180},{"id":1579,"invoiceId":3362,"paymentId":990,"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":"Daniel Humberto","clientLastName":"Soto Villegas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas 31","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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":1016,"clientId":2,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:51:14-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":1180,"attributes":[{"id":"ca154820-c6b6-48da-9517-e718e96e45ad","paymentId":1016,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
+
+Nombre del cliente que se va a actualizar: Daniel Humberto Soto Villegas
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Daniel Humberto Soto Villegas","custom_fields":{"Site":"VENUS","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","Cliente":2,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2210 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"Saldo Actual\": \"\ud83d\udcb2210 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲20 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲210 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'MAY HUMBERTO SOTO VILLEGAS', UCRM: 'Daniel Humberto Soto Villegas'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"🟢 Activo ","Monto Ultimo Pago":"💲 100","Nombre":"👤 Daniel Humberto Soto Villegas","Site":"VENUS","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"Saldo Actual\": \"💲210 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10/04/2026 17:51 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","Domicilio":"📍 Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/2","Saldo Actual":"💲210 a favor","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"📆💸 10/04/2026 17:51 con Tarjeta de crédito Stripe 💳","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:08.062855] [notice] Logging level set to:debug
+[2026-04-21 16:00:08.062911] [debug] Payload recibido: {"uuid":"fbfdf16e-4f87-42fb-b1d2-75788d5c5c63","changeType":"draft_approved","entity":"invoice","entityId":"3363","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3363,"clientId":173,"number":"003309","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3382,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":170,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9","clientLastName":"P\u00e9rez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"baja california sur 23","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-04-21 16:00:08.322206] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:08.322319] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:09.260524] [notice] Logging level set to:debug
+[2026-04-21 16:00:09.260576] [debug] Payload recibido: {"uuid":"7588bbf3-dde7-42d0-b2d2-79090555560f","changeType":"draft_approved","entity":"invoice","entityId":"3364","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3364,"clientId":156,"number":"003310","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3383,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":161,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 Gricelda","clientLastName":"L\u00f3pez Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 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-04-21 16:00:09.511207] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:09.511332] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:09.511396] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181817609
+[2026-04-21 16:00:09.511497] [debug] onlyUpdate: Teléfono validado: 524181817609
+[2026-04-21 16:00:10.309928] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda L\u00f3pez Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2026-04-15T20:31:53Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https:\/\/dash.callbell.eu\/chat\/90611886ac204c56a75240f951c53874","tags":["s0LOCS","Sus"],"assignedUser":null,"customFields":{"Saldo Actual":"\ud83d\udcb2600 pendientes","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 22\/03\/2026 10:00","user entry point":"inbound_message","Cliente":"156","Site":"0LOCS","Antena\/Sectorial":"Sectorial-4b 172.16.13.16\/24","Clabe Interbancaria":"124180553522369174","Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","Monto Ultimo Pago":"\ud83d\udcb2 899.33","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","Estado":"\ud83d\udfe0 Suspendido","Resumen":"{\"Cliente\": \"156\",\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/156\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 899.33\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/02\/2026 10:28 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"22\/03\/2026 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/02\/2026 10:28 con Personalizado \ud83d\udcdd\ud83d\udcb8","user name":"Gricel"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:10.310014] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181817609
+Notificacion data: {"uuid":"7588bbf3-dde7-42d0-b2d2-79090555560f","changeType":"draft_approved","entity":"invoice","entityId":3364,"message":null,"clientId":156,"eventName":"invoice.draft_approved","clientData":{"id":156,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"34 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria Gricelda","lastName":"L\u00f3pez Avalos","username":null,"contacts":[{"id":160,"clientId":156,"email":null,"phone":"4181817609","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":152,"clientId":156,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWj8SZIs9d3z41","clientZoneVisible":true},{"id":153,"clientId":156,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180553522369174","clientZoneVisible":true},{"id":204,"clientId":156,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":11,"name":"PAGO EJIDO GV","colorBackground":"#fed74a","colorText":"#444"}],"invitationEmailSentDate":null,"avatarColor":"#7cb342","addressGpsLat":21.1562598,"addressGpsLon":-100.9370894,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3364,"clientId":156,"number":"003310","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3383,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":161,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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 Gricelda","clientLastName":"L\u00f3pez Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 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":952,"clientId":156,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2026-02-09T10:28:22-0600","amount":899.33,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1515,"invoiceId":2693,"paymentId":952,"creditNoteId":null,"refundId":null,"amount":299.33},{"id":1516,"invoiceId":2839,"paymentId":952,"creditNoteId":null,"refundId":null,"amount":300},{"id":1517,"invoiceId":2981,"paymentId":952,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[{"id":"e81bd96f-4164-4550-873b-6ce17a348e87","paymentId":952,"customAttributeId":6,"name":"Pagos De","key":"pagosDe","value":"EGV","clientZoneVisible":true}]}]
+
+Nombre del cliente que se va a actualizar: Maria Gricelda López Avalos
+
+UUID: 2038d2d99ae543f3b56f1ae54f4cc82b
+
+JSON con los datos a actualizar: {"name":"Maria Gricelda L\u00f3pez Avalos","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/156","Nombre":"\ud83d\udc64 Maria Gricelda L\u00f3pez Avalos","Cliente":156,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 899.33","Clabe Interbancaria":"124180553522369174","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 09\/02\/2026 10:28 con Personalizado \ud83d\udcdd\ud83d\udcb8","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"156\",\"Nombre\": \"Maria Gricelda L\u00f3pez Avalos\",\"Saldo Actual\": \"\ud83d\udcb2900 pendientes\",\"Monto Ultimo Pago\": \"$ 899.33\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09\/02\/2026 10:28 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲600 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲900 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Site. CallBell: '0LOCS', UCRM: ''
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"2038d2d99ae543f3b56f1ae54f4cc82b","name":"Maria Gricelda López Avalos","phoneNumber":"5214181817609","avatarUrl":null,"createdAt":"2024-01-26T18:16:09Z","closedAt":"2026-04-15T20:31:53Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/2038d2d99ae543f3b56f1ae54f4cc82b","conversationHref":"https://dash.callbell.eu/chat/90611886ac204c56a75240f951c53874","tags":["s0LOCS","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Cliente":"156","Site":"0LOCS","Antena/Sectorial":"Sectorial-4b 172.16.13.16/24","Clabe Interbancaria":"124180553522369174","Domicilio":"📍 Yucatán 34, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/156","Nombre":"👤 Maria Gricelda López Avalos","Monto Ultimo Pago":"💲 899.33","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Estado":"🟠 Suspendido","Fecha Ultimo Pago":"📆💸 09/02/2026 10:28 con Personalizado 📝💸","user name":"Gricel","Resumen":"{\"Cliente\": \"156\",\"Nombre\": \"Maria Gricelda López Avalos\",\"Saldo Actual\": \"💲900 pendientes\",\"Monto Ultimo Pago\": \"$ 899.33\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 09/02/2026 10:28 con Personalizado 📝💸\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"124180553522369174\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Saldo Actual":"💲900 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:11.682148] [notice] Logging level set to:debug
+[2026-04-21 16:00:11.682214] [debug] Payload recibido: {"uuid":"4e78f360-f0fd-4135-8f60-de4cf38a4466","changeType":"draft_approved","entity":"invoice","entityId":"3365","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3365,"clientId":133,"number":"003311","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3384,"type":"service","label":"INTERMEDIO 21\/03\/2026 \u2013 20\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":114,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Los Amigos","clientLastName":"Invisibles","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Calle Colima","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:12.015029] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:12.015269] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:12.420912] [notice] Logging level set to:debug
+[2026-04-21 16:00:12.420973] [debug] Payload recibido: {"uuid":"7a584300-2f2d-4716-b808-5cfd8c196743","changeType":"draft_approved","entity":"invoice","entityId":"3366","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3366,"clientId":146,"number":"003312","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3385,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1580,"invoiceId":3366,"paymentId":839,"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":null}}
+
+[2026-04-21 16:00:12.651405] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:12.651599] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:12.651700] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181878106
+[2026-04-21 16:00:12.651834] [debug] onlyUpdate: Teléfono validado: 5214181878106
+[2026-04-21 16:00:13.627770] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Daniel Humberto Soto Villegas","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Estado":"\ud83d\udfe2 Activo ","Monto Ultimo Pago":"\ud83d\udcb2 100","Nombre":"\ud83d\udc64 Daniel Humberto Soto Villegas","Site":"VENUS","Cliente":"2","Resumen":"{\"Cliente\": \"2\",\"Nombre\": \"Daniel Humberto Soto Villegas\",\"Saldo Actual\": \"\ud83d\udcb2210 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"0021804341999569810\",\"Password Antena\": {\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}}","Domicilio":"\ud83d\udccd Chiapas 31, Dolores Hidalgo Cuna de la Independencia Nacional, 37800","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/2","Saldo Actual":"\ud83d\udcb2210 a favor","Clabe Interbancaria":"0021804341999569810","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:51 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","password-antena":"{\"Servicio 1\":\"n#Cx89qC#r64LPR#\",\"Servicio 2\":\"b@2zMYxSQR2BdkG9\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:13.627840] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181878106
+Notificacion data: {"uuid":"7a584300-2f2d-4716-b808-5cfd8c196743","changeType":"draft_approved","entity":"invoice","entityId":3366,"message":null,"clientId":146,"eventName":"invoice.draft_approved","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},{"id":278,"clientId":146,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":2425,"accountCredit":2425,"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":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3366,"clientId":146,"number":"003312","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3385,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":131,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":300,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1580,"invoiceId":3366,"paymentId":839,"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":1017,"clientId":146,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-10T17:55:23-0600","amount":50,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":50,"userId":1180,"attributes":[{"id":"62cdfa59-a878-44c5-af55-d9e93aab4f8d","paymentId":1017,"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
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Delfino De los Mares venus","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","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 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb22425 a favor","Monto Ultimo Pago":"\ud83d\udcb2 50","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:55 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\",\"Saldo Actual\": \"\ud83d\udcb22425 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲210 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2425 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Daniel Humberto Soto Villegas', UCRM: 'Delfino De los Mares venus'
+
+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-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 50","Nombre":"👤 Delfino De los Mares venus","Site":"VENUS","Cliente":"146","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"💲2425 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10/04/2026 17:55 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","Domicilio":"📍 Yucatán 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🟠 Suspendido","URL":"🌐 https://sistema.siip.mx/crm/client/146","Saldo Actual":"💲2425 a favor","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"📆💸 10/04/2026 17:55 con Tarjeta de crédito Stripe 💳","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:14.814373] [notice] Logging level set to:debug
+[2026-04-21 16:00:14.814424] [debug] Payload recibido: {"uuid":"d3147a1e-8e42-4c92-a06e-d45f6233722f","changeType":"draft_approved","entity":"invoice","entityId":"3367","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3367,"clientId":155,"number":"003313","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3386,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":167,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"German","clientLastName":"Mart\u00ednez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Sinaloa","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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-04-21 16:00:15.041726] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:15.041827] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:15.041893] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181234589
+[2026-04-21 16:00:15.041945] [debug] onlyUpdate: Teléfono validado: 524181234589
+[2026-04-21 16:00:15.397926] [debug] onlyUpdate: Contacto obtenido de CallBell: {"error":"not found"}
+[2026-04-21 16:00:15.398015] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181234589
+Notificacion data: {"uuid":"d3147a1e-8e42-4c92-a06e-d45f6233722f","changeType":"draft_approved","entity":"invoice","entityId":3367,"message":null,"clientId":155,"eventName":"invoice.draft_approved","clientData":{"id":155,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Sinaloa","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Sinaloa 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-11-30T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"German","lastName":"Mart\u00ednez","username":null,"contacts":[{"id":153,"clientId":155,"email":null,"phone":"4181234589","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":149,"clientId":155,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RJYf1z7xvK9ZUF","clientZoneVisible":true},{"id":150,"clientId":155,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180629437591110","clientZoneVisible":true},{"id":256,"clientId":155,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Q,f3c-:EmCGB?j8N","clientZoneVisible":false}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":14,"name":"PAGO SILLEROS","colorBackground":"#8e1600","colorText":"#fff"}],"invitationEmailSentDate":null,"avatarColor":"#546e7a","addressGpsLat":21.160578,"addressGpsLon":-100.9364158,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3367,"clientId":155,"number":"003313","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3386,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":167,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"German","clientLastName":"Mart\u00ednez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Sinaloa","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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":985,"clientId":155,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2026-03-02T12:58:45-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":"Manual","providerPaymentId":"1772477925357-155","providerPaymentTime":"2026-03-02T12:58:45-0600","paymentCovers":[{"id":1552,"invoiceId":3103,"paymentId":985,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: German Martínez
+
+UUID:
+
+JSON con los datos a actualizar: {"name":"German Mart\u00ednez","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/155","Nombre":"\ud83d\udc64 German Mart\u00ednez","Cliente":155,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":"124180629437591110","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 02\/03\/2026 12:58 con Personalizado \ud83d\udcdd\ud83d\udcb8","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Sinaloa 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"155\",\"Nombre\": \"German Mart\u00ednez\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 02\/03\/2026 12:58 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180629437591110\",\"Password Antena\": {\"Servicio 1\":\"Q,f3c-:EmCGB?j8N\"}}","password-antena":"{\"Servicio 1\":\"Q,f3c-:EmCGB?j8N\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲600 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'NULL', UCRM: 'German Martínez'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell:
+
+[2026-04-21 16:00:16.677059] [notice] Logging level set to:debug
+[2026-04-21 16:00:16.677114] [debug] Payload recibido: {"uuid":"7e5210a6-a4cb-421e-a731-a19ba7605a3e","changeType":"draft_approved","entity":"invoice","entityId":"3368","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3368,"clientId":174,"number":"003314","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3387,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":159,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Luigi","clientLastName":"S\u00e1nchez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Guadalupe 23","clientStreet2":null,"clientCity":"Dolores Hidalgo Guanajuato","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:16.930993] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:16.931157] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:18.082144] [notice] Logging level set to:debug
+[2026-04-21 16:00:18.082201] [debug] Payload recibido: {"uuid":"17f13620-f699-47ce-a7c3-5a472325e01c","changeType":"draft_approved","entity":"invoice","entityId":"3369","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3369,"clientId":129,"number":"003315","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3388,"type":"service","label":"INTERMEDIO 01\/04\/2026 \u2013 30\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":117,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Loco","clientLastName":"Valdez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:18.559940] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:18.560060] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:19.587399] [notice] Logging level set to:debug
+[2026-04-21 16:00:19.587451] [debug] Payload recibido: {"uuid":"d01f69ab-065a-4feb-a6e8-01ab6b245dbc","changeType":"draft_approved","entity":"invoice","entityId":"3370","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3370,"clientId":166,"number":"003316","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3389,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":171,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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":"Tejeda Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"39 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:19.808573] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:19.808687] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:21.079020] [notice] Logging level set to:debug
+[2026-04-21 16:00:21.079081] [debug] Payload recibido: {"uuid":"70eee046-384e-45c8-85b5-ac3f9c159e94","changeType":"draft_approved","entity":"invoice","entityId":"3371","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3371,"clientId":162,"number":"003317","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3390,"type":"service","label":"PREMIUM 01\/04\/2026 \u2013 30\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:21.367938] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:21.368061] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:21.370045] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181878106
+[2026-04-21 16:00:21.370151] [debug] onlyUpdate: Teléfono validado: 524181878106
+[2026-04-21 16:00:22.792330] [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-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"\ud83d\udcb2 50","Nombre":"\ud83d\udc64 Delfino De los Mares venus","Site":"VENUS","Cliente":"146","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Resumen":"{\"Cliente\": \"146\",\"Nombre\": \"Delfino De los Mares venus\",\"Saldo Actual\": \"\ud83d\udcb22425 a favor\",\"Monto Ultimo Pago\": \"$ 50\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 10\/04\/2026 17:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180695453333629\",\"Password Antena\": {\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}}","Domicilio":"\ud83d\udccd Yucat\u00e1n 36, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/146","Saldo Actual":"\ud83d\udcb22425 a favor","Clabe Interbancaria":"002180695453333629","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 10\/04\/2026 17:55 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","password-antena":"{\"Servicio 1\":\"ETfEB8at@GAqUt#2\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:22.792433] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181878106
+Notificacion data: {"uuid":"70eee046-384e-45c8-85b5-ac3f9c159e94","changeType":"draft_approved","entity":"invoice","entityId":3371,"message":null,"clientId":162,"eventName":"invoice.draft_approved","clientData":{"id":162,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"76 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-07T00:00:00-0600","leadConvertedAt":"2025-01-10T10:32:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Edward","lastName":"Elric","username":null,"contacts":[{"id":166,"clientId":162,"email":"eduardelric@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":160,"clientId":162,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RYsuykCEvupaGF","clientZoneVisible":true},{"id":161,"clientId":162,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180599808752427","clientZoneVisible":true},{"id":233,"clientId":162,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":297,"clientId":162,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-2000,"accountCredit":0,"accountOutstanding":2000,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d84315","addressGpsLat":21.1575488,"addressGpsLon":-100.9409119,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3371,"clientId":162,"number":"003317","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3390,"type":"service","label":"PREMIUM 01\/04\/2026 \u2013 30\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":128,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Edward","clientLastName":"Elric","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"76 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":889,"clientId":162,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2026-01-26T17:53:56-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1540,"invoiceId":3116,"paymentId":889,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Edward Elric
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Edward Elric","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Nombre":"\ud83d\udc64 Edward Elric","Cliente":162,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb22000 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":"124180599808752427","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 26\/01\/2026 17:53 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"162\",\"Nombre\": \"Edward Elric\",\"Saldo Actual\": \"\ud83d\udcb22000 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 26\/01\/2026 17:53 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2425 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲2000 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Delfino De los Mares venus', UCRM: 'Edward Elric'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 100","Nombre":"👤 Edward Elric","Site":"VENUS","Cliente":"162","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Estado":"🟠 Suspendido","Saldo Actual":"💲2000 pendientes","Resumen":"{\"Cliente\": \"162\",\"Nombre\": \"Edward Elric\",\"Saldo Actual\": \"💲2000 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 26/01/2026 17:53 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Domicilio":"📍 Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/162","Clabe Interbancaria":"124180599808752427","Fecha Ultimo Pago":"📆💸 26/01/2026 17:53 con Efectivo 💵","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:24.566188] [notice] Logging level set to:debug
+[2026-04-21 16:00:24.566246] [debug] Payload recibido: {"uuid":"5f62b946-871b-444a-8448-5cc292fe9745","changeType":"draft_approved","entity":"invoice","entityId":"3372","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3372,"clientId":105,"number":"003318","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3391,"type":"service","label":"plan300 21\/03\/2026 \u2013 20\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":111,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"jota","clientLastName":"serpiente","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":null,"clientCountryId":173,"clientStateId":null,"clientZipCode":null,"attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:24.778266] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:24.778367] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:25.702353] [notice] Logging level set to:debug
+[2026-04-21 16:00:25.702405] [debug] Payload recibido: {"uuid":"fa23feb6-3526-412a-a07a-40113065b3da","changeType":"draft_approved","entity":"invoice","entityId":"3373","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3373,"clientId":112,"number":"003319","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3392,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":153,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Do\u00f1a petra","clientLastName":"Gonzalez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Tamaulipas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:25.964195] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:25.964303] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:27.129021] [notice] Logging level set to:debug
+[2026-04-21 16:00:27.129079] [debug] Payload recibido: {"uuid":"d8547630-08ba-496a-b56d-cb6a0b45e29b","changeType":"draft_approved","entity":"invoice","entityId":"3374","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3374,"clientId":148,"number":"003320","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3393,"type":"service","label":"plan300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:27.360049] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:27.360156] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:27.360224] [debug] onlyUpdate: Iniciando actualización para teléfono: 41818781806
+[2026-04-21 16:00:27.360281] [debug] onlyUpdate: Teléfono validado: 41818781806
+[2026-04-21 16:00:27.717914] [debug] onlyUpdate: Contacto obtenido de CallBell: {"error":"not found"}
+[2026-04-21 16:00:27.718352] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 41818781806
+Notificacion data: {"uuid":"d8547630-08ba-496a-b56d-cb6a0b45e29b","changeType":"draft_approved","entity":"invoice","entityId":3374,"message":null,"clientId":148,"eventName":"invoice.draft_approved","clientData":{"id":148,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-08-19T00:00:00-0600","leadConvertedAt":"2024-08-19T15:08:20-0600","companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"El AR","lastName":"Real 3D","username":null,"contacts":[{"id":152,"clientId":148,"email":"elarquijuve@gmail.com","phone":"41818781806","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":147,"clientId":148,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_Qh0pTQM9a96D8B","clientZoneVisible":true},{"id":148,"clientId":148,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180834778043086","clientZoneVisible":true},{"id":406,"clientId":148,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"(Mfr:}C5pG4DE@giW?{{","clientZoneVisible":false}],"accountBalance":-4500,"accountCredit":0,"accountOutstanding":4500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#c62828","addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3374,"clientId":148,"number":"003320","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3393,"type":"service","label":"plan300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":116,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El AR","clientLastName":"Real 3D","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":368,"clientId":148,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-08-19T15:10:06-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":"2024-08-19T15:10:13-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":416,"invoiceId":852,"paymentId":368,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: El AR Real 3D
+
+UUID:
+
+JSON con los datos a actualizar: {"name":"El AR Real 3D","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/148","Nombre":"\ud83d\udc64 El AR Real 3D","Cliente":148,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb24500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Clabe Interbancaria":"002180834778043086","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"148\",\"Nombre\": \"El AR Real 3D\",\"Saldo Actual\": \"\ud83d\udcb24500 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 19\/08\/2024 15:10 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180834778043086\",\"Password Antena\": {\"Servicio 1\":\"(Mfr:}C5pG4DE@giW?{{\"}}","password-antena":"{\"Servicio 1\":\"(Mfr:}C5pG4DE@giW?{{\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲4500 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'NULL', UCRM: 'El AR Real 3D'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell:
+
+[2026-04-21 16:00:28.936644] [notice] Logging level set to:debug
+[2026-04-21 16:00:28.936702] [debug] Payload recibido: {"uuid":"ee940cc2-cfed-4743-b8c9-b430fdf6a42e","changeType":"draft_approved","entity":"invoice","entityId":"3375","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3375,"clientId":1,"number":"003321","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3394,"type":"service","label":"PREMIUM 01\/05\/2026 \u2013 31\/05\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":162,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:29.159179] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:29.159287] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:29.159349] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181148554
+[2026-04-21 16:00:29.159403] [debug] onlyUpdate: Teléfono validado: 5214181148554
+[2026-04-21 16:00:31.379543] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https:\/\/dash.callbell.eu\/chat\/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena\/Sectorial":"1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Cliente":"1","user name":"Angel","Saldo Actual":"\ud83d\udcb28500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Estado":"\ud83d\udfe0 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/1\",\"Saldo Actual\": \"\ud83d\udcb28500 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/03\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:31.379628] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181148554
+Notificacion data: {"uuid":"ee940cc2-cfed-4743-b8c9-b430fdf6a42e","changeType":"draft_approved","entity":"invoice","entityId":3375,"message":null,"clientId":1,"eventName":"invoice.draft_approved","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"El jefe","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-9200,"accountCredit":0,"accountOutstanding":9200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3375,"clientId":1,"number":"003321","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3394,"type":"service","label":"PREMIUM 01\/05\/2026 \u2013 31\/05\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":162,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":696,"clientId":1,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:22:40-0600","amount":70,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:22:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":832,"invoiceId":2712,"paymentId":696,"creditNoteId":null,"refundId":null,"amount":70}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González
+
+UUID: 0e53e926ce424db5b9284a75915d24fe
+
+JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Cliente":1,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb29200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Clabe Interbancaria":"002180697144444854","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb29200 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8500 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9200 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Saldo Actual. CallBell: '💲8500 pendientes', UCRM: '💲9200 pendientes'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲9200 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟠 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"Saldo Actual\": \"💲9200 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:32.802418] [notice] Logging level set to:debug
+[2026-04-21 16:00:32.802474] [debug] Payload recibido: {"uuid":"788c060f-9375-47b3-8814-88d52482903f","changeType":"draft_approved","entity":"invoice","entityId":"3376","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3376,"clientId":161,"number":"003322","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3395,"type":"service","label":"PREMIUM 01\/04\/2026 \u2013 30\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":164,"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":"Cesar Antonio","clientLastName":"Juarez Garcia","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"S\/N Carretera a R\u00edo 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-04-21 16:00:33.023327] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:33.023438] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:33.484922] [notice] Logging level set to:debug
+[2026-04-21 16:00:33.484983] [debug] Payload recibido: {"uuid":"94ae79bf-8e41-45c0-9bc3-b5e435e3a135","changeType":"draft_approved","entity":"invoice","entityId":"3377","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3377,"clientId":136,"number":"003323","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3396,"type":"service","label":"INTERMEDIO 21\/03\/2026 \u2013 20\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":112,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":500,"discount":null,"discountLabel":"Descuento","taxes":[],"total":500,"amountPaid":0,"totalUntaxed":500,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":500,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Mus","clientLastName":"Tafah","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"22 Yucat\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:33.714485] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:33.714600] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:34.967930] [notice] Logging level set to:debug
+[2026-04-21 16:00:34.967998] [debug] Payload recibido: {"uuid":"5ade21c4-9779-4d4e-8e8d-7dce52b45489","changeType":"draft_approved","entity":"invoice","entityId":"3378","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3378,"clientId":135,"number":"003324","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3397,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":172,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0},{"id":3398,"type":"service","label":"INTERMEDIO 01\/04\/2026 \u2013 30\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":174,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":800,"discount":null,"discountLabel":"Descuento","taxes":[],"total":800,"amountPaid":800.0000000000001,"totalUntaxed":800,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1581,"invoiceId":3378,"paymentId":904,"creditNoteId":null,"refundId":null,"amount":41.67},{"id":1582,"invoiceId":3378,"paymentId":905,"creditNoteId":null,"refundId":null,"amount":210},{"id":1583,"invoiceId":3378,"paymentId":906,"creditNoteId":null,"refundId":null,"amount":340},{"id":1584,"invoiceId":3378,"paymentId":907,"creditNoteId":null,"refundId":null,"amount":208.33}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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":"Escutia","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"13 Calle San Antonio","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37806","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:35.198690] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:35.198792] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:35.198849] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181878106
+[2026-04-21 16:00:35.198916] [debug] onlyUpdate: Teléfono validado: 524181878106
+[2026-04-21 16:00:36.352308] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Edward Elric","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"\ud83d\udcb2 100","Nombre":"\ud83d\udc64 Edward Elric","Site":"VENUS","Cliente":"162","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Estado":"\ud83d\udfe0 Suspendido","Saldo Actual":"\ud83d\udcb22000 pendientes","Resumen":"{\"Cliente\": \"162\",\"Nombre\": \"Edward Elric\",\"Saldo Actual\": \"\ud83d\udcb22000 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 26\/01\/2026 17:53 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180599808752427\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","Domicilio":"\ud83d\udccd Chiapas 76, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/162","Clabe Interbancaria":"124180599808752427","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 26\/01\/2026 17:53 con Efectivo \ud83d\udcb5","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:36.352415] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181878106
+Notificacion data: {"uuid":"5ade21c4-9779-4d4e-8e8d-7dce52b45489","changeType":"draft_approved","entity":"invoice","entityId":3378,"message":null,"clientId":135,"eventName":"invoice.draft_approved","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":310,"clientId":135,"customAttributeId":15,"name":"Site","key":"site","value":"VENUS","clientZoneVisible":false},{"id":312,"clientId":135,"customAttributeId":22,"name":"ip","key":"ip","value":"172.16.86.64","clientZoneVisible":false},{"id":313,"clientId":135,"customAttributeId":24,"name":"adminpass","key":"adminpass","value":"admin1390","clientZoneVisible":true},{"id":314,"clientId":135,"customAttributeId":29,"name":"instalador","key":"instalador","value":"Chanclas","clientZoneVisible":true},{"id":311,"clientId":135,"customAttributeId":16,"name":"Antena\/Sectorial","key":"antenaSectorial","value":"Sectorial de pruebas 172.16.5.134","clientZoneVisible":false},{"id":429,"clientId":135,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Servicio 1: A758fuWkA4bN@Z3E Servicio 2: ZckxzQJGU4TrJ#Bw","clientZoneVisible":false}],"accountBalance":8791.67,"accountCredit":8791.67,"accountOutstanding":0,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[{"id":12,"name":"PAGO ELI","colorBackground":"#0050a1","colorText":"#fff"}],"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":{"id":3378,"clientId":135,"number":"003324","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3397,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":172,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0},{"id":3398,"type":"service","label":"INTERMEDIO 01\/04\/2026 \u2013 30\/04\/2026","price":500,"quantity":1,"total":500,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":174,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":800,"discount":null,"discountLabel":"Descuento","taxes":[],"total":800,"amountPaid":800,"totalUntaxed":800,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":0,"currencyCode":"MXN","status":3,"paymentCovers":[{"id":1581,"invoiceId":3378,"paymentId":904,"creditNoteId":null,"refundId":null,"amount":41.67},{"id":1582,"invoiceId":3378,"paymentId":905,"creditNoteId":null,"refundId":null,"amount":210},{"id":1583,"invoiceId":3378,"paymentId":906,"creditNoteId":null,"refundId":null,"amount":340},{"id":1584,"invoiceId":3378,"paymentId":907,"creditNoteId":null,"refundId":null,"amount":208.33}],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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":"Escutia","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"13 Calle San Antonio","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37806","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":1000,"clientId":135,"methodId":"1dd098fa-5d63-4c8d-88b7-3c27ffbbb6ae","checkNumber":null,"createdDate":"2026-04-04T11:24:56-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[],"creditAmount":100,"userId":null,"attributes":[{"id":"62154ee4-24cd-4a9f-8761-1c3516106cdf","paymentId":1000,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"Tarjeta de Cr\u00e9dito","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":"VENUS","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 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb28791.67 a favor","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":"002180674088308545","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/04\/2026 11:24 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"Saldo Actual\": \"\ud83d\udcb28791.67 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/04\/2026 11:24 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180674088308545\",\"Password Antena\": {\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}}","password-antena":"{\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲2000 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲8791.67 a favor'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Edward Elric', UCRM: 'Juan Escutia'
+
+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-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 100","Nombre":"👤 Juan Escutia","Site":"VENUS","Cliente":"135","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Saldo Actual":"💲8791.67 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"Saldo Actual\": \"💲8791.67 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04/04/2026 11:24 con Tarjeta de crédito Stripe 💳\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"002180674088308545\",\"Password Antena\": {\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}}","Domicilio":"📍 Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Estado":"🟢 Activo ","URL":"🌐 https://sistema.siip.mx/crm/client/135","Clabe Interbancaria":"002180674088308545","Fecha Ultimo Pago":"📆💸 04/04/2026 11:24 con Tarjeta de crédito Stripe 💳","password-antena":"{\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:37.778184] [notice] Logging level set to:debug
+[2026-04-21 16:00:37.778237] [debug] Payload recibido: {"uuid":"d0e6660e-4ae5-4bdc-83fd-05634b6a6488","changeType":"draft_approved","entity":"invoice","entityId":"3379","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3379,"clientId":158,"number":"003325","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3399,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":165,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":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":"Guti\u00e9rrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 San Luis","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37804","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:38.154795] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:38.154894] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:39.122387] [notice] Logging level set to:debug
+[2026-04-21 16:00:39.122445] [debug] Payload recibido: {"uuid":"d73f95f7-ed05-4be6-9b66-28ce057f94a4","changeType":"draft_approved","entity":"invoice","entityId":"3380","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3380,"clientId":119,"number":"003326","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3400,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":169,"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":1585,"invoiceId":3380,"paymentId":948,"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":"Mofles El","clientLastName":"Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:39.373097] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:39.373205] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:39.373261] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181878106
+[2026-04-21 16:00:39.373327] [debug] onlyUpdate: Teléfono validado: 524181878106
+[2026-04-21 16:00:39.758444] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Juan Escutia","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"\ud83d\udcb2 100","Nombre":"\ud83d\udc64 Juan Escutia","Site":"VENUS","Cliente":"135","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb28791.67 a favor","Resumen":"{\"Cliente\": \"135\",\"Nombre\": \"Juan Escutia\",\"Saldo Actual\": \"\ud83d\udcb28791.67 a favor\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 04\/04\/2026 11:24 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180674088308545\",\"Password Antena\": {\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}}","Domicilio":"\ud83d\udccd Calle San Antonio 13, Lindavista, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/135","Clabe Interbancaria":"002180674088308545","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 04\/04\/2026 11:24 con Tarjeta de cr\u00e9dito Stripe \ud83d\udcb3","password-antena":"{\"Servicio 1\":\"A758fuWkA4bN@Z3E\",\"Servicio 2\":\"ZckxzQJGU4TrJ#Bw\"}","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:39.758546] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181878106
+Notificacion data: {"uuid":"d73f95f7-ed05-4be6-9b66-28ce057f94a4","changeType":"draft_approved","entity":"invoice","entityId":3380,"message":null,"clientId":119,"eventName":"invoice.draft_approved","clientData":{"id":119,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"24 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Mofles El","lastName":"Ruco Lopez","username":null,"contacts":[{"id":123,"clientId":119,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":114,"clientId":119,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PzWh6NJK4ZW3JJ","clientZoneVisible":true},{"id":115,"clientId":119,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180561838360383","clientZoneVisible":true},{"id":217,"clientId":119,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"MhBuS+8>[KJiGdu.","clientZoneVisible":false},{"id":281,"clientId":119,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-200,"accountCredit":0,"accountOutstanding":200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#4527a0","addressGpsLat":21.1558353,"addressGpsLon":-100.9384629,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":false,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3380,"clientId":119,"number":"003326","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3400,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":169,"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":1585,"invoiceId":3380,"paymentId":948,"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":"Mofles El","clientLastName":"Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"24 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":948,"clientId":119,"methodId":"b01c0b35-b42c-48d9-9ad9-ea6591adfbbb","checkNumber":null,"createdDate":"2026-02-02T16:45:52-0600","amount":100,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1585,"invoiceId":3380,"paymentId":948,"creditNoteId":null,"refundId":null,"amount":100}],"creditAmount":0,"userId":1180,"attributes":[{"id":"96ebce27-2a4c-4baf-a016-dc94eac1868b","paymentId":948,"customAttributeId":20,"name":"Tipo Pago Stripe","key":"tipoPagoStripe","value":"OXXO Pay","clientZoneVisible":true}]}]
+
+Nombre del cliente que se va a actualizar: Mofles El Ruco Lopez
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Mofles El Ruco Lopez","custom_fields":{"Site":"","Estado":"\ud83d\udfe2 Activo ","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/119","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","Cliente":119,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 100","Clabe Interbancaria":"002180561838360383","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 02\/02\/2026 16:45 con Desconocido, revisar metodos de pago no contemplados","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"119\",\"Nombre\": \"Mofles El Ruco Lopez\",\"Saldo Actual\": \"\ud83d\udcb2200 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 02\/02\/2026 16:45 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180561838360383\",\"Password Antena\": {\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}}","password-antena":"{\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲8791.67 a favor'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲200 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Juan Escutia', UCRM: 'Mofles El Ruco Lopez'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 100","Nombre":"👤 Mofles El Ruco Lopez","Site":"VENUS","Cliente":"119","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Saldo Actual":"💲200 pendientes","Estado":"🟢 Activo ","password-antena":"{\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}","Resumen":"{\"Cliente\": \"119\",\"Nombre\": \"Mofles El Ruco Lopez\",\"Saldo Actual\": \"💲200 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 02/02/2026 16:45 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"002180561838360383\",\"Password Antena\": {\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}}","Domicilio":"📍 Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/119","Clabe Interbancaria":"002180561838360383","Fecha Ultimo Pago":"📆💸 02/02/2026 16:45 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:41.754515] [notice] Logging level set to:debug
+[2026-04-21 16:00:41.754569] [debug] Payload recibido: {"uuid":"33834e93-7fe6-43ff-9063-7d84b18c111a","changeType":"draft_approved","entity":"invoice","entityId":"3381","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3381,"clientId":167,"number":"003327","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3401,"type":"service","label":"PREMIUM 01\/04\/2026 \u2013 30\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":173,"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":"Javier","clientLastName":"Alatorre","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"34 Avenida Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:41.985224] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:41.985327] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:42.916064] [notice] Logging level set to:debug
+[2026-04-21 16:00:42.916115] [debug] Payload recibido: {"uuid":"96e156c7-00ae-41a9-ae0f-57245d3986ba","changeType":"draft_approved","entity":"invoice","entityId":"3382","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3382,"clientId":137,"number":"003328","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3402,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":168,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El t\u00edo","clientLastName":"Lucas","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 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-04-21 16:00:43.126810] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:43.126914] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:44.357124] [notice] Logging level set to:debug
+[2026-04-21 16:00:44.357199] [debug] Payload recibido: {"uuid":"84a3fde6-f9a1-4b4c-84f3-ee4189c1abac","changeType":"draft_approved","entity":"invoice","entityId":"3383","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3383,"clientId":164,"number":"003329","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3403,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":166,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Isra","clientLastName":"Marcial","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:44.610580] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:44.610686] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:45.803023] [notice] Logging level set to:debug
+[2026-04-21 16:00:45.803080] [debug] Payload recibido: {"uuid":"a891b567-7cab-4e94-a0a5-a32b3e22b46c","changeType":"draft_approved","entity":"invoice","entityId":"3384","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3384,"clientId":134,"number":"003330","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-20T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3404,"type":"service","label":"PREMIUM 21\/03\/2026 \u2013 20\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":113,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"La Mosca","clientLastName":"Tse Tse","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"25 Michoac\u00e1n","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:46.039005] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:46.039110] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:47.251879] [notice] Logging level set to:debug
+[2026-04-21 16:00:47.251938] [debug] Payload recibido: {"uuid":"eadc8ac3-39d1-4293-b30b-5623ccda9cec","changeType":"draft_approved","entity":"invoice","entityId":"3385","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3385,"clientId":138,"number":"003331","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3405,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":148,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Mofles","clientLastName":"El Ruco Lopez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"89 Baja California Sur","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:47.480613] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:47.480726] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:48.647253] [notice] Logging level set to:debug
+[2026-04-21 16:00:48.647305] [debug] Payload recibido: {"uuid":"f2eade87-ac7f-4db1-adf1-223263b78312","changeType":"draft_approved","entity":"invoice","entityId":"3386","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3386,"clientId":157,"number":"003332","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3406,"type":"service","label":"plan300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:48.965015] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:48.965148] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:48.965224] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181515664
+[2026-04-21 16:00:48.965306] [debug] onlyUpdate: Teléfono validado: 5214181515664
+[2026-04-21 16:00:49.444252] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https:\/\/dash.callbell.eu\/chat\/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Domicilio":"\ud83d\udccd ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37803","Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Clabe Interbancaria":"124180695267429334","Antena\/Sectorial":"157","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","user name":"Angel \ud83d\ude07\/\ud83d\ude08","Cliente":"157","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Resumen":"{\"Cliente\": \"157\",\"Nombre\": \"ANGEL ARVIZU SIIP\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/157\",\"Saldo Actual\": \"\ud83d\udcb2300 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 28\/02\/2026 13:28 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"22\/03\/2026 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}}","password-antena":"{\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}","Monto Ultimo Pago":"\ud83d\udcb2 300","Estado":"\ud83d\udfe0 Suspendido","Saldo Actual":"\ud83d\udcb2300 pendientes","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/02\/2026 13:28 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 06\/04\/2026 12:30"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:49.444314] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181515664
+Notificacion data: {"uuid":"f2eade87-ac7f-4db1-adf1-223263b78312","changeType":"draft_approved","entity":"invoice","entityId":3386,"message":null,"clientId":157,"eventName":"invoice.draft_approved","clientData":{"id":157,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"ADJUNTAS DEL RIO","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37803","fullAddress":"ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37803","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2025-01-04T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"ANGEL","lastName":"ARVIZU SIIP","username":null,"contacts":[{"id":161,"clientId":157,"email":null,"phone":"5214181515664","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":154,"clientId":157,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_RWjBO6Lsy1TgAV","clientZoneVisible":true},{"id":155,"clientId":157,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180695267429334","clientZoneVisible":true},{"id":274,"clientId":157,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"ShY2XV@G@H4au#n6","clientZoneVisible":false},{"id":273,"clientId":157,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1181055,"addressGpsLon":-100.8554524,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3386,"clientId":157,"number":"003332","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3406,"type":"service","label":"plan300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":127,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"ANGEL","clientLastName":"ARVIZU SIIP","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"ADJUNTAS DEL RIO","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":976,"clientId":157,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2026-02-28T13:28:34-0600","amount":300,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1546,"invoiceId":3110,"paymentId":976,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: ANGEL ARVIZU SIIP
+
+UUID: 362193e0af9b4ffc8ed5d7f930dd120f
+
+JSON con los datos a actualizar: {"name":"ANGEL ARVIZU SIIP","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/157","Nombre":"\ud83d\udc64 ANGEL ARVIZU SIIP","Cliente":157,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":"124180695267429334","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/02\/2026 13:28 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37803","Resumen":"{\"Cliente\": \"157\",\"Nombre\": \"ANGEL ARVIZU SIIP\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/02\/2026 13:28 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Password Antena\": {\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}}","password-antena":"{\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲300 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲600 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Saldo Actual. CallBell: '💲300 pendientes', UCRM: '💲600 pendientes'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"362193e0af9b4ffc8ed5d7f930dd120f","name":"ANGEL ARVIZU SIIP","phoneNumber":"5214181515664","avatarUrl":null,"createdAt":"2025-01-07T22:55:44Z","closedAt":"2025-03-20T17:12:35Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/362193e0af9b4ffc8ed5d7f930dd120f","conversationHref":"https://dash.callbell.eu/chat/56dec9b4f3334325b737683f2d8ff8b2","tags":[],"assignedUser":null,"customFields":{"Domicilio":"📍 ADJUNTAS DEL RIO, Dolores Hidalgo Cuna de la Independencia Nacional, 37803","Acciones":"NOBOT-SIIP","user entry point":"inbound_message","Clabe Interbancaria":"124180695267429334","Antena/Sectorial":"157","Nombre":"👤 ANGEL ARVIZU SIIP","user name":"Angel 😇/😈","Cliente":"157","URL":"🌐 https://sistema.siip.mx/crm/client/157","password-antena":"{\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}","Monto Ultimo Pago":"💲 300","Estado":"🟠 Suspendido","Saldo Actual":"💲600 pendientes","Fecha Ultimo Pago":"📆💸 28/02/2026 13:28 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Resumen":"{\"Cliente\": \"157\",\"Nombre\": \"ANGEL ARVIZU SIIP\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/02/2026 13:28 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"124180695267429334\",\"Password Antena\": {\"Servicio 1\":\"ShY2XV@G@H4au#n6\"}}"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:51.472313] [notice] Logging level set to:debug
+[2026-04-21 16:00:51.472362] [debug] Payload recibido: {"uuid":"2325673d-d620-40ea-be32-d2bbc5189562","changeType":"draft_approved","entity":"invoice","entityId":"3387","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3387,"clientId":114,"number":"003333","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3407,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:51.709830] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:51.709945] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:51.710046] [debug] onlyUpdate: Iniciando actualización para teléfono: 41856987412
+[2026-04-21 16:00:51.710107] [debug] onlyUpdate: Teléfono validado: 41856987412
+[2026-04-21 16:00:52.061831] [debug] onlyUpdate: Contacto obtenido de CallBell: {"error":"not found"}
+[2026-04-21 16:00:52.061909] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 41856987412
+Notificacion data: {"uuid":"2325673d-d620-40ea-be32-d2bbc5189562","changeType":"draft_approved","entity":"invoice","entityId":3387,"message":null,"clientId":114,"eventName":"invoice.draft_approved","clientData":{"id":114,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"45 Guanajuato","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Juan Calavera","lastName":"Gonz\u00e1lez","username":null,"contacts":[{"id":118,"clientId":114,"email":"juancalavera@gmail.com","phone":"41856987412","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":188,"clientId":114,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_S0EQeXBl8NhBZi","clientZoneVisible":true},{"id":189,"clientId":114,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"124180969856650415","clientZoneVisible":true},{"id":315,"clientId":114,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"onUZR#G22@EEc3W8","clientZoneVisible":false}],"accountBalance":-900,"accountCredit":0,"accountOutstanding":900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#1e88e5","addressGpsLat":21.1567207,"addressGpsLon":-100.9310153,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3387,"clientId":114,"number":"003333","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3407,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":149,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Juan Calavera","clientLastName":"Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"45 Guanajuato","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":972,"clientId":114,"methodId":"d8c1eae9-d41d-479f-aeaf-38497975d7b3","checkNumber":null,"createdDate":"2026-02-16T10:05:37-0600","amount":3380,"currencyCode":"MXN","note":null,"receiptSentDate":"2026-02-16T10:05:41-0600","providerName":"Manual","providerPaymentId":"1771257937761-114","providerPaymentTime":"2026-02-16T10:05:37-0600","paymentCovers":[{"id":1527,"invoiceId":1704,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":80},{"id":1528,"invoiceId":1705,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1529,"invoiceId":1827,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1530,"invoiceId":1951,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1531,"invoiceId":2068,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1532,"invoiceId":2200,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1533,"invoiceId":2327,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1534,"invoiceId":2437,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1535,"invoiceId":2563,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1536,"invoiceId":2694,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1537,"invoiceId":2846,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300},{"id":1538,"invoiceId":2991,"paymentId":972,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[{"id":"f20a36a0-d3e1-48a4-8a9a-46d60528d5ec","paymentId":972,"customAttributeId":6,"name":"Pagos De","key":"pagosDe","value":"Juanita","clientZoneVisible":true}]}]
+
+Nombre del cliente que se va a actualizar: Juan Calavera González
+
+UUID:
+
+JSON con los datos a actualizar: {"name":"Juan Calavera Gonz\u00e1lez","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/114","Nombre":"\ud83d\udc64 Juan Calavera Gonz\u00e1lez","Cliente":114,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3380","Clabe Interbancaria":"124180969856650415","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 16\/02\/2026 10:05 con Personalizado \ud83d\udcdd\ud83d\udcb8","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Guanajuato 45, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"114\",\"Nombre\": \"Juan Calavera Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb2900 pendientes\",\"Monto Ultimo Pago\": \"$ 3380\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 16\/02\/2026 10:05 con Personalizado \ud83d\udcdd\ud83d\udcb8\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"124180969856650415\",\"Password Antena\": {\"Servicio 1\":\"onUZR#G22@EEc3W8\"}}","password-antena":"{\"Servicio 1\":\"onUZR#G22@EEc3W8\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲900 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: 'NULL'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'NULL', UCRM: 'Juan Calavera González'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell:
+
+[2026-04-21 16:00:53.188802] [notice] Logging level set to:debug
+[2026-04-21 16:00:53.188854] [debug] Payload recibido: {"uuid":"a077459f-83b5-403b-a5c6-69505aace45a","changeType":"draft_approved","entity":"invoice","entityId":"3388","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3388,"clientId":172,"number":"003334","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3408,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":158,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Gabriel","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"veracruz 24","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-04-21 16:00:53.434638] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:53.434739] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:54.438620] [notice] Logging level set to:debug
+[2026-04-21 16:00:54.438671] [debug] Payload recibido: {"uuid":"c54d22bf-806b-4b23-980b-a2a7c2063605","changeType":"draft_approved","entity":"invoice","entityId":"3389","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3389,"clientId":12,"number":"003335","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3409,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":163,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:54.660505] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:54.660608] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:54.660674] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181577623
+[2026-04-21 16:00:54.660732] [debug] onlyUpdate: Teléfono validado: 524181577623
+[2026-04-21 16:00:55.423093] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"ALEJANDRO MOCTEZUMA ALMAGUER","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https:\/\/dash.callbell.eu\/chat\/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","user name":"M\u00edriam Moctezuma","Antena\/Sectorial":"SECTORIAL-2 172.16.12.11\/24","Site":"GPE1","Saldo Actual":"\ud83d\udcb20 est\u00e1 al corriente","Monto Ultimo Pago":"\ud83d\udcb2 300","Nombre":"\ud83d\udc64 ALEJANDRO MOCTEZUMA ALMAGUER","password-antena":"{\"Servicio 1\":\"s&~=qL~QeV3pH5!;(@J~\"}","Resumen":"{\"Cliente\": \"574\",\"Nombre\": \"ALEJANDRO MOCTEZUMA ALMAGUER\",\"Saldo Actual\": \"\ud83d\udcb20 est\u00e1 al corriente\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 07\/04\/2026 17:34 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 07:06\",\"Clabe Interbancaria\": \"124180650725363841\",\"Password Antena\": {\"Servicio 1\":\"s&~=qL~QeV3pH5!;(@J~\"}}","Domicilio":"\ud83d\udccd DOCTOR MORA #51,FRACCIONAMIENTO GUANAJUATO, Dolores Hidalgo C.I.N., 37800","Estado":"\ud83d\udfe2 Activo ","Cliente":"574","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/574","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 07\/04\/2026 17:34 con Efectivo \ud83d\udcb5","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 07:06"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:55.423171] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181577623
+Notificacion data: {"uuid":"c54d22bf-806b-4b23-980b-a2a7c2063605","changeType":"draft_approved","entity":"invoice","entityId":3389,"message":null,"clientId":12,"eventName":"invoice.draft_approved","clientData":{"id":12,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":null,"street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"DOLORES HIDALGO","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-29T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"MIRIAM","lastName":"ZURITA RAMIREZ","username":"mzurita12","contacts":[{"id":13,"clientId":12,"email":null,"phone":"4181577623","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":247,"clientId":12,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-15633.33,"accountCredit":0,"accountOutstanding":15633.33,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#9c27b0","addressGpsLat":21.1574,"addressGpsLon":-100.934617,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3389,"clientId":12,"number":"003335","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3409,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":163,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"MIRIAM","clientLastName":"ZURITA RAMIREZ","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":null,"clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":11,"clientId":12,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2024-01-29T11:46:50-0600","amount":3500,"currencyCode":"MXN","note":null,"receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":13,"invoiceId":20,"paymentId":11,"creditNoteId":null,"refundId":null,"amount":3500}],"creditAmount":0,"userId":1000,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: MIRIAM ZURITA RAMIREZ
+
+UUID: 7ec1948ad8af4bcd8eff0d7c2a995d09
+
+JSON con los datos a actualizar: {"name":"MIRIAM ZURITA RAMIREZ","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/12","Nombre":"\ud83d\udc64 MIRIAM ZURITA RAMIREZ","Cliente":12,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb215633.33 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 3500","Clabe Interbancaria":"","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd DOLORES HIDALGO","Resumen":"{\"Cliente\": \"12\",\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"Saldo Actual\": \"\ud83d\udcb215633.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29\/01\/2024 11:46 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲0 está al corriente'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲15633.33 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'ALEJANDRO MOCTEZUMA ALMAGUER', UCRM: 'MIRIAM ZURITA RAMIREZ'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"7ec1948ad8af4bcd8eff0d7c2a995d09","name":"MIRIAM ZURITA RAMIREZ","phoneNumber":"5214181577623","avatarUrl":null,"createdAt":"2023-12-22T16:52:57Z","closedAt":"2025-01-07T23:12:30Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/7ec1948ad8af4bcd8eff0d7c2a995d09","conversationHref":"https://dash.callbell.eu/chat/d06f5a96768c4945b7a659a6930e5fa0","tags":[],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clabe Interbancaria":"124180650725363841","user name":"Míriam Moctezuma","Antena/Sectorial":"SECTORIAL-2 172.16.12.11/24","Site":"GPE1","Saldo Actual":"💲15633.33 pendientes","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Domicilio":"📍 DOLORES HIDALGO","Estado":"🟠 Suspendido","Resumen":"{\"Cliente\": \"12\",\"Nombre\": \"MIRIAM ZURITA RAMIREZ\",\"Saldo Actual\": \"💲15633.33 pendientes\",\"Monto Ultimo Pago\": \"$ 3500\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 29/01/2024 11:46 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Cliente":"12","URL":"🌐 https://sistema.siip.mx/crm/client/12","Monto Ultimo Pago":"💲 3500","Fecha Ultimo Pago":"📆💸 29/01/2024 11:46 con Efectivo 💵","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Nombre":"👤 MIRIAM ZURITA RAMIREZ"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:56.718421] [notice] Logging level set to:debug
+[2026-04-21 16:00:56.718472] [debug] Payload recibido: {"uuid":"40dd4c06-bdbf-440f-85bd-69f26967275e","changeType":"draft_approved","entity":"invoice","entityId":"3390","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3390,"clientId":131,"number":"003336","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3410,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":160,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Payaso","clientLastName":"Loco","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"15 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:56.940560] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:56.940665] [debug] Aprobación de Factura
+
+[2026-04-21 16:00:56.940718] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181878106
+[2026-04-21 16:00:56.940773] [debug] onlyUpdate: Teléfono validado: 524181878106
+[2026-04-21 16:00:57.353195] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Mofles El Ruco Lopez","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https:\/\/dash.callbell.eu\/chat\/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"\ud83d\udcb2 100","Nombre":"\ud83d\udc64 Mofles El Ruco Lopez","Site":"VENUS","Cliente":"119","Antena\/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2200 pendientes","Estado":"\ud83d\udfe2 Activo ","password-antena":"{\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}","Resumen":"{\"Cliente\": \"119\",\"Nombre\": \"Mofles El Ruco Lopez\",\"Saldo Actual\": \"\ud83d\udcb2200 pendientes\",\"Monto Ultimo Pago\": \"$ 100\",\"Estado\": \"Activo\",\"Fecha Ultimo Pago\": \" 02\/02\/2026 16:45 con Desconocido, revisar metodos de pago no contemplados\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180561838360383\",\"Password Antena\": {\"Servicio 1\":\"MhBuS+8>[KJiGdu.\"}}","Domicilio":"\ud83d\udccd Campeche 24, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/119","Clabe Interbancaria":"002180561838360383","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 02\/02\/2026 16:45 con Desconocido, revisar metodos de pago no contemplados","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-21 16:00:57.353256] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181878106
+Notificacion data: {"uuid":"40dd4c06-bdbf-440f-85bd-69f26967275e","changeType":"draft_approved","entity":"invoice","entityId":3390,"message":null,"clientId":131,"eventName":"invoice.draft_approved","clientData":{"id":131,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"15 Campeche","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Campeche 15, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-06-18T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Payaso","lastName":"Loco","username":null,"contacts":[{"id":135,"clientId":131,"email":"payasoloco@gmail.com","phone":"4181878106","name":null,"isBilling":false,"isContact":false,"types":[{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":208,"clientId":131,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":279,"clientId":131,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#d81b60","addressGpsLat":21.1582653,"addressGpsLon":-100.9371641,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3390,"clientId":131,"number":"003336","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3410,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":160,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Payaso","clientLastName":"Loco","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"15 Campeche","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":991,"clientId":131,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2026-03-12T14:26:59-0600","amount":300,"currencyCode":"MXN","note":"Cobrado por: danielhumberto","receiptSentDate":null,"providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":1554,"invoiceId":3117,"paymentId":991,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Payaso Loco
+
+UUID: 74cc2bb45eb8409f92cd5dba99200d26
+
+JSON con los datos a actualizar: {"name":"Payaso Loco","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/131","Nombre":"\ud83d\udc64 Payaso Loco","Cliente":131,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb2600 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 300","Clabe Interbancaria":"","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 12\/03\/2026 14:26 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Campeche 15, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"131\",\"Nombre\": \"Payaso Loco\",\"Saldo Actual\": \"\ud83d\udcb2600 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12\/03\/2026 14:26 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲200 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲600 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟢 Activo '
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia en name. CallBell: 'Mofles El Ruco Lopez', UCRM: 'Payaso Loco'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"74cc2bb45eb8409f92cd5dba99200d26","name":"Payaso Loco","phoneNumber":"5214181878106","avatarUrl":null,"createdAt":"2024-01-08T17:04:13Z","closedAt":"2026-04-20T21:16:46Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/74cc2bb45eb8409f92cd5dba99200d26","conversationHref":"https://dash.callbell.eu/chat/53c8229c428c4081b197ab136feab73b","tags":["PRUEBAS","s0LOCS","Contra.","Sus"],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Monto Ultimo Pago":"💲 300","Nombre":"👤 Payaso Loco","Site":"VENUS","Cliente":"131","Antena/Sectorial":"Sectorial de pruebas 172.16.5.134","Fecha Ultima Actualizacion":"📆🔄️ 21/04/2026 10:00","Saldo Actual":"💲600 pendientes","Estado":"🟠 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Clabe Interbancaria":"002180561838360383","Resumen":"{\"Cliente\": \"131\",\"Nombre\": \"Payaso Loco\",\"Saldo Actual\": \"💲600 pendientes\",\"Monto Ultimo Pago\": \"$ 300\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 12/03/2026 14:26 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"21/04/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}}","Domicilio":"📍 Campeche 15, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","URL":"🌐 https://sistema.siip.mx/crm/client/131","Fecha Ultimo Pago":"📆💸 12/03/2026 14:26 con Efectivo 💵","user name":"Daniel Humberto"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-21 16:00:58.838717] [notice] Logging level set to:debug
+[2026-04-21 16:00:58.838768] [debug] Payload recibido: {"uuid":"4035421a-2668-46f4-a58c-4e2c99754039","changeType":"draft_approved","entity":"invoice","entityId":"3391","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3391,"clientId":176,"number":"003337","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3411,"type":"service","label":"Basico 300 01\/04\/2026 \u2013 30\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":175,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Diego Emmanuel","clientLastName":"Rodr\u00edguez Arellano","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"54 Calle Nayarit","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37803","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:00:59.049551] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:00:59.049669] [debug] Aprobación de Factura
+
+[2026-04-21 16:01:00.257622] [notice] Logging level set to:debug
+[2026-04-21 16:01:00.257674] [debug] Payload recibido: {"uuid":"6007aa5b-c898-4f0b-ac85-4ba25c6b2b1d","changeType":"draft_approved","entity":"invoice","entityId":"3392","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3392,"clientId":141,"number":"003338","createdDate":"2026-04-21T10:00:01-0600","dueDate":"2026-05-05T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-21T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3412,"type":"service","label":"Basico 300 01\/05\/2026 \u2013 31\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":135,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"El Caim\u00e1n","clientLastName":"Dorado","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 Coahuila","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-21 16:01:00.684374] [debug] Evento recibido: invoice.draft_approved
+[2026-04-21 16:01:00.684488] [debug] Aprobación de Factura
+
+[2026-04-22 6:25:03.866446] [notice] Logging level set to:debug
+[2026-04-22 6:25:03.867006] [debug] Payload recibido: {"uuid":"4f9f765b-58f9-4450-9fe2-2b58dedf2ed0","changeType":"overdue","entity":"invoice","entityId":"3357","eventName":"invoice.overdue","extraData":{"entity":{"id":3357,"clientId":116,"number":"003303","createdDate":"2026-04-07T10:00:02-0600","dueDate":"2026-04-21T10:00:02-0600","emailSentDate":"2026-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3375,"type":"service","label":"PREMIUM 07\/03\/2026 \u2013 06\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-22 6:25:04.116410] [debug] Evento recibido: invoice.overdue
+[2026-04-22 6:25:04.116535] [debug] Factura vencida
+
+[2026-04-22 6:25:04.116583] [debug] datos del notification para el invoice overdue:{"uuid":"4f9f765b-58f9-4450-9fe2-2b58dedf2ed0","changeType":"overdue","entity":"invoice","entityId":3357,"message":null,"clientId":116,"eventName":"invoice.overdue","clientData":{"id":116,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"28 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 28, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-24T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Jos\u00e9 Humberto","lastName":"Rodr\u00edguez","username":null,"contacts":[{"id":120,"clientId":116,"email":"josehumberto@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":215,"clientId":116,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-15400,"accountCredit":0,"accountOutstanding":15400,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#cddc39","addressGpsLat":21.1566139,"addressGpsLon":-100.9384516,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3357,"clientId":116,"number":"003303","createdDate":"2026-04-07T10:00:02-0600","dueDate":"2026-04-21T10:00:02-0600","emailSentDate":"2026-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3375,"type":"service","label":"PREMIUM 07\/03\/2026 \u2013 06\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":110,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Jos\u00e9 Humberto","clientLastName":"Rodr\u00edguez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"28 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+contac vacio
+[2026-04-22 6:25:04.370174] [notice] Logging level set to:debug
+[2026-04-22 6:25:04.370233] [debug] Payload recibido: {"uuid":"f3481797-73e4-47b8-b2eb-6850f688389e","changeType":"overdue","entity":"invoice","entityId":"3358","eventName":"invoice.overdue","extraData":{"entity":{"id":3358,"clientId":110,"number":"003304","createdDate":"2026-04-07T10:00:02-0600","dueDate":"2026-04-21T10:00:02-0600","emailSentDate":"2026-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3376,"type":"service","label":"plan300 07\/03\/2026 \u2013 06\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-22 6:25:04.667973] [debug] Evento recibido: invoice.overdue
+[2026-04-22 6:25:04.668088] [debug] Factura vencida
+
+[2026-04-22 6:25:04.668133] [debug] datos del notification para el invoice overdue:{"uuid":"f3481797-73e4-47b8-b2eb-6850f688389e","changeType":"overdue","entity":"invoice","entityId":3358,"message":null,"clientId":110,"eventName":"invoice.overdue","clientData":{"id":110,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-23T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Maria la del Barrio","lastName":"Soy","username":null,"contacts":[{"id":114,"clientId":110,"email":"dhsv.141089@gmail.com","phone":"4181878106","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"}]}],"attributes":[{"id":239,"clientId":110,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":299,"clientId":110,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-300,"accountCredit":0,"accountOutstanding":300,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ef6c00","addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":false,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3358,"clientId":110,"number":"003304","createdDate":"2026-04-07T10:00:02-0600","dueDate":"2026-04-21T10:00:02-0600","emailSentDate":"2026-04-22T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-05T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3376,"type":"service","label":"plan300 07\/03\/2026 \u2013 06\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":109,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Maria la del Barrio","clientLastName":"Soy","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"67 Morelos","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37805","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+[2026-04-22 18:30:04.510162] [notice] Logging level set to:debug
+[2026-04-22 18:30:04.510257] [debug] Payload recibido: {"uuid":"3a47d2e8-b807-4bb6-9e82-fdfbf043e810","changeType":"suspend","entity":"service","entityId":"109","eventName":"service.suspend","extraData":{"entity":{"id":109,"prepaid":false,"clientId":110,"status":3,"name":"plan300","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","note":null,"addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-06-07T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-06-07T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":7,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-04-06T00:00:00-0600","unmsClientSiteId":"96c433fe-b683-4acd-bf50-e8b87209a620","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":107,"startDate":"2024-07-23T00:00:00-0600","endDate":"2026-01-21T00:00:00-0600"},{"id":197,"startDate":"2026-02-22T00:00:00-0600","endDate":"2026-02-27T00:00:00-0600"},{"id":225,"startDate":"2026-04-22T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":109,"prepaid":false,"clientId":110,"status":1,"name":"plan300","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","note":null,"addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-06-07T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-06-07T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":7,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-04-06T00:00:00-0600","unmsClientSiteId":"96c433fe-b683-4acd-bf50-e8b87209a620","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":107,"startDate":"2024-07-23T00:00:00-0600","endDate":"2026-01-21T00:00:00-0600"},{"id":197,"startDate":"2026-02-22T00:00:00-0600","endDate":"2026-02-27T00:00:00-0600"},{"id":225,"startDate":"2026-04-22T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-22 18:30:04.965764] [debug] Evento recibido: service.suspend
+[2026-04-22 18:30:04.965881] [debug] Se suspendió el servicio a un cliente
+
+[2026-04-22 18:30:05.209300] [notice] Logging level set to:debug
+[2026-04-22 18:30:05.209434] [debug] Payload recibido: {"uuid":"f6440012-425a-4c3a-8355-dd633cb34676","changeType":"edit","entity":"service","entityId":"109","eventName":"service.edit","extraData":{"entity":{"id":109,"prepaid":false,"clientId":110,"status":3,"name":"plan300","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","note":null,"addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-06-07T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-06-07T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":7,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-04-06T00:00:00-0600","unmsClientSiteId":"96c433fe-b683-4acd-bf50-e8b87209a620","attributes":[],"addressData":null,"suspensionReasonId":1,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":107,"startDate":"2024-07-23T00:00:00-0600","endDate":"2026-01-21T00:00:00-0600"},{"id":197,"startDate":"2026-02-22T00:00:00-0600","endDate":"2026-02-27T00:00:00-0600"},{"id":225,"startDate":"2026-04-22T12:30:03-0600","endDate":null}],"surcharges":[]},"entityBeforeEdit":{"id":109,"prepaid":false,"clientId":110,"status":1,"name":"plan300","fullAddress":"Morelos 67, Dolores Hidalgo, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","street1":"67 Morelos","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37805","note":null,"addressGpsLat":21.1464449,"addressGpsLon":-100.9141442,"servicePlanId":2,"servicePlanPeriodId":7,"price":300,"hasIndividualPrice":false,"totalPrice":300,"currencyCode":"MXN","invoiceLabel":null,"contractId":null,"contractLengthType":1,"minimumContractLengthMonths":null,"activeFrom":"2024-06-07T00:00:00-0600","activeTo":null,"contractEndDate":null,"discountType":0,"discountValue":null,"discountInvoiceLabel":"Descuento","discountFrom":null,"discountTo":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"invoicingStart":"2024-06-07T00:00:00-0600","invoicingPeriodType":1,"invoicingPeriodStartDay":7,"nextInvoicingDayAdjustment":0,"invoicingProratedSeparately":true,"invoicingSeparately":false,"sendEmailsAutomatically":null,"useCreditAutomatically":true,"servicePlanName":"plan300","servicePlanPrice":300,"servicePlanPeriod":1,"servicePlanType":"Internet","downloadSpeed":6,"uploadSpeed":6,"hasOutage":false,"unmsClientSiteStatus":null,"fccBlockId":null,"lastInvoicedDate":"2026-04-06T00:00:00-0600","unmsClientSiteId":"96c433fe-b683-4acd-bf50-e8b87209a620","attributes":[],"addressData":null,"suspensionReasonId":null,"serviceChangeRequestId":null,"setupFeePrice":null,"earlyTerminationFeePrice":null,"downloadSpeedOverride":null,"uploadSpeedOverride":null,"trafficShapingOverrideEnd":null,"trafficShapingOverrideEnabled":false,"servicePlanGroupId":null,"suspensionPeriods":[{"id":107,"startDate":"2024-07-23T00:00:00-0600","endDate":"2026-01-21T00:00:00-0600"},{"id":197,"startDate":"2026-02-22T00:00:00-0600","endDate":"2026-02-27T00:00:00-0600"},{"id":225,"startDate":"2026-04-22T12:30:03-0600","endDate":null}],"surcharges":[]}}}
+
+[2026-04-22 18:30:05.486357] [debug] Evento recibido: service.edit
+[2026-04-22 18:30:05.487118] [debug] Se editó el servicio a un cliente
+
+[2026-04-22 18:30:05.488111] [info] Iniciando verificación/sincronización de contraseña para el cliente ID: 110
+[2026-04-24 6:25:03.574271] [notice] Logging level set to:debug
+[2026-04-24 6:25:03.574342] [debug] Payload recibido: {"uuid":"0191d9bb-0488-4e4b-9d98-364ca3e93917","changeType":"overdue","entity":"invoice","entityId":"3359","eventName":"invoice.overdue","extraData":{"entity":{"id":3359,"clientId":118,"number":"003305","createdDate":"2026-04-09T10:00:01-0600","dueDate":"2026-04-23T10:00:01-0600","emailSentDate":"2026-04-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3377,"type":"service","label":"plan300 09\/03\/2026 \u2013 08\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-24 6:25:03.833168] [debug] Evento recibido: invoice.overdue
+[2026-04-24 6:25:03.833278] [debug] Factura vencida
+
+[2026-04-24 6:25:03.833329] [debug] datos del notification para el invoice overdue:{"uuid":"0191d9bb-0488-4e4b-9d98-364ca3e93917","changeType":"overdue","entity":"invoice","entityId":3359,"message":null,"clientId":118,"eventName":"invoice.overdue","clientData":{"id":118,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"56 Chiapas","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Chiapas 56, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-04-25T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Toro Sentado","lastName":"Ram\u00edrez","username":null,"contacts":[{"id":122,"clientId":118,"email":"pepeeltoro141089@gmail.com","phone":null,"name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":119,"clientId":118,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180173419260258","clientZoneVisible":true},{"id":216,"clientId":118,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false},{"id":277,"clientId":118,"customAttributeId":21,"name":"RUTA DE COBRANZA","key":"rutaDeCobranza","value":"GUSANO","clientZoneVisible":true}],"accountBalance":-600,"accountCredit":0,"accountOutstanding":600,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#fb8c00","addressGpsLat":21.1572733,"addressGpsLon":-100.9403274,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3359,"clientId":118,"number":"003305","createdDate":"2026-04-09T10:00:01-0600","dueDate":"2026-04-23T10:00:01-0600","emailSentDate":"2026-04-24T00:00:00-0600","maturityDays":14,"taxableSupplyDate":"2026-04-07T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3377,"type":"service","label":"plan300 09\/03\/2026 \u2013 08\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":105,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Toro Sentado","clientLastName":"Ram\u00edrez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+contac vacio
+[2026-04-24 16:00:06.631639] [notice] Logging level set to:debug
+[2026-04-24 16:00:06.631715] [debug] Payload recibido: {"uuid":"33a86274-b3a4-474c-bc44-49787367b14a","changeType":"draft_approved","entity":"invoice","entityId":"3393","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3393,"clientId":126,"number":"003339","createdDate":"2026-04-24T10:00:02-0600","dueDate":"2026-05-08T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-23T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3413,"type":"service","label":"PREMIUM 24\/03\/2026 \u2013 23\/04\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":108,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"DANIEL INNU","clientLastName":"RATA","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Chiapas","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de la Independencia Nacional","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-24 16:00:06.913446] [debug] Evento recibido: invoice.draft_approved
+[2026-04-24 16:00:06.913575] [debug] Aprobación de Factura
+
+[2026-04-25 16:00:05.578763] [notice] Logging level set to:debug
+[2026-04-25 16:00:05.578861] [debug] Payload recibido: {"uuid":"077062c9-3b7a-4368-9323-a154c83a6544","changeType":"draft_approved","entity":"invoice","entityId":"3394","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3394,"clientId":1,"number":"003340","createdDate":"2026-04-25T10:00:01-0600","dueDate":"2026-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3414,"type":"service","label":"PREMIUM 25\/04\/2026 \u2013 24\/05\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-25 16:00:05.810864] [debug] Evento recibido: invoice.draft_approved
+[2026-04-25 16:00:05.813683] [debug] Aprobación de Factura
+
+[2026-04-25 16:00:05.814045] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181148554
+[2026-04-25 16:00:05.814999] [debug] onlyUpdate: Teléfono validado: 5214181148554
+[2026-04-25 16:00:07.046345] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https:\/\/dash.callbell.eu\/chat\/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena\/Sectorial":"1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Cliente":"1","user name":"Angel","Saldo Actual":"\ud83d\udcb29200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Estado":"\ud83d\udfe0 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb29200 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"21\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 21\/04\/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-25 16:00:07.046492] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181148554
+Notificacion data: {"uuid":"077062c9-3b7a-4368-9323-a154c83a6544","changeType":"draft_approved","entity":"invoice","entityId":3394,"message":null,"clientId":1,"eventName":"invoice.draft_approved","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"El jefe","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-9900,"accountCredit":0,"accountOutstanding":9900,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3394,"clientId":1,"number":"003340","createdDate":"2026-04-25T10:00:01-0600","dueDate":"2026-05-09T10:00:01-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-25T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3414,"type":"service","label":"PREMIUM 25\/04\/2026 \u2013 24\/05\/2026","price":700,"quantity":1,"total":700,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":132,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":700,"discount":null,"discountLabel":"Descuento","taxes":[],"total":700,"amountPaid":0,"totalUntaxed":700,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":700,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":696,"clientId":1,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:22:40-0600","amount":70,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:22:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":832,"invoiceId":2712,"paymentId":696,"creditNoteId":null,"refundId":null,"amount":70}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González
+
+UUID: 0e53e926ce424db5b9284a75915d24fe
+
+JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Cliente":1,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb29900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Clabe Interbancaria":"002180697144444854","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb29900 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"25\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9200 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲9900 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Saldo Actual. CallBell: '💲9200 pendientes', UCRM: '💲9900 pendientes'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲9900 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟠 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Fecha Ultima Actualizacion":"📆🔄️ 25/04/2026 10:00","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"Saldo Actual\": \"💲9900 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"25/04/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"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,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-25 17:18:01.451225] [notice] Logging level set to:debug
+[2026-04-25 17:18:01.451407] [debug] Payload recibido: {
+ "id": "evt_3TQ9q8EFY1WEUtgR1VIS56KG",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1777137480,
+ "data": {
+ "object": {
+ "id": "pi_3TQ9q8EFY1WEUtgR1c98SrK3",
+ "object": "payment_intent",
+ "amount": 10000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "tip": {}
+ },
+ "amount_received": 0,
+ "application": null,
+ "application_fee_amount": null,
+ "automatic_payment_methods": null,
+ "canceled_at": null,
+ "cancellation_reason": null,
+ "capture_method": "automatic_async",
+ "client_secret": "pi_3TQ9q8EFY1WEUtgR1c98SrK3_secret_qklua2mM3nR1sZV2CN1Cz1g1H",
+ "confirmation_method": "automatic",
+ "created": 1777137480,
+ "currency": "mxn",
+ "customer": "cus_QZ7T1h3th3Dr7w",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "livemode": false,
+ "managed_payments": {
+ "enabled": false
+ },
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "clientId": "146",
+ "paymentType": "card.one_time",
+ "tipoPago": "Transferencia Bancaria"
+ },
+ "next_action": {
+ "display_bank_transfer_instructions": {
+ "amount_remaining": 10000,
+ "currency": "mxn",
+ "financial_addresses": [
+ {
+ "spei": {
+ "account_holder_address": {
+ "city": "Ciudad de México",
+ "country": "MX",
+ "line1": "Av Paseo de la Reforma 180 piso 29 col Juarez",
+ "line2": null,
+ "postal_code": "06600",
+ "state": "Ciudad de México"
+ },
+ "account_holder_name": "SIIP INTERNET",
+ "bank_address": {
+ "city": "Naucalpan",
+ "country": "MX",
+ "line1": "Blvd. Manuel Avila Camacho 1902",
+ "line2": "Planta Baja, Cd. Satelite",
+ "postal_code": "C.P. 53100",
+ "state": "Estado de Mexico"
+ },
+ "bank_code": "124",
+ "bank_name": "CITI MEXICO",
+ "clabe": "124180127512533812"
+ },
+ "supported_networks": [
+ "spei"
+ ],
+ "type": "spei"
+ }
+ ],
+ "hosted_instructions_url": "https://payments.stripe.com/bank_transfers/instructions/test_YWNjdF8xT2tHMFJFRlkxV0VVdGdSLF9VT3hsdHo5dlZYUktJRXhINDV5d1lwVExkVWo3R0430100qc7QNR7d",
+ "reference": "762831",
+ "type": "mx_bank_transfer"
+ },
+ "type": "display_bank_transfer_instructions"
+ },
+ "on_behalf_of": null,
+ "payment_method": "pm_1TQ9q8EFY1WEUtgRjbFjxkgn",
+ "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,
+ "shared_payment_granted_token": null,
+ "shipping": null,
+ "source": null,
+ "statement_descriptor": null,
+ "statement_descriptor_suffix": null,
+ "status": "requires_action",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_CkkzrZUgJuq3Ku",
+ "idempotency_key": "70a12749-5d45-4ed7-99fb-13749d54bd4f"
+ },
+ "type": "payment_intent.requires_action"
+}
+
+[2026-04-25 17:18:01.451474] [info] No UUID found in the webhook data
+[2026-04-25 17:18:01.467626] [notice] Logging level set to:debug
+[2026-04-25 17:18:01.477838] [debug] Payload recibido: {
+ "id": "evt_3TQ9q8EFY1WEUtgR1lVIMBqm",
+ "object": "event",
+ "api_version": "2023-10-16",
+ "created": 1777137480,
+ "data": {
+ "object": {
+ "id": "pi_3TQ9q8EFY1WEUtgR1c98SrK3",
+ "object": "payment_intent",
+ "amount": 10000,
+ "amount_capturable": 0,
+ "amount_details": {
+ "tip": {}
+ },
+ "amount_received": 0,
+ "application": null,
+ "application_fee_amount": null,
+ "automatic_payment_methods": null,
+ "canceled_at": null,
+ "cancellation_reason": null,
+ "capture_method": "automatic_async",
+ "client_secret": "pi_3TQ9q8EFY1WEUtgR1c98SrK3_secret_qklua2mM3nR1sZV2CN1Cz1g1H",
+ "confirmation_method": "automatic",
+ "created": 1777137480,
+ "currency": "mxn",
+ "customer": "cus_QZ7T1h3th3Dr7w",
+ "customer_account": null,
+ "description": null,
+ "excluded_payment_method_types": null,
+ "invoice": null,
+ "last_payment_error": null,
+ "latest_charge": null,
+ "livemode": false,
+ "managed_payments": {
+ "enabled": false
+ },
+ "metadata": {
+ "signedInAdminId": "1180",
+ "createdBy": "UCRM",
+ "clientId": "146",
+ "paymentType": "card.one_time",
+ "tipoPago": "Transferencia Bancaria"
+ },
+ "next_action": null,
+ "on_behalf_of": null,
+ "payment_method": null,
+ "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,
+ "shared_payment_granted_token": null,
+ "shipping": null,
+ "source": null,
+ "statement_descriptor": null,
+ "statement_descriptor_suffix": null,
+ "status": "requires_payment_method",
+ "transfer_data": null,
+ "transfer_group": null
+ }
+ },
+ "livemode": false,
+ "pending_webhooks": 2,
+ "request": {
+ "id": "req_CkkzrZUgJuq3Ku",
+ "idempotency_key": "70a12749-5d45-4ed7-99fb-13749d54bd4f"
+ },
+ "type": "payment_intent.created"
+}
+
+[2026-04-25 17:18:01.478018] [info] No UUID found in the webhook data
+[2026-04-27 16:00:05.216223] [notice] Logging level set to:debug
+[2026-04-27 16:00:05.216295] [debug] Payload recibido: {"uuid":"8520cc64-7f11-4051-a74a-d0754e4b8828","changeType":"draft_approved","entity":"invoice","entityId":"3395","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3395,"clientId":1,"number":"003341","createdDate":"2026-04-27T10:00:02-0600","dueDate":"2026-05-11T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3415,"type":"service","label":"plan300 27\/04\/2026 \u2013 26\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"entityBeforeEdit":null}}
+
+[2026-04-27 16:00:05.741305] [debug] Evento recibido: invoice.draft_approved
+[2026-04-27 16:00:05.741415] [debug] Aprobación de Factura
+
+[2026-04-27 16:00:05.741528] [debug] onlyUpdate: Iniciando actualización para teléfono: 5214181148554
+[2026-04-27 16:00:05.741650] [debug] onlyUpdate: Teléfono validado: 5214181148554
+[2026-04-27 16:00:06.594618] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https:\/\/dash.callbell.eu\/chat\/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena\/Sectorial":"1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Cliente":"1","user name":"Angel","Saldo Actual":"\ud83d\udcb29900 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Estado":"\ud83d\udfe0 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 25\/04\/2026 10:00","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb29900 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"25\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"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,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-27 16:00:06.594723] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 5214181148554
+Notificacion data: {"uuid":"8520cc64-7f11-4051-a74a-d0754e4b8828","changeType":"draft_approved","entity":"invoice","entityId":3395,"message":null,"clientId":1,"eventName":"invoice.draft_approved","clientData":{"id":1,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"Calle Morelos 34","street2":null,"city":"Dolores Hidalgo","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Calle Morelos 34, Dolores Hidalgo, 37800","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":"El jefe","sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-15T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":true,"firstName":"Don Miguel \u00c1ngel","lastName":"Guerrero Gonz\u00e1lez","username":"dguerrero01","contacts":[{"id":1,"clientId":1,"email":"mangelgg@gmail.com","phone":"5214181148554","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":110,"clientId":1,"customAttributeId":10,"name":"Stripe Customer ID","key":"stripeCustomerId","value":"cus_PdQvAvQ2wipl5k","clientZoneVisible":true},{"id":111,"clientId":1,"customAttributeId":11,"name":"Clabe Interbancaria","key":"clabeInterbancaria","value":"002180697144444854","clientZoneVisible":true},{"id":203,"clientId":1,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"gYAIEK:Be}SK*01z5+\/V","clientZoneVisible":false}],"accountBalance":-10200,"accountCredit":0,"accountOutstanding":10200,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#3f51b5","addressGpsLat":21.1572096,"addressGpsLon":-100.9377327,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3395,"clientId":1,"number":"003341","createdDate":"2026-04-27T10:00:02-0600","dueDate":"2026-05-11T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3415,"type":"service","label":"plan300 27\/04\/2026 \u2013 26\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":133,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Don Miguel \u00c1ngel","clientLastName":"Guerrero Gonz\u00e1lez","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"Calle Morelos 34","clientStreet2":null,"clientCity":"Dolores Hidalgo","clientCountryId":173,"clientStateId":null,"clientZipCode":"37800","attributes":[],"uncollectible":false,"proforma":false,"generatedInvoiceId":null,"proformaInvoiceId":null,"isAppliedVatReverseCharge":false,"payAutomatically":false,"printed":false},"paymentData":null}
+
+Dentro del proceso del patch:
+
+Datos traidos con payment api: [{"id":696,"clientId":1,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:22:40-0600","amount":70,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:22:43-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":832,"invoiceId":2712,"paymentId":696,"creditNoteId":null,"refundId":null,"amount":70}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Don Miguel Ángel Guerrero González
+
+UUID: 0e53e926ce424db5b9284a75915d24fe
+
+JSON con los datos a actualizar: {"name":"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/1","Nombre":"\ud83d\udc64 Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez","Cliente":1,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb210200 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 70","Clabe Interbancaria":"002180697144444854","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Calle Morelos 34, Dolores Hidalgo, 37800","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel \u00c1ngel Guerrero Gonz\u00e1lez\",\"Saldo Actual\": \"\ud83d\udcb210200 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:22 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/04\/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"Password Antena\": {\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}}","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\\/V\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲9900 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲10200 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Saldo Actual. CallBell: '💲9900 pendientes', UCRM: '💲10200 pendientes'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"0e53e926ce424db5b9284a75915d24fe","name":"Don Miguel Ángel Guerrero González","phoneNumber":"5214181148554","avatarUrl":null,"createdAt":"2024-01-26T17:29:28Z","closedAt":"2025-10-09T16:32:07Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/0e53e926ce424db5b9284a75915d24fe","conversationHref":"https://dash.callbell.eu/chat/f017e454a6b94ab297509274216c6795","tags":["SIIP","Sus","Contra."],"assignedUser":null,"customFields":{"user entry point":"inbound_message","Clientes Relacionados":"oxxo","Antena/Sectorial":"1","Nombre":"👤 Don Miguel Ángel Guerrero González","Clabe Interbancaria":"002180697144444854","Acciones":"1","Domicilio":"📍 Calle Morelos 34, Dolores Hidalgo, 37800","URL":"🌐 https://sistema.siip.mx/crm/client/1","Cliente":"1","user name":"Angel","Saldo Actual":"💲10200 pendientes","Monto Ultimo Pago":"💲 70","Fecha Ultimo Pago":"📆💸 28/11/2025 12:22 con Efectivo 💵","Estado":"🟠 Suspendido","password-antena":"{\"Servicio 1\":\"gYAIEK:Be}SK*01z5+\\/V\"}","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2026 10:00","Resumen":"{\"Cliente\": \"1\",\"Nombre\": \"Don Miguel Ángel Guerrero González\",\"Saldo Actual\": \"💲10200 pendientes\",\"Monto Ultimo Pago\": \"$ 70\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:22 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/04/2026 10:00\",\"Clabe Interbancaria\": \"002180697144444854\",\"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,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-27 16:00:08.231504] [notice] Logging level set to:debug
+[2026-04-27 16:00:08.231559] [debug] Payload recibido: {"uuid":"a1650e54-9354-4160-9e5e-d4b84406c112","changeType":"draft_approved","entity":"invoice","entityId":"3396","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3396,"clientId":4,"number":"003342","createdDate":"2026-04-27T10:00:02-0600","dueDate":"2026-05-11T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-26T00:00:00+0000","notes":null,"adminNotes":null,"items":[{"id":3416,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 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-04-27 16:00:08.460191] [debug] Evento recibido: invoice.draft_approved
+[2026-04-27 16:00:08.460300] [debug] Aprobación de Factura
+
+[2026-04-27 16:00:08.460372] [debug] onlyUpdate: Iniciando actualización para teléfono: 4181156999
+[2026-04-27 16:00:08.460436] [debug] onlyUpdate: Teléfono validado: 524181156999
+[2026-04-27 16:00:09.284228] [debug] onlyUpdate: Contacto obtenido de CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","funnelId":null,"href":"https:\/\/dash.callbell.eu\/contacts\/6620b434a8594fc489e18e90363d59bd","conversationHref":"https:\/\/dash.callbell.eu\/chat\/1a14b3d2ad4141fa8447878f95cce1d6","tags":[],"assignedUser":null,"customFields":{"Antena\/Sectorial":"4","Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Nombre":"\ud83d\udc64 Griselda Avalos","Cliente":"4","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Monto Ultimo Pago":"\ud83d\udcb2 6900","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5","Estado":"\ud83d\udfe0 Suspendido","password-antena":"{\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}","Saldo Actual":"\ud83d\udcb21200 pendientes","Resumen":"{\"Cliente\": \"4\",\"Nombre\": \"Griselda Avalos\",\"URL\": \"https:\/\/sistema.siip.mx\/crm\/client\/4\",\"Saldo Actual\": \"\ud83d\udcb21200 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/03\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Site\": \"\",\"Antena\/Sectorial\": \"\",\"Password Antena\": {\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}}","Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/03\/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+[2026-04-27 16:00:09.284342] [info] onlyUpdate: Ejecutando patchWhatsapp para teléfono: 524181156999
+Notificacion data: {"uuid":"a1650e54-9354-4160-9e5e-d4b84406c112","changeType":"draft_approved","entity":"invoice","entityId":3396,"message":null,"clientId":4,"eventName":"invoice.draft_approved","clientData":{"id":4,"userIdent":null,"previousIsp":null,"isLead":false,"clientType":1,"companyName":null,"companyRegistrationNumber":null,"companyTaxId":null,"companyWebsite":null,"street1":"23 Yucat\u00e1n","street2":null,"city":"Dolores Hidalgo Cuna de la Independencia Nacional","countryId":173,"stateId":null,"zipCode":"37800","fullAddress":"Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","invoiceStreet1":null,"invoiceStreet2":null,"invoiceCity":null,"invoiceStateId":null,"invoiceCountryId":null,"invoiceZipCode":null,"invoiceAddressSameAsContact":true,"note":null,"sendInvoiceByPost":null,"invoiceMaturityDays":null,"stopServiceDue":null,"stopServiceDueDays":null,"organizationId":1,"tax1Id":null,"tax2Id":null,"tax3Id":null,"registrationDate":"2024-01-27T00:00:00-0600","leadConvertedAt":null,"companyContactFirstName":null,"companyContactLastName":null,"isActive":false,"firstName":"Griselda","lastName":"Avalos","username":"gavalos04","contacts":[{"id":4,"clientId":4,"email":"chicarosa@gmail.com","phone":"4181156999","name":null,"isBilling":true,"isContact":true,"types":[{"id":1,"name":"Billing"},{"id":2,"name":"General"},{"id":1000,"name":"WhatsApp"}]}],"attributes":[{"id":316,"clientId":4,"customAttributeId":17,"name":"Password Antena Cliente","key":"passwordAntenaCliente","value":"Ydny7w8DP-V3ANg3RvPR","clientZoneVisible":false}],"accountBalance":-1500,"accountCredit":0,"accountOutstanding":1500,"currencyCode":"MXN","organizationName":"SIIP Pruebas","bankAccounts":[],"tags":[],"invitationEmailSentDate":null,"avatarColor":"#ff8f00","addressGpsLat":21.1542759,"addressGpsLon":-100.9379462,"isArchived":false,"generateProformaInvoices":null,"usesProforma":false,"hasOverdueInvoice":true,"hasOutage":false,"hasSuspendedService":true,"hasServiceWithoutDevices":true,"referral":null,"hasPaymentSubscription":false,"hasAutopayCreditCard":false},"serviceData":null,"invoiceData":{"id":3396,"clientId":4,"number":"003342","createdDate":"2026-04-27T10:00:02-0600","dueDate":"2026-05-11T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-25T18:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3416,"type":"service","label":"plan300 27\/03\/2026 \u2013 26\/04\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":4,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":-0,"discountQuantity":0,"discountTotal":-0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":-0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Griselda","clientLastName":"Avalos","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"23 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":698,"clientId":4,"methodId":"6efe0fa8-36b2-4dd1-b049-427bffc7d369","checkNumber":null,"createdDate":"2025-11-28T12:23:49-0600","amount":6900,"currencyCode":"MXN","note":null,"receiptSentDate":"2025-11-28T12:23:53-0600","providerName":null,"providerPaymentId":null,"providerPaymentTime":null,"paymentCovers":[{"id":845,"invoiceId":2,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":846,"invoiceId":118,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":847,"invoiceId":235,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":848,"invoiceId":330,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":849,"invoiceId":497,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":850,"invoiceId":633,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":851,"invoiceId":753,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":852,"invoiceId":861,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":853,"invoiceId":970,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":854,"invoiceId":1086,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":855,"invoiceId":1194,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":856,"invoiceId":1338,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":857,"invoiceId":1452,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":858,"invoiceId":1591,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":859,"invoiceId":1716,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":860,"invoiceId":1838,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":861,"invoiceId":1960,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":862,"invoiceId":2086,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":863,"invoiceId":2211,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":864,"invoiceId":2333,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":865,"invoiceId":2456,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":866,"invoiceId":2578,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300},{"id":867,"invoiceId":2708,"paymentId":698,"creditNoteId":null,"refundId":null,"amount":300}],"creditAmount":0,"userId":1015,"attributes":[]}]
+
+Nombre del cliente que se va a actualizar: Griselda Avalos
+
+UUID: 6620b434a8594fc489e18e90363d59bd
+
+JSON con los datos a actualizar: {"name":"Griselda Avalos","custom_fields":{"Site":"","Estado":"\ud83d\udfe0 Suspendido","URL":"\ud83c\udf10 https:\/\/sistema.siip.mx\/crm\/client\/4","Nombre":"\ud83d\udc64 Griselda Avalos","Cliente":4,"Fecha Ultima Actualizacion":"\ud83d\udcc6\ud83d\udd04\ufe0f 27\/04\/2026 10:00","Saldo Actual":"\ud83d\udcb21500 pendientes","Monto Ultimo Pago":"\ud83d\udcb2 6900","Clabe Interbancaria":"","Fecha Ultimo Pago":"\ud83d\udcc6\ud83d\udcb8 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5","Antena\/Sectorial":"","Domicilio":"\ud83d\udccd Yucat\u00e1n 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., M\u00e9xico","Resumen":"{\"Cliente\": \"4\",\"Nombre\": \"Griselda Avalos\",\"Saldo Actual\": \"\ud83d\udcb21500 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28\/11\/2025 12:23 con Efectivo \ud83d\udcb5\",\"Fecha Ultima Actualizacion\": \"27\/04\/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}}","password-antena":"{\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}"}}
+
+DEBUG COMPARACIÓN - CallBell Saldo Actual: '💲1200 pendientes'
+
+DEBUG COMPARACIÓN - UCRM Saldo Actual: '💲1500 pendientes'
+
+DEBUG COMPARACIÓN - CallBell Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - UCRM Estado: '🟠 Suspendido'
+
+DEBUG COMPARACIÓN - Diferencia encontrada en Saldo Actual. CallBell: '💲1200 pendientes', UCRM: '💲1500 pendientes'
+
+EJECUTANDO PATCH - Se detectaron cambios
+
+Response Patch CallBell: {"contact":{"uuid":"6620b434a8594fc489e18e90363d59bd","name":"Griselda Avalos","phoneNumber":"5214181156999","avatarUrl":null,"createdAt":"2025-01-28T20:37:36Z","closedAt":"2025-01-28T22:38:41Z","source":"whatsapp","funnelId":null,"href":"https://dash.callbell.eu/contacts/6620b434a8594fc489e18e90363d59bd","conversationHref":"https://dash.callbell.eu/chat/1a14b3d2ad4141fa8447878f95cce1d6","tags":[],"assignedUser":null,"customFields":{"Antena/Sectorial":"4","Domicilio":"📍 Yucatán 23, Centro, Dolores Hidalgo Cuna de la Independencia Nacional, Gto., México","Nombre":"👤 Griselda Avalos","Cliente":"4","URL":"🌐 https://sistema.siip.mx/crm/client/4","Monto Ultimo Pago":"💲 6900","Fecha Ultimo Pago":"📆💸 28/11/2025 12:23 con Efectivo 💵","Estado":"🟠 Suspendido","password-antena":"{\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}","Resumen":"{\"Cliente\": \"4\",\"Nombre\": \"Griselda Avalos\",\"Saldo Actual\": \"💲1500 pendientes\",\"Monto Ultimo Pago\": \"$ 6900\",\"Estado\": \"Suspendido\",\"Fecha Ultimo Pago\": \" 28/11/2025 12:23 con Efectivo 💵\",\"Fecha Ultima Actualizacion\": \"27/04/2026 10:00\",\"Clabe Interbancaria\": \"\",\"Password Antena\": {\"Servicio 1\":\"Ydny7w8DP-V3ANg3RvPR\"}}","Saldo Actual":"💲1500 pendientes","Fecha Ultima Actualizacion":"📆🔄️ 27/04/2026 10:00"},"team":{"uuid":"5faeed738d6a44ccacf6509762eb288d","name":"General","default":true,"members":5,"createdAt":"2023-11-07T00:37:10Z"},"channel":{"uuid":"dbaa248932634e7ea4346a320960c24a","title":null,"discardedAt":null,"type":"whatsapp","main":true},"blockedAt":null}}
+
+[2026-04-27 16:00:10.435393] [notice] Logging level set to:debug
+[2026-04-27 16:00:10.435441] [debug] Payload recibido: {"uuid":"37b9116d-32a1-4190-aa13-00c5787e310c","changeType":"draft_approved","entity":"invoice","entityId":"3397","eventName":"invoice.draft_approved","extraData":{"entity":{"id":3397,"clientId":3,"number":"003343","createdDate":"2026-04-27T10:00:02-0600","dueDate":"2026-05-11T10:00:02-0600","emailSentDate":null,"maturityDays":14,"taxableSupplyDate":"2026-04-27T00:00:00-0600","notes":null,"adminNotes":null,"items":[{"id":3417,"type":"service","label":"plan300 27\/04\/2026 \u2013 26\/05\/2026","price":300,"quantity":1,"total":300,"unit":null,"tax1Id":null,"tax2Id":null,"tax3Id":null,"serviceId":3,"serviceSurchargeId":null,"productId":null,"feeId":null,"discountPrice":0,"discountQuantity":0,"discountTotal":0}],"subtotal":300,"discount":null,"discountLabel":"Descuento","taxes":[],"total":300,"amountPaid":0,"totalUntaxed":300,"totalDiscount":0,"totalTaxAmount":0,"amountToPay":300,"currencyCode":"MXN","status":1,"paymentCovers":[],"invoiceTemplateId":2,"proformaInvoiceTemplateId":2,"organizationName":"SIIP Pruebas","organizationRegistrationNumber":null,"organizationTaxId":null,"organizationStreet1":"Morel 34","organizationStreet2":null,"organizationCity":"Dolores Hidalgo","organizationStateId":null,"organizationCountryId":173,"organizationZipCode":"37800","organizationBankAccountName":null,"organizationBankAccountField1":null,"organizationBankAccountField2":null,"clientFirstName":"Lupita","clientLastName":"Morales","clientCompanyName":null,"clientCompanyRegistrationNumber":null,"clientCompanyTaxId":null,"clientStreet1":"56 Oaxaca","clientStreet2":null,"clientCity":"Dolores Hidalgo Cuna de 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-04-27 16:00:10.667105] [debug] Evento recibido: invoice.draft_approved
+[2026-04-27 16:00:10.667212] [debug] Aprobación de Factura
+
diff --git a/manifest.json b/manifest.json
index 7f8075b6..bc99dc3e 100755
--- a/manifest.json
+++ b/manifest.json
@@ -5,13 +5,18 @@
"displayName": "SIIP - Procesador de Pagos en línea con Stripe, Oxxo y Transferencia, Sincronizador de CallBell y Envío de Notificaciones y comprobantes vía WhatsApp",
"description": "Este plugin sincroniza los clientes del sistema UISP CRM con los contactos de WhatsApp en CallBell, además procesa pagos de Stripe como las trasferencias bancarias y genera referencias de pago vía OXXO, además envía comprobantes de pago en formato imagen PNG o texto vía Whatsapp a los clientes",
"url": "https://siip.mx/",
- "version": "4.5.0",
+ "version": "4.6.0",
"unmsVersionCompliancy": {
"min": "2.1.0",
"max": null
},
"author": "SIIP INTERNET",
"changelog": [
+ {
+ "version": "4.6.0",
+ "date": "2026-04-11",
+ "changes": "Actualización: Resolución de duplicidad de intenciones de pago Stripe mediante validación CashBalance. Reparación del renderizado de fichas de OXXO, rediseño de OXXO UI y scripts de auditoría de PI."
+ },
{
"version": "4.5.0",
"date": "2026-03-13",
diff --git a/public.php b/public.php
index dfdb7e0c..84ab275d 100755
--- a/public.php
+++ b/public.php
@@ -337,11 +337,14 @@ if (isset($_GET['action'])) {
}
if ($_GET['action'] === 'get_stripe_history') {
- $stripeCustomerId = $_GET['stripeCustomerId'] ?? null;
+ $stripeCustomerId = $_GET['stripeCustomerId'] ?? $_GET['customerId'] ?? null;
if ($stripeCustomerId) {
- echo json_encode(['history' => $paymentIntentService->getLastPayments($stripeCustomerId, 10)]);
+ echo json_encode([
+ 'success' => true,
+ 'payments' => $paymentIntentService->getLastPayments($stripeCustomerId, 10)
+ ]);
} else {
- echo json_encode(['error' => 'Missing customer id']);
+ echo json_encode(['success' => false, 'error' => 'Missing customer id']);
}
exit;
}
@@ -1995,7 +1998,7 @@ $installersData = json_decode($config['installersDataWhatsApp'] ?? '{"instalador
Plugin Desarrollado por SIIP INTERNET - Todos los derechos reservados.
- © SIIP Internet. Versión 4.2.1
+ © SIIP Internet. Versión 4.6.0
diff --git a/scripts-uisp/audit_incomplete_pi.php b/scripts-uisp/audit_incomplete_pi.php
new file mode 100644
index 00000000..7271002b
--- /dev/null
+++ b/scripts-uisp/audit_incomplete_pi.php
@@ -0,0 +1,128 @@
+loadConfig();
+$stripeApiKey = $config['tokenstripe'] ?? '';
+
+if (empty($stripeApiKey)) {
+ logMessage("Error: Stripe Secret Key is missing in plugin configuration.");
+ exit(1);
+}
+
+$stripeClient = new StripeClient($stripeApiKey);
+
+logMessage("Iniciando auditoría de Intenciones de Pago (SPEI/Transferencia) incompletas...");
+
+$hasMore = true;
+$nextPage = null;
+$totalIncomplete = 0;
+$customersWithIncomplete = [];
+$pisToReview = [];
+
+while ($hasMore) {
+ try {
+ $queryParams = [
+ 'query' => 'status:"requires_payment_method" OR status:"requires_action"',
+ 'limit' => 100
+ ];
+
+ if ($nextPage) {
+ $queryParams['page'] = $nextPage;
+ }
+
+ $results = $stripeClient->paymentIntents->search($queryParams);
+
+ foreach ($results->data as $pi) {
+ // Filtrar y proteger explícitamente los pagos OXXO
+ $paymentMethodTypes = $pi->payment_method_types ?? [];
+ $isOxxo = in_array('oxxo', $paymentMethodTypes);
+
+ // Si es un pago de OXXO vigente (o en general para estar seguros), lo saltamos
+ if ($isOxxo) {
+ continue;
+ }
+
+ // Filtrar solo las que son de Transferencia Bancaria real (SPEI)
+ $isBankTransfer = in_array('customer_balance', $paymentMethodTypes);
+ $tipoPago = $pi->metadata['tipoPago'] ?? '';
+
+ // Garantizar que solo tocamos las transferencias bancarias
+ if ($isBankTransfer || ($tipoPago === 'Transferencia Bancaria' && !$isOxxo)) {
+ $totalIncomplete++;
+ $customerId = $pi->customer;
+
+ if (!isset($customersWithIncomplete[$customerId])) {
+ $customersWithIncomplete[$customerId] = 0;
+ }
+ $customersWithIncomplete[$customerId]++;
+
+ $pisToReview[] = [
+ 'id' => $pi->id,
+ 'customer' => $customerId,
+ 'amount' => $pi->amount / 100,
+ 'currency' => $pi->currency,
+ 'status' => $pi->status,
+ 'created' => date('Y-m-d H:i:s', $pi->created)
+ ];
+ }
+ }
+
+ $hasMore = $results->has_more;
+ $nextPage = $results->next_page;
+
+ // Pausa breve para evitar Rate Limits de Stripe
+ usleep(500000); // 0.5s
+
+ } catch (ApiErrorException $e) {
+ logMessage("Error en la API de Stripe: " . $e->getMessage());
+ break;
+ } catch (\Exception $e) {
+ logMessage("Error inesperado: " . $e->getMessage());
+ break;
+ }
+}
+
+logMessage("=== RESULTADOS DE LA AUDITORÍA ===");
+logMessage("Total de Intenciones de Pago Incompletas (SPEI): " . $totalIncomplete);
+logMessage("Total de Clientes afectados: " . count($customersWithIncomplete));
+
+$csvFile = __DIR__ . '/audit_incomplete_pi_results.csv';
+$fp = fopen($csvFile, 'w');
+if ($fp) {
+ fputcsv($fp, ['PaymentIntent_ID', 'Stripe_Customer', 'Amount', 'Currency', 'Status', 'Created_At']);
+ foreach ($pisToReview as $pi) {
+ fputcsv($fp, [
+ $pi['id'],
+ $pi['customer'],
+ $pi['amount'],
+ $pi['currency'],
+ $pi['status'],
+ $pi['created']
+ ]);
+ }
+ fclose($fp);
+ logMessage("Se ha generado un archivo CSV con el detalle completo en: $csvFile");
+}
+
+echo "\nResumen:\n";
+echo "1. Intenciones huérfanas encontradas: $totalIncomplete\n";
+echo "2. Clientes afectados: " . count($customersWithIncomplete) . "\n";
+echo "-> Verifica el log y el archivo CSV para los detalles.\n";
diff --git a/scripts-uisp/clean_incomplete_pi.php b/scripts-uisp/clean_incomplete_pi.php
new file mode 100644
index 00000000..16db7539
--- /dev/null
+++ b/scripts-uisp/clean_incomplete_pi.php
@@ -0,0 +1,122 @@
+loadConfig();
+$stripeApiKey = $config['tokenstripe'] ?? '';
+
+if (empty($stripeApiKey)) {
+ logMessage("Error: Stripe Secret Key is missing in plugin configuration.");
+ exit(1);
+}
+
+$stripeClient = new StripeClient($stripeApiKey);
+
+logMessage("Iniciando LIMPIEZA de Intenciones de Pago (SPEI/Transferencia) incompletas...");
+
+if ($isDryRun) {
+ logMessage("ATENCIÓN: Ejecutando en MODO PRUEBA (Dry Run). No se cancelará nada en Stripe.");
+ logMessage("Para ejecutar la limpieza real, pasa el argumento: --confirm");
+} else {
+ logMessage("ATENCIÓN: Ejecutando en MODO DESTRUCTIVO. Se procederá a cancelar las intenciones encontradas.");
+}
+
+$hasMore = true;
+$nextPage = null;
+$totalCanceled = 0;
+$totalFound = 0;
+
+while ($hasMore) {
+ try {
+ $queryParams = [
+ 'query' => 'status:"requires_payment_method" OR status:"requires_action"',
+ 'limit' => 100
+ ];
+
+ if ($nextPage) {
+ $queryParams['page'] = $nextPage;
+ }
+
+ $results = $stripeClient->paymentIntents->search($queryParams);
+
+ foreach ($results->data as $pi) {
+ // Proteger y omitir por completo cualquier intención de OXXO
+ $paymentMethodTypes = $pi->payment_method_types ?? [];
+ $isOxxo = in_array('oxxo', $paymentMethodTypes);
+
+ if ($isOxxo) {
+ continue;
+ }
+
+ // Filtrar solo las que son de Transferencia Bancaria
+ $isBankTransfer = in_array('customer_balance', $paymentMethodTypes);
+ $tipoPago = $pi->metadata['tipoPago'] ?? '';
+
+ if ($isBankTransfer || ($tipoPago === 'Transferencia Bancaria' && !$isOxxo)) {
+ $totalFound++;
+ $logStr = "PI: {$pi->id} | Cliente: {$pi->customer} | Monto: " . ($pi->amount / 100) . " {$pi->currency}";
+
+ if (!$isDryRun) {
+ try {
+ $stripeClient->paymentIntents->cancel($pi->id, [
+ 'cancellation_reason' => 'abandoned'
+ ]);
+ logMessage("[CANCELADA] $logStr");
+ $totalCanceled++;
+ } catch (ApiErrorException $e) {
+ logMessage("[ERROR al cancelar] $logStr - Detalle: " . $e->getMessage());
+ }
+ } else {
+ logMessage("[SIMULACIÓN - Sería Cancelada] $logStr");
+ }
+ }
+ }
+
+ $hasMore = $results->has_more;
+ $nextPage = $results->next_page;
+
+ // Pausa breve para evitar Rate Limits
+ usleep(500000); // 0.5s
+
+ } catch (ApiErrorException $e) {
+ logMessage("Error en la API de Stripe: " . $e->getMessage());
+ break;
+ } catch (\Exception $e) {
+ logMessage("Error inesperado: " . $e->getMessage());
+ break;
+ }
+}
+
+logMessage("=== RESUMEN DE LA LIMPIEZA ===");
+logMessage("Total encontradas (SPEI): $totalFound");
+if (!$isDryRun) {
+ logMessage("Total CANCELADAS exitosamente: $totalCanceled");
+} else {
+ logMessage("Modo PRUEBA finalizado. Ninguna fue cancelada.");
+}
+echo "\nVerifica el log 'clean_incomplete_pi.log' para los detalles.\n";
diff --git a/src/Facade/AbstractStripeOperationsFacade.php b/src/Facade/AbstractStripeOperationsFacade.php
index 559ec31b..cdbf8a09 100755
--- a/src/Facade/AbstractStripeOperationsFacade.php
+++ b/src/Facade/AbstractStripeOperationsFacade.php
@@ -55,40 +55,21 @@ abstract class AbstractStripeOperationsFacade
try {
$stripeCustomer = $stripe->customers->retrieve($customer);
$ucrmClientId = $stripeCustomer->metadata->ucrm_client_id ?? null;
+ // [FIX] Validar el Saldo Disponible en la Billetera (Cash Balance)
+ // Si la cuenta tiene reconciliación automática, Stripe absorbe fondos instantáneamente
+ // para pagar intenciones preexistentes. Si ya se gastaron los fondos, evitamos duplicar.
+ $cashBalance = $stripe->customers->retrieveCashBalance($customer, []);
+ $availableMxn = $cashBalance->available->mxn ?? 0;
+ $amountCents = (int)$amount;
- // [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);
+ // Si el saldo disponible es menor al monto fondeado, significa que una PI
+ // preexistente ya "se tragó" este saldo automáticamente.
+ if ($availableMxn < $amountCents) {
+ $this->logger->info("Fondos ya reconciliados por Stripe. Saldo disponible ({$availableMxn}) es menor al evento ({$amountCents}). Se descarta la creación de un nuevo PaymentIntent duplicado.");
return;
}
+
$pi = $stripe->paymentIntents->create([
'amount' => (int)$amount,
'currency' => 'mxn',
diff --git a/src/Service/PaymentIntentService.php b/src/Service/PaymentIntentService.php
index 7bd0c279..af187a6c 100755
--- a/src/Service/PaymentIntentService.php
+++ b/src/Service/PaymentIntentService.php
@@ -144,27 +144,52 @@ class PaymentIntentService
public function getLastPayments($stripeCustomerId, $limit = 10)
{
try {
+ // Buscamos más registros para filtrar por tipo de pago (transferencias)
$collection = $this->stripeClient->paymentIntents->all([
'customer' => $stripeCustomerId,
- 'limit' => $limit,
+ 'limit' => 50,
+ 'expand' => ['data.charges']
]);
$result = [];
foreach ($collection->data as $payment) {
- $description = $payment->description ?? $payment->metadata['description'] ?? 'Pago Stripe';
- $result[] = [
- 'id' => $payment->id,
- 'amount' => $payment->amount / 100,
- 'currency' => strtoupper($payment->currency),
- 'status' => $payment->status,
- 'created' => $payment->created,
- 'description' => $description
- ];
+ // Filtramos por transferencias bancarias (balance de cliente)
+ $isBankTransfer = in_array('customer_balance', $payment->payment_method_types);
+
+ if ($isBankTransfer) {
+ $description = $payment->description ?? $payment->metadata['description'] ?? 'Transferencia Bancaria';
+
+ // Extraer referencia si existe en los cargos
+ $reference = '-';
+ if (!empty($payment->charges->data)) {
+ foreach ($payment->charges->data as $charge) {
+ if ($charge->payment_method_details->type === 'customer_balance') {
+ $bankTransfer = $charge->payment_method_details->customer_balance->bank_transfer;
+ if ($bankTransfer && isset($bankTransfer->reference)) {
+ $reference = $bankTransfer->reference;
+ }
+ }
+ }
+ }
+
+ $result[] = [
+ 'id' => $payment->id,
+ 'amount' => $payment->amount / 100,
+ 'currency' => strtoupper($payment->currency),
+ 'status' => $payment->status,
+ 'created' => $payment->created,
+ 'date' => date('d/m/Y H:i', $payment->created),
+ 'description' => $description,
+ 'reference' => $reference
+ ];
+
+ if (count($result) >= $limit) break;
+ }
}
return $result;
} catch (\Exception $e) {
$this->log("Error fetching last payments: " . $e->getMessage());
- return ['error' => $e->getMessage()];
+ return [];
}
}
diff --git a/views/oxxo.php b/views/oxxo.php
index 9996e6e8..1ffa12e5 100755
--- a/views/oxxo.php
+++ b/views/oxxo.php
@@ -1,208 +1,216 @@
-
-
+
+
+
+
+
+
Pagos OXXO
+
+ 🏪 Genera fichas de pago OXXO para que tus clientes paguen en tiendas de conveniencia
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Selecciona un cliente para generar una ficha OXXO Pay
+
+
+
+
+
+
+
+